/* Archivo : la famille utilisée pour le logo (titres en graisse 800-900, texte en 400-600) */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,100..125,400..900;1,100..125,800..900&display=swap');

:root {
    /* --- Palette Artisan Horme JF : noir + jaune --- */
    --couleur-primaire: 18 18 18;             /* #121212 - noir du logo */
    --couleur-primaire-hover: 40 40 40;       /* #282828 */
    --couleur-primaire-clair: 241 239 233;    /* #F1EFE9 */

    --couleur-encre: 18 18 18;                /* #121212 - textes, fonds sombres */
    --couleur-encre-2: 30 30 30;              /* #1E1E1E - fonds sombres secondaires */

    --couleur-accent: 246 181 0;              /* #F6B500 - jaune du logo */
    --couleur-accent-hover: 224 163 0;        /* #E0A300 */
    --couleur-accent-clair: 254 243 205;      /* #FEF3CD */

    --couleur-secondaire: 87 83 78;           /* #57534E - gris chaud (texte secondaire) */
    --couleur-secondaire-hover: 68 64 60;
    --couleur-secondaire-clair: 231 229 228;

    --papier: #f6f5f1;                        /* fond clair chaud */
    --trait: #e5e2da;                         /* filets, bordures */
}

html {
    scroll-behavior: smooth;
    /* Les ancres (#faq, #artisan…) ne passent pas sous le header collant */
    scroll-padding-top: 88px;
}

/* Réserve la hauteur du header avant son injection en JavaScript (évite le décalage du contenu). */
#header-placeholder {
    display: block;
    height: 73px;
    background: #ffffff;
    border-bottom: 1px solid var(--trait);
}

body {
    font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: rgb(var(--couleur-encre));
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgb(var(--couleur-accent));
    color: rgb(var(--couleur-encre));
}

:focus-visible {
    outline: 3px solid rgb(var(--couleur-accent));
    outline-offset: 2px;
}

/* ================== Typographie ================== */
.font-display {
    font-family: 'Archivo', system-ui, sans-serif;
    font-stretch: 108%;
    letter-spacing: -0.015em;
}

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Surlignage jaune sous un mot clé de titre (sobre, sans italique décoratif) */
.mark {
    background: linear-gradient(transparent 68%, rgb(var(--couleur-accent)) 68%, rgb(var(--couleur-accent)) 92%, transparent 92%);
    padding: 0 0.06em;
}
.section-ink .mark,
.hero .mark {
    background: none;
    color: rgb(var(--couleur-accent));
    padding: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(var(--couleur-secondaire));
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    background: rgb(var(--couleur-accent));
    flex-shrink: 0;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.78); }

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgb(var(--couleur-secondaire));
}

