/* ============================================================
   PRIX IMMOBILIER — Brand Sawadee Property
   Couleurs : #A88561 (caramel) · #f0ebe4 (beige) · #EDE6DB (bordure)
   Police   : Roboto, sans-serif
   ============================================================ */

/* ── Reset Houzez ── */
.prix-page h1,
.prix-page h2,
.prix-page h3 {
    text-transform: none;
    letter-spacing: normal;
    font-family: 'Roboto', sans-serif;
}

body.page-template-template-prix-vente .page-wrap,
body.page-template-template-prix-vente .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* ── Layout global ── */
.prix-page {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    color: #333333;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.prix-hero {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 520px;
    border-bottom: 1px solid #EDE6DB;
}

/* ── Panneau gauche ── */
.prix-hero__panel {
    background: #fff;
    padding: 36px 48px 48px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #EDE6DB;
}

/* ── Breadcrumb ── */
.prix-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.prix-breadcrumb a {
    color: #A88561;
    text-decoration: none;
}
.prix-breadcrumb a:hover {
    text-decoration: underline;
}
.prix-breadcrumb__sep { color: #d0c4b8; }
.prix-breadcrumb__current {
    color: #333333;
    font-weight: 500;
}

/* ── Barre de recherche ── */
.prix-search {
    margin-bottom: 20px;
}
.prix-search__wrap {
    position: relative;
}
.prix-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
}
.prix-search__input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px 13px 42px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #333;
    background: #fff;
    border: 1.5px solid #EDE6DB;
    border-radius: 10px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.prix-search__input::placeholder { color: #bbb; }
.prix-search__input:focus {
    border-color: #A88561;
    box-shadow: 0 0 0 3px rgba(168,133,97,.12);
}
.prix-search__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #EDE6DB;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(168,133,97,.14);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 9999;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
}
.prix-search__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background .1s;
    border-bottom: 1px solid #f5f0eb;
    width: 100%;
    box-sizing: border-box;
}
.prix-search__item:last-child { border-bottom: none; }
.prix-search__item:hover,
.prix-search__item--active {
    background: #f7f3ee;
}
.prix-search__item-main {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}
.prix-search__no-result {
    padding: 12px 16px;
    font-size: 13px;
    color: #bbb;
    text-align: center;
    list-style: none;
}

.prix-search__item-postal {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}
.prix-search__item-sub {
    font-size: 12px;
    color: #bbb;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Tabs Vente / Location ── */
.prix-tabs {
    display: flex;
    background: #f0ebe4;
    border: 1px solid #EDE6DB;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 28px;
    gap: 2px;
}
.prix-tab {
    flex: 1;
    padding: 9px 0;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    border-radius: 8px;
    transition: background .15s, color .15s;
    white-space: nowrap;
    text-align: center;
}
.prix-tab:hover { color: #A88561; }
.prix-tab--active {
    background: #A88561;
    color: #fff;
    font-weight: 600;
}
.prix-tab--active:hover { color: #fff; }
.prix-tab--disabled {
    opacity: .45;
    cursor: default;
    border: none;
    background: transparent;
    font-family: inherit;
}
.prix-tab--disabled:hover { color: #888; }
.prix-tab__tooltip {
    position: fixed;
    background: #fff;
    border: 1px solid #EDE6DB;
    border-top: 3px solid #A88561;
    color: #555;
    padding: 13px 18px;
    border-radius: 0 0 10px 10px;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
    max-width: 280px;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0,0,0,.10);
    font-weight: 400;
    pointer-events: none;
}

/* ── Titre H1 ── */
.prix-hero__title {
    font-size: 19px;
    font-weight: 400;
    color: #333333;
    line-height: 1.4;
    margin: 0 0 6px;
    text-align: center;
}
.prix-hero__title strong {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    display: block;
    margin-top: 2px;
}

/* ── Source ── */
.prix-hero__source {
    font-size: 12px;
    color: #bbb;
    margin: 0 0 0px;
    text-align: center;
}

/* ── Prix moyen ── */
.prix-hero__avg-label {
    font-size: 12px;
    font-weight: 500;
    color: #999;
    margin-bottom: 15px;
    text-align: center;
}
.prix-hero__avg-price {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
    text-align: center;
}

/* ── Barre de fourchette ── */
.prix-range-bar {
    margin-bottom: 10px;
    padding: 0 30px;
}
.prix-range-bar__track {
    position: relative;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #c8dbb5, #e8c97a 50%, #A88561 75%, #372F26);
    margin-bottom: 10px;
}
.prix-range-bar__marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #372F26;
    box-shadow: 0 1px 6px rgba(55, 47, 38, .25);
}
.prix-range-bar__labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
}

/* ── Disclaimer ── */
.prix-hero__disclaimer {
    margin-top: 16px;
    padding: 14px 16px;
    background: #f0ebe4;
    border-radius: 8px;
    font-size: 12px;
    color: #777;
    text-align: center;
    line-height: 1.6;
}
.prix-hero__disclaimer-link {
    color: #A88561;
    text-decoration: underline;
    white-space: nowrap;
}
.prix-hero__disclaimer-link:hover {
    color: #372F26;
}

/* ── CTA ── */
.prix-hero__cta {
    display: block;
    background: #A88561;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 100px;
    text-align: center;
    transition: background .15s;
    margin-top: auto;
    max-width: 260px;
    align-self: center;
    letter-spacing: .02em;
}
.prix-hero__cta:hover {
    background: #8f6e4b;
    color: #fff;
}

/* ══════════════════════════════════════════
   CARTE
══════════════════════════════════════════ */
.prix-hero__map-wrap {
    position: relative;
    min-height: 520px;
    background: #d4e9f7;
}

#prix-map {
    width: 100%;
    height: 100%;
    min-height: 520px;
}

