:root {
    --advf-bg: #fbf8f1;
    --advf-surface: #ffffff;
    --advf-surface-soft: #f4efe4;
    --advf-ink: #162238;
    --advf-muted: #627086;
    --advf-navy: #101a2e;
    --advf-navy-2: #1b2944;
    --advf-gold: #b88a44;
    --advf-gold-dark: #8c672e;
    --advf-border: rgba(22, 34, 56, .12);
    --advf-shadow: 0 24px 70px rgba(16, 26, 46, .12);
    --advf-radius: 24px;
    --advf-container: 1180px;
    --advf-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--advf-font);
    color: var(--advf-ink);
    background: var(--advf-bg);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.screen-reader-text,
.advf-skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.advf-skip-link:focus {
    z-index: 9999;
    width: auto;
    height: auto;
    margin: 12px;
    padding: 10px 14px;
    clip: auto;
    background: #fff;
}

.advf-container {
    width: min(calc(100% - 40px), var(--advf-container));
    margin-inline: auto;
}
.advf-narrow { max-width: 760px; }

.advf-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 248, 241, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--advf-border);
}
.advf-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.advf-brand-text {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    font-size: 1.35rem;
    color: var(--advf-navy);
}
.advf-brand-text span { color: var(--advf-gold); }
.custom-logo { max-height: 56px; width: auto; }

.advf-nav,
.advf-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}
.advf-menu { list-style: none; padding: 0; margin: 0; }
.advf-menu a {
    text-decoration: none;
    font-size: .95rem;
    font-weight: 650;
    color: var(--advf-navy);
}
.advf-menu a:hover { color: var(--advf-gold-dark); }
.advf-menu-item { position: relative; }
.advf-menu-item--has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.advf-menu-item--has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .72;
}
.advf-submenu {
    position: absolute;
    left: 50%;
    top: calc(100% + 18px);
    transform: translateX(-50%) translateY(8px);
    min-width: 270px;
    padding: 12px;
    margin: 0;
    list-style: none;
    border: 1px solid var(--advf-border);
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--advf-shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.advf-menu-item--has-children:hover > .advf-submenu,
.advf-menu-item--has-children:focus-within > .advf-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.advf-submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
}
.advf-submenu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    white-space: nowrap;
}
.advf-submenu a:hover,
.advf-submenu a:focus {
    background: var(--advf-surface-soft);
}
.advf-menu-toggle { display: none; }

.advf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.advf-button:hover { transform: translateY(-1px); }
.advf-button--primary {
    background: linear-gradient(135deg, var(--advf-gold), #d6b06b);
    color: #10131d;
    box-shadow: 0 16px 34px rgba(184, 138, 68, .25);
}
.advf-button--ghost {
    background: rgba(255,255,255,.72);
    border-color: var(--advf-border);
    color: var(--advf-navy);
}
.advf-button--nav {
    min-height: 42px;
    padding: 10px 16px;
    background: var(--advf-navy);
    color: #fff;
}
.advf-button--light {
    background: #fff;
    color: var(--advf-navy);
}

.advf-kicker {
    margin: 0 0 12px;
    color: var(--advf-gold-dark);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}
h1, h2, h3 {
    line-height: 1.08;
    letter-spacing: -.04em;
    color: var(--advf-navy);
}
h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 5rem); }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { margin: 0 0 12px; font-size: 1.35rem; }

.advf-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 84px;
    background:
        radial-gradient(circle at 10% 15%, rgba(184, 138, 68, .22), transparent 32%),
        linear-gradient(135deg, #fbf8f1 0%, #efe7d6 46%, #f9f5ed 100%);
}
.advf-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(16, 26, 46, .08);
}
.advf-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
    gap: 54px;
    align-items: center;
}
.advf-hero-text,
.advf-page-excerpt,
.advf-archive-hero p {
    font-size: 1.16rem;
    color: var(--advf-muted);
    max-width: 680px;
}
.advf-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.advf-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.advf-trust-list li {
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.65);
    border: 1px solid var(--advf-border);
    font-size: .9rem;
    font-weight: 650;
}