/* ================== Header ================== */
.site-header {
    background: #ffffff;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgb(var(--couleur-encre));
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: rgb(var(--couleur-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-dropdown-panel {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-dropdown.is-open .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.nav-dropdown button i { transition: transform 0.2s ease; }
.nav-dropdown.is-open button i { transform: rotate(180deg); }

.menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 4px;
    background: var(--papier);
    color: rgb(var(--couleur-encre));
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}
a:hover > .menu-icon { background: rgb(var(--couleur-accent)); }

/* ================== Boutons ================== */
.btn-accent,
.btn-dark,
.btn-outline-light,
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.btn-accent {
    background: rgb(var(--couleur-accent));
    color: rgb(var(--couleur-encre));
}
.btn-accent:hover { background: rgb(var(--couleur-accent-hover)); transform: translateY(-1px); }

.btn-dark {
    background: rgb(var(--couleur-encre));
    color: #ffffff;
}
.btn-dark:hover { background: rgb(var(--couleur-primaire-hover)); transform: translateY(-1px); }

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
    padding: calc(0.95rem - 2px) calc(1.6rem - 2px);
}
.btn-outline-light:hover { border-color: rgb(var(--couleur-accent)); color: rgb(var(--couleur-accent)); }

.btn-outline-dark {
    border: 2px solid rgb(var(--couleur-encre));
    color: rgb(var(--couleur-encre));
    padding: calc(0.95rem - 2px) calc(1.6rem - 2px);
}
.btn-outline-dark:hover { background: rgb(var(--couleur-encre)); color: #ffffff; }

.btn-accent .fa-arrow-right,
.btn-dark .fa-arrow-right { transition: transform 0.2s ease; }
.btn-accent:hover .fa-arrow-right,
.btn-dark:hover .fa-arrow-right { transform: translateX(3px); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: rgb(var(--couleur-encre));
    border-bottom: 2px solid rgb(var(--couleur-accent));
    padding-bottom: 2px;
}
.link-arrow i { font-size: 0.75em; transition: transform 0.2s ease; }
.link-arrow:hover i { transform: translateX(3px); }

/* ================== Hero ================== */
.hero {
    position: relative;
    isolation: isolate;
    color: #ffffff;
    background: rgb(var(--couleur-encre));
    overflow: hidden;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 50%;
    transform: scale(1.04);
    animation: hero-settle 1.6s cubic-bezier(.2, .7, .2, 1) forwards;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(18, 18, 18, 0.94) 0%, rgba(18, 18, 18, 0.82) 38%, rgba(18, 18, 18, 0.35) 75%, rgba(18, 18, 18, 0.2) 100%),
        linear-gradient(0deg, rgba(18, 18, 18, 0.55) 0%, transparent 35%);
}
@media (max-width: 767px) {
    .hero::before {
        background: linear-gradient(180deg, rgba(18, 18, 18, 0.72) 0%, rgba(18, 18, 18, 0.88) 55%, rgba(18, 18, 18, 0.96) 100%);
    }
}
@keyframes hero-settle { to { transform: scale(1); } }

/* Slogan : trois mots séparés par des carrés jaunes */
.slogan {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.7rem;
    font-weight: 800;
    font-stretch: 108%;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: clamp(0.74rem, 3vw, 0.85rem);
}
.slogan span + span::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    background: rgb(var(--couleur-accent));
    margin-right: 0.7rem;
    vertical-align: middle;
    transform: translateY(-1px);
}

/* Bandeau d'informations pratiques sous le hero */
.facts {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 640px) { .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fact-wide { grid-column: 1 / -1; padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid rgba(255, 255, 255, 0.14); } }
@media (min-width: 1024px) { .facts { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 2fr); } .fact-wide { grid-column: auto; padding-left: 1.5rem !important; border-left: 1px solid rgba(255, 255, 255, 0.14) !important; border-top: 0; } }
.fact {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.25rem 0;
}
@media (min-width: 640px) {
    .fact + .fact { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, 0.14); }
}
.fact i {
    color: rgb(var(--couleur-accent));
    font-size: 1.15rem;
    width: 1.5rem;
    text-align: center;
}
.fact strong { display: block; font-weight: 700; }
.fact small { display: block; color: rgba(255, 255, 255, 0.62); font-size: 0.85rem; margin-top: 0.1rem; }

/* En-tête de page intérieure */
.page-hero {
    position: relative;
    isolation: isolate;
    color: #ffffff;
    background: rgb(var(--couleur-encre));
    overflow: hidden;
}
.page-hero .hero-media img { animation-duration: 1.2s; }
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.86) 45%, rgba(18, 18, 18, 0.45) 100%);
}
@media (max-width: 767px) {
    .page-hero::before { background: rgba(18, 18, 18, 0.86); }
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: rgb(var(--couleur-accent)); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: rgba(255, 255, 255, 0.35); }

/* ================== Sections ================== */
.section-paper { background: var(--papier); }
.section-ink {
    background: rgb(var(--couleur-encre));
    color: #ffffff;
}
.section-textured {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.section-textured::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url('content/tuiles-sombres-texture.webp') center / cover no-repeat;
    opacity: 0.09;
}

/* ================== Cartes de services ================== */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--trait);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.service-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgb(var(--couleur-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 18px 40px -22px rgba(18, 18, 18, 0.45);
    transform: translateY(-3px);
    border-color: #d6d2c8;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ddd;
}
.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.2, .7, .2, 1);
}
.service-card:hover .service-card-media img { transform: scale(1.05); }
.service-card .link-arrow { border-bottom-color: transparent; }
.service-card:hover .link-arrow { border-bottom-color: rgb(var(--couleur-accent)); }
.service-card:hover .link-arrow i { transform: translateX(3px); }

