/* Directory Factory — styles front */

:root {
    --df-accent: #2c8a4a;
    --df-accent-dark: #1f6535;
    --df-bg: #f7f9f7;
    --df-text: #1a1a1a;
    --df-muted: #6b7280;
    --df-border: #e5e7eb;
    --df-radius: 8px;
}

.df-page {
    max-width: 1100px;
    margin: 2em auto;
    padding: 0 1em;
    color: var(--df-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    line-height: 1.55;
}

.df-page h1 {
    font-size: 2em;
    margin: 0 0 .3em;
    line-height: 1.15;
}
.df-page h1 small {
    font-weight: 400;
    color: var(--df-muted);
    font-size: .55em;
    margin-left: .3em;
}
.df-page h2 {
    font-size: 1.4em;
    margin: 2em 0 .8em;
    padding-bottom: .3em;
    border-bottom: 2px solid var(--df-accent);
    display: inline-block;
}
.df-breadcrumb {
    font-size: .9em;
    color: var(--df-muted);
    margin-bottom: 1em;
}
.df-breadcrumb a {
    color: var(--df-muted);
    text-decoration: none;
}
.df-breadcrumb a:hover { text-decoration: underline; }

.df-lead {
    font-size: 1.15em;
    color: #444;
    margin: .5em 0 1.5em;
}

/* ── Intro tarif : image de la prestation + description ── */
.df-intro--with-img {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(1.2em, 3vw, 2.5em);
    align-items: center;
}
.df-intro-img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--df-radius);
}
.df-intro-body > :first-child { margin-top: 0; }
.df-intro-body > :last-child { margin-bottom: 0; }
.df-intro-body h2 { margin: 0 0 .4em; }
.df-intro-body .df-lead { margin: 0 0 .8em; }
.df-intro-cta {
    margin: 0;
    color: var(--df-muted);
    font-size: .98em;
}
.df-intro-cta strong { color: var(--df-accent-dark); }
@media (max-width: 720px) {
    .df-intro--with-img { grid-template-columns: 1fr; }
    .df-intro-img { max-height: 240px; }
}

/* ── Carte Leaflet ───────────────────────────────────── */
.df-map {
    height: 400px;
    border-radius: var(--df-radius);
    border: 1px solid var(--df-border);
    margin: 1em 0;
    z-index: 0;
}
.df-map-popup strong { display: block; margin-bottom: .2em; }
.df-map-popup a { color: var(--df-accent-dark); }

/* ── Liste de pros ───────────────────────────────────── */
.df-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.df-list .df-pro {
    border: 1px solid var(--df-border);
    padding: 1em;
    border-radius: var(--df-radius);
    background: #fff;
    transition: box-shadow .15s, border-color .15s;
}
.df-list .df-pro:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    border-color: var(--df-accent);
}
.df-pro h3 { margin: 0 0 .3em; font-size: 1.05em; }
.df-pro h3 a { text-decoration: none; color: var(--df-text); }
.df-pro h3 a:hover { color: var(--df-accent); }
.df-pro .df-pro-meta { color: var(--df-muted); font-size: .9em; margin: .2em 0; }
.df-pro .df-pro-rating { color: #d97706; font-size: .9em; }

/* Section « Les autres … » : fond blanc, volontairement plus sobre que le Top sélection. */
.df-top-pros .df-list .df-pro {
    background: #fff;
    border-color: #edf0ed;
}
.df-top-pros .df-pro h3 { font-size: .98em; font-weight: 600; }

/* ── Prestations (legacy simple) ─────────────────────── */
.df-prestations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: .6em;
    list-style: none;
    padding: 0;
    margin: 0;
}
.df-prestations li {
    background: var(--df-bg);
    padding: .8em 1em;
    border-radius: var(--df-radius);
    border-left: 3px solid var(--df-accent);
}

/* ── Prestations cards (avec lien tarif) ─────────────── */
.df-prestations-cards,
.df-tarifs-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: .8em;
    list-style: none;
    padding: 0;
    margin: 0;
}
.df-presta-card,
.df-tarif-card {
    display: block;
    padding: 1em 1.2em;
    background: #fff;
    border: 1px solid var(--df-border);
    border-left: 3px solid var(--df-accent);
    border-radius: var(--df-radius);
    text-decoration: none;
    color: var(--df-text);
    transition: box-shadow .15s, transform .15s;
}
.df-presta-card:hover,
.df-tarif-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    transform: translateY(-1px);
}
.df-presta-card--inactive {
    opacity: .6;
    cursor: default;
    border-left-color: #cbd5e1;
}
.df-presta-card strong,
.df-tarif-card strong {
    display: block;
    font-size: 1.05em;
    margin-bottom: .2em;
}
.df-presta-tagline,
.df-tarif-card span {
    display: block;
    font-size: .9em;
    color: var(--df-muted);
    margin: .2em 0 .5em;
}
.df-presta-card em,
.df-tarif-card em {
    display: inline-block;
    font-size: .9em;
    color: var(--df-accent-dark);
    font-style: normal;
    font-weight: 600;
}