.leaflet-tooltip.prix-tooltip--province {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.leaflet-container {
    background: #a8d3e8 !important;
    cursor: default;
    font-family: 'Roboto', sans-serif !important;
}
.leaflet-interactive { cursor: pointer !important; }

/* ── Tooltip carte ── */
.leaflet-tooltip.prix-tooltip {
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(55, 47, 38, .13);
    padding: 0;
    pointer-events: none;
}
.leaflet-tooltip.prix-tooltip::before { display: none; }

/* Labels de zone permanents (au-dessus des polygones via tooltipPane) */
.leaflet-tooltip.prix-zone-label {
    background: rgba(255, 255, 255, 0.72);
    border: none;
    border-radius: 4px;
    box-shadow: none;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    color: #372F26;
    letter-spacing: 0.2px;
    white-space: nowrap;
    pointer-events: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.leaflet-tooltip.prix-zone-label::before { display: none; }

.prix-map-tooltip {
    padding: 10px 14px;
    min-width: 140px;
}
.prix-map-tooltip__name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
    white-space: nowrap;
}
.prix-map-tooltip__label {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #aaa;
    margin-bottom: 2px;
    white-space: nowrap;
}
.prix-map-tooltip__price {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #A88561;
    white-space: nowrap;
}
.prix-map-tooltip__no-data {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #bbb;
    font-style: italic;
    white-space: nowrap;
}

/* ══════════════════════════════════════════
   TYPES DE BIEN
══════════════════════════════════════════ */
.prix-types {
    background: #fff;
    border-bottom: 1px solid #EDE6DB;
}
.prix-types__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 40px;
}
.prix-types__title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
}
.prix-types__accent {
    width: 32px;
    height: 3px;
    background: #A88561;
    border-radius: 2px;
    margin-bottom: 32px;
}

/* ── Tableau ── */
.prix-types__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.prix-types__table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}
.prix-types__table thead th {
    padding: 10px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 2px solid #EDE6DB;
    white-space: nowrap;
}
.prix-types__table thead th.prix-types__th-type {
    min-width: 160px;
}
.prix-types__table tbody tr {
    border-bottom: 1px solid #f5f0eb;
    transition: background .1s;
}
.prix-types__table tbody tr:last-child {
    border-bottom: none;
}
.prix-types__table tbody tr:hover {
    background: #faf8f5;
}
.prix-types__table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
}

/* Colonne type avec icône */
.prix-types__type {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #1a1a1a;
}
.prix-types__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f7f3ee;
    border-radius: 10px;
    flex-shrink: 0;
}
.prix-types__icon svg {
    width: 28px;
    height: 28px;
}

/* Prix */
.prix-types__price {
    font-weight: 700;
    color: #A88561;
    white-space: nowrap;
}