.service-num {
    font-weight: 800;
    font-stretch: 110%;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgb(var(--couleur-secondaire));
}

/* ================== Engagements, étapes, listes ================== */
.pillar {
    border-top: 3px solid rgb(var(--couleur-accent));
    padding-top: 1.5rem;
}
.pillar-word {
    font-weight: 900;
    font-style: italic;
    font-stretch: 112%;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.01em;
}

.steps { counter-reset: step; }
.step {
    position: relative;
    padding-top: 3.6rem;
}
.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 900;
    font-style: italic;
    font-stretch: 112%;
    font-size: 2.6rem;
    line-height: 1;
    color: rgb(var(--couleur-accent));
}
.section-paper .step::before,
.bg-white .step::before { -webkit-text-stroke: 0; }

/* Liste de prestations : filets fins et repère carré, sans pictogramme */
.check-list { border-top: 1px solid var(--trait); }
.check-list li {
    position: relative;
    padding: 0.85rem 0 0.85rem 1.6rem;
    line-height: 1.55;
    border-bottom: 1px solid var(--trait);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.38rem;
    width: 8px;
    height: 8px;
    background: rgb(var(--couleur-accent));
}

/* ================== Grille photo des prestations ================== */
.bento {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 270px; }
    .bento-lg { grid-column: span 2; grid-row: span 1; }
    .bento-wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
    .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 280px; }
    .bento-lg { grid-row: span 2; }
}
.tile {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    border-radius: 6px;
    background: #1e1e1e;
    color: #ffffff;
}
.tile img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(.2, .7, .2, 1);
}
.tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0) 25%, rgba(18, 18, 18, 0.5) 55%, rgba(18, 18, 18, 0.9) 100%);
}
.tile:hover img { transform: scale(1.045); }
.tile-body { padding: 1.5rem 1.5rem 1.4rem; }
.tile h3 {
    font-weight: 800;
    font-stretch: 108%;
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.tile p {
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.93rem;
    line-height: 1.5;
    max-width: 46ch;
}
.bento-lg { min-height: 380px; }
.bento-lg .tile-body { padding: 2rem; }
.bento-lg h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.bento-lg p { font-size: 1.02rem; }
.tile-arrow {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.3s ease;
}
.tile:hover .tile-arrow {
    background: rgb(var(--couleur-accent));
    border-color: rgb(var(--couleur-accent));
    color: rgb(var(--couleur-encre));
    transform: rotate(-45deg);
}
.tile-accent {
    background: rgb(var(--couleur-accent));
    color: rgb(var(--couleur-encre));
    justify-content: space-between;
    padding: 1.75rem 2rem;
}
.tile-accent::before { display: none; }
.tile-accent p { color: rgba(18, 18, 18, 0.78); }

/* ================== Frise des étapes ================== */
.timeline {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; } }
.tl-step {
    position: relative;
    padding-top: 2.1rem;
}
@media (min-width: 1024px) { .tl-step { padding-right: 2rem; } }
.tl-step::before {
    content: "";
    position: absolute;
    top: 0.32rem;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    opacity: 0.2;
}
.tl-step::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 11px;
    height: 11px;
    background: rgb(var(--couleur-accent));
}
.tl-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.55;
}

