/* ==========================================================================
   WebEngine v2 — « carnet technique »
   Papier chaud + encre + un accent. Serif éditorial pour les titres,
   monospace pour les étiquettes, sans-serif pour le texte.
   Zéro police distante, zéro dépendance : la performance est dans la feuille.
   ========================================================================== */

:root {
    /* Papier & encre */
    --paper:      #FAF9F5;
    --paper-deep: #F1EFE8;
    --ink:        #12161C;
    --ink-soft:   #1C2229;
    --line:       #E3E0D6;
    --line-hard:  #C9C5B8;

    /* Texte */
    --text:       #23292F;
    --muted:      #6A6F6A;
    --on-ink:     #E9E7DF;
    --on-ink-mut: #9AA09A;

    /* Accent — orange brûlé, AA sur papier ; version vive pour fonds encre */
    --accent:       #BC3F0C;
    --accent-deep:  #96320A;
    --accent-vivid: #FF6B2C;
    --accent-wash:  #F9E8DE;

    /* Console */
    --code-green: #9EE493;
    --code-grey:  #6E7B8A;

    --wrap: 1280px;
    --gut:  24px;
    --r:    4px;

    --serif: Charter, Georgia, Cambria, "Times New Roman", serif;
    --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono:  ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ── Base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.68;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.08;
    letter-spacing: -.012em;
    margin: 0 0 .45em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.22rem; line-height: 1.3; }
h4 { margin: 0 0 .5em; color: var(--ink); }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section--deep { background: var(--paper-deep); border-block: 1px solid var(--line); }
.section--ink  { background: var(--ink); color: var(--on-ink); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

/* Papier millimétré — le motif signature, en dégradés CSS purs */
.graph {
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: center top;
}
.section--ink.graph {
    background-image:
        linear-gradient(rgba(233,231,223,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(233,231,223,.06) 1px, transparent 1px);
}

/* Étiquette monospace numérotée — « 01 · CE QUE JE FAIS » */
.eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--mono);
    font-size: .74rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1.1em;
}
.eyebrow::after { content: ""; flex: 0 0 42px; height: 1px; background: var(--accent); opacity: .5; }
.section--ink .eyebrow { color: var(--accent-vivid); }
.section--ink .eyebrow::after { background: var(--accent-vivid); }

.lead { font-size: 1.16rem; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.section--ink .lead { color: var(--on-ink-mut); }

/* ── Boutons ─────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .55em;
    padding: 14px 24px;
    border: 1px solid var(--ink);
    border-radius: var(--r);
    background: var(--ink); color: var(--paper);
    font-family: var(--mono); font-size: .85rem; font-weight: 500;
    letter-spacing: .02em;
    text-decoration: none; cursor: pointer;
    transition: background-color .14s ease, color .14s ease, border-color .14s ease;
}
.btn::after { content: "→"; transition: transform .14s ease; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover::after { transform: translateX(3px); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--accent-vivid); border-color: var(--accent-vivid); color: var(--ink); }
.btn--bare { border: 0; background: none; color: var(--accent); padding: 0; }
.btn--bare:hover { background: none; color: var(--accent-deep); }

/* ── En-tête ─────────────────────────────────────────────────────────── */
.site-head {
    position: sticky; top: 0; z-index: 60;
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    backdrop-filter: blur(10px) saturate(1.4);
    border-bottom: 1px solid var(--line-hard);
}
.head-in { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand {
    font-family: var(--mono); font-weight: 700; font-size: 1.02rem;
    letter-spacing: -.02em; color: var(--ink);
    text-decoration: none; white-space: nowrap; flex: 0 0 auto;
}
.brand span { color: var(--accent); }
.brand::before { content: "▚ "; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1px; margin-left: auto; }
.nav a {
    padding: 8px 9px;
    color: var(--text); text-decoration: none;
    font-size: .88rem; font-weight: 500;
    white-space: nowrap;               /* un item ne se coupe jamais en 2 lignes */
    border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--accent); }
.nav a.is-current { color: var(--accent); border-bottom-color: var(--accent); }
.head-tel { flex: 0 0 auto; }
.nav-cta {
    flex: 0 0 auto;
    margin-left: 8px; padding: 9px 15px !important;
    font-family: var(--mono); font-size: .8rem !important;
    background: var(--ink); color: var(--paper) !important;
    border-radius: var(--r); border-bottom: 0 !important;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); }
