:root {
    --bg: #f7f5f1;
    --surface: #ffffff;
    --surface-soft: #f0eee8;
    --text: #18211f;
    --muted: #64716d;
    --line: #e3dfd6;
    --brand: #1f6f5b;
    --brand-dark: #154f41;
    --accent: #e9a53b;
    --danger-soft: #fff2dc;
    --radius-lg: 28px;
    --radius-md: 18px;
    --shadow-soft: 0 18px 50px rgba(24, 33, 31, .08);
    --shell: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
}

.site-shell {
    width: min(var(--shell), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(247, 245, 241, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(227, 223, 214, .8);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--text);
    color: #fff;
    font-weight: 800;
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text small {
    color: var(--muted);
    font-size: .78rem;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .92rem;
}

.main-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--muted);
}

.main-nav a:hover {
    background: var(--surface-soft);
    color: var(--text);
}

.hero {
    padding: 72px 0 48px;
}

.hero-grid,
.article-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 28px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    margin: 0 0 12px;
    color: var(--brand);
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .78rem;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -.035em;
    line-height: 1.05;
}

h1 {
    font-size: clamp(2.4rem, 7vw, 5.4rem);
    max-width: 820px;
}

h2 {
    font-size: clamp(1.55rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.15rem;
}

.hero-subtitle,
.article-intro {
    margin-top: 22px;
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 750;
}

.button-primary {
    background: var(--brand);
    color: #fff;
}

.button-primary:hover {
    background: var(--brand-dark);
}

.button-secondary {
    background: var(--surface);
    border: 1px solid var(--line);
}

.hero-card,
.diagnostic-card,
.feature-card,
.problem-card,
.content-block,
.side-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.hero-card,
.diagnostic-card {
    padding: 24px;
}

.status-pill {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.status-orange {
    background: var(--danger-soft);
    color: #8a5200;
}

.signal-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.signal-list li,
.quick-grid div,
.diagnostic-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    background: var(--bg);
    border-radius: 16px;
}

.signal-list span,
.quick-grid span,
.diagnostic-card dt {
    color: var(--muted);
}

.section {
    padding: 56px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 24px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.05rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.problem-card {
    padding: 20px;
    transition: transform .18s ease, border-color .18s ease;
}

.problem-card:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 111, 91, .35);
}

.problem-card p {
    color: var(--muted);
    margin-top: 10px;
}

.problem-card small,
.problem-tag {
    display: inline-flex;
    color: var(--brand);
    font-weight: 750;
    font-size: .78rem;
}

.problem-tag {
    margin-bottom: 12px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    padding: 24px;
}

.feature-card p {
    margin-top: 12px;
    color: var(--muted);
}

.article-hero {
    padding: 48px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
    padding-bottom: 64px;
}

.article-content {
    display: grid;
    gap: 18px;
}

.content-block {
    padding: clamp(20px, 4vw, 34px);
}

.content-block h2 {
    margin-bottom: 14px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

th,
td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

tr:last-child td {
    border-bottom: 0;
}

th {
    background: var(--surface-soft);
}

details {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
    background: #fff;
}

details + details {
    margin-top: 10px;
}

summary {
    cursor: pointer;
    font-weight: 800;
}

details p {
    margin-top: 12px;
    color: var(--muted);
}

.check-list {
    display: grid;
    gap: 10px;
    padding-left: 20px;
}

.visual-placeholder {
    border-style: dashed;
    background:
        linear-gradient(135deg, rgba(31, 111, 91, .08), rgba(233, 165, 59, .12));
}

.article-sidebar {
    position: sticky;
    top: 94px;
    display: grid;
    gap: 16px;
}

.side-card {
    padding: 20px;
}

.side-card p {
    color: var(--muted);
    margin-top: 10px;
}

.ad-slot {
    min-height: 280px;
    display: grid;
    place-items: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .62);
    color: var(--muted);
    font-size: .9rem;
}

.site-footer {
    padding: 36px 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}

.footer-note {
    color: var(--muted);
    font-size: .92rem;
}

@media (max-width: 860px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-grid,
    .article-hero-grid,
    .article-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .feature-grid,
    .quick-grid {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .site-shell {
        width: min(100% - 24px, var(--shell));
    }
}

.article-page {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 70px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #68736c;
    font-size: .92rem;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-hero {
    padding: clamp(26px, 5vw, 54px);
    border: 1px solid #dedbd2;
    border-radius: 32px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f0e6 100%);
    box-shadow: 0 18px 50px rgba(30, 40, 35, .08);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e3f1eb;
    color: #2e6f58;
    font-size: .82rem;
    font-weight: 800;
}

.article-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

.article-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #4f5b54;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.article-meta-row span {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.8);
    border: 1px solid #dedbd2;
    color: #59615b;
    font-size: .86rem;
    font-weight: 700;
}

.quick-summary,
.article-section,
.article-note {
    margin-top: 22px;
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid #dedbd2;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(30, 40, 35, .06);
}

.quick-summary h2,
.article-section h2 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 3vw, 2rem);
    letter-spacing: -.025em;
}

.quick-summary p,
.article-section p,
.article-note p {
    margin: 0;
    color: #4f5b54;
    line-height: 1.7;
}

.article-content {
    margin-top: 22px;
}

.article-section + .article-section {
    margin-top: 18px;
}

.article-note {
    background: #fbfaf7;
}