/* ================== Listes éditoriales (sans pictogrammes) ================== */
.ed-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-top: 1px solid var(--trait);
}
@media (min-width: 768px) { .ed-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; } }
.ed-item {
    padding: 1.6rem 0 1.6rem 1.6rem;
    border-bottom: 1px solid var(--trait);
    position: relative;
}
.ed-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2.05rem;
    width: 8px;
    height: 8px;
    background: rgb(var(--couleur-accent));
}
.ed-item h3 { font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
.ed-item p { margin-top: 0.4rem; color: rgb(var(--couleur-secondaire)); line-height: 1.65; }
.section-ink .ed-list,
.section-ink .ed-item { border-color: rgba(255, 255, 255, 0.14); }
.section-ink .ed-item p { color: rgba(255, 255, 255, 0.7); }

/* Liens vers les pages proches */
.link-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.4rem 0;
    border-top: 2px solid rgb(var(--couleur-encre));
    transition: border-color 0.25s ease;
}
.link-row strong { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.link-row span { color: rgb(var(--couleur-secondaire)); font-size: 0.95rem; line-height: 1.55; }
.link-row i { font-size: 0.8rem; transition: transform 0.25s ease; }
.link-row:hover { border-color: rgb(var(--couleur-accent)); }
.link-row:hover i { transform: translateX(4px); }

/* Engagements : lignes éditoriales */
.pledge {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
@media (min-width: 768px) { .pledge { grid-template-columns: 15rem minmax(0, 1fr); gap: 2.5rem; align-items: baseline; } }
.pledge:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }

/* ================== Carte Île-de-France ================== */
.idf-map { display: block; width: 100%; height: auto; overflow: visible; }
.dept-shape { stroke-linejoin: round; transition: fill 0.3s ease, opacity 0.7s ease; }
.dept-shape.is-served { fill: rgba(246, 181, 0, 0.1); stroke: rgba(246, 181, 0, 0.85); stroke-width: 1.2; }
.dept-shape.is-served:hover { fill: rgba(246, 181, 0, 0.22); }
.dept-shape.is-home { fill: rgba(246, 181, 0, 0.3); }
.dept-shape.is-home:hover { fill: rgba(246, 181, 0, 0.4); }
.dept-shape.is-out { fill: rgba(255, 255, 255, 0.025); stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; stroke-dasharray: 3 4; }
.map-num { fill: #ffffff; font-weight: 900; font-style: italic; font-stretch: 112%; font-size: 22px; pointer-events: none; }
.map-num.is-small { font-size: 12px; font-weight: 800; }
.map-name { fill: rgba(255, 255, 255, 0.68); font-size: 11.5px; font-weight: 600; pointer-events: none; }
.map-num.is-out, .map-name.is-out { fill: rgba(255, 255, 255, 0.35); }
.map-dot { fill: rgb(var(--couleur-accent)); stroke: #121212; stroke-width: 2; }
.map-pulse {
    fill: none;
    stroke: rgb(var(--couleur-accent));
    stroke-width: 2;
    transform-box: fill-box;
    transform-origin: center;
    animation: map-pulse 2.6s ease-out infinite;
}
.map-home-label { fill: #ffffff; font-size: 12.5px; font-weight: 800; paint-order: stroke; stroke: #121212; stroke-width: 3px; pointer-events: none; }
@keyframes map-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.6); opacity: 0; } }
html.js .reveal .dept-shape { opacity: 0; }
html.js .reveal.is-visible .dept-shape { opacity: 1; transition-delay: calc(var(--i) * 80ms); }
@media (max-width: 640px) {
    .map-num { font-size: 38px; }
    .map-num.is-small { font-size: 19px; }
    .map-name { display: none; }
    .map-home-label { font-size: 24px; stroke-width: 5px; }
}
.map-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.map-legend span { display: inline-flex; align-items: center; gap: 0.55rem; }
.map-legend i { display: inline-block; width: 14px; height: 10px; border: 1.2px solid rgba(246, 181, 0, 0.85); background: rgba(246, 181, 0, 0.12); }
.map-legend i.out { border: 1px dashed rgba(255, 255, 255, 0.4); background: transparent; }
@media (prefers-reduced-motion: reduce) {
    .map-pulse { animation: none; }
    html.js .reveal .dept-shape { opacity: 1; }
}

.square-list li {
    position: relative;
    padding-left: 1.4rem;
    line-height: 1.6;
}
.square-list li + li { margin-top: 0.5rem; }
.square-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    background: rgb(var(--couleur-accent));
}

/* Signes d'alerte / encadrés */
.panel {
    background: #ffffff;
    border: 1px solid var(--trait);
    border-radius: 6px;
    padding: 1.75rem;
}
.panel-ink {
    background: rgb(var(--couleur-encre));
    color: #ffffff;
    border-color: rgb(var(--couleur-encre));
}
.note {
    border-left: 4px solid rgb(var(--couleur-accent));
    background: rgb(var(--couleur-accent-clair));
    padding: 1.1rem 1.25rem;
    border-radius: 0 6px 6px 0;
    color: rgb(var(--couleur-encre));
}
.icon-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 4px;
    background: rgb(var(--couleur-encre));
    color: rgb(var(--couleur-accent));
    font-size: 1.15rem;
    flex-shrink: 0;
}
.section-ink .icon-square,
.panel-ink .icon-square {
    background: rgb(var(--couleur-accent));
    color: rgb(var(--couleur-encre));
}

