/* ==========================================================================
   LB Expertise — feuille de style principale
   ========================================================================== */

@font-face {
    font-family: "Inter";
    src: url("../fonts/inter.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/playfair.woff2") format("woff2");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/playfair-italic.woff2") format("woff2");
    font-weight: 400 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --navy: #02284a;
    --navy-950: #011628;
    --navy-900: #011d36;
    --navy-800: #06315a;
    --navy-600: #1d4a76;
    --gold: #b28953;
    --gold-light: #d9c19a;
    --gold-pale: #f6efe3;
    --gold-text: #8a6431;
    --ink: #0e1b2b;
    --text: #3a4859;
    --muted: #677587;
    --line: #e5e8ed;
    --line-strong: #d3d9e1;
    --soft: #f7f8fa;
    --warm: #fbf9f5;
    --white: #ffffff;
    --success: #1f7a4d;
    --danger: #b3261e;

    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgb(2 40 74 / .06), 0 1px 3px rgb(2 40 74 / .05);
    --shadow: 0 10px 30px -12px rgb(2 40 74 / .18), 0 4px 10px -6px rgb(2 40 74 / .08);
    --shadow-lg: 0 30px 60px -24px rgb(2 40 74 / .35), 0 10px 24px -12px rgb(2 40 74 / .12);
    --ease: cubic-bezier(.22, .8, .24, 1);

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --header-h: 76px;
    --section-y: clamp(4rem, 9vw, 7.5rem);
}

/* --------------------------------------------------------------- Base */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    color: var(--ink);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.01em;
    text-wrap: balance;
}
h1, h2 { font-family: var(--font-serif); font-weight: 500; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.2rem; font-family: var(--font-sans); letter-spacing: -.005em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }

ul, ol { padding: 0; margin: 0; }
address { font-style: normal; }
strong { color: var(--ink); font-weight: 600; }
mark { background: #fff3c4; padding: 0 .25em; border-radius: 3px; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: var(--navy); color: var(--white); }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem; top: -100px;
    z-index: 1000;
    padding: .75rem 1.25rem;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.skip-link:focus { top: 1rem; color: var(--white); }

main:focus { outline: none; }

.container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.icon-lg { width: 1.6rem; height: 1.6rem; }
.icon-xl { width: 2.6rem; height: 2.6rem; }

.text-gold { color: var(--gold); }
.nw { white-space: nowrap; }
@media (min-width: 641px) { .nw-md { white-space: nowrap; } }
.muted { color: var(--muted); font-size: .92rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.1rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-text);
}
.eyebrow::before {
    content: "";
    width: 28px; height: 1px;
    background: currentColor;
}
.eyebrow-light { color: var(--gold-light); }

/* --------------------------------------------------------------- Boutons */

.btn {
    --btn-bg: var(--navy);
    --btn-fg: var(--white);
    --btn-bd: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: .8rem 1.5rem;
    font: 600 .97rem/1.2 var(--font-sans);
    letter-spacing: .005em;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1px solid var(--btn-bd);
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
    white-space: nowrap;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn-primary { box-shadow: 0 8px 20px -10px rgb(2 40 74 / .6); }
.btn-primary:hover { --btn-bg: var(--navy-800); box-shadow: 0 14px 28px -12px rgb(2 40 74 / .6); }

.btn-gold { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: var(--white); box-shadow: 0 10px 24px -12px rgb(178 137 83 / .8); }
.btn-gold:hover { --btn-bg: #a17947; --btn-bd: #a17947; }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong); }
.btn-outline:hover { --btn-bd: var(--navy); --btn-fg: var(--navy); background: var(--white); box-shadow: var(--shadow-sm); }

.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgb(255 255 255 / .3); }
.btn-ghost-light:hover { --btn-bd: var(--white); background: rgb(255 255 255 / .06); }

.btn-sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .92rem;
    font-weight: 600;
    color: var(--navy);
}
.link-arrow .icon { transition: transform .3s var(--ease); }

/* --------------------------------------------------------------- En-tête */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(255 255 255 / .86);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 6px 24px -18px rgb(2 40 74 / .4);
    background: rgb(255 255 255 / .94);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-mark { width: 62px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--navy);
}
.brand-tag {
    margin-top: .3rem;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; }
.main-nav ul a {
    position: relative;
    display: block;
    padding: .55rem .9rem;
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    transition: color .2s;
}
.main-nav ul a::after {
    content: "";
    position: absolute;
    left: .9rem; right: .9rem; bottom: .3rem;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.main-nav ul a:hover { color: var(--navy); }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .93rem;
    color: var(--navy);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}
.header-phone .icon { color: var(--gold); }

.nav-toggle {
    display: none;
    position: relative;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    position: absolute;
    left: 50%;
    width: 18px; height: 1.6px;
    margin-left: -9px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin: 0; }
.nav-toggle-bar::before { transform: translateY(-6px); }
.nav-toggle-bar::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); background: var(--navy); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: rotate(-45deg); background: var(--navy); }

/* --------------------------------------------------------------- Héros d'accueil */