.burger {
    display: none; margin-left: auto;
    font-size: 1.1rem; line-height: 1;
    background: none; border: 1px solid var(--line-hard); border-radius: var(--r);
    padding: 9px 12px; cursor: pointer; color: var(--ink);
}

/* ── Fil d'Ariane ────────────────────────────────────────────────────── */
.crumbs { border-bottom: 1px solid var(--line); background: var(--paper-deep); }
.crumbs .wrap {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding-block: 10px;
    font-family: var(--mono); font-size: .76rem; letter-spacing: .02em;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--line-hard); }
.crumbs [aria-current] { color: var(--ink); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 60px; align-items: center; position: relative; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof {
    display: flex; flex-wrap: wrap; gap: 0;
    margin-top: 44px;
    border: 1px solid var(--line-hard); border-radius: var(--r);
    background: var(--paper);
    overflow: hidden;
}
.hero-proof > div {
    flex: 1 1 120px;
    padding: 16px 20px;
    border-right: 1px solid var(--line);
}
.hero-proof > div:last-child { border-right: 0; }
.hero-proof strong {
    display: block;
    font-family: var(--serif); font-size: 1.65rem; letter-spacing: -.02em;
    color: var(--ink);
}
.hero-proof span { font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }

/* Console — la carte signature */
.console {
    background: var(--ink);
    border-radius: 6px;
    box-shadow: 0 1px 0 var(--line-hard), 0 30px 60px -30px rgba(18,22,28,.45);
    overflow: hidden;
    font-family: var(--mono); font-size: .8rem;
}
.console-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 11px 15px;
    border-bottom: 1px solid #262D36;
    color: var(--on-ink-mut); font-size: .72rem; letter-spacing: .04em;
}
.console-dot { width: 9px; height: 9px; border-radius: 50%; background: #333C47; }
.console-body { padding: 20px; color: var(--on-ink); line-height: 2; }
.console-body .k { color: var(--accent-vivid); }
.console-body .c { color: var(--code-grey); }
.console-body .v { color: var(--code-green); }
.console-body .prompt { color: var(--accent-vivid); }
.console-cursor {
    display: inline-block; width: 8px; height: 15px;
    background: var(--accent-vivid); vertical-align: -2px;
    animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Cartes (pôles, offres, articles) — numérotées ───────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 0; counter-reset: card;
         border: 1px solid var(--line-hard); border-radius: var(--r); overflow: hidden; background: var(--line); }
.cards { gap: 1px; }
.card {
    counter-increment: card;
    position: relative;
    display: flex; flex-direction: column;
    padding: 30px 28px 26px;
    background: var(--paper);
    text-decoration: none; color: inherit;
    transition: background-color .15s ease;
}
a.card:hover { background: #fff; }
a.card:hover h3 { color: var(--accent); }
.card-num {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
    color: var(--muted); margin-bottom: 18px;
}
.card-num::before { content: counter(card, decimal-leading-zero); color: var(--accent); margin-right: 8px; }
.card h3 { transition: color .15s ease; margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.card-go { margin-top: 20px; font-family: var(--mono); font-size: .8rem; color: var(--ink); }
a.card:hover .card-go { color: var(--accent); }

/* Grille libre (sans numérotation) */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }

/* ── Tags ────────────────────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
    padding: 4px 10px;
    border: 1px solid var(--line-hard); border-radius: 99px;
    color: var(--muted); background: var(--paper);
}

/* ── Processus ───────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 18px; }
.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; top: -14px; left: 0;
    font-family: var(--serif); font-style: italic;
    font-size: 2.6rem; color: var(--accent);
    opacity: .28;
}
.step h3 { font-size: 1.05rem; padding-top: 10px; border-top: 2px solid var(--ink); }
.section--ink .step h3 { border-top-color: var(--paper); }
.step p { font-size: .92rem; color: var(--muted); }
.section--ink .step p { color: var(--on-ink-mut); }

/* ── Bloc maillage interne ───────────────────────────────────────────── */
.related { padding: clamp(48px, 6vw, 80px) 0; background: var(--paper-deep); border-top: 1px solid var(--line-hard); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 12px; }
.related-card {
    display: block; padding: 18px 20px;
    background: var(--paper); border: 1px solid var(--line-hard); border-radius: var(--r);
    text-decoration: none; color: inherit;
    transition: border-color .15s ease, background-color .15s ease;
}
.related-card:hover { border-color: var(--accent); background: #fff; }
.related-card strong { display: block; font-family: var(--serif); color: var(--ink); margin-bottom: 5px; font-size: 1.02rem; }
.related-card span { color: var(--muted); font-size: .86rem; line-height: 1.5; display: block; }
.related-up { display: inline-block; margin-top: 22px; font-family: var(--mono); font-size: .82rem; }

/* ── Pied de page ────────────────────────────────────────────────────── */
.site-foot { background: var(--ink); color: var(--on-ink-mut); padding: 70px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 44px; }
.site-foot h4 {
    font-family: var(--mono); font-size: .74rem; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent-vivid); margin-bottom: 16px;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { color: var(--on-ink-mut); text-decoration: none; font-size: .9rem; }
.site-foot a:hover { color: var(--paper); }
.foot-brand .brand { color: var(--paper); }
.foot-brand p { font-size: .92rem; max-width: 36ch; margin-top: 14px; }
.foot-bottom {
    display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
    margin-top: 52px; padding-top: 22px;
    border-top: 1px solid #232B34;
    font-family: var(--mono); font-size: .76rem; letter-spacing: .03em;
}

/* ── Formulaires ─────────────────────────────────────────────────────── */
.form-card {
    background: #fff; border: 1px solid var(--line-hard); border-radius: 6px;
    padding: clamp(24px, 4vw, 40px);
    box-shadow: 0 24px 48px -32px rgba(18,22,28,.25);
}
.field { margin-bottom: 18px; }
.field label {
    display: block; margin-bottom: 6px;
    font-family: var(--mono); font-size: .76rem; letter-spacing: .06em;
    text-transform: uppercase; color: var(--ink);
}
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 14px;
    font: inherit; font-size: .95rem;
    border: 1px solid var(--line-hard); border-radius: var(--r);
    background: var(--paper); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-wash);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--r); font-size: .92rem; }