/* ── Hero pleine largeur (page tarif, ville, dept) ───── */
.df-hero {
    position: relative;
    width: 100%;
    min-height: 360px;
    background-color: var(--df-accent-dark);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 3em 1em 2.5em;
    box-sizing: border-box;
    margin-bottom: 2em;
}
.df-hero--noimage {
    background-image: linear-gradient(135deg, var(--df-accent) 0%, var(--df-accent-dark) 100%);
}
.df-hero-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}
.df-hero h1 {
    color: #fff;
    font-size: 2.4em;
    margin: .2em 0 .3em;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.df-hero-lead {
    font-size: 1.2em;
    color: #f0f0f0;
    margin: 0 0 1em;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
    max-width: 720px;
}
.df-breadcrumb--hero,
.df-breadcrumb--hero a {
    color: rgba(255,255,255,.85);
}
.df-breadcrumb--hero a:hover { color: #fff; }
.df-hero-pills {
    display: flex;
    gap: .5em;
    flex-wrap: wrap;
    margin-top: .5em;
}
.df-pill {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    background: rgba(255,255,255,.95);
    color: var(--df-accent-dark);
    padding: .5em 1em;
    border-radius: 999px;
    font-size: .9em;
    font-weight: 500;
}
.df-pill strong { color: var(--df-accent-dark); font-weight: 700; }
.df-pill--ghost {
    background: rgba(255,255,255,.18);
    color: #fff;
    backdrop-filter: blur(4px);
}

/* ── Page tarif : cards de tarifs (remplace l'ancien table) ── */
.df-tarifs-cards-list {
    display: flex;
    flex-direction: column;
    gap: .7em;
}
.df-tarif-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1em;
    align-items: center;
    background: #fff;
    border: 1px solid var(--df-border);
    border-left: 4px solid var(--df-accent);
    border-radius: var(--df-radius);
    padding: 1em 1.2em;
    transition: box-shadow .15s, transform .15s;
}
.df-tarif-row:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.df-tarif-row-libelle strong {
    display: block;
    font-size: 1.05em;
    color: var(--df-text);
    margin-bottom: .2em;
}
.df-tarif-row-libelle em {
    display: block;
    color: var(--df-muted);
    font-size: .88em;
    font-style: normal;
}
.df-tarif-row-prix {
    text-align: right;
    white-space: nowrap;
}
.df-tarif-fourchette {
    display: inline-flex;
    align-items: baseline;
    gap: .35em;
    font-variant-numeric: tabular-nums;
}
.df-tarif-min,
.df-tarif-max {
    font-weight: 700;
    color: var(--df-accent-dark);
    font-size: 1.15em;
}
.df-tarif-sep {
    color: var(--df-muted);
    font-size: .85em;
}
.df-tarif-row-prix .df-tarif-unite {
    display: block;
    color: var(--df-muted);
    font-size: .85em;
    margin-top: .2em;
}

/* ── Cards tarif/presta avec image ────────────────────── */
.df-tarif-card--with-img,
.df-presta-card--with-img {
    padding: 0;
    overflow: hidden;
    border-left: 0;
    display: flex;
    flex-direction: column;
}
.df-tarif-card-img,
.df-presta-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: var(--df-bg);
}
.df-tarif-card-body,
.df-presta-card-body {
    display: block;
    padding: 1em 1.2em 1.2em;
    border-left: 3px solid var(--df-accent);
    flex: 1;
}
.df-presta-card--with-img.df-presta-card--inactive .df-presta-card-body {
    border-left-color: #cbd5e1;
}