.advf-section { padding: 82px 0; background: var(--advf-bg); }
.advf-section--cream { background: var(--advf-surface-soft); }
.advf-section--dark { background: var(--advf-navy); color: #fff; }
.advf-section--dark h2,
.advf-section--dark .advf-kicker { color: #fff; }
.advf-section--dark p { color: rgba(255,255,255,.72); }
.advf-section-head { max-width: 760px; margin-bottom: 32px; }
.advf-section-head p { color: var(--advf-muted); }
.advf-intro-grid,
.advf-proof-grid {
    display: grid;
    grid-template-columns: .8fr 1fr;
    gap: 54px;
}
.advf-rich-text p:first-child { margin-top: 0; }
.advf-rich-text p,
.advf-rich-text li { color: #344156; }
.advf-rich-text h2 { margin-top: 44px; }
.advf-rich-text a { color: var(--advf-gold-dark); font-weight: 700; }

.advf-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.advf-card,
.advf-post-card,
.advf-lead-form {
    background: var(--advf-surface);
    border: 1px solid var(--advf-border);
    border-radius: var(--advf-radius);
    box-shadow: 0 18px 50px rgba(16, 26, 46, .07);
}
.advf-card { padding: 26px; }
.advf-card p { color: var(--advf-muted); }
.advf-card a,
.advf-read-more {
    color: var(--advf-gold-dark);
    font-weight: 800;
    text-decoration: none;
}

.advf-steps { display: grid; gap: 16px; }
.advf-steps div {
    padding: 22px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}
.advf-steps span { color: #d6b06b; font-weight: 900; }
.advf-steps strong { display: block; margin-top: 8px; font-size: 1.15rem; }
.advf-steps p { margin-bottom: 0; }

.advf-lead-form { padding: 26px; }
.advf-lead-form--hero { box-shadow: var(--advf-shadow); }
.advf-form-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.advf-form-head p:last-child { color: var(--advf-muted); margin-bottom: 20px; }
.advf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.advf-field { margin: 0; }
.advf-field--wide { grid-column: 1 / -1; }
.advf-field label,
.advf-consent {
    display: block;
    font-size: .88rem;
    color: #364155;
    font-weight: 700;
}
.advf-field input,
.advf-field select,
.advf-field textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid var(--advf-border);
    border-radius: 14px;
    background: #fff;
    padding: 13px 14px;
    min-height: 48px;
    font: inherit;
    color: var(--advf-ink);
}
.advf-field textarea { resize: vertical; }
.advf-field input:focus,
.advf-field select:focus,
.advf-field textarea:focus {
    outline: 3px solid rgba(184, 138, 68, .18);
    border-color: var(--advf-gold);
}
.advf-consent { margin: 16px 0; font-weight: 600; }
.advf-consent input { margin-right: 7px; }
.advf-form-note { margin: 12px 0 0; color: var(--advf-muted); font-size: .86rem; }
.advf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.advf-alert { padding: 12px 14px; border-radius: 14px; margin-bottom: 16px; font-weight: 700; }
.advf-alert--success { background: #e7f7ee; color: #17623a; }
.advf-alert--error { background: #fee9e7; color: #8f241c; }

.advf-page-head,
.advf-archive-hero,
.advf-single-head { padding: 58px 0 32px; }
.advf-breadcrumbs {
    margin-bottom: 18px;
    color: var(--advf-muted);
    font-size: .9rem;
}
.advf-breadcrumbs a { color: var(--advf-muted); text-decoration: none; }
.advf-breadcrumbs span { margin: 0 7px; }
.advf-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 44px;
    align-items: start;
    padding-bottom: 72px;
}
.advf-content {
    background: var(--advf-surface);
    border: 1px solid var(--advf-border);
    border-radius: var(--advf-radius);
    padding: clamp(26px, 5vw, 52px);
}
.advf-sidebar-form { position: sticky; top: 104px; }
.advf-device-hero {
    padding: 58px 0;
    background: linear-gradient(135deg, #f5eddf, #fbf8f1);
}
.advf-device-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 52px;
    align-items: start;
}

.advf-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.advf-post-card { overflow: hidden; }
.advf-post-card-media {
    display: block;
    min-height: 190px;
    background: linear-gradient(135deg, #eadfc9, #f8f3ea);
}
.advf-post-card-media img { width: 100%; height: 220px; object-fit: cover; }
.advf-post-card-body { padding: 24px; }
.advf-post-card h2 { font-size: 1.35rem; margin: 0 0 10px; }
.advf-post-card h2 a { text-decoration: none; }
.advf-post-meta { color: var(--advf-muted); font-size: .9rem; }
.advf-single-media img { border-radius: var(--advf-radius); width: 100%; }

.advf-footer { background: var(--advf-navy); color: #fff; }
.advf-footer h2,
.advf-footer .advf-brand-text { color: #fff; }
.advf-footer p { color: rgba(255,255,255,.72); }
.advf-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 54px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.advf-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 0;
}
.advf-footer-bottom > div { max-width: 460px; }
.advf-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.advf-footer-menu a { color: rgba(255,255,255,.8); text-decoration: none; }

@media (max-width: 1040px) {
    .advf-hero-grid,
    .advf-intro-grid,
    .advf-proof-grid,
    .advf-content-grid,
    .advf-device-hero-grid { grid-template-columns: 1fr; }
    .advf-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .advf-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .advf-sidebar-form { position: static; }
}

@media (max-width: 820px) {
    .advf-menu-toggle {
        display: inline-grid;
        gap: 5px;
        width: 46px;
        height: 46px;
        place-content: center;
        border: 1px solid var(--advf-border);
        border-radius: 50%;
        background: #fff;
    }
    .advf-menu-toggle span:not(.screen-reader-text) {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--advf-navy);
    }
    .advf-nav {
        position: fixed;
        inset: 78px 0 auto 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        background: rgba(251, 248, 241, .98);
        border-bottom: 1px solid var(--advf-border);
        box-shadow: var(--advf-shadow);
    }
    .advf-menu-open .advf-nav { display: flex; }
    .advf-menu { flex-direction: column; align-items: stretch; gap: 8px; }
    .advf-menu a { display: block; padding: 10px 0; }
    .advf-menu-item--has-children > a { justify-content: space-between; }
    .advf-submenu {
        position: static;
        transform: none;
        min-width: 0;
        margin-top: 4px;
        padding: 8px 0 8px 14px;
        border: 0;
        border-left: 1px solid var(--advf-border);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .advf-submenu::before { display: none; }
    .advf-submenu a { padding: 8px 0; white-space: normal; }
    .advf-submenu a:hover,
    .advf-submenu a:focus { background: transparent; }
    .advf-form-grid,
    .advf-card-grid,
    .advf-post-grid { grid-template-columns: 1fr; }
    .advf-footer-cta,
    .advf-footer-bottom { flex-direction: column; align-items: flex-start; }
    h1 { font-size: clamp(2.25rem, 11vw, 3.4rem); }
}

.advf-check-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.advf-check-list li {
    position: relative;
    padding: 18px 18px 18px 46px;
    border: 1px solid var(--advf-border);
    border-radius: 18px;
    background: rgba(255,255,255,.72);
}
.advf-check-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 18px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(184, 138, 68, .16);
    color: var(--advf-gold-dark);
    font-size: .78rem;
    font-weight: 900;
}

/* Page guide défiscalisation immobilière */
.advf-guide-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 84px;
    background:
        radial-gradient(circle at 12% 18%, rgba(184, 138, 68, .20), transparent 32%),
        radial-gradient(circle at 92% 0%, rgba(16, 26, 46, .10), transparent 28%),
        linear-gradient(135deg, #fbf8f1 0%, #efe7d6 52%, #f9f5ed 100%);
}
.advf-guide-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
    gap: 54px;
    align-items: center;
}
.advf-guide-hero-content { position: relative; z-index: 1; }
.advf-guide-form-wrap { position: relative; z-index: 2; }
.advf-card-grid--profiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.advf-profile-card h3 { min-height: 2.9em; }
.advf-comparison-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--advf-border);
    border-radius: var(--advf-radius);
    background: var(--advf-surface);
    box-shadow: 0 18px 50px rgba(16, 26, 46, .07);
}
.advf-comparison-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}
.advf-comparison-table th,
.advf-comparison-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--advf-border);
    vertical-align: top;
}
.advf-comparison-table th {
    background: rgba(244, 239, 228, .72);
    color: var(--advf-navy);
    font-size: .86rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.advf-comparison-table tr:last-child td { border-bottom: 0; }
.advf-comparison-table td:first-child {
    font-weight: 850;
    color: var(--advf-navy);
    white-space: nowrap;
}
.advf-comparison-table a {
    color: var(--advf-gold-dark);
    text-decoration: none;
}
.advf-device-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.advf-device-card p { min-height: 3.2em; }
.advf-final-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(360px, .75fr);
    gap: 54px;
    align-items: start;
}