.article-note strong {
    display: block;
    margin-bottom: 8px;
}

@media (max-width: 640px) {
    .article-page {
        width: min(100% - 20px, 920px);
        padding-top: 20px;
    }

    .article-hero {
        border-radius: 24px;
    }

    .quick-summary,
    .article-section,
    .article-note {
        border-radius: 20px;
    }
}
.article-visuals {
    margin-top: 22px;
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid #dedbd2;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(30, 40, 35, .06);
}

.article-visuals h2 {
    margin: 0 0 8px;
    font-size: clamp(1.35rem, 3vw, 2rem);
    letter-spacing: -.025em;
}

.article-visuals-intro {
    margin: 0 0 18px;
    color: #4f5b54;
    line-height: 1.7;
}

.article-visuals-grid {
    display: grid;
    gap: 18px;
}

.article-visual-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fbfaf7;
}

.article-visual-card img {
    display: block;
    width: 100%;
    height: auto;
    background: #f4f0e6;
}

.article-visual-card figcaption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    color: #4f5b54;
}

.article-visual-card figcaption strong,
.article-visual-card figcaption span {
    display: block;
}

.article-visual-card figcaption span {
    color: #68736c;
    font-size: .88rem;
}

@media (max-width: 640px) {
    .article-visuals {
        border-radius: 20px;
    }

    .article-visual-card {
        border-radius: 18px;
    }

    .article-visual-card figcaption {
        display: block;
    }

    .article-visual-card figcaption span {
        margin-top: 4px;
    }
}
/* Article layout v2 */

.article-page-v2 {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 76px;
}

.article-hero-v2 {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
    gap: clamp(22px, 4vw, 44px);
    align-items: center;
    padding: clamp(26px, 5vw, 54px);
    border: 1px solid #dedbd2;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(46,111,88,.10), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f5f1e8 100%);
    box-shadow: 0 22px 70px rgba(30, 40, 35, .09);
}

.article-hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.25rem, 5.6vw, 5rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.article-hero-copy p {
    max-width: 680px;
    margin: 18px 0 0;
    color: #4f5b54;
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    line-height: 1.65;
}

.hero-visual-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid #dedbd2;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(30, 40, 35, .12);
}

.hero-visual-card img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-visual-card figcaption {
    padding: 12px 14px;
    color: #4f5b54;
    font-size: .9rem;
    font-weight: 750;
    background: #fbfaf7;
    border-top: 1px solid #dedbd2;
}

.diagnostic-overview {
    display: grid;
    grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 24px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #dedbd2;
    border-radius: 28px;
    background: #17241e;
    color: #fff;
    box-shadow: 0 18px 48px rgba(30, 40, 35, .10);
}

.section-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #aee2c9;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.diagnostic-overview h2,
.section-head h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.45rem);
    line-height: 1.06;
    letter-spacing: -.035em;
}

.diagnostic-overview p {
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    line-height: 1.7;
}

.article-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.article-content-grid .article-section {
    margin: 0;
    min-height: 155px;
    padding: clamp(20px, 3vw, 30px);
    border-radius: 24px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.article-content-grid .article-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(30, 40, 35, .10);
}

.article-content-grid .article-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.article-content-grid .article-section h2::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #2e6f58;
    box-shadow: 0 0 0 6px #e3f1eb;
}

.secondary-visuals {
    margin-top: 26px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #dedbd2;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(30, 40, 35, .07);
}

.section-head {
    max-width: 760px;
    margin-bottom: 20px;
}

.section-head .section-kicker {
    color: #2e6f58;
}

.section-head p {
    margin: 10px 0 0;
    color: #4f5b54;
    line-height: 1.65;
}

.secondary-visuals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.secondary-visual-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fbfaf7;
}

.secondary-visual-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    background: #fff;
}

.secondary-visual-card figcaption {
    padding: 12px 14px;
    border-top: 1px solid #dedbd2;
}

.secondary-visual-card figcaption strong,
.secondary-visual-card figcaption span {
    display: block;
}

.secondary-visual-card figcaption strong {
    color: #1d2520;
    font-size: .96rem;
}

.secondary-visual-card figcaption span {
    margin-top: 3px;
    color: #68736c;
    font-size: .84rem;
}

.article-note {
    margin-top: 24px;
}

@media (max-width: 980px) {
    .article-hero-v2 {
        grid-template-columns: 1fr;
    }

    .hero-visual-card {
        max-width: 680px;
    }

    .diagnostic-overview {
        grid-template-columns: 1fr;
    }

    .secondary-visuals-grid {
        grid-template-columns: 1fr;
    }

    .secondary-visual-card img {
        max-height: none;
    }
}

@media (max-width: 760px) {
    .article-page-v2 {
        width: min(100% - 20px, 1160px);
        padding-top: 18px;
    }

    .article-hero-v2 {
        padding: 22px;
        border-radius: 24px;
    }

    .article-hero-copy h1 {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .article-content-grid {
        grid-template-columns: 1fr;
    }

    .diagnostic-overview,
    .secondary-visuals {
        border-radius: 22px;
    }
}
.article-section ul {
    margin: 14px 0 0;
    padding-left: 1.15rem;
    color: #4f5b54;
    line-height: 1.65;
}

.article-section li + li {
    margin-top: 7px;
}

.article-section strong {
    color: #1d2520;
}

.ms-callout {
    margin-top: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #dedbd2;
}

.ms-callout p {
    margin-top: 6px;
}

.ms-callout-soft {
    background: #fbfaf7;
}
/* Visual reader override - larger diagnostic visuals */

.secondary-visuals {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.secondary-visuals-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
}

.secondary-visual-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(30, 40, 35, .07);
}