.hero {
    position: relative;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
    background:
        radial-gradient(60rem 30rem at 85% -10%, var(--gold-pale), transparent 60%),
        radial-gradient(50rem 30rem at -10% 110%, #eef3f8, transparent 60%),
        var(--white);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-curve { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; color: var(--gold); opacity: .35; }

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .text-gold { display: block; font-size: .8em; font-style: italic; font-weight: 500; margin-top: .1em; }
.hero-lead { font-size: clamp(1.06rem, 1.6vw, 1.2rem); max-width: 36rem; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.2rem 0 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; list-style: none; font-size: .94rem; font-weight: 500; color: var(--ink); }
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points .icon { color: var(--gold); }


/* --------------------------------------------------------------- Carte « Être rappelé » */

.lead-card {
    position: relative;
    padding: clamp(1.6rem, 3vw, 2.2rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.lead-card::before {
    content: "";
    position: absolute;
    top: 0; left: 2rem; right: 2rem;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 0 0 3px 3px;
}
.lead-badge {
    display: inline-flex; align-items: center; gap: .45rem;
    margin-bottom: 1rem;
    padding: .3rem .8rem;
    font-size: .76rem; font-weight: 600;
    color: var(--navy);
    background: var(--soft);
    border-radius: 999px;
}
.lead-badge .icon { width: 15px; height: 15px; color: var(--gold); }
.lead-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); margin-bottom: .5rem; }
.lead-intro { font-size: .95rem; color: var(--muted); margin-bottom: 1.2rem; }
.lead-foot { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 1rem 0 0; font-size: .8rem; color: var(--muted); }
.lead-foot .icon { width: 14px; height: 14px; }
.form-compact { gap: .85rem; margin-top: 0; }
.form-compact .field { gap: .3rem; }
.form-compact .field label { font-size: .84rem; }
.form-compact .field input, .form-compact .field select { min-height: 48px; }
.form-compact .btn { margin-top: .3rem; }

/* --------------------------------------------------------------- Raccourcis « Par où commencer ? » */

.intents { position: relative; z-index: 2; padding: 0 0 clamp(1rem, 3vw, 2rem); margin-top: -1rem; }
.intents-title {
    margin: 0 0 1rem;
    font: 700 .78rem/1.3 var(--font-sans);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-text);
}
.intent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.intent {
    display: flex; align-items: center; gap: .9rem;
    padding: 1.15rem 1.2rem;
    color: var(--ink);
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.intent:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.intent-icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; color: var(--gold); background: var(--gold-pale); border-radius: 12px; transition: background .3s, color .3s; }
.intent:hover .intent-icon { color: var(--white); background: var(--navy); }
.intent-text { flex: 1; line-height: 1.35; }
.intent-text strong { display: block; font-size: .94rem; }
.intent-text small { display: block; margin-top: .2rem; font-size: .8rem; color: var(--muted); }
.intent-arrow { color: var(--navy); transition: transform .3s var(--ease); }
.intent:hover .intent-arrow { transform: translateX(4px); }

/* --------------------------------------------------------------- Changer d'expert-comptable */

.switch { background: linear-gradient(180deg, var(--white), var(--warm)); }
.switch-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.switch-copy > p { font-size: 1.05rem; }
.switch-actions { margin-top: 1.8rem; }
.switch-steps { list-style: none; display: grid; gap: 1rem; }
.switch-steps li {
    display: flex; gap: 1.2rem;
    padding: 1.4rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.switch-steps li > span {
    display: grid; place-items: center; flex-shrink: 0;
    width: 44px; height: 44px;
    font-family: var(--font-serif); font-size: 1.2rem;
    color: var(--white); background: var(--navy);
    border-radius: 50%;
}
.switch-steps h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.switch-steps p { margin: 0; font-size: .93rem; color: var(--muted); }

/* --------------------------------------------------------------- Barre d'action mobile */

.mobile-cta { display: none; }

/* --------------------------------------------------------------- Barre de progression de lecture */

.read-progress {
    position: fixed;
    top: 0; left: 0;
    z-index: 200;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

.article-cta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.2rem 1.4rem;
    align-items: center;
    margin-top: 3rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    color: rgb(255 255 255 / .8);
    background:
        radial-gradient(26rem 14rem at 100% 0%, rgb(178 137 83 / .25), transparent 60%),
        linear-gradient(150deg, var(--navy-800), var(--navy-950));
    border-radius: var(--radius-lg);
}
.article-cta h2 { margin: 0 0 .4rem; font-size: 1.45rem; color: var(--white); }
.article-cta p { margin: 0; font-size: .95rem; }
.article-cta-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .8rem; }

.page-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.contact-reassure { list-style: none; display: grid; gap: .55rem; margin: 0 0 1.4rem; padding: 1rem 1.2rem; background: var(--warm); border-radius: var(--radius); }
.contact-reassure li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.contact-reassure .icon { color: var(--gold); }
.form[data-callback] .req-mail { display: none; }

/* --------------------------------------------------------------- Sections */

.section { padding: var(--section-y) 0; }
.section-tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section-soft { background: var(--warm); }
.section-navy {
    position: relative;
    color: rgb(255 255 255 / .78);
    background:
        radial-gradient(40rem 24rem at 100% 0%, rgb(178 137 83 / .16), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%);
    overflow: hidden;
}
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.section-head-light p:last-child { color: rgb(255 255 255 / .7); }
.section-head-left { text-align: left; margin-inline: 0; }
.section-head-left .eyebrow { justify-content: flex-start; }
.section-head-row {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
    max-width: none; text-align: left; flex-wrap: wrap;
}
.section-head-row .eyebrow { justify-content: flex-start; }
.section-head-row h2 { margin: 0; max-width: 34rem; }

/* --------------------------------------------------------------- Cartes expertises */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.1rem 1.9rem 1.9rem;
    color: var(--text);
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
    overflow: hidden;
    isolation: isolate;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.service-card:hover { color: var(--text); transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .link-arrow .icon { transform: translateX(4px); }
.service-card h3 { margin: 1.4rem 0 .6rem; font-size: 1.28rem; }
.service-card p { flex: 1; font-size: .96rem; color: var(--muted); }
.service-num {
    position: absolute;
    top: 1.5rem; right: 1.7rem;
    font-family: var(--font-serif);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--gold-pale);
    z-index: -1;
    transition: color .4s;
}
.service-card:hover .service-num { color: #efe2cc; }
.service-icon {
    display: grid; place-items: center;
    width: 58px; height: 58px;
    color: var(--navy);
    background: linear-gradient(145deg, #f1f5f9, #e4ebf2);
    border-radius: 16px;
    transition: background .4s, color .4s;
}
.service-card:hover .service-icon { color: var(--white); background: var(--navy); }
.service-grid-compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.service-grid-compact .service-card { padding: 1.6rem; }
.service-grid-compact h3 { font-size: 1.08rem; }
.service-grid-compact p { font-size: .9rem; }

/* --------------------------------------------------------------- Blocs éditoriaux */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split-center { align-items: center; }
.split-copy > p { font-size: 1.05rem; }

.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.6rem 0 2rem; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; color: var(--ink); line-height: 1.5; }
.check-list .icon {
    width: 22px; height: 22px; padding: 4px; margin-top: 1px;
    color: var(--white); background: var(--gold);
    border-radius: 50%; stroke-width: 2.4;
}


/* Méthode */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; position: relative; }
.steps::before {
    content: "";
    position: absolute;
    top: 2rem; left: 8%; right: 8%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--gold-light) 0 6px, transparent 6px 12px);
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-num {
    position: relative;
    display: grid; place-items: center;
    width: 4rem; height: 4rem;
    margin: 0 auto 1.4rem;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    box-shadow: 0 0 0 8px var(--white);
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; }