@media (max-width: 1040px) {
    .advf-guide-hero-grid,
    .advf-final-cta-grid { grid-template-columns: 1fr; }
    .advf-card-grid--profiles,
    .advf-device-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .advf-card-grid--profiles,
    .advf-device-card-grid { grid-template-columns: 1fr; }
    .advf-profile-card h3,
    .advf-device-card p { min-height: 0; }
}

/* Correctifs v0.6 : page guide distincte de l'accueil */
.advf-is-guide-defiscalisation .advf-main {
    background: var(--advf-bg);
}

.advf-guide-page {
    width: 100%;
    overflow: hidden;
}

.advf-guide-page .advf-section {
    position: relative;
}

.advf-guide-page .advf-guide-hero .advf-breadcrumbs {
    margin-bottom: 20px;
}

.advf-guide-page .advf-guide-hero h1 {
    max-width: 780px;
}

.advf-guide-page .advf-guide-form-wrap .advf-lead-form {
    width: 100%;
}

.advf-guide-page .advf-card,
.advf-guide-page .advf-lead-form,
.advf-guide-page .advf-comparison-table-wrap {
    transform: translateZ(0);
}


/* Correctifs v0.7 : guide défiscalisation et cache / templates */
body.advf-is-guide-defiscalisation .advf-guide-page,
body.page-template-page-defiscalisation-immobiliere .advf-guide-page {
    display: block;
    width: 100%;
    max-width: none;
}