.secondary-visual-card img {
    width: 100%;
    max-height: none;
    object-fit: contain;
    background: #ffffff;
}

.secondary-visual-card figcaption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: #fbfaf7;
}

.secondary-visual-card figcaption strong {
    font-size: 1.05rem;
}

.secondary-visual-card figcaption span {
    margin-top: 0;
    font-size: .9rem;
}

/* Slightly improve the main schema size in the hero */

.article-hero-v2 {
    grid-template-columns: minmax(0, .85fr) minmax(420px, .95fr);
}

@media (max-width: 980px) {
    .article-hero-v2 {
        grid-template-columns: 1fr;
    }

    .secondary-visuals {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .secondary-visuals-grid {
        gap: 18px;
    }

    .secondary-visual-card {
        border-radius: 20px;
    }

    .secondary-visual-card figcaption {
        display: block;
        padding: 13px 14px;
    }

    .secondary-visual-card figcaption span {
        margin-top: 4px;
    }
}
/* Visual layout v3 - two-level readable gallery */

.secondary-visuals {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.secondary-visuals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px;
    align-items: start;
}

.secondary-visual-card {
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(30, 40, 35, .07);
}

.secondary-visual-card img {
    width: 100%;
    max-height: 760px;
    object-fit: contain;
    background: #ffffff;
}

/* La fiche récapitulative est plus horizontale : on lui donne toute la largeur */
.secondary-visual-summary_card {
    grid-column: 1 / -1;
    max-width: 860px;
    justify-self: center;
}

.secondary-visual-summary_card img {
    max-height: 720px;
}

/* Les visuels très verticaux restent en demi-largeur sur desktop */
.secondary-visual-decision_tree img,
.secondary-visual-checklist img {
    max-height: 780px;
}

/* Légende plus compacte */
.secondary-visual-card figcaption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: #fbfaf7;
}

.secondary-visual-card figcaption strong {
    font-size: 1rem;
}

.secondary-visual-card figcaption span {
    margin-top: 0;
    font-size: .86rem;
}

/* Sur tablette/mobile : retour à une colonne pour garder la lisibilité */
@media (max-width: 900px) {
    .secondary-visuals-grid {
        grid-template-columns: 1fr !important;
    }

    .secondary-visual-summary_card {
        max-width: none;
    }

    .secondary-visual-card img {
        max-height: none;
    }
}

@media (max-width: 640px) {
    .secondary-visuals {
        padding-left: 0;
        padding-right: 0;
    }

    .secondary-visuals-grid {
        gap: 18px;
    }

    .secondary-visual-card {
        border-radius: 20px;
    }

    .secondary-visual-card figcaption {
        display: block;
    }

    .secondary-visual-card figcaption span {
        margin-top: 4px;
    }
}
/* Action options and professional links */

.action-options,
.stop-diy-block,
.professional-links {
    margin-top: 26px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #dedbd2;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(30, 40, 35, .07);
}

.action-options-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.action-card {
    padding: 20px;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fbfaf7;
}

.action-card-free {
    background: #f4fbf7;
}

.action-card-store {
    background: #fffaf0;
}

.action-card-professional {
    background: #f7f3ef;
}

.action-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.action-card-top span,
.action-card-top strong {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 850;
}

.action-card-top span {
    background: #17241e;
    color: #fff;
}

.action-card-top strong {
    background: #e3f1eb;
    color: #2e6f58;
}

.action-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    letter-spacing: -.025em;
}

.action-card p {
    margin: 0;
    color: #4f5b54;
    line-height: 1.6;
}

.action-card dl {
    display: grid;
    gap: 12px;
    margin: 16px 0 0;
}

.action-card dl div {
    padding-top: 10px;
    border-top: 1px solid rgba(30, 40, 35, .10);
}

.action-card dt {
    margin-bottom: 3px;
    color: #1d2520;
    font-weight: 850;
    font-size: .84rem;
}

.action-card dd {
    margin: 0;
    color: #4f5b54;
    line-height: 1.5;
}

.stop-diy-block {
    display: grid;
    grid-template-columns: minmax(230px, .38fr) minmax(0, 1fr);
    gap: 24px;
    background: #fffaf0;
}

.stop-diy-block .section-kicker {
    color: #9b5c17;
}

.warning-list {
    display: grid;
    gap: 10px;
}

.warning-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #eadcc7;
}

.warning-item strong {
    display: block;
    margin-bottom: 4px;
}

.warning-item p {
    margin: 0;
    color: #4f5b54;
    line-height: 1.55;
}

.warning-high {
    border-color: #e7b3a6;
    background: #fff7f4;
}

.professional-links-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.pro-link-card {
    position: relative;
    display: block;
    min-height: 150px;
    padding: 18px;
    border: 1px solid #dedbd2;
    border-radius: 20px;
    background: #fbfaf7;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.pro-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(30, 40, 35, .10);
}

.maps-badge {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e3f1eb;
    color: #2e6f58;
    font-size: .75rem;
    font-weight: 900;
}

.pro-link-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 1.04rem;
}

.pro-link-card p {
    margin: 0;
    color: #4f5b54;
    line-height: 1.5;
    font-size: .94rem;
}