/* ── Page tarif (legacy table — gardée au cas où) ────── */
.df-tarifs-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    background: #fff;
}
.df-tarifs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95em;
}
.df-tarifs-table thead {
    background: var(--df-bg);
    border-bottom: 2px solid var(--df-accent);
}
.df-tarifs-table th,
.df-tarifs-table td {
    padding: .8em 1em;
    text-align: left;
    border-bottom: 1px solid var(--df-border);
}
.df-tarifs-table th {
    font-weight: 600;
    color: var(--df-text);
    font-size: .9em;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.df-tarifs-table tr:last-child td { border-bottom: 0; }
.df-tarif-libelle { font-weight: 500; }
.df-tarif-prix {
    font-variant-numeric: tabular-nums;
    color: var(--df-accent-dark);
    font-weight: 600;
    white-space: nowrap;
}
.df-tarif-unite {
    color: var(--df-muted);
    font-size: .9em;
    white-space: nowrap;
}
.df-tarif-note {
    color: var(--df-muted);
    font-size: .85em;
    font-style: italic;
}
.df-tarifs-disclaimer {
    margin-top: .8em;
    color: var(--df-muted);
    text-align: right;
}

/* ═════════ TARIFS LOCAUX (bloc "Tarif paysagiste à X" sur ville/dept) ═════════ */
.df-section--tarifs-locaux .df-block-subtitle {
    color: var(--df-muted);
    margin: 0 0 1.2rem;
}
.df-tarifs-resume-wrap {
    overflow-x: auto;
    border: 1px solid var(--df-border, #e5e7eb);
    border-radius: 12px;
    background: #fff;
}
.df-tarifs-resume {
    width: 100%;
    border-collapse: collapse;
    font-size: .98rem;
}
.df-tarifs-resume thead th {
    text-align: left;
    background: var(--df-bg, #f9fafb);
    color: var(--df-muted, #6b7280);
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .8rem 1.1rem;
    border-bottom: 1px solid var(--df-border, #e5e7eb);
}
.df-tarifs-resume tbody td {
    padding: .9rem 1.1rem;
    border-bottom: 1px solid var(--df-border, #f1f5f9);
    vertical-align: middle;
}
.df-tarifs-resume tbody tr:last-child td {
    border-bottom: 0;
}
.df-tarifs-resume tbody tr:hover {
    background: #fafbfc;
}
.df-tarifs-resume-presta a {
    color: var(--df-text, #1a1a1a);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted var(--df-accent, #2c8a4a);
}
.df-tarifs-resume-presta a:hover {
    color: var(--df-accent, #2c8a4a);
}
.df-tarifs-resume-prix {
    text-align: right;
    white-space: nowrap;
    color: var(--df-accent-dark, #1f6535);
}
.df-tarifs-resume-prix .df-tarif-sep {
    color: var(--df-muted, #6b7280);
    margin: 0 .35em;
    font-weight: 400;
}
.df-tarifs-resume-prix .df-tarif-unite {
    color: var(--df-muted, #6b7280);
    font-weight: 400;
    font-size: .92em;
}
@media (max-width: 520px) {
    .df-tarifs-resume tbody td { padding: .7rem .8rem; font-size: .92rem; }
    .df-tarifs-resume thead th { padding: .6rem .8rem; }
}

.df-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5em;
}
.df-facteurs {
    list-style: none;
    padding: 0;
    margin: 0;
}
.df-facteurs li {
    padding: .5em 0 .5em 1.5em;
    position: relative;
    border-bottom: 1px solid var(--df-border);
}
.df-facteurs li:last-child { border-bottom: 0; }
.df-facteurs li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--df-accent);
    font-weight: 700;
}
.df-duree {
    font-size: 1.2em;
    color: var(--df-accent-dark);
    font-weight: 600;
}

/* ── FAQ ─────────────────────────────────────────────── */
.df-faq-list {
    display: flex;
    flex-direction: column;
    gap: .6em;
}
.df-faq-item {
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    padding: 0;
}
.df-faq-item summary {
    padding: 1em 1.2em;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 2.5em;
}
.df-faq-item summary::-webkit-details-marker { display: none; }
.df-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    color: var(--df-accent);
    font-size: 1.4em;
    font-weight: 700;
}
.df-faq-item[open] summary::after { content: "−"; }
.df-faq-item p {
    padding: 0 1.2em 1.2em;
    margin: 0;
    color: #444;
    line-height: 1.6;
}

/* ── Villes alentours ─────────────────────────────────── */
.df-villes-proches {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .5em;
    list-style: none;
    padding: 0;
    margin: 0;
}
.df-villes-proches li a {
    display: block;
    padding: .6em .9em;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    text-decoration: none;
    color: var(--df-text);
    transition: background .15s, border-color .15s;
}
.df-villes-proches li a:hover {
    background: var(--df-bg);
    border-color: var(--df-accent);
}
.df-villes-proches .df-distance { color: var(--df-muted); font-size: .85em; }
.df-villes-proches .df-nb-pros { color: var(--df-accent-dark); font-weight: 600; }

/* ── Maillage interne (fiche entreprise) : badges autres pros + nav ── */
.df-maillage-pros {
    list-style: none;
    padding: 0;
    margin: .5em 0 1.4em;
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
}
.df-maillage-pros a {
    display: inline-block;
    padding: .35em .85em;
    font-size: .85em;
    line-height: 1.3;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: 999px;
    color: var(--df-text);
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
}
.df-maillage-pros a:hover {
    border-color: var(--df-accent);
    background: var(--df-bg);
    color: var(--df-accent-dark);
}
/* Ville / département : badges accent, plus marqués */
.df-maillage-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .7em;
    margin: 0;
}
.df-maillage-badge {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    padding: .6em 1.1em;
    background: var(--df-accent);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, transform .1s;
}
.df-maillage-badge:hover {
    background: var(--df-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* ── Page entreprise : 1er bloc 2 colonnes (60% infos / 40% devis) ── */
.df-fiche-top {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: clamp(1.5em, 3vw, 2.5em);
    align-items: start;
}
.df-fiche-top-info > section {
    margin: 0 0 2em;
}
.df-fiche-top-info > section:last-child { margin-bottom: 0; }
.df-fiche-top-form .df-block {
    margin-block: 0 !important;
    padding-inline: 0 !important;
}
.df-fiche-top-form .df-block-devis-form .df-form-card--split {
    /* Dans le sidebar 40%, on stacke (intro masquée via showArguments=false,
       seul le formulaire reste). */
    grid-template-columns: 1fr;
    max-width: none;
    padding: clamp(1.2em, 2.5vw, 1.8em);
}

/* Header de la fiche entreprise : bloc avec fond dégradé, sous le breadcrumb.
   (Pas un hero — la page n'utilise pas le mode transparent header.) */
.df-fiche-header {
    display: flex;
    align-items: center;
    gap: clamp(1em, 2.5vw, 2em);
    flex-wrap: wrap;
    margin: 0 0 2em;
    padding: clamp(1.5em, 3vw, 2em);
    border-radius: var(--df-radius);
    background-image: linear-gradient(135deg, var(--df-accent) 0%, var(--df-accent-dark) 100%);
    color: #fff;
}
.df-fiche-logo {
    flex-shrink: 0;
    width: 300px;
    max-width: 100%;
    height: auto;
    background: #fff;
    border-radius: var(--df-radius);
    padding: 10px 14px;
    box-sizing: border-box;
}
.df-fiche-header-content { flex: 1; min-width: 240px; }
.df-fiche-header h1 {
    margin: 0 0 .3em;
    color: #fff;
    font-size: clamp(1.6em, 3vw, 2.2em);
    line-height: 1.15;
}
.df-fiche-lead {
    margin: 0 0 .5em;
    color: rgba(255, 255, 255, .9);
    font-size: 1.05em;
}
.df-fiche-address {
    margin: 0 0 .9em;
    color: rgba(255, 255, 255, .85);
    font-size: .95em;
}
.df-fiche-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5em;
    margin: 0;
}
.df-fiche-pills .df-pill {
    color: var(--df-accent-dark);
    background: rgba(255, 255, 255, .92);
    border: 0;
}
.df-fiche-pills .df-pill--ghost {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .5);
}
@media (max-width: 880px) {
    .df-fiche-top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .df-fiche-logo { width: 200px; }
}

/* Carte inline (dans la colonne gauche du 1er bloc) — un peu plus compacte. */
.df-section--map-inline { margin-top: 1.5em; }
.df-section--map-inline .df-map { height: 320px; }

/* Placeholders « Votre entreprise ici » dans les listings ville / dept. */
.df-pro--placeholder {
    background: var(--df-bg);
    border-style: dashed !important;
    border-color: var(--df-accent) !important;
    text-align: center;
}
.df-pro--placeholder h3 {
    color: var(--df-accent-dark);
    font-size: 1em;
    margin: 0 0 .3em;
}
.df-pro--placeholder .df-pro-meta {
    color: var(--df-muted);
    font-size: .88em;
    margin: 0 0 .5em;
}
.df-pro--placeholder .df-pro-cta {
    margin: 0;
}
.df-pro--placeholder .df-pro-cta a {
    color: var(--df-accent-dark);
    font-weight: 700;
    text-decoration: none;
    font-size: .9em;
}
.df-pro--placeholder .df-pro-cta a:hover { text-decoration: underline; }

/* Page Tarifs / Inscription. */
.df-tarifs-benefits {
    list-style: none;
    padding: 0;
    margin: 1em 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: .5em 1.2em;
}
.df-tarifs-benefits li {
    padding: .5em 0 .5em 1.8em;
    position: relative;
    line-height: 1.5;
}
.df-tarifs-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .5em;
    color: var(--df-accent);
    font-weight: 700;
}
.df-tarifs-subtitle {
    color: var(--df-muted);
    margin: 0 0 1.5em;
}
.df-tarifs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 offres sur une ligne (desktop) */
    gap: 1em;
    margin: 1em 0 2em;
}
@media (max-width: 1100px) {
    .df-tarifs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
    .df-tarifs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
    .df-tarifs-grid { grid-template-columns: 1fr; }
}
.df-tarif-card {
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    padding: 1.4em 1.3em;
    transition: border-color .15s, transform .1s, box-shadow .15s;
}
.df-tarif-card:hover {
    border-color: var(--df-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}
.df-tarif-card--popular {
    border: 2px solid var(--df-accent);
    position: relative;
}
.df-tarif-card--popular::before {
    content: "Le plus choisi";
    position: absolute;
    top: -.7em; right: 1em;
    background: var(--df-accent);
    color: #fff;
    padding: .2em .7em;
    border-radius: 999px;
    font-size: .75em;
    font-weight: 700;
}
.df-tarif-card header {
    margin: 0 0 .8em;
    padding: 0 0 .8em;
    border-bottom: 1px solid var(--df-border);
}
.df-tarif-tier {
    display: inline-block;
    font-size: .82em;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--df-muted);
    font-weight: 600;
}
.df-tarif-price {
    margin: .2em 0 0;
    font-size: 1em;
    color: var(--df-muted);
}
.df-tarif-price strong {
    color: var(--df-accent-dark);
    font-size: 2em;
    line-height: 1;
    margin-right: .15em;
}
.df-tarif-target {
    margin: 0 0 .5em;
    color: var(--df-text);
}
.df-tarif-note {
    margin: 0;
    color: var(--df-muted);
    font-size: .92em;
    line-height: 1.4;
}
.df-inscription-form {
    background: var(--df-bg);
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    padding: 1.6em;
    margin-top: 1em;
}
.df-inscription-form .df-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8em;
}
.df-inscription-form .df-field { margin-bottom: .8em; }
.df-inscription-form label {
    display: block;
    font-size: .85em;
    font-weight: 600;
    margin-bottom: .25em;
}
.df-inscription-form input,
.df-inscription-form textarea {
    width: 100%;
    padding: .6em .8em;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    font: inherit;
    box-sizing: border-box;
    background: #fff;
}
.df-inscription-form input:focus,
.df-inscription-form textarea:focus {
    outline: 2px solid var(--df-accent);
    outline-offset: -1px;
}
.df-inscription-form .df-form-submit {
    background: var(--df-accent);
    color: #fff;
    border: 0;
    padding: .8em 1.6em;
    font: inherit;
    font-weight: 700;
    border-radius: var(--df-radius);
    cursor: pointer;
    margin-top: .4em;
}
.df-inscription-form .df-form-submit:hover { background: var(--df-accent-dark); }
.df-inscription-form .df-form-submit:disabled { background: var(--df-muted); cursor: wait; }
.df-inscription-form .df-form-msg {
    margin-top: .9em;
    padding: .7em .9em;
    border-radius: var(--df-radius);
    font-size: .92em;
}
.df-inscription-form .df-form-msg--ok  { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.df-inscription-form .df-form-msg--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
@media (max-width: 600px) {
    .df-inscription-form .df-form-row { grid-template-columns: 1fr; }
}

/* CTA "Ajouter votre entreprise" — bouton blanc sur hero sombre/vert. */
.df-hero-cta { margin: 1.2em 0 0; }
.df-btn--on-hero {
    display: inline-block;
    padding: .75em 1.4em;
    background: rgba(255, 255, 255, .95);
    color: var(--df-accent-dark);
    border-radius: var(--df-radius);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
    transition: background .15s, transform .1s, box-shadow .15s;
}
.df-btn--on-hero:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .2);
    color: var(--df-accent-dark);
}

/* ── Logo entreprise dans le bloc Coordonnées ── */
.df-coord-logo {
    display: block;
    max-height: 45px;
    max-width: 100%;
    width: auto;
    margin: 0 0 1em;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    padding: 6px 10px;
}

/* ── Bouton « C'est votre entreprise ? » → page Enrichir ── */
.df-coord-claim {
    display: inline-block;
    margin-top: 1em;
    padding: .55em 1em;
    background: #fff;
    border: 1px dashed var(--df-accent);
    border-radius: var(--df-radius);
    color: var(--df-accent-dark);
    font-size: .9em;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}
.df-coord-claim:hover {
    background: var(--df-bg);
    border-style: solid;
}

/* ── Page « Enrichir ma fiche » ── */
.df-enrichir-list {
    list-style: none;
    padding: 0;
    margin: 1.4em 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: .8em 1.4em;
}
.df-enrichir-list li {
    padding: .8em 1em;
    background: var(--df-bg);
    border-radius: var(--df-radius);
    border-left: 3px solid var(--df-accent);
    line-height: 1.5;
}
.df-enrichir-note {
    color: var(--df-muted);
    text-align: center;
    margin: 1.5em 0;
}
.df-back-to-fiche {
    margin-top: 2em;
    color: var(--df-muted);
}
.df-back-to-fiche a {
    color: var(--df-accent-dark);
    font-weight: 600;
    text-decoration: none;
}
.df-back-to-fiche a:hover { text-decoration: underline; }

/* ── Photos (max 3) ── */
.df-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1em;
}
.df-photo-item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--df-radius);
    border: 1px solid var(--df-border);
    background: var(--df-bg);
}
.df-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}
.df-photo-item:hover img { transform: scale(1.04); }