body.advf-is-guide-defiscalisation .advf-main > .advf-guide-page {
    margin: 0;
}

body.advf-is-guide-defiscalisation .advf-guide-hero,
body.page-template-page-defiscalisation-immobiliere .advf-guide-hero {
    margin-top: 0;
}

body.advf-is-guide-defiscalisation .advf-container {
    box-sizing: border-box;
}

/* Page Loi Jeanbrun */
.advf-jeanbrun-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 12%, rgba(184, 138, 68, .18), transparent 30%),
        linear-gradient(135deg, #f6eddd 0%, #fbf8f1 52%, #efe7d6 100%);
}
.advf-jeanbrun-page .advf-device-hero-grid {
    align-items: center;
}
.advf-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.advf-feature-card span {
    display: block;
    margin-bottom: 14px;
    color: var(--advf-gold-dark);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.advf-feature-card h3 {
    min-height: 2.2em;
}
.advf-note-box {
    margin-top: 26px;
    padding: 22px;
    border: 1px solid rgba(184, 138, 68, .28);
    border-radius: 20px;
    background: rgba(255,255,255,.72);
}
.advf-note-box strong {
    display: block;
    color: var(--advf-navy);
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.advf-note-box p {
    margin: 0;
}
.advf-split-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}
.advf-condition-card h3 {
    margin-bottom: 22px;
}
.advf-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.advf-faq-item h3 {
    font-size: 1.18rem;
}
.advf-faq-item p {
    margin-bottom: 0;
}
body.page-template-page-loi-jeanbrun .advf-jeanbrun-page,
body.advf-is-jeanbrun .advf-jeanbrun-page {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 1040px) {
    .advf-feature-grid,
    .advf-split-cards,
    .advf-faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .advf-feature-grid,
    .advf-split-cards,
    .advf-faq-list {
        grid-template-columns: 1fr;
    }
    .advf-feature-card h3 {
        min-height: 0;
    }
}


/* Structure graphique commune des pages dispositifs */
.advf-jeanbrun-page .advf-example-panel {
    margin-top: 28px;
}
.advf-jeanbrun-page .advf-step-card h3 {
    min-height: 3.2em;
}

/* Page Déficit foncier */
.advf-deficit-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(184, 138, 68, .20), transparent 30%),
        radial-gradient(circle at 88% 6%, rgba(16, 26, 46, .10), transparent 28%),
        linear-gradient(135deg, #f7efe2 0%, #fbf8f1 48%, #eadfc9 100%);
}
.advf-deficit-page .advf-device-hero-grid {
    align-items: center;
}
.advf-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.advf-step-card span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(184, 138, 68, .16);
    color: var(--advf-gold-dark);
    font-weight: 900;
}
.advf-step-card h3 {
    min-height: 3.2em;
}
.advf-example-panel {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
    gap: 34px;
    margin-top: 28px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(184, 138, 68, .28);
    border-radius: var(--advf-radius);
    background: linear-gradient(135deg, rgba(255,255,255,.86), rgba(244,239,228,.72));
    box-shadow: 0 18px 50px rgba(16, 26, 46, .07);
}
.advf-example-panel h3 {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}
.advf-warning-card {
    background: linear-gradient(135deg, #fff, #fbf7ef);
}
.advf-check-list--warning li::before {
    content: "!";
}
.advf-section--dark .advf-check-list li,
.advf-check-list--dark li {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.14);
    color: rgba(255,255,255,.82);
}
.advf-section--dark .advf-check-list li::before,
.advf-check-list--dark li::before {
    background: rgba(214, 176, 107, .18);
    color: #d6b06b;
}
body.page-template-page-deficit-foncier .advf-deficit-page,
body.advf-is-deficit-foncier .advf-deficit-page {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 1040px) {
    .advf-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .advf-example-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .advf-steps-grid {
        grid-template-columns: 1fr;
    }
    .advf-step-card h3 {
        min-height: 0;
    }
}