@media (max-width: 980px) {
    .action-options-grid,
    .professional-links-grid {
        grid-template-columns: 1fr;
    }

    .stop-diy-block {
        grid-template-columns: 1fr;
    }
}
/* Homepage v2 */

.home-hero-v2,
.quick-signs-section,
.home-families,
.home-featured,
.home-all-topics {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.home-hero-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: stretch;
    padding: 46px 0 26px;
}

.home-hero-copy {
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid #dedbd2;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(46,111,88,.10), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f5f1e8 100%);
    box-shadow: 0 22px 70px rgba(30, 40, 35, .08);
}

.home-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: #2e6f58;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .82rem;
}

.home-hero-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 5.4rem);
    line-height: .95;
    letter-spacing: -.06em;
}

.home-hero-copy p {
    max-width: 680px;
    margin: 18px 0 0;
    color: #4f5b54;
    font-size: clamp(1.08rem, 1.9vw, 1.32rem);
    line-height: 1.65;
}

.home-search {
    margin-top: 28px;
}

.home-search label {
    display: block;
    margin-bottom: 8px;
    color: #4f5b54;
    font-weight: 800;
}

.home-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 720px;
    padding: 8px;
    border: 1px solid #dedbd2;
    border-radius: 18px;
    background: #fff;
}

.home-search-box input {
    flex: 1;
    min-width: 0;
    height: 50px;
    border: 0;
    padding: 0 12px;
    font: inherit;
    color: #1d2520;
    background: transparent;
    outline: none;
}

.home-search-box span {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #17241e;
    color: #fff;
    font-weight: 850;
    white-space: nowrap;
}

.home-promise-card {
    padding: 28px;
    border-radius: 30px;
    background: #17241e;
    color: #fff;
    box-shadow: 0 22px 70px rgba(30, 40, 35, .12);
}

.home-promise-card strong {
    display: block;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.home-promise-card ol {
    display: grid;
    gap: 14px;
    margin: 0;
    padding-left: 1.2rem;
    color: rgba(255,255,255,.82);
    line-height: 1.5;
}

.quick-signs-section,
.home-families,
.home-featured,
.home-all-topics {
    margin-top: 26px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #dedbd2;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(30, 40, 35, .06);
}

.quick-signs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.quick-sign-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    width: 100%;
    padding: 18px;
    border: 1px solid #dedbd2;
    border-radius: 20px;
    background: #fbfaf7;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-sign-card:hover {
    transform: translateY(-2px);
    border-color: rgba(46,111,88,.35);
    box-shadow: 0 14px 36px rgba(30, 40, 35, .08);
}

.quick-sign-dot {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background:
        radial-gradient(circle at center, #2e6f58 0 26%, transparent 27%),
        #e3f1eb;
}

.quick-sign-card strong {
    font-size: 1.05rem;
}

.quick-sign-card small {
    color: #68736c;
    line-height: 1.35;
}

.home-families-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.family-card {
    padding: 20px;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fbfaf7;
}

.family-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 15px;
    background: #17241e;
    color: #fff;
    font-weight: 900;
}

.family-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.family-card p {
    margin: 0;
    color: #4f5b54;
    line-height: 1.55;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.featured-card {
    display: block;
    min-height: 210px;
    padding: 20px;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fbfaf7;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(30, 40, 35, .08);
}

.featured-card span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #2e6f58;
    font-size: .82rem;
    font-weight: 900;
}

.featured-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.12;
}

.featured-card p {
    margin: 0 0 18px;
    color: #4f5b54;
    line-height: 1.5;
}

.featured-card strong {
    color: #2e6f58;
    font-size: .9rem;
}

.home-note {
    margin: 16px 0 0;
    color: #68736c;
    font-size: .92rem;
}

.compact-results {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.compact-result {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #dedbd2;
    border-radius: 16px;
    background: #fbfaf7;
    color: inherit;
    text-decoration: none;
}

.compact-result span {
    color: #2e6f58;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .home-hero-v2 {
        grid-template-columns: 1fr;
    }

    .home-families-grid,
    .featured-grid,
    .quick-signs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-promise-card {
        order: -1;
    }
}

@media (max-width: 640px) {
    .home-hero-v2,
    .quick-signs-section,
    .home-families,
    .home-featured,
    .home-all-topics {
        width: min(100% - 20px, 1160px);
    }

    .home-hero-v2 {
        padding-top: 18px;
    }

    .home-hero-copy,
    .home-promise-card,
    .quick-signs-section,
    .home-families,
    .home-featured,
    .home-all-topics {
        border-radius: 22px;
    }

    .home-families-grid,
    .featured-grid,
    .quick-signs-grid {
        grid-template-columns: 1fr;
    }

    .home-search-box {
        display: block;
    }

    .home-search-box span {
        margin-top: 8px;
        width: 100%;
        justify-content: center;
    }

    .compact-result {
        display: block;
    }

    .compact-result span {
        display: block;
        margin-top: 6px;
    }
}
/* Homepage v3 */

.home-v3-hero,
.home-v3-needs,
.home-v3-universes,
.home-v3-featured,
.home-v3-results {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.home-v3-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: stretch;
    padding: 42px 0 24px;
}

.home-v3-hero-copy {
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid #dedbd2;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(46,111,88,.12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f5f1e8 100%);
    box-shadow: 0 22px 70px rgba(30, 40, 35, .08);
}

