/* ======================================================
BASE LAYOUT
====================================================== */
body {
    background: #ffffff;
}
.pp-estim {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    background: #fffff;
    min-height: 100vh;
    box-sizing: border-box;
}
body,
.pp-estim {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}
@media(min-width:768px) {
    .pp-estim {
        padding-left: 0;
        padding-right: 0;
        margin: 20px auto;
    }
}
/* ======================================================
STEP CARD
====================================================== */
.pp-step {
    padding: 12px 20;
    margin-top: 10px;
    border: none;
    box-shadow: none;
    background: transparent;
}
/* ===============================
HEADER STRUCTURE
=============================== */
.pp-header {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1000;
    padding-top: 16px;
    padding-bottom: 16px;
}
.pp-header {
    border-bottom: 1px solid #e3e7ee;
}
.pp-header-title {
    font-size: 22px;
    font-weight: 600;
    color: #1c2a39;
    letter-spacing: -0.3px;
}
.pp-header-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #4a4a4a;
    line-height: 1.4;
    max-width: 320px;
}
/* ===============================
BARRE PLEINE
=============================== */
.pp-progress {
    width: 100%;
    height: 4px;
    background: #eef1f6;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 14px;
    margin-bottom: 10px;
}
.pp-progress-bar {
    height: 100%;
    width: 0%;
    background: #0A0F3B;
    border-radius: 999px;
    transition: width .4s ease;
}
/* ===============================
LABEL UNIQUE
=============================== */
.pp-progress-label {
    font-size: 13px;
    color: #0A0F3B;
}
.pp-progress-label span {
    font-weight: 400;
}
.pp-progress-label span.active {
    font-size: 14px;
    font-weight: 700;
}
.pp-progress-label span.disabled {
    opacity: 1;
    font-weight: 400;
    pointer-events: none;
}
.pp-progress-label {
    letter-spacing: -0.1px;
}
.pp-progress-label span+span::before {
    content: "›";
    margin: 0 2px;
    font-weight: 400;
}
/* ======================================================
INTRO STEP 1
====================================================== */
.pp-intro {
    margin: 14px 0 6px 0;
    padding: 14px 16px;
    background: #f6f8fb;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
}
.pp-intro-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #0A0F3B;
}
.pp-intro-text {
    font-size: 14px;
    color: #5f6b7a;
    line-height: 1.5;
}
/* ======================================================
TITRES
====================================================== */
.pp-h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 14px;
}
/* ======================================================
FORMULAIRE
====================================================== */
.pp-row {
    position: relative;
    margin-bottom: 30px;
}
.pp-label {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}
.pp-input {
    width: 100%;
    height: 48px;
    padding: 5px 10px;
    border: 1px solid #e3e7ee;
    border-radius: 10px;
    font-size: 16px;
    background: #ffffff !important;
    box-sizing: border-box;
}
.pp-input:focus {
    border-color: #0A0F3B;
    box-shadow: 0 0 0 3px rgba(10, 15, 59, .10);
    outline: none;
}
/* ======================================================
ICÔNES
====================================================== */
.pp-label-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    flex: 0 0 18px;
}
.pp-label-icon * {
    fill: none;
    stroke: #0A0F3B;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* ======================================================
AUTOCOMPLETE
====================================================== */
.pp-autocomplete {
    position: relative;
}
.pp-autocomplete-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
    z-index: 2000;
    max-height: 240px;
    overflow-y: auto;
}
.pp-autocomplete-item {
    padding: 12px 14px;
    cursor: pointer;
    font-size: 14px;
}
.pp-autocomplete-item:hover {
    background: #f1f3f8;
}
#ppAdresseResults:empty {
    display: none;
}
/* ======================================================
TYPE BIEN
====================================================== */
.pp-type-wrapper {
    display: flex;
}
.pp-type-card {
    flex: 1;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #dfe3ea;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #111;
}
.pp-type-card+.pp-type-card {
    margin-left: 14px;
}
.pp-type-card.selected {
    border-color: #0A0F3B;
    background: #f3f5fb;
    box-shadow: 0 0 0 2px rgba(10, 15, 59, .15);
}
.pp-type-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}
.pp-type-icon svg {
    width: 100%;
    height: 100%;
}
.pp-type-icon svg * {
    fill: none !important;
    stroke: #0A0F3B !important;
    stroke-width: 2;
}
/* ======================================================
SEGMENT
====================================================== */
.pp-segment {
    display: flex;
    margin: 10px -7px 0 -7px;
}
.pp-seg {
    flex: 1;
    margin: 0 7px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid #e3e7ee;
    background: #fff;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    color: #0A0F3B;
}
.pp-seg.active {
    border-color: #0A0F3B;
    background: #f4f6fb;
    box-shadow: none;
}
/* ======================================================
STEPPER
====================================================== */
.pp-stepper {
    display: grid;
    grid-template-columns: 1fr 44px 44px;
    border: 1px solid #e3e7ee;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}
.pp-stepper input {
    border: none;
    text-align: center;
    font-size: 16px;
    background: white;
}
.pp-stepper button {
    border: none;
    border-left: 1px solid #ddd;
    background: #f3f3f3;
    font-size: 22px;
    cursor: pointer;
    color: #0A0F3B;
}
.pp-stepper button:active {
    background: #e5e5e5;
}
.pp-stepper input:focus {
    outline: none;
}
.pp-stepper input::-webkit-inner-spin-button,
.pp-stepper input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pp-stepper input {
    -moz-appearance: textfield;
}
button {
    color: inherit;
}
/* ======================================================
BOUTONS NAVIGATION
====================================================== */
.pp-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 14px 14px;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
}
.pp-actions>* {
    margin-right: 12px;
    flex: 1;
}
.pp-actions>*:last-child {
    margin-right: 0;
}
.pp-btn {
    height: 52px;
    border-radius: 16px;
    border: 1px solid #dfe3ea;
    background: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
    color: #0A0F3B;
}
.pp-primary {
    background: #0A0F3B;
    border-color: #0A0F3B;
    color: #fff;
}
.pp-btn:disabled {
    opacity: .55;
    cursor: default;
}
/* ======================================================
STEP CALCUL
====================================================== */
.pp-load {
    margin-top: 18px;
}
.pp-load-row {
    display: flex;
    align-items: flex-start;
    padding: 14px 0;
    font-size: 17px;
}
.pp-load-row>* {
    margin-right: 14px;
}
.pp-load-row>*:last-child {
    margin-right: 0;
}
.pp-load-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ======================================================
ADRESSE RESULTAT
====================================================== */
.pp-addr-block {
    background: #f6f8fb;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    padding: 12px 14px;
    margin: 10px 0 16px;
}
.pp-addr-main {
    font-size: 13px;
    color: #0A0F3B;
    margin-bottom: 10px;
}
#ppAddrText {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pp-addr-chips {
    display: flex;
    flex-wrap: wrap;
    margin-top: 6px;
}
.pp-chip-mini {
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e3e8ef;
    color: #516173;
    margin: 0 5px 5px 0;
}
/* ======================================================
RESULTATS
====================================================== */
.pp-result-date {
    font-size: 18px;
    font-weight: 700;
    margin: 14px 0 10px;
}
.pp-prix-bloc {
    text-align: center;
    line-height: 1.05;
}
.pp-prix-main {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}
.pp-prix-m2 {
    font-size: 16px;
    margin: 0;
}
.pp-fourchette {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
}
.pp-fourchette>div {
    flex: 1;
}
.pp-fourchette>div:first-child {
    text-align: left;
}
.pp-fourchette>div:last-child {
    text-align: right;
}
.pp-fourchette-label {
    font-size: 10px;
    color: #9aa3ad;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.pp-fourchette-prix {
    font-size: 20px;
    font-weight: 600;
}
.pp-note-netvendeur {
    font-size: 12px;
    color: #7a8796;
    margin-top: 8px;
    text-align: center;
}
/* ======================================================
FIABILITE
====================================================== */
.pp-fiabilite {
    background: #f6f8fb;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    margin-top: 20px;
    padding: 15px;
		text-align: center;
}
.pp-fiabilite-note {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;

}
.pp-fiabilite-commentaire {
    font-size: 12px;
    color: #5f6b7a;
    line-height: 1.5;
    font-style: normal;
    text-align: justify;
		text-align: center;
}
.pp-fiabilite-conclusion {
    font-size: 13px;
    color: #5f6b7a;
    font-weight: 600;
    line-height: 1.5;
    text-align: justify;
		text-align: center;
}
/* ======================================================
STEP 2 LAYOUT
====================================================== */
.pp-step[data-step="2"] .pp-row {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    margin-bottom: 12px;
}
.pp-step[data-step="2"] label {
    text-align: left;
}
.pp-step[data-step="2"] input,
.pp-step[data-step="2"] select {
    width: 100%;
    box-sizing: border-box;
}
/* ======================================================
VISIBILITE
====================================================== */
[hidden] {
    display: none !important;
}
.pp-row-hidden {
    display: none !important;
}
select {
    -webkit-appearance: none;
    appearance: none;
    background-color: #ffffff;
    color: #0A0F3B;
}
button,
.pp-type-card,
.pp-seg,
.pp-stepper button {
    touch-action: manipulation;
}
/* =========================
   LOADING OVERLAY
========================= */
#ppLoadingOverlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}
.pp-loading-box {
    text-align: center;
}
.pp-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e3e7ee;
    border-top-color: #0A0F3B;
    border-radius: 50%;
    animation: ppSpin .8s linear infinite;
    margin: 0 auto 14px;
}
@keyframes ppSpin {
    to {
        transform: rotate(360deg);
    }
}
.pp-loading-text {
    font-size: 15px;
    color: #1c2a39;
    font-weight: 500;
}
.pp-label-icon,
.pp-type-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}