/* ── « Enrichir ma fiche » : CTA + formulaire (page entreprise) ── */
.df-enrichir-card {
    background: var(--df-bg);
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    padding: 1.6em 1.6em 1.4em;
}
.df-enrichir-card h2 { margin-top: 0; }
.df-enrichir-intro { color: #444; margin: .3em 0 1.4em; }
.df-enrichir-form .df-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8em;
}
.df-enrichir-form .df-field { margin-bottom: .8em; }
.df-enrichir-form label {
    display: block;
    font-size: .85em;
    font-weight: 600;
    margin-bottom: .25em;
}
.df-enrichir-form input,
.df-enrichir-form textarea {
    width: 100%;
    padding: .6em .8em;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    font: inherit;
    box-sizing: border-box;
    background: #fff;
}
.df-enrichir-form input:focus,
.df-enrichir-form textarea:focus {
    outline: 2px solid var(--df-accent);
    outline-offset: -1px;
    border-color: var(--df-accent);
}
.df-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.df-enrichir-options {
    border: 0;
    padding: 0;
    margin: 0 0 1em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: .35em 1em;
}
.df-enrichir-options legend {
    font-weight: 600;
    margin-bottom: .5em;
    padding: 0;
}
.df-enrichir-options label {
    display: flex;
    align-items: center;
    gap: .5em;
    font-weight: 400;
    font-size: .95em;
    margin: 0;
}
.df-enrichir-options input {
    width: auto;
    accent-color: var(--df-accent);
}
.df-enrichir-form .df-form-submit {
    display: inline-block;
    background: var(--df-accent);
    color: #fff;
    border: 0;
    padding: .8em 1.6em;
    font: inherit;
    font-weight: 700;
    border-radius: var(--df-radius);
    cursor: pointer;
    transition: background .15s;
}
.df-enrichir-form .df-form-submit:hover { background: var(--df-accent-dark); }
.df-enrichir-form .df-form-submit:disabled { background: var(--df-muted); cursor: wait; }
.df-enrichir-form .df-form-msg {
    margin-top: .9em;
    padding: .7em .9em;
    border-radius: var(--df-radius);
    font-size: .92em;
}
.df-enrichir-form .df-form-msg--ok  { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.df-enrichir-form .df-form-msg--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
@media (max-width: 600px) {
    .df-enrichir-form .df-form-row { grid-template-columns: 1fr; }
}

/* ── Arguments / réassurance autour du devis ───────────── */
.df-args {
    list-style: none;
    padding: 0;
    margin: 1em 0 1.5em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .6em;
}
.df-args li {
    display: flex;
    align-items: center;
    gap: .6em;
    padding: .7em .9em;
    background: #fff;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    font-size: .95em;
    line-height: 1.3;
}
.df-args svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--df-accent);
    background: var(--df-accent);
    color: #fff;
    border-radius: 50%;
    padding: 3px;
}