.home-v3-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: #2e6f58;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .82rem;
}

.home-v3-hero h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(2.35rem, 5.2vw, 4.8rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.home-v3-hero-copy p {
    max-width: 790px;
    margin: 18px 0 0;
    color: #4f5b54;
    font-size: clamp(1.06rem, 1.65vw, 1.24rem);
    line-height: 1.65;
}

.home-v3-search {
    margin-top: 28px;
}

.home-v3-search label {
    display: block;
    margin-bottom: 8px;
    color: #1d2520;
    font-weight: 850;
}

.home-v3-search-box {
    display: flex;
    gap: 8px;
    max-width: 760px;
    padding: 8px;
    border: 1px solid #dedbd2;
    border-radius: 18px;
    background: #fff;
}

.home-v3-search-box input {
    flex: 1;
    min-width: 0;
    height: 52px;
    border: 0;
    padding: 0 12px;
    font: inherit;
    outline: none;
    background: transparent;
}

.home-v3-search-box button {
    border: 0;
    border-radius: 13px;
    padding: 0 18px;
    background: #17241e;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.home-v3-method {
    padding: 26px;
    border-radius: 30px;
    background: #17241e;
    color: #fff;
    box-shadow: 0 22px 70px rgba(30, 40, 35, .12);
}

.home-v3-method strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.home-v3-method p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.76);
}

.home-v3-method div {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.88);
    line-height: 1.35;
}

.home-v3-method span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-weight: 900;
    flex: 0 0 auto;
}

.home-v3-needs,
.home-v3-universes,
.home-v3-featured,
.home-v3-results {
    margin-top: 24px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #dedbd2;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(30, 40, 35, .06);
}

.home-v3-needs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.need-card,
.universe-card {
    display: block;
    width: 100%;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fbfaf7;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.need-card {
    min-height: 190px;
    padding: 18px;
}

.need-card:hover,
.universe-card:hover {
    transform: translateY(-2px);
    border-color: rgba(46,111,88,.36);
    box-shadow: 0 14px 36px rgba(30, 40, 35, .08);
}

.need-card > span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 16px;
    background: #e3f1eb;
    color: #2e6f58;
    font-weight: 900;
    font-size: 1.15rem;
}

.need-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
    line-height: 1.2;
}

.need-card small {
    display: block;
    color: #68736c;
    font-size: .94rem;
    line-height: 1.45;
}

.home-v3-universes-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.universe-card {
    min-height: 170px;
    padding: 18px;
}

.universe-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.18;
}

.universe-card p {
    margin: 0 0 14px;
    color: #4f5b54;
    line-height: 1.45;
    font-size: .94rem;
}

.universe-card span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #17241e;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
}

.home-v3-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.home-v3-featured-card {
    display: block;
    min-height: 180px;
    padding: 18px;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fbfaf7;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.home-v3-featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(30, 40, 35, .08);
}

.home-v3-featured-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #2e6f58;
    font-size: .8rem;
    font-weight: 900;
}

.home-v3-featured-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.04rem;
    line-height: 1.18;
}

.home-v3-featured-card p {
    margin: 0;
    color: #4f5b54;
    line-height: 1.45;
    font-size: .94rem;
}

.home-v3-results-grid {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.home-v3-results .compact-result {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #dedbd2;
    border-radius: 16px;
    background: #fbfaf7;
    color: inherit;
    text-decoration: none;
}

.home-v3-results .compact-result span {
    color: #2e6f58;
    font-weight: 850;
    white-space: nowrap;
}

@media (max-width: 1080px) {
    .home-v3-hero {
        grid-template-columns: 1fr;
    }

    .home-v3-needs-grid,
    .home-v3-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-v3-universes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-v3-hero,
    .home-v3-needs,
    .home-v3-universes,
    .home-v3-featured,
    .home-v3-results {
        width: min(100% - 20px, 1160px);
    }

    .home-v3-hero {
        padding-top: 18px;
    }

    .home-v3-hero-copy,
    .home-v3-method,
    .home-v3-needs,
    .home-v3-universes,
    .home-v3-featured,
    .home-v3-results {
        border-radius: 22px;
    }

    .home-v3-hero h1 {
        font-size: clamp(2.05rem, 9vw, 3.1rem);
    }

    .home-v3-search-box {
        display: block;
    }

    .home-v3-search-box button {
        width: 100%;
        height: 46px;
        margin-top: 8px;
    }

    .home-v3-needs-grid,
    .home-v3-universes-grid,
    .home-v3-featured-grid {
        grid-template-columns: 1fr;
    }

    .home-v3-results .compact-result {
        display: block;
    }

    .home-v3-results .compact-result span {
        display: block;
        margin-top: 6px;
    }
}
/* DocteurMaison homepage */

.dm-hero,
.dm-method,
.dm-categories,
.dm-category-sections,
.dm-results {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.dm-hero {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 38px 0 24px;
}

.dm-hero-logo {
    padding: 24px;
    border: 1px solid #dedbd2;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(30, 40, 35, .08);
}

.dm-hero-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.dm-hero-copy {
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid #dedbd2;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(222,163,50,.16), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7f1e7 100%);
    box-shadow: 0 22px 70px rgba(30, 40, 35, .08);
}

.dm-hero-copy > span {
    display: inline-flex;
    margin-bottom: 12px;
    color: #0e6264;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .82rem;
}

.dm-hero-copy h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.45rem, 5.3vw, 4.9rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.dm-hero-copy p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #4f5b54;
    font-size: clamp(1.12rem, 1.8vw, 1.35rem);
    line-height: 1.6;
}

.dm-search {
    margin-top: 28px;
}

.dm-search label {
    display: block;
    margin-bottom: 8px;
    color: #1d2520;
    font-weight: 850;
}

.dm-search div {
    display: flex;
    gap: 8px;
    max-width: 760px;
    padding: 8px;
    border: 1px solid #dedbd2;
    border-radius: 18px;
    background: #fff;
}

.dm-search input {
    flex: 1;
    min-width: 0;
    height: 52px;
    border: 0;
    padding: 0 12px;
    font: inherit;
    outline: none;
    background: transparent;
}

.dm-search button {
    border: 0;
    border-radius: 13px;
    padding: 0 18px;
    background: #0e6264;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.dm-method {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.dm-method article {
    padding: 22px;
    border: 1px solid #dedbd2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(30, 40, 35, .05);
}

.dm-method strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.dm-method p {
    margin: 0;
    color: #4f5b54;
    line-height: 1.5;
}

.dm-categories,
.dm-topic-section,
.dm-results {
    margin-top: 24px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #dedbd2;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(30, 40, 35, .06);
}

.dm-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.dm-category-card {
    display: block;
    min-height: 170px;
    padding: 20px;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fbfaf7;
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.dm-category-card:hover,
.dm-topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(30, 40, 35, .08);
}

.dm-category-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.12rem;
    line-height: 1.2;
}