/* Page Loi Malraux */
.advf-malraux-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 14%, rgba(184, 138, 68, .20), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(16, 26, 46, .12), transparent 28%),
        linear-gradient(135deg, #f5ead8 0%, #fbf8f1 50%, #e9ddc7 100%);
}
.advf-malraux-page .advf-device-hero-grid {
    align-items: center;
}
.advf-malraux-page .advf-example-panel {
    margin-top: 28px;
}
.advf-malraux-page .advf-step-card h3 {
    min-height: 3.2em;
}
body.page-template-page-loi-malraux .advf-malraux-page,
body.advf-is-malraux .advf-malraux-page {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 820px) {
    .advf-malraux-page .advf-step-card h3 {
        min-height: 0;
    }
}


/* Page Loi Denormandie */
.advf-denormandie-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 16%, rgba(184, 138, 68, .20), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(16, 26, 46, .12), transparent 28%),
        linear-gradient(135deg, #f6eddd 0%, #fbf8f1 50%, #e7dcc6 100%);
}
.advf-denormandie-page .advf-device-hero-grid {
    align-items: center;
}
.advf-denormandie-page .advf-example-panel {
    margin-top: 28px;
}
.advf-denormandie-page .advf-step-card h3 {
    min-height: 3.2em;
}
body.page-template-page-loi-denormandie .advf-denormandie-page,
body.advf-is-denormandie .advf-denormandie-page {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 820px) {
    .advf-denormandie-page .advf-step-card h3 {
        min-height: 0;
    }
}