/* Photos avec légende */
.frame {
    position: relative;
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #ddd;
}
.frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.frame-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: calc(100% - 1.5rem);
    background: rgb(var(--couleur-encre));
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.45;
    padding: 0.7rem 1rem 0.7rem 0.95rem;
    border-left: 4px solid rgb(var(--couleur-accent));
    border-radius: 0 4px 0 0;
}
.frame-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgb(var(--couleur-accent));
    color: rgb(var(--couleur-encre));
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.6rem;
    border-radius: 3px;
}

/* Zone d'intervention : tuiles départements */
.dept {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.dept-num {
    font-weight: 900;
    font-style: italic;
    font-stretch: 112%;
    font-size: 2rem;
    line-height: 1;
    color: rgb(var(--couleur-accent));
    min-width: 3.2rem;
}
.dept strong { font-weight: 700; }
.dept small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.875rem; margin-top: 0.2rem; }
.dept-home strong::after {
    content: "Siège";
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgb(var(--couleur-accent));
    color: rgb(var(--couleur-encre));
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
    vertical-align: 0.15em;
}

/* Tableau des critères de prix */
.spec { border-top: 1px solid var(--trait); }
.spec > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--trait);
}
.spec dt { font-weight: 700; }
.spec dd { color: rgb(var(--couleur-secondaire)); }
@media (max-width: 640px) {
    .spec > div { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* ================== FAQ ================== */
details.faq-item {
    border-bottom: 1px solid var(--trait);
}
details.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.35rem 0;
    font-weight: 700;
    font-size: 1.075rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: rgb(var(--couleur-encre));
    color: rgb(var(--couleur-accent));
    font-weight: 700;
    transition: transform 0.2s ease;
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item > *:not(summary) {
    padding-bottom: 1.4rem;
    color: rgb(var(--couleur-secondaire));
    line-height: 1.7;
    max-width: 70ch;
}

/* ================== Formulaire ================== */
.field-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
}
.field {
    width: 100%;
    border: 1.5px solid #d6d2c8;
    border-radius: 4px;
    background: #ffffff;
    padding: 0.8rem 0.95rem;
    font-size: 1rem;
    color: rgb(var(--couleur-encre));
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field:focus {
    outline: none;
    border-color: rgb(var(--couleur-encre));
    box-shadow: 0 0 0 3px rgba(246, 181, 0, 0.45);
}
.field::placeholder { color: #a8a29e; }
.field[aria-invalid="true"] { border-color: #b91c1c; }
select.field {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23121212' stroke-width='1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}
.field-error {
    display: block;
    min-height: 0;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #b91c1c;
    font-weight: 600;
}
.field-error:empty { display: none; }

/* ================== Animations d'apparition ================== */
html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--delay, 0s);
}
html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-media img { animation: none; transform: none; }
    .service-card, .service-card-media img, .btn-accent, .btn-dark { transition: none; }
}

/* ================== Barre d'appel mobile ================== */
.mobile-call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgb(var(--couleur-encre));
    box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.5);
    padding-bottom: env(safe-area-inset-bottom);
}
.mobile-call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 56px;
    font-weight: 700;
}
.mobile-call-bar a:first-child { color: #ffffff; }
.mobile-call-bar a:last-child { background: rgb(var(--couleur-accent)); color: rgb(var(--couleur-encre)); }
@media (min-width: 1024px) { .mobile-call-bar { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 56px; } }
body.mobile-menu-open .mobile-call-bar { display: none; }

/* Bouton WhatsApp flottant (affiché seulement si activé dans client-config.json) */
.mobile-whatsapp-fab {
    position: fixed;
    right: 1rem;
    bottom: 4.5rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
}
@media (min-width: 1024px) { .mobile-whatsapp-fab { display: none; } }

/* Cookie banner au-dessus de la barre d'appel */
@media (max-width: 1023px) { .cookie-consent { bottom: 56px; } }