.dm-category-card p {
    margin: 0 0 14px;
    color: #4f5b54;
    line-height: 1.45;
}

.dm-category-card span {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #0e6264;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
}

.dm-topic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.dm-topic-card {
    display: block;
    min-height: 176px;
    padding: 18px;
    border: 1px solid #dedbd2;
    border-radius: 22px;
    background: #fbfaf7;
    color: inherit;
    text-decoration: none;
}

.dm-topic-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #0e6264;
    font-size: .8rem;
    font-weight: 900;
}

.dm-topic-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
    line-height: 1.18;
}

.dm-topic-card p {
    margin: 0;
    color: #4f5b54;
    line-height: 1.45;
    font-size: .94rem;
}

.dm-results-grid {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.dm-results .compact-result {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #dedbd2;
    border-radius: 16px;
    background: #fbfaf7;
    color: inherit;
    text-decoration: none;
}

.dm-results .compact-result span {
    color: #0e6264;
    font-weight: 850;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .dm-hero {
        grid-template-columns: 1fr;
    }

    .dm-hero-logo {
        max-width: 240px;
    }

    .dm-method,
    .dm-category-grid,
    .dm-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .dm-hero,
    .dm-method,
    .dm-categories,
    .dm-category-sections,
    .dm-results {
        width: min(100% - 20px, 1160px);
    }

    .dm-hero {
        padding-top: 18px;
    }

    .dm-hero-copy,
    .dm-hero-logo,
    .dm-categories,
    .dm-topic-section,
    .dm-results {
        border-radius: 22px;
    }

    .dm-hero-copy h1 {
        font-size: clamp(2.1rem, 9vw, 3.1rem);
    }

    .dm-search div {
        display: block;
    }

    .dm-search button {
        width: 100%;
        height: 46px;
        margin-top: 8px;
    }

    .dm-method,
    .dm-category-grid,
    .dm-topic-grid {
        grid-template-columns: 1fr;
    }

    .dm-results .compact-result {
        display: block;
    }

    .dm-results .compact-result span {
        display: block;
        margin-top: 6px;
    }
}
/* DocteurMaison homepage refinements */

.dm-hero-clean {
    grid-template-columns: 1fr !important;
}

.dm-hero-clean .dm-hero-copy {
    max-width: 1160px;
}

.dm-method-light {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dm-method-light article {
    background: #ffffff;
}

.dm-category-card {
    position: relative;
}

.dm-category-card em {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #0e6264;
    color: #fff;
    font-style: normal;
    font-size: .78rem;
    font-weight: 900;
}

.dm-category-icon {
    position: relative;
    display: inline-flex;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 17px;
    background: #e4f1ed;
    color: #0e6264;
    vertical-align: top;
}

.dm-category-icon::before,
.dm-category-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

/* Eau / humidité */
.dm-icon-water::before {
    width: 16px;
    height: 22px;
    left: 15px;
    top: 11px;
    background: #0e6264;
    border-radius: 55% 55% 55% 55%;
    transform: rotate(45deg);
}

/* Froid */
.dm-icon-cold::before {
    width: 24px;
    height: 2px;
    left: 11px;
    top: 22px;
    background: #0e6264;
    box-shadow: 0 0 0 0 #0e6264;
}

.dm-icon-cold::after {
    width: 2px;
    height: 24px;
    left: 22px;
    top: 11px;
    background: #0e6264;
    box-shadow: 0 0 0 0 #0e6264;
    transform: rotate(45deg);
}

/* Chaleur */
.dm-icon-heat::before {
    width: 18px;
    height: 18px;
    left: 14px;
    top: 14px;
    border-radius: 50%;
    background: #dea332;
}

.dm-icon-heat::after {
    width: 30px;
    height: 30px;
    left: 8px;
    top: 8px;
    border: 2px solid rgba(222, 163, 50, .45);
    border-radius: 50%;
}

/* Énergie */
.dm-icon-energy::before {
    width: 18px;
    height: 28px;
    left: 15px;
    top: 9px;
    background: #0e6264;
    clip-path: polygon(55% 0, 15% 54%, 47% 54%, 35% 100%, 86% 40%, 55% 40%);
}

/* Plomberie */
.dm-icon-plumbing::before {
    width: 24px;
    height: 17px;
    left: 11px;
    top: 14px;
    border-left: 5px solid #0e6264;
    border-bottom: 5px solid #0e6264;
    border-radius: 0 0 0 9px;
}

.dm-icon-plumbing::after {
    width: 10px;
    height: 10px;
    right: 9px;
    top: 24px;
    border-radius: 50%;
    background: #0e6264;
}

/* Électricité */
.dm-icon-electric::before {
    width: 18px;
    height: 28px;
    left: 15px;
    top: 9px;
    background: #0e6264;
    clip-path: polygon(58% 0, 18% 53%, 48% 53%, 36% 100%, 86% 39%, 56% 39%);
}

/* Murs / sols */
.dm-icon-walls::before {
    width: 26px;
    height: 24px;
    left: 10px;
    top: 11px;
    border: 3px solid #0e6264;
    border-radius: 4px;
}

.dm-icon-walls::after {
    width: 3px;
    height: 24px;
    left: 23px;
    top: 11px;
    background: #0e6264;
    transform: rotate(24deg);
}

/* Fenêtres */
.dm-icon-windows::before {
    width: 26px;
    height: 26px;
    left: 10px;
    top: 10px;
    border: 3px solid #0e6264;
    border-radius: 4px;
}

.dm-icon-windows::after {
    width: 3px;
    height: 26px;
    left: 22px;
    top: 10px;
    background: #0e6264;
    box-shadow: 0 12px 0 0 #0e6264;
}

/* Toiture */
.dm-icon-roof::before {
    width: 26px;
    height: 26px;
    left: 10px;
    top: 13px;
    border-left: 4px solid #0e6264;
    border-top: 4px solid #0e6264;
    transform: rotate(45deg);
}

.dm-icon-roof::after {
    width: 22px;
    height: 12px;
    left: 12px;
    top: 25px;
    border: 3px solid #0e6264;
    border-top: 0;
}

/* Air / nuisibles */
.dm-icon-air::before {
    width: 26px;
    height: 14px;
    left: 10px;
    top: 13px;
    border-top: 4px solid #0e6264;
    border-radius: 50%;
}

.dm-icon-air::after {
    width: 22px;
    height: 12px;
    left: 13px;
    top: 23px;
    border-bottom: 4px solid #0e6264;
    border-radius: 50%;
}

@media (max-width: 980px) {
    .dm-method-light {
        grid-template-columns: 1fr;
    }
}
/* DocteurMaison SVG category icons */

.dm-category-card {
    position: relative;
}

.dm-category-card-empty {
    opacity: .72;
    cursor: default;
}

.dm-category-card-empty:hover {
    transform: none;
    box-shadow: none;
}

.dm-category-card em {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    background: #0e6264;
    color: #fff;
    font-style: normal;
    font-size: .78rem;
    font-weight: 900;
}

.dm-category-card-empty em {
    background: #d9d2c4;
    color: #4f5b54;
}

.dm-category-icon {
    display: inline-flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: #e4f1ed;
    color: #0e6264;
}

.dm-category-icon svg {
    width: 30px;
    height: 30px;
    display: block;
}

.dm-category-icon svg path,
.dm-category-icon svg circle,
.dm-category-icon svg rect {
    fill: none;
    stroke: currentColor;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dm-icon-heat {
    color: #de9f24;
    background: #fff3d8;
}

.dm-icon-energy {
    color: #de9f24;
    background: #fff3d8;
}

.dm-icon-electric {
    color: #0e6264;
}

.dm-icon-air {
    color: #6f8c90;
    background: #eaf3f3;
}

.dm-category-card:hover .dm-category-icon {
    transform: translateY(-1px);
}

.dm-category-icon {
    transition: transform .18s ease;
}
/* FINAL FIX - DocteurMaison category icons */

.dm-category-icon::before,
.dm-category-icon::after {
    content: none !important;
    display: none !important;
}

.dm-category-icon {
    width: 54px !important;
    height: 54px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
    border-radius: 18px !important;
    background: #e4f1ed !important;
    color: #0e6264 !important;
    overflow: hidden !important;
}

.dm-category-icon svg {
    width: 32px !important;
    height: 32px !important;
    display: block !important;
    overflow: visible !important;
}

.dm-category-icon svg path,
.dm-category-icon svg circle,
.dm-category-icon svg rect,
.dm-category-icon svg line,
.dm-category-icon svg polyline {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.dm-icon-heat,
.dm-icon-energy {
    background: #fff3d8 !important;
    color: #d99516 !important;
}

.dm-icon-electric {
    background: #e4f1ed !important;
    color: #0e6264 !important;
}

.dm-icon-air {
    background: #eaf3f3 !important;
    color: #537a7d !important;
}

.dm-category-card-empty .dm-category-icon {
    background: #efede8 !important;
    color: #8b867b !important;
}
/* DocteurMaison final home organization */

.dm-site-header {
    border-bottom: 1px solid #dedbd2;
    background: rgba(250, 248, 243, .92);
    backdrop-filter: blur(12px);
}

.dm-site-header-inner {
    width: min(1160px, calc(100% - 32px));
    min-height: 96px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.dm-site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.dm-site-brand img {
    display: block;
    width: min(360px, 56vw);
    height: auto;
}

.dm-site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.dm-site-nav a {
    color: #24302a;
    text-decoration: none;
    font-weight: 850;
    font-size: .94rem;
}

.dm-site-nav a:hover {
    color: #0e6264;
}

.dm-featured {
    width: min(1160px, calc(100% - 32px));
    margin: 24px auto 0;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #dedbd2;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(30, 40, 35, .06);
}

.dm-category-card {
    font: inherit;
    text-align: left;
}

button.dm-category-card {
    cursor: pointer;
}

button.dm-category-card:disabled {
    cursor: default;
}

.dm-category-card p,
.dm-method p,
.dm-hero-copy p,
.dm-featured p {
    text-wrap: pretty;
}

.dm-hero-copy p {
    max-width: 820px;
}

.dm-category-card-empty {
    opacity: .7;
}

.dm-category-card-empty em {
    background: #d9d2c4 !important;
    color: #4f5b54 !important;
}

@media (max-width: 760px) {
    .dm-site-header-inner {
        min-height: auto;
        padding: 14px 0;
        display: block;
    }

    .dm-site-brand img {
        width: min(300px, 86vw);
    }

    .dm-site-nav {
        margin-top: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
    }
}
/* FINAL FIX - legal and contact pages */

.legal-page {
    width: min(980px, calc(100% - 32px)) !important;
    margin: 38px auto 56px !important;
}

.legal-card {
    padding: clamp(24px, 4vw, 44px) !important;
    border: 1px solid #dedbd2 !important;
    border-radius: 30px !important;
    background: #fff !important;
    box-shadow: 0 14px 42px rgba(30, 40, 35, .06) !important;
}

.legal-card .section-kicker {
    display: inline-flex !important;
    margin-bottom: 12px !important;
    color: #0e6264 !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    font-size: .82rem !important;
}

.legal-card h1 {
    margin: 0 0 18px !important;
    font-size: clamp(2.1rem, 4.2vw, 3.2rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em !important;
}

.legal-card h2 {
    margin: 28px 0 10px !important;
    font-size: 1.22rem !important;
    line-height: 1.25 !important;
}

.legal-card p,
.legal-card li {
    color: #4f5b54 !important;
    line-height: 1.7 !important;
    font-size: 1rem !important;
}

.legal-card a {
    color: #0e6264 !important;
    font-weight: 850 !important;
}

.contact-form {
    display: grid !important;
    gap: 16px !important;
    margin-top: 26px !important;
    max-width: 680px !important;
}

.contact-form label {
    display: grid !important;
    gap: 7px !important;
    color: #17241e !important;
    font-weight: 850 !important;
}

.contact-form input,
.contact-form textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1px solid #dedbd2 !important;
    border-radius: 16px !important;
    padding: 14px 16px !important;
    background: #fbfaf7 !important;
    color: #17241e !important;
    font: inherit !important;
    outline: none !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0e6264 !important;
    box-shadow: 0 0 0 4px rgba(14, 98, 100, .12) !important;
}

.contact-form textarea {
    min-height: 170px !important;
    resize: vertical !important;
}

.contact-form button {
    width: fit-content !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 13px 22px !important;
    background: #0e6264 !important;
    color: #fff !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}

.contact-form button:disabled {
    opacity: .65 !important;
    cursor: wait !important;
}

.hp-field {
    position: absolute !important;
    left: -99999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-success,
.form-errors {
    margin: 18px 0 !important;
    padding: 14px 16px !important;
    border-radius: 16px !important;
    line-height: 1.55 !important;
    max-width: 760px !important;
}

.form-success {
    background: #e4f1ed !important;
    color: #0e6264 !important;
}

.form-errors {
    background: #fff3d8 !important;
    color: #5f3f00 !important;
}

.form-errors code {
    padding: 2px 5px !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,.65) !important;
}

@media (max-width: 640px) {
    .legal-page {
        width: min(100% - 20px, 980px) !important;
        margin-top: 22px !important;
    }

    .legal-card {
        border-radius: 22px !important;
    }

    .contact-form button {
        width: 100% !important;
    }
}
/* FINAL FOOTER - DocteurMaison */

.dm-footer {
    margin-top: 54px;
    padding: 34px 0;
    border-top: 1px solid #dedbd2;
    background: #ffffff;
}

.dm-footer-inner {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(260px, 1fr);
    gap: 22px 44px;
    align-items: start;
}

.dm-footer-brand strong {
    display: block;
    color: #17241e;
    font-size: 1.05rem;
    font-weight: 900;
}

.dm-footer-brand p {
    margin: 6px 0 0;
    color: #4f5b54;
}

.dm-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
}

.dm-footer-links a {
    color: #0e6264;
    font-weight: 850;
    text-decoration: none;
}

.dm-footer-links a:hover {
    text-decoration: underline;
}

.dm-footer-note {
    grid-column: 2;
    max-width: 820px;
    margin: 0;
    color: #68736c;
    line-height: 1.6;
    font-size: .95rem;
}

@media (max-width: 720px) {
    .dm-footer-inner {
        grid-template-columns: 1fr;
    }

    .dm-footer-note {
        grid-column: auto;
    }
}