/* ── Formulaire devis ────────────────────────────────── */
.df-devis {
    background: var(--df-bg);
    padding: 1.5em;
    border-radius: var(--df-radius);
    border: 1px solid var(--df-border);
    margin: 2em 0;
}
.df-devis h2 { margin-top: 0; border-color: var(--df-accent); }
.df-devis form { display: grid; gap: .8em; }
.df-devis label { font-weight: 600; font-size: .95em; }
.df-devis label small { font-weight: 400; color: var(--df-muted); }
.df-devis input,
.df-devis textarea {
    width: 100%;
    padding: .6em .8em;
    font-size: 1em;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}
.df-devis input:focus,
.df-devis textarea:focus {
    outline: 2px solid var(--df-accent);
    outline-offset: -1px;
    border-color: var(--df-accent);
}
.df-devis .df-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8em;
}
.df-devis button {
    background: var(--df-accent);
    color: #fff;
    border: 0;
    padding: .9em 1.5em;
    font-size: 1em;
    border-radius: var(--df-radius);
    cursor: pointer;
    font-weight: 600;
}
.df-devis button:hover { background: var(--df-accent-dark); }
.df-devis button:disabled { opacity: .6; cursor: wait; }
.df-devis .df-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.df-devis-msg {
    margin-top: 1em;
    padding: .8em 1em;
    border-radius: var(--df-radius);
    display: none;
}
.df-devis-msg.df-ok {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}
.df-devis-msg.df-err {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ── Fiche entreprise ─────────────────────────────────── */
.df-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5em;
    margin: 1.5em 0;
}
.df-info-grid h2 {
    font-size: 1.05em;
    color: var(--df-muted);
    margin: 0 0 .5em;
    border: 0;
    padding: 0;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 600px) {
    .df-devis .df-row-2 { grid-template-columns: 1fr; }
    .df-page h1 { font-size: 1.5em; }
    .df-hero {
        min-height: 280px;
        padding: 2em 1em 1.5em;
    }
    .df-hero h1 { font-size: 1.7em; }
    .df-hero-lead { font-size: 1em; }
    .df-tarif-row {
        grid-template-columns: 1fr;
        gap: .5em;
    }
    .df-tarif-row-prix {
        text-align: left;
    }
}