/* Annonces */
.prix-types__count {
    color: #888;
    font-size: 13px;
}

/* Rentabilité */
.prix-types__yield-badge {
    display: inline-block;
    background: #f0ebe4;
    color: #A88561;
    font-weight: 500;
    font-size: 13px;
    padding: 0px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.prix-types__na {
    color: #ccc;
}

/* ══════════════════════════════════════════
   TABS NAV
══════════════════════════════════════════ */
.prix-content-area {
    background: #faf8f5;
}

/* ── Description textuelle ── */
.prix-description-wrap {
    margin-top: 24px;
}
.prix-description {
    background: #fff;
    border: 1px solid #EDE6DB;
    border-radius: 14px;
    overflow: hidden;
}
.prix-description__title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    padding: 24px 28px 20px;
    margin: 0;
}
.prix-description__body {
    padding: 0 28px 26px;
}
.prix-description__body p {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin: 0 0 14px;
}
.prix-description__body p:last-child {
    margin-bottom: 0;
}

.prix-tabs-nav {
    padding-top: 32px;
}
.prix-tabs-nav__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    gap: 0;
}
.prix-tabs-nav__btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 18px 24px 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #999;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}
.prix-tabs-nav__btn:hover { color: #A88561; }
.prix-tabs-nav__btn--active {
    color: #A88561;
    border-bottom-color: #A88561;
}

/* ══════════════════════════════════════════
   VOISINAGE
══════════════════════════════════════════ */
.prix-voisinage {
    padding: 38px 0 40px 0;
}
.prix-voisinage__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px;
}
.prix-voisinage__title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 32px;
}
.prix-voisinage__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.prix-voisinage__card {
    background: #fff;
    border: 1px solid #EDE6DB;
    border-radius: 14px;
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.prix-voisinage__card-icon {
    display: block;
    width: 36px;
    height: 36px;
    background: #f0ebe4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.prix-voisinage__card-icon svg { width: 20px; height: 20px; }
.prix-voisinage__card-value {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    line-height: 1.1;
}
.prix-voisinage__card-label {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

/* Sections */
.prix-voisinage__section {
    margin-bottom: 48px;
}
.prix-voisinage__section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #EDE6DB;
}

/* Deux colonnes Démographie / Localisation */
.prix-voisinage__two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.prix-voisinage__box {
    background: #fff;
    border: 1px solid #EDE6DB;
    border-radius: 14px;
    overflow: hidden;
}
.prix-voisinage__box-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 16px 20px 14px;
    border-bottom: 1px solid #EDE6DB;
}

/* Type cards (section 2) */
.prix-voisinage__types {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.prix-voisinage__type-card {
    background: #fff;
    border: 1px solid #EDE6DB;
    border-radius: 14px;
    padding: 20px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.prix-voisinage__type-icon { width: 32px; height: 32px; margin-bottom: 6px; }
.prix-voisinage__type-icon svg { width: 32px; height: 32px; }
.prix-voisinage__type-name { font-size: 14px; font-weight: 600; color: #333; }
.prix-voisinage__type-count { font-size: 12px; color: #999; }
.prix-voisinage__type-price { font-size: 15px; font-weight: 600; color: #A88561; margin-top: 4px; }
.prix-voisinage__type-rent { font-size: 12px; color: #888; }

/* Tableau immobilier (conservé pour usage éventuel) */
.prix-voisinage__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #EDE6DB;
    border-radius: 14px;
    overflow: hidden;
}
.prix-voisinage__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}
.prix-voisinage__table thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    color: #666;
    letter-spacing: .04em;
    background: #faf8f5;
    white-space: nowrap;
}
.prix-voisinage__table tbody tr { border-top: 1px solid #f5f0eb; }
.prix-voisinage__table tbody td { padding: 13px 16px; }
.prix-voisinage__type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}
.prix-voisinage__type-icon { width: 26px; height: 26px; flex-shrink: 0; }
.prix-voisinage__type-icon svg { width: 26px; height: 26px; }
.prix-voisinage__price { font-weight: 500; color: #A88561; }

/* Détails localisation / démographie */
.prix-voisinage__details {
    padding: 8px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.prix-voisinage__detail-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
}
.prix-voisinage__detail-key {
    font-size: 13px;
    color: #666;
}
.prix-voisinage__detail-val {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-align: right;
}

/* ══════════════════════════════════════════
   TYPE BOXES
══════════════════════════════════════════ */
.prix-typeboxes {
    padding: 30px 0 40px 0;
}
.prix-typeboxes__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ── Box individuelle ── */
.prix-typebox {
    background: #fff;
    border: 1px solid #EDE6DB;
    border-radius: 14px;
    overflow: hidden;
    min-width: 0;
}

/* ── Header ── */
.prix-typebox__header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 28px 20px;
    border-bottom: 1px solid #f5f0eb;
}
.prix-typebox__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: #f7f3ee;
    border-radius: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}
.prix-typebox__icon svg {
    width: 32px;
    height: 32px;
}
.prix-typebox__title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px;
}
.prix-typebox__avg {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.prix-typebox__avg-label {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
}
.prix-typebox__avg-price {
    font-size: 22px;
    font-weight: 600;
    color: #A88561;
    letter-spacing: -0.3px;
}
.prix-typebox__avg-count {
    font-size: 12px;
    color: #bbb;
}

/* ── Tableau par chambres ── */
.prix-typebox__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 28px;
}
.prix-typebox__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}
.prix-typebox__table thead th {
    padding: 10px 20px 10px 0;
    text-align: left;
    font-size: 11px;
    font-weight: 500;
    color: #666666;
    letter-spacing: .04em;
    white-space: nowrap;
}
.th-short { display: none; }
.prix-typebox__table tbody tr {
    border-top: 1px solid #f5f0eb;
}
.prix-typebox__table tbody td {
    padding: 13px 20px 13px 0;
}
.prix-typebox__beds {
    font-weight: 500;
    color: #333;
}
.prix-typebox__price {
    font-weight: 500;
    color: #A88561;
    white-space: nowrap;
}
.prix-typebox__count {
    color: #aaa;
    font-size: 13px;
}
.prix-typebox__yield {
    /* réutilise .prix-types__yield-badge défini plus haut */
}
.prix-typebox__no-data-msg {
    padding: 16px 28px 24px;
    font-size: 13px;
    color: #bbb;
    font-style: italic;
    margin: 0;
}

/* ── Rentabilité ── */
.prix-rentabilite {
    background: #faf8f5;
    border-top: 1px solid #EDE6DB;
}
.prix-rentabilite__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 48px 40px 56px;
}
.prix-rentabilite__title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 32px;
}
.prix-rentabilite__kpis {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}
.prix-rentabilite__kpi {
    flex: 1;
    background: #fff;
    border: 1px solid #EDE6DB;
    border-radius: 14px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.prix-rentabilite__kpi-value {
    font-size: 28px;
    font-weight: 700;
    color: #A88561;
    line-height: 1.1;
}
.prix-rentabilite__kpi-label {
    font-size: 13px;
    color: #666;
}
.prix-rentabilite__table-wrap {
    background: #fff;
    border: 1px solid #EDE6DB;
    border-radius: 14px;
    overflow: hidden;
}
.prix-rentabilite__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.prix-rentabilite__table thead th {
    background: #EDE6DB;
    padding: 14px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #d8d0c5;
}
.prix-rentabilite__table tbody tr {
    border-bottom: 1px solid #f5f0eb;
}
.prix-rentabilite__table tbody tr:last-child {
    border-bottom: none;
}
.prix-rentabilite__table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
}
.prix-rentabilite__type {
    font-weight: 600;
    color: #333;
}
.prix-rentabilite__val {
    color: #444;
}
.prix-rentabilite__badge {
    display: inline-block;
    background: #f0ebe4;
    color: #A88561;
    font-weight: 500;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 20px;
}
.prix-rentabilite__na {
    color: #bbb;
}