/* Profils */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .1); border-radius: var(--radius-lg); overflow: hidden; }
.profile { padding: 2.2rem 2rem; background: var(--navy-900); transition: background .4s; }
.profile:hover { background: #062748; }
.profile > .icon { color: var(--gold); margin-bottom: 1.2rem; }
.profile h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.profile p { margin: 0; font-size: .94rem; line-height: 1.6; }

/* Zone */
.city-list { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.city-list li {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .95rem;
    font-size: .9rem; font-weight: 500; color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
}
.city-list .icon { width: 15px; height: 15px; color: var(--gold); }

.zone-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.zone-map { background: linear-gradient(160deg, #f3f6f9, #e9eef4); padding: 1rem; }
.zone-map svg { width: 100%; height: auto; }
.zone-water { fill: #d6e2ee; }
.zone-ring circle { fill: none; stroke: var(--gold); stroke-dasharray: 4 6; opacity: .55; }
.zone-dot { fill: var(--navy-600); }
.zone-main { fill: var(--gold); stroke: var(--white); stroke-width: 3; }
.zone-map text { font: 600 12px var(--font-sans); fill: var(--navy); }
.zone-info { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; flex-wrap: wrap; }
.zone-info p { margin: 0; font-size: .94rem; line-height: 1.5; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-list { display: grid; gap: .8rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: var(--gold-light); box-shadow: var(--shadow-sm); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.2rem 1.4rem;
    font-weight: 600; color: var(--ink); line-height: 1.45;
    cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    display: grid; place-items: center; flex-shrink: 0;
    width: 32px; height: 32px;
    color: var(--navy); background: var(--soft); border-radius: 50%;
    transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq-icon .icon { width: 16px; height: 16px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--white); }
.faq-answer { padding: 0 1.4rem 1.3rem; }
.faq-answer p { margin: 0; color: var(--muted); font-size: .98rem; }

/* CTA */
.cta-band {
    position: relative;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    color: rgb(255 255 255 / .78);
    background:
        radial-gradient(40rem 20rem at 0% 100%, rgb(178 137 83 / .22), transparent 60%),
        linear-gradient(120deg, var(--navy) 0%, var(--navy-950) 100%);
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 38rem; }
.cta-band h2 { color: var(--white); margin-bottom: .7rem; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* --------------------------------------------------------------- En-tête de page */

.page-hero, .article-hero {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem);
    color: rgb(255 255 255 / .78);
    background:
        radial-gradient(50rem 26rem at 100% 0%, rgb(178 137 83 / .2), transparent 60%),
        linear-gradient(150deg, var(--navy) 0%, var(--navy-950) 100%);
    overflow: hidden;
}
.page-hero-deco {
    position: absolute;
    right: -6rem; bottom: -12rem;
    width: 34rem; height: 34rem;
    border: 1px solid rgb(217 193 154 / .2);
    border-radius: 50%;
    pointer-events: none;
}
.page-hero-deco::before {
    content: "";
    position: absolute; inset: 4rem;
    border: 1px solid rgb(217 193 154 / .12);
    border-radius: 50%;
}
.page-hero h1, .article-hero h1 { color: var(--white); max-width: 52rem; margin-bottom: 1rem; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero-lead { max-width: 44rem; font-size: clamp(1.03rem, 1.5vw, 1.18rem); margin: 0; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin-bottom: 1.8rem; font-size: .85rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; color: rgb(255 255 255 / .35); }
.breadcrumb a { color: rgb(255 255 255 / .7); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb [aria-current] { color: var(--white); }

/* --------------------------------------------------------------- Page expertise */

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.content-main > h2 { margin-top: 3.5rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); line-height: 1.65; color: var(--ink); }

.item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.item {
    display: flex; gap: 1rem;
    padding: 1.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .3s, box-shadow .3s;
}
.item:hover { border-color: var(--gold-light); box-shadow: var(--shadow-sm); }
.item h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.item p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.6; }
.item-check {
    display: grid; place-items: center; flex-shrink: 0;
    width: 30px; height: 30px;
    color: var(--gold-text); background: var(--gold-pale); border-radius: 50%;
}
.item-check .icon { width: 16px; height: 16px; stroke-width: 2.2; }

.content-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.2rem; }
.aside-card { padding: 1.8rem; background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.aside-card h2 { font-size: 1.35rem; }
.aside-card .check-list { margin: 1rem 0 0; }
.aside-card .check-list li { font-size: .95rem; }
.aside-card-navy { color: rgb(255 255 255 / .78); background: linear-gradient(155deg, var(--navy-800), var(--navy-950)); border: 0; }
.aside-card-navy h2 { color: var(--white); }
.aside-card-navy p { font-size: .95rem; }
.aside-phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; color: var(--white); font-weight: 600; text-decoration: none; }
.aside-phone:hover { color: var(--gold-light); }

/* Liste des expertises */
.service-rows { display: grid; gap: 1.2rem; }
.service-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem 2.2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: box-shadow .4s var(--ease), border-color .4s;
}
.service-row:hover { box-shadow: var(--shadow); border-color: transparent; }
.service-row-head { display: flex; align-items: center; gap: 1.2rem; }
.service-row .service-num { position: static; color: var(--gold); font-size: 1.6rem; }
.service-row h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.service-row h2 a { color: var(--ink); text-decoration: none; }
.service-row h2 a:hover { color: var(--gold-text); }
.service-row p { color: var(--muted); font-size: .97rem; margin-bottom: 1rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.tag-list li { padding: .3rem .8rem; font-size: .82rem; font-weight: 500; color: var(--navy); background: var(--soft); border-radius: 999px; }

/* Valeurs */
.values-card { padding: clamp(1.8rem, 4vw, 2.6rem); background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.values-card h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.6rem; }
.value-list { list-style: none; display: grid; gap: 1.4rem; margin-top: 1.4rem; }
.value-list li { display: flex; gap: 1rem; }
.value-list li > span { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; color: var(--white); background: var(--navy); border-radius: 12px; }
.value-list p { margin: .2rem 0 0; font-size: .93rem; color: var(--muted); line-height: 1.55; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.feature { padding: 2rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature > .icon { color: var(--gold); margin-bottom: 1.2rem; }
.feature h3 { font-size: 1.08rem; }
.feature p { margin: 0; font-size: .93rem; color: var(--muted); }

.stack-cards { display: grid; gap: 1rem; }
.mini-card {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.mini-card:nth-child(2) { margin-left: 2.5rem; }
.mini-card:nth-child(3) { margin-left: 1.2rem; }
.mini-card > .icon { width: 42px; height: 42px; padding: 10px; color: var(--navy); background: var(--soft); border-radius: 12px; }
.mini-card span { flex: 1; line-height: 1.35; }
.mini-card strong { display: block; font-size: .95rem; }
.mini-card small { color: var(--muted); font-size: .82rem; }
.mini-card em { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--success); background: #e8f5ee; padding: .25rem .6rem; border-radius: 999px; }

/* --------------------------------------------------------------- Actualités */

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card:hover .link-arrow .icon { transform: translateX(4px); }
.post-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-placeholder {
    display: grid; place-items: center;
    width: 100%; height: 100%;
    color: var(--gold-light);
    background:
        radial-gradient(18rem 10rem at 100% 0%, rgb(178 137 83 / .25), transparent 60%),
        linear-gradient(150deg, var(--navy-800), var(--navy-950));
}
.post-card-placeholder[data-cat="fiscalite"] { background: radial-gradient(18rem 10rem at 0% 100%, rgb(178 137 83 / .3), transparent 60%), linear-gradient(150deg, var(--navy), var(--navy-950)); }
.post-card-placeholder[data-cat="creation"] { color: var(--navy); background: radial-gradient(18rem 10rem at 100% 100%, rgb(2 40 74 / .08), transparent 60%), linear-gradient(150deg, var(--gold-pale), #ead9bc); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.7rem; }
.post-card h3 { font-size: 1.15rem; line-height: 1.4; margin: .2rem 0 .6rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card h3 a:hover { color: var(--navy); }
.post-card p { flex: 1; font-size: .93rem; color: var(--muted); }
.post-card .tag { position: relative; z-index: 1; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .6rem; font-size: .82rem; color: var(--muted); }
.post-meta-light { color: rgb(255 255 255 / .7); }
.tag {
    display: inline-block;
    padding: .22rem .7rem;
    font-size: .74rem; font-weight: 600;
    letter-spacing: .03em;
    color: var(--gold-text);
    background: var(--gold-pale);
    border-radius: 999px;
    text-decoration: none;
}
.tag:hover { color: var(--navy); }
.tag-light { color: var(--navy); background: var(--gold-light); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter-bar a {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1.1rem;
    font-size: .9rem; font-weight: 500;
    color: var(--ink); text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: all .25s;
}
.filter-bar a span { font-size: .75rem; color: var(--muted); }
.filter-bar a:hover { border-color: var(--navy); }
.filter-bar a[aria-current] { color: var(--white); background: var(--navy); border-color: var(--navy); }
.filter-bar a[aria-current] span { color: var(--gold-light); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pagination a {
    display: inline-flex; align-items: center; gap: .4rem;
    min-width: 44px; height: 44px; padding: 0 1rem;
    justify-content: center;
    color: var(--ink); text-decoration: none; font-weight: 500;
    border: 1px solid var(--line); border-radius: 999px;
}
.pagination a[aria-current] { color: var(--white); background: var(--navy); border-color: var(--navy); }
.empty-state { padding: 3rem; text-align: center; color: var(--muted); background: var(--soft); border-radius: var(--radius-lg); }

/* Article */
.article-hero { padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.article-hero-inner { max-width: 60rem; }
.article-hero .breadcrumb ol { margin-bottom: 1.4rem; }
.article-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.article-author { margin: 1.4rem 0 0; font-size: .92rem; color: var(--gold-light); }
.article-cover { margin-top: -2.5rem; position: relative; }
.article-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.article-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 46rem);
    justify-content: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}
.article-layout:not(:has(.article-toc)) { grid-template-columns: minmax(0, 46rem); }
.article-toc nav { position: sticky; top: calc(var(--header-h) + 2rem); }
.toc-title { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 1rem; }
.article-toc ol { list-style: none; border-left: 1px solid var(--line); }
.article-toc a {
    display: block;
    margin-left: -1px;
    padding: .45rem 0 .45rem 1rem;
    font-size: .88rem; line-height: 1.45;
    color: var(--muted); text-decoration: none;
    border-left: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.article-toc a:hover { color: var(--navy); }
.article-toc a.is-active { color: var(--navy); font-weight: 600; border-color: var(--gold); }

.article-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.disclaimer { display: flex; gap: .8rem; padding: 1.1rem 1.3rem; font-size: .9rem; line-height: 1.6; color: var(--muted); background: var(--soft); border-radius: var(--radius); }
.disclaimer .icon { color: var(--gold); margin-top: .2rem; }
.share { display: flex; align-items: center; gap: .6rem; margin-top: 1.4rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.share a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--navy); border: 1px solid var(--line); border-radius: 50%; transition: all .25s; }
.share a:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.share .icon { width: 17px; height: 17px; }

/* Typographie éditoriale */
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.55rem, 2.6vw, 1.95rem); }
.prose h3 { margin: 2rem 0 .7rem; font-size: 1.22rem; }
.prose h4 { margin: 1.6rem 0 .5rem; font-size: 1.05rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.3em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .45rem; padding-left: .3rem; }
.prose ul li::marker { color: var(--gold); }
.prose ol li::marker { color: var(--gold-text); font-weight: 600; }
.prose a { color: var(--navy); text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--gold-text); }
.prose blockquote {
    margin: 2rem 0;
    padding: 1.4rem 1.6rem;
    font-size: 1.05rem;
    color: var(--ink);
    background: var(--warm);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.prose blockquote p:last-child { margin: 0; }
.prose hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
.prose code { font-size: .9em; padding: .15em .4em; background: var(--soft); border-radius: 5px; }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { margin-top: .6rem; font-size: .86rem; color: var(--muted); text-align: center; }
.table-wrap { margin: 1.8rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; }
.prose th { padding: .9rem 1.1rem; text-align: left; font-weight: 600; color: var(--white); background: var(--navy); }
.prose td { padding: .85rem 1.1rem; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) { background: var(--soft); }
.prose-narrow { max-width: 50rem; }

/* --------------------------------------------------------------- Contact */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form-wrap {
    padding: clamp(1.6rem, 4vw, 2.8rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.contact-form-wrap > h2 { font-size: 1.9rem; margin-bottom: .3rem; }
.form-intro { font-size: .9rem; color: var(--muted); }
.contact-aside { display: grid; gap: 1.2rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.contact-card { padding: 1.8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-card h2 { font-size: 1.35rem; }
.contact-card-soft { background: var(--warm); }
.contact-card-soft p { margin: 0; font-size: .94rem; color: var(--muted); }
.contact-list { list-style: none; display: grid; gap: 1.2rem; margin-bottom: 1.6rem; }
.contact-list li { display: flex; gap: .9rem; }
.contact-list li > span { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; color: var(--gold); background: var(--gold-pale); border-radius: 12px; }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list p { margin: 0; font-weight: 600; color: var(--ink); text-decoration: none; line-height: 1.5; word-break: break-word; }
.contact-list a:hover { color: var(--gold-text); }

.form { display: grid; gap: 1.2rem; margin-top: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: .8rem 1rem;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .2s, background .2s, box-shadow .2s;
    appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302284a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 2.8rem;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--navy);
    box-shadow: 0 0 0 4px rgb(2 40 74 / .08);
}
.field [aria-invalid="true"] { border-color: var(--danger); background: #fff8f7; }
.field-error { margin: 0; font-size: .85rem; font-weight: 500; color: var(--danger); }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .8rem; }
.field-check input {
    width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: .15rem;
    border-radius: 6px; cursor: pointer;
    display: grid; place-items: center;
}
.field-check input:checked {
    background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
    border-color: var(--navy);
}
.field-check label { font-weight: 400; font-size: .88rem; color: var(--muted); line-height: 1.55; }
.field-check .field-error { grid-column: 2; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: var(--radius); font-size: .95rem; }
.alert h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.alert p { margin: 0; }
.alert-success { color: #154d33; background: #ecf7f1; border: 1px solid #c6e8d5; }
.alert-success > .icon { color: var(--success); }
.alert-error { color: #7a1a14; background: #fdf0ef; border: 1px solid #f3c9c5; }

/* --------------------------------------------------------------- Plan du site, erreurs */

.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.sitemap-grid h2 { font-size: 1.5rem; }
.sitemap-grid h2 a { color: inherit; text-decoration: none; }
.link-list { list-style: none; display: grid; gap: .5rem; }
.link-list a { color: var(--text); text-decoration: none; }
.link-list a:hover { color: var(--gold-text); text-decoration: underline; }

.error-page { padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; }
.error-page .container { max-width: 40rem; }
.error-code { font-family: var(--font-serif); font-size: clamp(5rem, 14vw, 8rem); line-height: 1; color: var(--gold); margin-bottom: 1rem; }
.error-page .hero-actions { justify-content: center; }

/* --------------------------------------------------------------- Pied de page */

.site-footer {
    color: rgb(255 255 255 / .66);
    background: var(--navy-950);
    font-size: .94rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr .9fr 1.2fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-top: clamp(3.5rem, 7vw, 5rem);
    padding-bottom: 3rem;
}
.footer-logo { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; color: var(--white); text-decoration: none; }
.footer-logo img { width: 70px; }
.footer-logo strong { display: block; font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.footer-logo small { display: block; margin-top: .25rem; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); }
.footer-brand p { max-width: 24rem; line-height: 1.7; }
.footer-ordre { display: flex; gap: .6rem; font-size: .85rem; color: rgb(255 255 255 / .55); }
.footer-ordre .icon { color: var(--gold); margin-top: .2rem; }
.footer-col h2 {
    margin-bottom: 1.2rem;
    font: 700 .75rem/1.3 var(--font-sans);
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-light);
}
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: rgb(255 255 255 / .75); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-contact p { display: flex; gap: .7rem; margin-bottom: .9rem; line-height: 1.55; }
.footer-contact .icon { color: var(--gold); margin-top: .25rem; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.4rem; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; align-items: center; gap: 1.4rem; list-style: none; }

/* --------------------------------------------------------------- Animations d'apparition */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .read-progress { display: none; }
}

/* --------------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
    .intent-grid { grid-template-columns: repeat(2, 1fr); }
    .header-inner { gap: 1.2rem; }
    .main-nav ul a { padding: .5rem .65rem; font-size: .93rem; }
    .main-nav ul a::after { left: .65rem; right: .65rem; }
    .header-phone span { display: none; }
    .service-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: minmax(0, 46rem); }
    .article-toc { display: none; }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: block; }
    .header-actions .btn { display: none; }
    .header-phone { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }

    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        display: flex; flex-direction: column;
        padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
        background: var(--white);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    }
    .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav ul a { padding: 1.1rem .25rem; font-family: var(--font-serif); font-size: 1.5rem; border-radius: 0; }
    .main-nav ul a::after { display: none; }
    .main-nav ul a[aria-current="page"] { color: var(--gold-text); }
    .nav-mobile-extra { display: grid; gap: 1rem; margin-top: auto; padding-top: 2rem; }
    .nav-phone { display: flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; text-decoration: none; }
    body.nav-open { overflow: hidden; }
    .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--white); }

    .hero-grid, .split, .faq-layout, .content-layout, .contact-layout { grid-template-columns: 1fr; }
    .lead-card { max-width: 560px; width: 100%; }
    .switch-inner { grid-template-columns: 1fr; }
    .intents { margin-top: 0; }

    .mobile-cta {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 90;
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: .6rem;
        padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
        background: rgb(255 255 255 / .96);
        border-top: 1px solid var(--line);
        box-shadow: 0 -10px 30px -18px rgb(2 40 74 / .45);
        transform: translateY(110%);
        transition: transform .35s var(--ease);
    }
    .mobile-cta.is-visible { transform: none; }
    .mobile-cta .btn { min-height: 48px; padding-inline: 1rem; }
    body.nav-open .mobile-cta { transform: translateY(110%); }
    body.has-mobile-cta .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .faq-layout .section-head, .content-aside, .contact-aside { position: static; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
    .steps::before { display: none; }
    .profile-grid { grid-template-columns: repeat(2, 1fr); }
    .service-row { grid-template-columns: 1fr; gap: 1.2rem; }
    .service-row-cta { justify-self: start; }
    .sitemap-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    .brand-mark { width: 52px; }
    .brand-name { font-size: .92rem; }
    .brand-tag { font-size: .6rem; }
    .hero-actions .btn { width: 100%; }
    .intent-grid, .service-grid, .post-grid, .feature-grid, .item-grid, .profile-grid, .form-row, .sitemap-grid { grid-template-columns: 1fr; }
    .article-cta { grid-template-columns: 1fr; }
    .article-cta-actions .btn, .page-hero-actions .btn { width: 100%; }
    .steps { grid-template-columns: 1fr; }
    .step { text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; }
    .step-num { grid-row: span 2; margin: 0; width: 3.2rem; height: 3.2rem; font-size: 1.1rem; }
    .service-card { padding: 1.7rem 1.5rem; }
    .service-row { padding: 1.6rem 1.4rem; }
    .mini-card:nth-child(n) { margin-left: 0; }
    .cta-actions, .cta-actions .btn { width: 100%; }
    .section-head-row .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
    .form .btn { width: 100%; justify-self: stretch; }
    .zone-info .btn { width: 100%; }
    .page-hero-deco { width: 20rem; height: 20rem; right: -8rem; bottom: -8rem; }
}

/* --------------------------------------------------------------- Secteurs d'activité */

.profile-grid { grid-template-columns: repeat(4, 1fr); }
a.profile { display: flex; flex-direction: column; color: rgb(255 255 255 / .78); text-decoration: none; }
a.profile p { flex: 1; }
a.profile:hover { color: rgb(255 255 255 / .9); }
.profile-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-size: .88rem; font-weight: 600; color: var(--gold-light); }
.profile-link .icon { transition: transform .3s var(--ease); }
a.profile:hover .profile-link .icon { transform: translateX(4px); }
.profile-all { background: #062748; }

.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; }
.sector-card {
    display: flex; flex-direction: column;
    padding: 2rem 1.9rem;
    color: var(--text); text-decoration: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.sector-card:hover { color: var(--text); transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sector-card:hover .service-icon { color: var(--white); background: var(--navy); }
.sector-card:hover .link-arrow .icon { transform: translateX(4px); }
.sector-card h2 { margin: 1.3rem 0 .5rem; font: 600 1.25rem/1.3 var(--font-sans); }
.sector-card p { flex: 1; font-size: .95rem; color: var(--muted); }
.sector-card-other { background: var(--warm); border-style: dashed; border-color: var(--gold-light); }

.stake-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stake { padding: 1.5rem; background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius); }
.stake-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem; color: var(--white); background: var(--navy); border-radius: 12px; }
.stake h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.stake p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.6; }
.check-list-lg { margin: 0 0 1rem; }
.check-list-lg li { font-weight: 500; font-size: 1rem; }

.aside-links { list-style: none; display: grid; gap: .2rem; margin-top: .4rem; }
.aside-links a { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--gold-text); }
.aside-links .icon { color: var(--gold); }

.chip-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.chip-links a {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .7rem 1.2rem;
    font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    transition: border-color .25s, box-shadow .25s;
}
.chip-links a:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); color: var(--ink); }
.chip-links .icon { color: var(--gold); }

@media (max-width: 1100px) {
    .profile-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .profile-grid, .stake-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media print {
    .site-header, .site-footer, .cta-band, .article-toc, .share, .nav-toggle { display: none !important; }
    .page-hero, .article-hero { background: none; color: #000; padding: 1rem 0; }
    .page-hero h1, .article-hero h1 { color: #000; }
    .js .reveal { opacity: 1; transform: none; }
}
.alert-links { margin-top: .8rem !important; font-size: .9rem; }
.stats-optout { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius); }
.stats-optout span { flex: 1 1 16rem; font-weight: 500; color: var(--ink); }

/* --------------------------------------------------------------- Demande de devis */

[hidden] { display: none !important; }

.quote-progress { margin-bottom: 1.8rem; }
.quote-progress-label { margin: 0 0 .7rem; font-size: .88rem; color: var(--muted); }
.quote-progress-label strong { color: var(--ink); }
.quote-bar { height: 6px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.quote-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--navy), var(--gold)); border-radius: inherit; transform-origin: left; transform: scaleX(.25); transition: transform .45s var(--ease); }
.quote-dots { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: .7rem 0 0; padding: 0; }
.quote-dots li { font-size: .78rem; font-weight: 500; color: var(--muted); }
.quote-dots li.is-done { color: var(--navy); }
.quote-dots li.is-current { color: var(--gold-text); font-weight: 700; }

.quote-form { margin-top: 0; gap: 0; }
.quote-step { display: grid; gap: 1.6rem; }
.quote-form:not(.is-stepped) .quote-step + .quote-step { margin-top: 2.6rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.quote-form.is-stepped .quote-step { animation: quote-in .4s var(--ease); }
@keyframes quote-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quote-step-title { display: flex; align-items: center; gap: .8rem; margin: 0; font-size: 1.7rem; outline: none; }
.quote-step-title span { display: grid; place-items: center; flex-shrink: 0; width: 2.2rem; height: 2.2rem; font: 700 .95rem/1 var(--font-sans); color: var(--white); background: var(--navy); border-radius: 50%; }

.quote-q { display: grid; gap: .8rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.quote-q legend { float: left; width: 100%; margin-bottom: .8rem; padding: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.quote-q legend small { font-weight: 400; color: var(--muted); }
.quote-q legend + * { clear: both; }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.choice-card { position: relative; display: flex; align-items: flex-start; gap: .9rem; padding: 1.1rem 1.2rem; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.choice-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.choice-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; color: var(--gold); background: var(--gold-pale); border-radius: 12px; transition: background-color .2s, color .2s; }
.choice-text { display: grid; gap: .15rem; }
.choice-text strong { font-size: .96rem; line-height: 1.35; color: var(--ink); }
.choice-text small { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.choice-tick { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; margin-top: .1rem; color: transparent; border: 1.5px solid var(--line-strong); border-radius: 7px; transition: background-color .2s, border-color .2s, color .2s; }
.choice-tick .icon { width: 15px; height: 15px; }
.choice-card:has(input:checked) { border-color: var(--navy); background: #f5f8fb; box-shadow: 0 0 0 3px rgb(2 40 74 / .08); }
.choice-card:has(input:checked) .choice-icon { color: var(--white); background: var(--navy); }
.choice-card:has(input:checked) .choice-tick { color: var(--white); background: var(--navy); border-color: var(--navy); }
.choice-card:has(input:focus-visible), .chip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.1rem; font-size: .92rem; font-weight: 500; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover span { border-color: var(--line-strong); }
.chip input:checked + span { color: var(--white); background: var(--navy); border-color: var(--navy); }

.quote-q[aria-invalid="true"] .choice-card, .quote-q[aria-invalid="true"] .chip span { border-color: #e9b7b2; }

.quote-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; padding-top: .6rem; }
.quote-nav [data-next]:only-child { margin-left: auto; }
.quote-nav-final { justify-content: flex-end; }
.quote-nav-final [data-prev]:not([hidden]) { margin-right: auto; }
.form .quote-nav .btn { justify-self: auto; }

.quote-recap { margin-top: 1.6rem; padding: 1.4rem 1.6rem; background: var(--warm); border-radius: var(--radius); }
.quote-recap h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.quote-recap dl { display: grid; gap: .6rem; margin: 0; }
.quote-recap dl div { display: grid; grid-template-columns: 12rem 1fr; gap: 1rem; font-size: .93rem; }
.quote-recap dt { color: var(--muted); }
.quote-recap dd { margin: 0; font-weight: 600; color: var(--ink); }

.quote-how { list-style: none; counter-reset: how; display: grid; gap: 1.1rem; margin: 0 0 1.4rem; padding: 0; }
.quote-how li { counter-increment: how; display: grid; grid-template-columns: 2rem 1fr; column-gap: .9rem; }
.quote-how li::before { content: counter(how); grid-row: span 2; display: grid; place-items: center; width: 2rem; height: 2rem; font-size: .85rem; font-weight: 700; color: var(--gold-text); background: var(--gold-pale); border-radius: 50%; }
.quote-how strong { font-size: .95rem; color: var(--ink); }
.quote-how span { font-size: .88rem; color: var(--muted); line-height: 1.5; }

@media (max-width: 640px) {
    .choice-grid { grid-template-columns: 1fr; }
    .quote-dots { display: none; }
    .quote-step-title { font-size: 1.4rem; }
    .quote-recap dl div { grid-template-columns: 1fr; gap: .1rem; }
    .quote-nav .btn { flex: 1 1 auto; }
    .form .quote-nav .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .quote-form.is-stepped .quote-step { animation: none; }
    .quote-bar span { transition: none; }
}
.quote-link { margin-top: 1.2rem; }
.quote-restored { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.4rem; padding: .8rem 1rem; font-size: .9rem; color: var(--ink); background: var(--gold-pale); border-radius: 10px; }
.quote-restored .icon { color: var(--gold-text); }
.link-button { padding: 0; font: inherit; font-weight: 600; color: var(--navy); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--gold-text); }

/* --------------------------------------------------------------- Portrait de l'expert */

.expert-portrait { position: relative; margin: 0 0 2.5rem; max-width: 460px; justify-self: center; width: 100%; }
.expert-portrait::before {
    content: "";
    position: absolute;
    inset: 2.2rem -1.4rem -1.4rem 2.2rem;
    background: linear-gradient(155deg, var(--navy-800), var(--navy-950));
    border-radius: var(--radius-lg);
}
.expert-portrait::after {
    content: "";
    position: absolute;
    top: -1rem; left: -1rem;
    width: 5.5rem; height: 5.5rem;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
    border-top-left-radius: var(--radius-lg);
}
.expert-photo { position: relative; z-index: 1; display: block; overflow: hidden; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.expert-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.expert-badge {
    position: absolute;
    z-index: 2;
    left: -1.2rem; bottom: -1.6rem;
    display: grid; gap: .15rem;
    max-width: 82%;
    padding: 1.1rem 1.4rem;
    background: var(--white);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.expert-badge strong { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); }
.expert-badge span { font-size: .85rem; color: var(--muted); }
.expert-badge q { margin-top: .5rem; font-family: var(--font-serif); font-style: italic; font-size: .98rem; line-height: 1.45; color: var(--ink); quotes: "« " " »"; }
.expert-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.expert-mini { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.3rem; padding: .7rem .9rem; background: var(--warm); border-radius: var(--radius); }
.expert-mini span { display: grid; line-height: 1.3; }
.expert-mini strong { font-size: .95rem; color: var(--ink); }
.expert-mini small { font-size: .8rem; color: var(--muted); }
.expert-avatar img, .article-cta-photo img { display: block; width: 52px; height: 52px; object-fit: cover; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--gold-light); }
.expert-mini-dark { background: var(--white); margin: .2rem 0 1rem; }
.article-cta-photo img { width: 74px; height: 74px; border-color: var(--navy); box-shadow: 0 0 0 2px var(--gold); }

@media (max-width: 960px) {
    .expert-portrait { max-width: 400px; margin: 0 auto 2.5rem; }
}
@media (max-width: 640px) {
    .expert-portrait { max-width: 320px; }
    .expert-portrait::before { inset: 1.6rem -.8rem -.8rem 1.6rem; }
    .expert-badge { left: -.6rem; max-width: 92%; }
    .article-cta-photo img { width: 60px; height: 60px; }
    .expert-actions .btn { width: 100%; }
}
.quote-sub { display: grid; gap: 1.6rem; margin-top: -.4rem; padding: 1.3rem 1.4rem; background: var(--warm); border-left: 3px solid var(--gold-light); border-radius: 0 var(--radius) var(--radius) 0; }
.quote-form.is-stepped .quote-sub:not([hidden]) { animation: quote-in .35s var(--ease); }
.quote-sub .chip span { background: var(--white); }
.quote-sub .chip input:checked + span { background: var(--navy); }