/* ═══════════════ Page ville « riche » (v2) ═══════════════ */
.df-tarifs-ville tr.df-tarifs-group td {
    background: var(--df-bg);
    font-size: .98em;
    padding-top: 12px;
}
.df-tarifs-ville .df-tarifs-prix { white-space: nowrap; font-weight: 600; color: var(--df-accent-dark); text-align: right; }

/* Baromètre */
.df-baro p { color: #374151; line-height: 1.6; }

/* Aides */
.df-aides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 12px;
}
.df-aide-card {
    border: 1px solid var(--df-border);
    border-left: 4px solid var(--df-accent);
    border-radius: var(--df-radius);
    padding: 16px 18px;
    background: #fff;
}
.df-aide-card h3 { margin: 0 0 .4em; font-size: 1.05em; color: var(--df-accent-dark); }
.df-aide-card p { margin: 0; color: #4b5563; font-size: .95em; line-height: 1.55; }

/* Process 4 étapes */
.df-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 14px;
}
.df-step {
    position: relative;
    padding: 18px 18px 18px 20px;
    border: 1px solid var(--df-border);
    border-radius: var(--df-radius);
    background: #fff;
}
.df-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--df-accent);
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}
.df-step h3 { margin: 0 0 .3em; font-size: 1.02em; }
.df-step p { margin: 0; color: var(--df-muted); font-size: .93em; line-height: 1.5; }

/* CTA final */
.df-cta-final {
    text-align: center;
    background: linear-gradient(135deg, var(--df-accent), var(--df-accent-dark));
    color: #fff;
    border-radius: 12px;
    padding: 34px 24px;
}
.df-cta-final h2 { color: #fff; border: 0; margin: 0 0 .4em; }
.df-cta-final p { color: rgba(255,255,255,.92); margin: 0 auto 18px; max-width: 640px; }
.df-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--df-accent-dark);
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform .15s ease;
}
.df-cta-btn:hover { transform: translateY(-2px); }

/* ═══════════════ Hero split (dégradé + formulaire) ═══════════════ */
.df-hero--gradient { background-color: var(--df-accent-dark); }
.df-hero--split { align-items: center; padding: 3.2em 1.2em; min-height: 0; }
.df-hero--split .df-hero-inner { position: relative; z-index: 1; max-width: 1260px; }
.df-hero--split h1 { text-shadow: none; font-size: 2.5em; }
/* Mention sous le H1 : à la ligne, sans tiret */
.df-hero--split h1 small {
    display: block;
    font-size: .44em;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    margin-top: .45em;
    letter-spacing: .01em;
}
.df-hero--split .df-hero-lead { text-shadow: none; color: rgba(255,255,255,.9); }