.form-msg.ok  { display: block; background: #E7F3EC; color: #14532D; border: 1px solid #BBDECB; }
.form-msg.err { display: block; background: #FBEAE7; color: #7F1D1D; border: 1px solid #F2C8C0; }
.form-success { text-align: center; padding: 34px 10px; }
.form-success .mark {
    width: 52px; height: 52px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #14803C; border-radius: 50%;
    color: #14803C; font-size: 1.4rem;
}

/* ── Prose (articles & pages) ────────────────────────────────────────── */
.prose { max-width: 70ch; }
.prose h2 {
    margin-top: 1.9em; padding-top: .9em;
    border-top: 1px solid var(--line);
    font-size: 1.55rem;
}
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: 1.15em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .92rem; }
.prose th, .prose td { padding: 10px 13px; border: 1px solid var(--line-hard); text-align: left; vertical-align: top; }
.prose th { background: var(--paper-deep); font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
.prose pre {
    background: var(--ink); color: var(--on-ink);
    padding: 18px 20px; border-radius: 6px;
    overflow-x: auto; font-family: var(--mono); font-size: .84rem; line-height: 1.7;
}
.prose code { font-family: var(--mono); font-size: .9em; }
.prose :not(pre) > code { background: var(--paper-deep); border: 1px solid var(--line); padding: .12em .4em; border-radius: 4px; }
.prose blockquote {
    margin: 1.6em 0; padding: 4px 0 4px 20px;
    border-left: 3px solid var(--accent);
    color: var(--muted); font-style: italic;
}

/* ── Couvertures SVG ─────────────────────────────────────────────────── */
.cover-wrap { display: block; overflow: hidden; border-radius: var(--r); margin-bottom: 18px; line-height: 0; }
.cover-wrap--banner { border-radius: 6px; }
.cover { width: 100%; height: auto; display: block; }

/* Fiches réalisations */
.work { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.work-card {
    background: #fff; border: 1px solid var(--line-hard); border-radius: 6px;
    overflow: hidden; display: flex; flex-direction: column;
}
.work-card img { aspect-ratio: 16/10; object-fit: cover; border-bottom: 1px solid var(--line); }
.work-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { margin-bottom: .35em; }
.work-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.work-body .tags { margin-top: 14px; }
.work-link { margin-top: 16px; font-family: var(--mono); font-size: .8rem; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.price-card {
    background: #fff; border: 1px solid var(--line-hard); border-radius: 6px;
    padding: 30px 28px; display: flex; flex-direction: column;
}
.price-card--hot { border-color: var(--accent); border-width: 2px; }
.price-card .tier { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.price-card .amount { font-family: var(--serif); font-size: 2.1rem; color: var(--ink); margin: 10px 0 2px; }
.price-card .amount small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.price-card li { padding: 7px 0 7px 22px; position: relative; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.price-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); font-size: .8rem; }

/* Pagination */
.pagination { font-family: var(--mono); font-size: .85rem; }
.pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--line-hard); border-radius: var(--r);
    text-decoration: none; color: var(--ink); margin-right: 6px; display: inline-block; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
/* Menu : bascule en burger tant que les 8 rubriques + tél + CTA ne tiennent
   pas confortablement sur une ligne (évite les items sur 2 lignes). */
@media (max-width: 1024px) {
    .burger { display: block; }
    .head-tel { display: none; }
    .nav {
        display: none; position: absolute; inset: 66px 0 auto;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--line-hard);
        padding: 8px var(--gut) 18px; z-index: 65;
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); white-space: normal; }
    .nav a.is-current { border-bottom-color: var(--accent); }
    .nav-cta { margin: 14px 0 0; text-align: center; justify-content: center; }
}
@media (max-width: 740px) {
    body { font-size: 15.5px; }
    .field-row { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .hero-proof > div { flex: 1 1 45%; border-bottom: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Blocs de contenu (shortcodes) ───────────────────────────────────── */
.we-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px; margin: 1.6em 0;
}
.we-item { background: #fff; border: 1px solid var(--line-hard); border-radius: var(--r); padding: 18px 20px; }
.we-item h4 { font-family: var(--mono); font-size: .78rem; letter-spacing: .07em;
    text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.we-item p { font-size: .92rem; color: var(--muted); margin: 0; }

.we-note {
    margin: 1.6em 0; padding: 16px 20px 16px 46px; position: relative;
    background: var(--accent-wash); border: 1px solid #EBD3C3; border-radius: var(--r);
    font-size: .95rem;
}
.we-note::before {
    content: "!"; position: absolute; left: 16px; top: 15px;
    width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; border-radius: 50%;
    font-family: var(--mono); font-size: .75rem; font-weight: 700;
}

.we-case {
    margin: 1.8em 0; padding: 24px 26px;
    background: var(--ink); border-radius: 6px; color: var(--on-ink);
}
.we-case-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--accent-vivid); }
.we-case h4 { font-family: var(--serif); font-size: 1.15rem; color: var(--paper); margin: 8px 0 8px; }
.we-case p { color: var(--on-ink-mut); font-size: .93rem; margin-bottom: 12px; }
.we-case .tag { border-color: #333C47; color: var(--on-ink-mut); background: transparent; }
.we-case-link { display: inline-block; margin-top: 12px; font-family: var(--mono);
    font-size: .8rem; color: var(--accent-vivid); text-decoration: none; }
.we-case-link:hover { color: #fff; }

.we-price {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px;
    margin: 1.6em 0; padding: 16px 22px;
    border: 1px dashed var(--line-hard); border-radius: var(--r); background: var(--paper-deep);
}
.we-price-amount { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.we-price-note { font-family: var(--mono); font-size: .76rem; color: var(--muted); }

.we-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 18px; margin: 2em 0; padding: 24px 26px;
    background: var(--paper-deep); border: 1px solid var(--line-hard);
    border-left: 3px solid var(--accent); border-radius: var(--r);
}
.we-cta h4 { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 4px; }
.we-cta p { color: var(--muted); font-size: .92rem; margin: 0; max-width: 46ch; }

.we-faq { margin-top: 2.2em; }
.we-q {
    border: 1px solid var(--line-hard); border-radius: var(--r);
    background: var(--paper); margin-bottom: 8px;
}
.we-q summary {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 15px 18px; cursor: pointer; list-style: none;
    font-weight: 600; color: var(--ink); font-size: .97rem;
}
.we-q summary::-webkit-details-marker { display: none; }
.we-q summary span { font-family: var(--mono); color: var(--accent); transition: transform .15s ease; }
.we-q[open] summary span { transform: rotate(45deg); }
.we-q > div { padding: 0 18px 16px; font-size: .94rem; color: var(--text); }


/* Monogramme des cartes articles — la lettre de la catégorie, palette dédiée */
.card--post { padding-top: 26px; }
.card--post .post-mono {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-bottom: 16px;
    font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.5rem;
    color: var(--pm-deep, var(--ink));
    background: color-mix(in srgb, var(--pm-accent, var(--accent)) 14%, var(--paper));
    border: 1px solid color-mix(in srgb, var(--pm-accent, var(--accent)) 45%, var(--line-hard));
    border-radius: var(--r);
}
a.card--post:hover .post-mono {
    background: color-mix(in srgb, var(--pm-accent, var(--accent)) 26%, var(--paper));
}

/* Téléphone en en-tête */
.head-tel {
    font-family: var(--mono); font-size: .82rem; font-weight: 600;
    color: var(--ink); text-decoration: none; white-space: nowrap;
    padding: 8px 10px;
}
.head-tel::before { content: "☎ "; color: var(--accent); }
.head-tel:hover { color: var(--accent); }
@media (max-width: 900px) { .head-tel { display: none; } }

/* ── Menu à sous-menus (piloté par l'architecture) ───────────────────── */
.nav-item { position: relative; display: flex; align-items: center; }
.drop-toggle {
    display: none; background: none; border: 0; cursor: pointer;
    color: var(--muted); font-size: .7rem; padding: 4px 6px;
}
.drop {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 300px; padding: 14px;
    background: var(--paper); border: 1px solid var(--line-hard); border-radius: 6px;
    box-shadow: 0 24px 48px -24px rgba(18,22,28,.3);
    opacity: 0; visibility: hidden; translate: 0 6px;
    transition: opacity .14s ease, translate .14s ease, visibility .14s;
    z-index: 70;
}
.nav-item:hover .drop, .nav-item:focus-within .drop {
    opacity: 1; visibility: visible; translate: 0 0;
}
.drop-intent {
    display: block; padding: 2px 10px 10px;
    font-family: var(--mono); font-size: .68rem; letter-spacing: .05em;
    color: var(--accent);
    border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.drop > a {
    display: block; padding: 9px 10px; border-radius: var(--r);
    text-decoration: none; border-bottom: 0 !important;
}
.drop > a:hover { background: var(--paper-deep); }
.drop > a strong { display: block; color: var(--ink); font-size: .88rem; }
.drop > a span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.drop-all {
    margin-top: 6px; padding-top: 10px !important;
    border-top: 1px solid var(--line) !important;
    font-family: var(--mono); font-size: .76rem !important; color: var(--accent) !important;
}
@media (max-width: 740px) {
    .nav-item { flex-wrap: wrap; }
    .nav-item > a { flex: 1; }
    .drop-toggle { display: block; font-size: .9rem; padding: 12px 14px; }
    .drop {
        position: static; transform: none; min-width: 0; width: 100%;
        border: 0; border-left: 2px solid var(--line-hard); border-radius: 0;
        box-shadow: none; padding: 0 0 6px 14px; margin: 0 0 4px;
        display: none; opacity: 1; visibility: visible; translate: none;
    }
    .nav-item.is-open .drop { display: block; }
    .nav-item:hover .drop { opacity: 1; }
    .drop-intent { display: none; }
}

/* ── Pages de service : hero + colonne latérale ──────────────────────── */
.page-hero { padding: clamp(44px, 6vw, 80px) 0; border-bottom: 1px solid var(--line-hard); }
.page-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-aside { position: sticky; top: 86px; display: grid; gap: 16px; }
.aside-label {
    font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--accent);
}
.toc { padding: 18px 20px; border: 1px solid var(--line-hard); border-radius: 6px; background: var(--paper); }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 2px; }
.toc a {
    display: block; padding: 6px 0 6px 26px; position: relative;
    font-size: .85rem; line-height: 1.35; color: var(--text); text-decoration: none;
}
.toc a::before {
    content: counter(toc, decimal-leading-zero);
    position: absolute; left: 0; top: 7px;
    font-family: var(--mono); font-size: .7rem; color: var(--accent);
}
.toc a:hover { color: var(--accent); }
.aside-card { padding: 20px; border: 1px solid var(--line-hard); border-radius: 6px; background: #fff; }
.aside-tel {
    display: block; text-align: center; padding: 10px;
    font-family: var(--mono); font-weight: 600; font-size: .95rem;
    color: var(--ink); text-decoration: none;
    border: 1px solid var(--line-hard); border-radius: var(--r); margin-bottom: 8px;
}
.aside-tel:hover { border-color: var(--accent); color: var(--accent); }
.aside-mail { display: block; text-align: center; font-size: .8rem; margin-top: 6px; }
@media (max-width: 960px) {
    .page-cols { grid-template-columns: 1fr; }
    .page-aside { position: static; }
    .toc { display: none; }
}

/* ── Blog en base de connaissances ───────────────────────────────────── */
.hub { margin-top: 40px; display: grid; gap: clamp(36px, 5vw, 56px); }
.hub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hub-head h2 { font-size: 1.45rem; margin: 0; }
.hub-count {
    font-family: var(--mono); font-size: .72rem; font-weight: 400;
    color: var(--muted); letter-spacing: .04em; margin-left: 8px;
}
.hub-desc { color: var(--muted); font-size: .93rem; max-width: 70ch; margin: 8px 0 16px; }
.hub-section .related-grid { margin-top: 14px; }
.hub-cat {
    display: block; font-family: var(--mono); font-size: .68rem;
    letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
    margin-bottom: 6px;
}

/* Pilier métiers : pastilles de guides */
.metier-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.metier-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px;
    background: #fff; border: 1px solid var(--line-hard); border-radius: 99px;
    font-size: .88rem; color: var(--ink); text-decoration: none;
    transition: border-color .14s ease, background-color .14s ease;
}
a.metier-pill:hover { border-color: var(--accent); color: var(--accent); }
.metier-pill--soon { background: transparent; color: var(--muted); border-style: dashed; }
.metier-pill--soon em {
    font-style: normal; font-family: var(--mono); font-size: .64rem;
    letter-spacing: .06em; text-transform: uppercase; color: var(--line-hard);
}

/* Lien grille complète depuis chaque repère de prix */
.we-price-link {
    margin-left: auto; font-family: var(--mono); font-size: .74rem;
    white-space: nowrap; text-decoration: none;
}

/* ── Estimateur de budget ────────────────────────────────────────────── */
.esti-step { margin-bottom: 26px; }
.esti-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.esti-opts button {
    padding: 14px; text-align: left; cursor: pointer;
    background: var(--paper); border: 1px solid var(--line-hard); border-radius: var(--r);
    font: inherit; transition: border-color .12s ease, background-color .12s ease;
}
.esti-opts button strong { display: block; font-size: .92rem; color: var(--ink); }
.esti-opts button span { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }
.esti-opts button:hover { border-color: var(--accent); }
.esti-opts button.is-on { border-color: var(--accent); background: var(--accent-wash); }
.esti-amount { padding: 18px 22px; background: var(--ink); border-radius: 6px; }
.esti-amount .aside-label { color: var(--accent-vivid); }
.esti-amount strong {
    display: block; font-family: var(--serif); font-size: 2rem;
    color: var(--paper); margin: 6px 0 2px; letter-spacing: -.01em;
}

/* Landing urgence : le téléphone en héros */
.urgence-hero { padding-bottom: clamp(48px, 6vw, 72px); }
.urgence-tel {
    display: inline-block; margin-top: 26px;
    padding: 20px 38px;
    font-family: var(--mono); font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700;
    background: var(--accent); color: #fff; border-radius: 8px;
    text-decoration: none; letter-spacing: .01em;
    box-shadow: 0 18px 40px -18px rgba(188,63,12,.55);
    transition: transform .12s ease, background-color .12s ease;
}
.urgence-tel:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.urgence-steps { margin-top: clamp(36px, 5vw, 54px); text-align: left; }

/* ── E-E-A-T : signature auteur + encart bio ─────────────────────────── */
.byline { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: .9rem; color: var(--text); }
.byline-av, .author-av {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--ink); color: var(--paper);
    font-family: var(--mono); font-size: .82rem; font-weight: 700; letter-spacing: .04em;
}
.byline a { text-decoration: none; }
.byline a:hover strong { color: var(--accent); }
.byline-meta { color: var(--muted); font-size: .8rem; }
.author-box {
    display: flex; gap: 18px; margin-top: 48px; padding: 24px 26px;
    background: var(--paper-deep); border: 1px solid var(--line-hard);
    border-left: 3px solid var(--accent); border-radius: var(--r);
}
.author-av { width: 56px; height: 56px; font-size: 1rem; }
.author-name { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); margin: 0 0 6px; }
.author-name span { font-family: var(--sans); font-size: .82rem; font-weight: 400; color: var(--muted); }
.author-bio { font-size: .92rem; color: var(--text); margin: 0 0 10px; line-height: 1.6; }
.author-links { font-family: var(--mono); font-size: .8rem; margin: 0; color: var(--line-hard); }