/* Page Monuments Historiques */
.advf-mh-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(184, 138, 68, .20), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(16, 26, 46, .13), transparent 28%),
        linear-gradient(135deg, #f3e8d5 0%, #fbf8f1 50%, #e8dcc6 100%);
}
.advf-mh-page .advf-device-hero-grid {
    align-items: center;
}
.advf-mh-page .advf-example-panel {
    margin-top: 28px;
}
.advf-mh-page .advf-step-card h3 {
    min-height: 3.2em;
}
body.page-template-page-monuments-historiques .advf-mh-page,
body.advf-is-monuments-historiques .advf-mh-page {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 820px) {
    .advf-mh-page .advf-step-card h3 {
        min-height: 0;
    }
}

/* Page LMNP */
.advf-lmnp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(184, 138, 68, .20), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(16, 26, 46, .12), transparent 28%),
        linear-gradient(135deg, #f6ebd9 0%, #fbf8f1 50%, #e9ddc9 100%);
}
.advf-lmnp-page .advf-device-hero-grid {
    align-items: center;
}
.advf-lmnp-page .advf-example-panel {
    margin-top: 28px;
}
.advf-lmnp-page .advf-step-card h3 {
    min-height: 3.2em;
}
body.page-template-page-lmnp .advf-lmnp-page,
body.advf-is-lmnp .advf-lmnp-page {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 820px) {
    .advf-lmnp-page .advf-step-card h3 {
        min-height: 0;
    }
}

/* Page Girardin IS */
.advf-girardin-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(184, 138, 68, .20), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(16, 26, 46, .13), transparent 28%),
        linear-gradient(135deg, #f5ead8 0%, #fbf8f1 50%, #e6dac4 100%);
}
.advf-girardin-page .advf-device-hero-grid {
    align-items: center;
}
.advf-girardin-page .advf-example-panel {
    margin-top: 28px;
}
.advf-girardin-page .advf-step-card h3 {
    min-height: 3.2em;
}
body.page-template-page-girardin-is .advf-girardin-page,
body.advf-is-girardin-is .advf-girardin-page {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 820px) {
    .advf-girardin-page .advf-step-card h3 {
        min-height: 0;
    }
}

/* Page CIOP outre-mer */
.advf-ciop-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(184, 138, 68, .20), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(16, 26, 46, .14), transparent 28%),
        linear-gradient(135deg, #f2e6d2 0%, #fbf8f1 50%, #e4d7bf 100%);
}
.advf-ciop-page .advf-device-hero-grid {
    align-items: center;
}
.advf-ciop-page .advf-example-panel {
    margin-top: 28px;
}
.advf-ciop-page .advf-step-card h3 {
    min-height: 3.2em;
}
body.page-template-page-ciop-outre-mer .advf-ciop-page,
body.advf-is-ciop-outre-mer .advf-ciop-page {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 820px) {
    .advf-ciop-page .advf-step-card h3 {
        min-height: 0;
    }
}

/* Page Nue-propriété */
.advf-nue-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 15%, rgba(184, 138, 68, .20), transparent 30%),
        radial-gradient(circle at 86% 8%, rgba(16, 26, 46, .13), transparent 28%),
        linear-gradient(135deg, #f4e8d4 0%, #fbf8f1 50%, #e8dcc4 100%);
}
.advf-nue-page .advf-device-hero-grid {
    align-items: center;
}
.advf-nue-page .advf-example-panel {
    margin-top: 28px;
}
.advf-nue-page .advf-step-card h3 {
    min-height: 3.2em;
}
body.page-template-page-nue-propriete .advf-nue-page,
body.advf-is-nue-propriete .advf-nue-page {
    display: block;
    width: 100%;
    max-width: none;
}

@media (max-width: 820px) {
    .advf-nue-page .advf-step-card h3 {
        min-height: 0;
    }
}