/* Badges du hero : pictos + chips pastel opaques (lisibles sur n'importe quelle photo) */
.df-hero-pills { gap: .45em; }
.df-hero-pills .df-pill {
    gap: .45em;
    border: 1px solid transparent;
    padding: .45em .85em;
    font-size: .92em;
    box-shadow: 0 2px 8px rgba(2, 12, 34, .18);
}
.df-pill-ico { font-size: 1.05em; line-height: 1; }
.df-pill--pros { background: #fff;     color: var(--df-accent-dark); border-color: #e2e8f0; }
.df-pill--geo  { background: #dbeafe;  color: #1e40af; border-color: #bfdbfe; }
.df-pill--ok   { background: #dcfce7;  color: #166534; border-color: #bbf7d0; }
.df-pill--fast { background: #fef3c7;  color: #92400e; border-color: #fde68a; }
.df-pill--geo strong  { color: #1e3a8a; }
.df-pill--ok strong   { color: #14532d; }
.df-pill--fast strong { color: #78350f; }
/* Variante avec photo derrière le dégradé : on remet une ombre douce sur le texte */
.df-hero--photo h1,
.df-hero--photo .df-hero-lead,
.df-hero--photo .df-hero-args li { text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.df-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 540px);
    gap: clamp(1.6rem, 4vw, 3.2rem);
    align-items: center;
}
.df-hero-text { min-width: 0; }
.df-hero-args {
    list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: .6em;
}
.df-hero-args li {
    position: relative; padding-left: 2em;
    color: #eaf1ff; font-weight: 600; font-size: 1.05em;
}
.df-hero-args li::before {
    content: "✓"; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.4em; height: 1.4em; border-radius: 50%;
    background: rgba(255,255,255,.18); color: #fff; font-size: .8em; font-weight: 900;
    border: 1px solid rgba(255,255,255,.4);
}
/* Formulaire dans le hero : carte BLANCHE, seule la colonne form (checklist déplacée à gauche) */
.df-hero-form { width: 100%; }
.df-hero-form .df-block-devis-form { margin: 0; }
.df-hero-form .df-form-card--split { grid-template-columns: 1fr; max-width: none; gap: 0; }
.df-hero-form .df-form-intro,
.df-hero-form .df-form-checklist { display: none; }
.df-hero-form .df-form-main {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 26px 60px rgba(2, 12, 34, .30);
}
.df-hero-form .df-form-main .df-form-title { color: var(--df-block-accent-dark); }
.df-hero-form .df-form-main .df-form-subtitle { color: #64748b; }
.df-hero-form .df-form-main .df-devis-form label { color: #334155; }
.df-hero-form .df-form-main .df-form-submit { background: var(--df-block-accent); color: #fff; }
.df-hero-form .df-form-main .df-form-submit:hover { background: var(--df-block-accent-dark); color: #fff; }
.df-hero-form .df-form-main .df-form-confirm-title,
.df-hero-form .df-form-main .df-form-confirm-text { color: #1f2937; }
@media (max-width: 880px) {
    .df-hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .df-hero--split { align-items: stretch; padding: 2.4em 1em; }
    .df-hero--split h1 { font-size: 2em; }
}

/* ═══════════════ Prestations proposées (grille de services) ═══════════════ */
/* Classes df-services* DISTINCTES des anciennes df-prestations/df-presta-card
   du DF d'origine (qui sont des grilles → provoquaient un chevauchement). */
.df-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 14px;
}
.df-service-card {
    border: 1px solid var(--df-border);
    border-top: 3px solid var(--df-accent);
    border-radius: var(--df-radius);
    padding: 16px 18px;
    background: #fff;
}
.df-service-card h3 { margin: 0 0 .5em; font-size: 1.08em; color: var(--df-accent-dark); }
.df-service-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35em; }
.df-service-card li {
    position: relative; padding-left: 1.3em; color: #4b5563; font-size: .95em; line-height: 1.45;
}
.df-service-card li::before {
    content: "›"; position: absolute; left: 0; color: var(--df-accent); font-weight: 700;
}

/* ═══════════════ Article « guide » : layout + sidebar ═══════════════ */
.df-page--guide { max-width: 1240px; }
.df-guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(1.5rem, 3vw, 2.6rem);
    align-items: start;
}
.df-guide-badge {
    display: inline-block; background: var(--df-bg); color: var(--df-accent-dark);
    border: 1px solid var(--df-border); border-radius: 999px;
    padding: .3em .85em; font-size: .8em; font-weight: 700; text-decoration: none;
    text-transform: uppercase; letter-spacing: .04em;
}
.df-guide-badge:hover { border-color: var(--df-accent); }
.df-guide-title { font-size: 2.1em; line-height: 1.2; margin: .45em 0 .3em; }
.df-guide-lead { font-size: 1.12em; color: #4b5563; margin: 0 0 1.3em; }
.df-guide-hero { margin: 0 0 1.8em; }
.df-guide-hero img {
    width: 100%; height: auto; display: block;
    border-radius: 12px; box-shadow: 0 14px 34px rgba(2,12,34,.16);
}
.df-guide-body { font-size: 1.03em; line-height: 1.68; }
.df-guide-body h2 { margin-top: 1.7em; }
.df-guide-body h3 { margin-top: 1.3em; font-size: 1.12em; }
.df-guide-body ul, .df-guide-body ol { padding-left: 1.25em; }
.df-guide-body li { margin: .35em 0; }

/* Tableaux dans les guides */
.df-guide-body table {
    width: 100%; border-collapse: collapse; margin: 1.5em 0;
    border: 1px solid var(--df-border); border-radius: var(--df-radius); overflow: hidden;
    font-size: .95em;
}
.df-guide-body thead { background: var(--df-accent); }
.df-guide-body thead th { color: #fff; text-align: left; font-weight: 700; }
.df-guide-body th, .df-guide-body td {
    padding: .7em .9em; border-bottom: 1px solid var(--df-border); vertical-align: top;
}
.df-guide-body tbody tr:nth-child(even) { background: #f8fafc; }
.df-guide-body tbody tr:last-child td { border-bottom: 0; }

/* Citation clé */
.df-guide-body blockquote {
    margin: 1.6em 0; padding: 1em 1.3em;
    border-left: 4px solid var(--df-accent);
    background: linear-gradient(90deg, rgba(31,95,191,.06), transparent);
    font-size: 1.08em; font-style: italic; color: #1f2937;
}
.df-guide-body blockquote p { margin: 0; }

/* Encadrés colorés */
.df-callout {
    margin: 1.5em 0; padding: 1em 1.2em 1em 3.1em;
    border-radius: 10px; border: 1px solid transparent; position: relative;
}
.df-callout > strong { display: block; margin-bottom: .35em; font-size: .95em; letter-spacing: .01em; }
.df-callout p { margin: 0; font-size: .97em; line-height: 1.6; }
.df-callout::before {
    position: absolute; left: 1em; top: .95em; font-size: 1.25em; line-height: 1;
}
.df-callout--tip  { background: #ecfdf5; border-color: #a7f3d0; }
.df-callout--tip > strong  { color: #065f46; }
.df-callout--tip::before   { content: "💡"; }
.df-callout--warn { background: #fef2f2; border-color: #fecaca; }
.df-callout--warn > strong { color: #991b1b; }
.df-callout--warn::before  { content: "⚠️"; }
.df-callout--info { background: #eff6ff; border-color: #bfdbfe; }
.df-callout--info > strong { color: #1e40af; }
.df-callout--info::before  { content: "ℹ️"; }

/* Sidebar */
.df-guide-side { position: sticky; top: 1.5rem; display: grid; gap: 1.1rem; }
.df-side-card {
    background: #fff; border: 1px solid var(--df-border);
    border-radius: 12px; padding: 1.1rem 1.2rem;
}
.df-side-title { font-size: 1.02em; margin: 0 0 .8em; border: 0; padding: 0; }
.df-side-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: .3em; }
.df-side-cats a {
    display: flex; justify-content: space-between; align-items: center; gap: .6em;
    padding: .5em .65em; border-radius: 8px; text-decoration: none;
    color: #475569; font-size: .93em; transition: background .15s, color .15s;
}
.df-side-cats a:hover { background: var(--df-bg); color: var(--df-accent-dark); }
.df-side-cats li.is-current a { background: var(--df-bg); color: var(--df-accent-dark); font-weight: 700; }
.df-side-count {
    background: var(--df-bg); color: var(--df-muted); border-radius: 999px;
    padding: .1em .55em; font-size: .8em; font-weight: 600; min-width: 1.6em; text-align: center;
}
.df-side-cats a:hover .df-side-count, .df-side-cats li.is-current .df-side-count {
    background: var(--df-accent); color: #fff;
}
.df-side-cta { background: linear-gradient(135deg, var(--df-accent), var(--df-accent-dark)); border: 0; color: #fff; }
.df-side-cta .df-side-title { color: #fff; }
.df-side-cta p { color: rgba(255,255,255,.92); font-size: .93em; margin: 0 0 1em; }
.df-side-cta .df-cta-btn { display: block; text-align: center; }

@media (max-width: 900px) {
    .df-guide-layout { grid-template-columns: 1fr; }
    .df-guide-side { position: static; }
    .df-guide-title { font-size: 1.7em; }
}

/* ── Guide : hero avec image à la une + formulaire ── */
.df-guide-badge--hero {
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    margin-bottom: .3em;
}
.df-guide-badge--hero:hover { background: rgba(255,255,255,.26); border-color: #fff; }
.df-hero--guide h1 { font-size: 2.15em; }
.df-hero--guide .df-hero-lead { max-width: 640px; }
/* Le CTA final et la sidebar renvoient vers le formulaire du hero */
html { scroll-behavior: smooth; }
#df-devis-form { scroll-margin-top: 90px; }

/* Nos templates gèrent eux-mêmes leur largeur : le conteneur Astra doit rester
   en flux normal (sur les articles il est en display:flex → hero à côté du main). */
body.df-tpl #content > .ast-container {
    display: block;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
body.df-tpl #content > .ast-container > .df-hero { margin-left: 0; margin-right: 0; }

/* ── Guide sans hero : en-tête, image à la une, CTA inline, formulaire dans le corps ── */
.df-guide-header { margin-bottom: 1.6em; }
.df-guide-figure { margin: 1.4em 0 0; }
.df-guide-figure img {
    width: 100%; height: auto; display: block;
    border-radius: 12px; box-shadow: 0 14px 34px rgba(2,12,34,.16);
}

/* Bandeau CTA au fil du texte */
.df-inline-cta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.2em; flex-wrap: wrap;
    margin: 2em 0; padding: 1.1em 1.4em;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--df-accent), var(--df-accent-dark));
    color: #fff;
}
.df-inline-cta p { margin: 0; font-weight: 700; font-size: 1.05em; }
.df-inline-cta .df-cta-btn { padding: .7em 1.4em; white-space: nowrap; }

/* Formulaire de devis intégré au corps de l'article */
.df-body-form {
    margin: 2.4em 0;
    padding: 1.6em 1.6em 1.2em;
    border: 1px solid var(--df-border);
    border-radius: 14px;
    background: var(--df-bg);
    scroll-margin-top: 90px;
}
.df-body-form-title { margin: 0 0 .25em; border: 0; padding: 0; display: block; font-size: 1.35em; }
.df-body-form-sub { margin: 0 0 1.2em; color: var(--df-muted); }
.df-body-form .df-block-devis-form { margin: 0; }
.df-body-form .df-form-card--split { grid-template-columns: 1fr; max-width: none; gap: 0; }
.df-body-form .df-form-intro { display: none; }
.df-body-form .df-form-main { box-shadow: 0 12px 30px rgba(2,12,34,.16); }
@media (max-width: 640px) {
    .df-inline-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .df-body-form { padding: 1.2em 1em 1em; }
}

/* Le bloc devis-form embarque son propre container (.df-block : max-width + padding-inline
   + margin-block 3.5rem). Dans le hero et dans le corps d'article on l'annule. */
.df-hero-form .df-block-devis-form,
.df-body-form .df-block-devis-form {
    max-width: none;
    margin-block: 0;
    margin-inline: 0;
    padding-inline: 0;
    width: 100%;
}