/* ── CTA ── */
.prix-cta {
    background: #EDE6DB;
}
.prix-cta__inner {
    max-width: 1340px;
    margin: 0 auto;
    padding: 72px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.prix-cta__line1 {
    font-size: 17px;
    font-weight: 400;
    color: #666;
    margin: 0;
    line-height: 1.4;
}
.prix-cta__line2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 28px;
    line-height: 1.3;
}
.prix-cta__btn {
    display: inline-block;
    background: #A88561;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background 0.18s ease, transform 0.14s ease;
}
.prix-cta__btn:hover {
    background: #8f6e4e;
    color: #fff;
    transform: translateY(-1px);
}

/* ── FAQ / Maillage interne ── */
.prix-faq {
    background: #faf8f5;
    border-top: none;
    padding: 40px 0 56px;
}
.prix-faq__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.prix-faq__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
    text-align: center;
}
.prix-faq__item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e2d9;
    overflow: hidden;
}
.prix-faq__item:last-child {
    border-bottom: 1px solid #e8e2d9;
}
.prix-faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 26px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.prix-faq__question::-webkit-details-marker { display: none; }
.prix-faq__question-text {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
}
.prix-faq__chevron {
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    color: #333;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: none;
    transition: none;
}
.prix-faq__chevron::before {
    content: '+';
}
details[open] .prix-faq__chevron {
    transform: none;
}
details[open] .prix-faq__chevron::before {
    content: '−';
}
.prix-faq__answer {
    padding: 0 26px 24px;
}
.prix-faq__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.prix-faq__table thead th {
    background: #EDE6DB;
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #d8d0c5;
}
.prix-faq__table thead th:first-child { border-radius: 8px 0 0 0; }
.prix-faq__table thead th:last-child  { border-radius: 0 8px 0 0; }
.prix-faq__table tbody tr {
    border-bottom: 1px solid #f5f0eb;
}
.prix-faq__table tbody tr:last-child { border-bottom: none; }
.prix-faq__table tbody td {
    padding: 13px 16px;
    vertical-align: middle;
    color: #444;
}
.prix-faq__zone a {
    color: #A88561;
    text-decoration: none;
    font-weight: 500;
}
.prix-faq__zone a:hover { text-decoration: underline; }
.prix-faq__val { color: #333; }
.prix-faq__type-label { color: #333; }
.prix-faq__row--global {
    border-top: 2px solid #EDE6DB;
    background: #faf8f5;
}

/* ── CTA final sombre ── */
.prix-cta-final {
    background: #372F26;
    padding: 72px 40px 0;
    text-align: center;
}
.prix-cta-final::after {
    content: '';
    display: block;
    width: 80%;
    margin: 56px auto 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.prix-cta-final__inner {
    max-width: 680px;
    margin: 0 auto;
}
.prix-cta-final__sub {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    color: #A88561;
    margin: 0 0 18px;
}
.prix-cta-final__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 20px;
}
.prix-cta-final__text {
    font-size: 16px;
    color: #b0a89e;
    line-height: 1.7;
    margin: 0 0 36px;
}
.prix-cta-final__btn {
    display: inline-block;
    background: #A88561;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s;
}
.prix-cta-final__btn:hover {
    background: #967550;
    color: #fff;
}
@media (max-width: 600px) {
    .prix-cta-final              { padding: 52px 24px; }
    .prix-cta-final__title       { font-size: 24px; }
    .prix-cta-final__text        { font-size: 15px; }
    .prix-cta-final__btn         { padding: 10px 32px; font-size: 15px; }
}

/* ── Bouton location sous FAQ ── */
.prix-location-cta {
    background: #faf8f5;
    padding: 0 0 56px;
    text-align: center;
}
.prix-location-cta__btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #A88561;
    color: #A88561;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 36px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.prix-location-cta__btn:hover {
    background: #A88561;
    color: #fff;
}

/* ══════════════════════════════════════════
   CALCULATEUR PRIX VENTE
══════════════════════════════════════════ */
.prix-calculator {
    background: #faf8f5;
    padding: 40px 15px;
}
.prix-calculator__inner { max-width: 1100px; margin: 0 auto; }
.prix-calculator__header { text-align: center; margin-bottom: 36px; }
.prix-calculator__pill {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(168,133,97,.12);
    color: #A88561;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 20px;
    border: 1px solid rgba(168,133,97,.3);
    margin-bottom: 14px;
}
.prix-calculator__title {
    font-size: 30px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
    line-height: 1.25;
}
.prix-calculator__title em { font-style: normal; color: #A88561; }
.prix-calculator__subtitle { color: #888; font-size: 15px; margin: 0; }

/* Bloc calculateur */
.sp-calc {
    --sp-primary:      #A88561;
    --sp-primary-dark: #372F26;
    --sp-bg:           #f0ebe4;
    --sp-card:         #fff;
    --sp-text:         #333333;
    --sp-muted:        #888;
    --sp-border:       #EDE6DB;
    --sp-border-s:     #D4CBBC;
    --sp-good-bg:      #edf5f0;
    --sp-good-fg:      #1f5a3f;
    --sp-good-ic:      #3a7a5c;
    --sp-info-bg:      #faf3e0;
    --sp-info-fg:      #6b5520;
    --sp-info-ic:      #8a7035;
    --sp-warn-bg:      #faeae4;
    --sp-warn-fg:      #8a3015;
    --sp-warn-ic:      #b5451b;
    font-family: 'Roboto', sans-serif;
    color: var(--sp-text);
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--sp-border);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(55,47,38,.06), 0 12px 32px rgba(55,47,38,.07);
}
.sp-calc * { box-sizing: border-box; }

/* Toggle Acheter / Vendre */
.sp-mode {
    display: flex;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #EDE6DB;
    border-radius: 100px;
    padding: 5px;
    width: fit-content;
    margin: 0 auto 28px;
}
.sp-mode__btn {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 100px;
    padding: 10px 22px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: all .2s;
}
.sp-mode__btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.sp-mode__btn:hover { color: #333; }
.sp-mode__btn.is-active {
    background: #A88561;
    color: #fff;
    box-shadow: 0 2px 8px rgba(168,133,97,.3);
}

/* Corps : 2 colonnes */
.sp-calc__body {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}
.sp-calc__inputs {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sp-calc__results {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Inputs */
.sp-ig.is-hidden { display: none; }
.sp-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.sp-type-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    background: var(--sp-bg);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--sp-border);
}
.sp-type-tabs__btn {
    background: transparent;
    border: none;
    padding: 9px 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-muted);
    border-radius: 7px;
    cursor: pointer;
    transition: all .2s;
}
.sp-type-tabs__btn:hover { color: var(--sp-text); background: rgba(255,255,255,.55); }
.sp-type-tabs__btn.is-active { background: var(--sp-primary); color: #fff; }

.sp-select, .sp-field {
    width: 100%;
    padding: 11px 14px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: var(--sp-text);
    background: var(--sp-bg);
    border: 1.5px solid var(--sp-border-s);
    border-radius: 8px;
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.sp-select:focus, .sp-field:focus { outline: none; border-color: var(--sp-primary); }
.sp-fw { position: relative; }
.sp-fw .sp-sfx {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    font-size: 13px; font-weight: 600;
    color: var(--sp-muted);
    pointer-events: none;
}
.sp-fw .sp-field { padding-right: 44px; }

/* Toggle devise ฿ / € — intégré dans .sp-rmain */
.sp-rmain__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}
.sp-currency {
    display: flex;
    background: rgba(255,255,255,.15);
    padding: 3px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,.25);
}
.sp-currency__btn {
    background: transparent;
    border: none;
    padding: 4px 11px;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.7);
    border-radius: 5px;
    cursor: pointer;
    transition: all .2s;
}
.sp-currency__btn:hover { color: #fff; }
.sp-currency__btn.is-active {
    background: rgba(255,255,255,.9);
    color: #A88561;
}

/* Résultats */
.sp-rmain {
    background: #A88561;
    color: #fff;
    border-radius: 12px;
    padding: 22px 24px;
}
.sp-rmain__lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.7);
    font-weight: 600;
}
.sp-rmain__val {
    font-size: clamp(26px,3.8vw,36px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}
.sp-rmain__range {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255,255,255,.8);
}
.sp-rmain__range strong { color: #fff; font-weight: 600; }

.sp-rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp-rcard {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 10px;
    padding: 14px 16px;
}
.sp-rcard.is-hidden { display: none; }
.sp-rcard--hl { background: rgba(168,133,97,.07); border-color: rgba(168,133,97,.35); }
.sp-rcard__lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--sp-muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.sp-rcard__val { font-size: 19px; font-weight: 700; color: var(--sp-text); line-height: 1.2; }
.sp-rcard--hl .sp-rcard__val { color: var(--sp-primary); }

.sp-msg {
    border-radius: 10px;
    padding: 13px 15px;
    font-size: 13.5px;
    line-height: 1.55;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.sp-msg.is-hidden { display: none; }
.sp-msg__ic { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.sp-msg--good { background: var(--sp-good-bg); color: var(--sp-good-fg); }
.sp-msg--good .sp-msg__ic { color: var(--sp-good-ic); }
.sp-msg--info { background: var(--sp-info-bg); color: var(--sp-info-fg); }
.sp-msg--info .sp-msg__ic { color: var(--sp-info-ic); }
.sp-msg--warn { background: var(--sp-warn-bg); color: var(--sp-warn-fg); }
.sp-msg--warn .sp-msg__ic { color: var(--sp-warn-ic); }
.sp-msg--empty {
    background: var(--sp-bg);
    color: var(--sp-muted);
    border: 1px dashed var(--sp-border-s);
    font-size: 13px;
}
.sp-msg strong { font-weight: 700; }

.sp-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #372F26;
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all .2s;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}
.sp-cta-btn:hover {
    background: #A88561;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.sp-cta-btn__arrow { transition: transform .2s; }
.sp-cta-btn:hover .sp-cta-btn__arrow { transform: translateX(3px); }

.sp-disclaimer {
    font-size: 11.5px;
    color: var(--sp-muted);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

@media (max-width: 900px) {
    .sp-calc__inputs { padding: 22px 20px; }
    .sp-calc__results { padding: 22px 20px; }
}
@media (max-width: 600px) {
    .sp-calc__body { grid-template-columns: 1fr; }
    .sp-calc__inputs { border-bottom: 1px solid var(--sp-border); padding: 20px; }
    .sp-calc__results { padding: 20px; }
    .sp-type-tabs { grid-template-columns: repeat(2, 1fr); }
    .sp-rgrid { grid-template-columns: 1fr; }
    .sp-mode__btn { font-size: 13px; padding: 10px 14px; }
    .prix-calculator__title { font-size: 24px; }
}
.sp-flash { animation: spFlash .3s ease; }
@keyframes spFlash {
    0%   { opacity: .5; transform: translateY(-2px); }
    100% { opacity: 1;  transform: translateY(0); }
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── Tablette (600px – 1100px) : 2 colonnes 50/50 ── */
@media (max-width: 1100px) {
    .prix-rentabilite__inner       { padding: 36px 24px 44px; }
    .prix-faq__inner               { max-width: 800px; padding: 0 24px; gap: 8px; }
    .prix-faq__question            { font-size: 15px; padding: 14px 22px; }
    .prix-faq__answer              { padding: 0 22px 20px; }
    .prix-rentabilite__table thead th,
    .prix-rentabilite__table tbody td { padding: 12px 14px; }
    .prix-cta__inner   { padding: 56px 24px; }
    .prix-cta__line2   { font-size: 23px; }
    .prix-cta__btn     { padding: 10px 40px; }
    .prix-hero {
        grid-template-columns: 50% 50%;
        min-height: 460px;
    }
    .prix-hero__panel {
        padding: 10px 24px 0px;
    }
    .prix-range-bar {
        margin-bottom: 10px;
    }
    .prix-tab {
        padding: 3px 0;
    }
    .prix-search__input {
        padding: 7px 16px 7px 42px;
    }
    .prix-hero__cta {
        padding: 8px 32px;
    }
    .prix-hero__map-wrap,
    #prix-map {
        min-height: 460px;
    }
}

@media (max-width: 900px) {
    .prix-types__inner              { padding: 36px 24px; }
    .prix-typeboxes__inner          { padding: 0 24px; grid-template-columns: 1fr 1fr; }
    .prix-typeboxes                 { padding: 36px 0; }
    .prix-typebox__avg-price        { font-size: 16px; }
    .prix-description__title        { font-size: 16px; padding: 18px 20px 16px; }
    .prix-description__body         { padding: 0 20px 20px; }
    .prix-tabs-nav__inner           { padding: 0 24px; }
    .prix-voisinage__inner          { padding: 0 24px; }
    .prix-voisinage__grid           { grid-template-columns: 1fr 1fr; }
    .prix-voisinage__two-cols       { grid-template-columns: 1fr; }
    .prix-voisinage__types          { grid-template-columns: 1fr 1fr; }
    .prix-typebox__table-wrap       { overflow-x: hidden; }
    .prix-typebox__table            { table-layout: fixed; width: 100%; }
    .prix-typebox__table thead th,
    .prix-typebox__table tbody td   { padding: 10px 8px; }
    .th-full                        { display: none; }
    .th-short                       { display: inline; }
}

/* ── Mobile (< 600px) : 1 colonne ── */
@media (max-width: 600px) {
    .prix-rentabilite__inner       { padding: 28px 15px 36px; }
    .prix-rentabilite__kpis        { flex-direction: column; }
    .prix-faq__inner               { max-width: 100%; padding: 0 15px; gap: 8px; }
    .prix-faq__question            { font-size: 14px; padding: 14px 16px; }
    .prix-faq__answer              { padding: 0 16px 16px; }
    .prix-faq__table thead th,
    .prix-faq__table tbody td      { padding: 10px 12px; font-size: 13px; }
    .prix-rentabilite__kpi-value   { font-size: 24px; }
    /* Tableau → cartes sur mobile */
    .prix-rentabilite__table thead { display: none; }
    .prix-rentabilite__table tbody tr {
        display: block;
        padding: 16px 20px;
        border-bottom: 1px solid #f5f0eb;
    }
    .prix-rentabilite__table tbody tr:last-child { border-bottom: none; }
    .prix-rentabilite__table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
        border-bottom: none;
        font-size: 14px;
    }
    .prix-rentabilite__table tbody td::before {
        content: attr(data-label);
        font-size: 12px;
        color: #888;
        font-weight: 400;
        flex-shrink: 0;
        margin-right: 12px;
    }
    .prix-rentabilite__type {
        font-size: 15px !important;
        font-weight: 700 !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid #f0ebe4 !important;
        margin-bottom: 4px;
    }
    .prix-rentabilite__type::before { display: none; }
    .prix-cta__inner   { padding: 44px 20px; }
    .prix-cta__line1   { font-size: 15px; }
    .prix-cta__line2   { font-size: 20px; margin: 0 0 18px; }
    .prix-cta__btn     { font-size: 15px; padding: 10px 32px; }
    .prix-hero {
        grid-template-columns: 1fr;
        min-height: unset;
    }
    .prix-hero__panel {
        padding: 12px 15px 0px;
        border-right: none;
        border-bottom: 1px solid #EDE6DB;
    }
    .prix-range-bar {
        padding: 0 24px;
    }
    .prix-hero__map-wrap,
    #prix-map {
        min-height: 300px;
    }
    .prix-types__inner      { padding: 28px 15px; }
    .prix-typeboxes__inner  { padding: 0 15px; grid-template-columns: 1fr; }
    .prix-typebox__header   { padding: 20px 16px 16px; gap: 12px; }
    .prix-typebox__icon     { width: 42px; height: 42px; }
    .prix-typebox__icon svg { width: 26px; height: 26px; }
    .prix-typebox__avg-price { font-size: 16px; }
    .prix-typebox__table-wrap { overflow-x: hidden; }
    .prix-typebox__table { table-layout: fixed; width: 100%; }
    .prix-typebox__table thead th,
    .prix-typebox__table tbody td { padding: 10px 8px; }
    .th-full { display: none; }
    .th-short { display: inline; }
    .prix-types__title { font-size: 17px; }
    .prix-types__table thead th { font-size: 11px; padding: 8px 10px; }
    .prix-types__table tbody td { padding: 12px 10px; }
    .prix-types__icon { width: 36px; height: 36px; }
    .prix-types__icon svg { width: 22px; height: 22px; }
    .prix-description__body p            { font-size: 14px; }
    .prix-tabs-nav__inner                { padding: 0 15px; }
    .prix-tabs-nav__btn                  { padding: 14px 16px 11px; font-size: 14px; }
    .prix-voisinage__inner               { padding: 0 15px; }
    .prix-voisinage__grid                { grid-template-columns: 1fr 1fr; gap: 12px; }
    .prix-voisinage__two-cols            { grid-template-columns: 1fr; gap: 16px; }
    .prix-voisinage__card                { padding: 18px 16px; }
    .prix-voisinage__card-value          { font-size: 20px; }
    .prix-voisinage__detail-key          { min-width: 130px; }
    .prix-voisinage__table thead th,
    .prix-voisinage__table tbody td      { padding: 10px 10px; font-size: 13px; }
}
