/*
Theme Name:   Houzez Child - De Pierre en Pierre
Theme URI:    https://depierreenpierre.fr
Description:  Thème enfant de Houzez personnalisé pour De Pierre en Pierre. Toutes les modifications custom du site sont ici. Ne jamais modifier le thème parent — il est écrasé à chaque mise à jour.
Author:       De Pierre en Pierre
Author URI:   https://depierreenpierre.fr
Template:     houzez
Version:      2.0.4-seo-v118
Text Domain:  houzez-child
*/

/* =====================================================
   VARIABLES — modifiez ici pour changer la charte globale
   ===================================================== */
:root {
    --dpep-primary: #2A8B7E;        /* vert teal de votre site actuel */
    --dpep-primary-dark: #1F6B62;
    --dpep-accent: #1F4E79;         /* bleu profond pour titres */
    --dpep-text: #2C2C2C;
    --dpep-text-soft: #5A5A5A;
    --dpep-bg-soft: #F4F1EC;        /* beige doux pour blocs alternés */
    --dpep-bg-alt: #FAF8F5;
    --dpep-border: #E5DFD4;
    --dpep-serif: 'Playfair Display', Georgia, serif;
    --dpep-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =====================================================
   CORRECTIFS GÉNÉRAUX du thème
   ===================================================== */

/* Cacher la mention "Louer" si elle traîne quelque part */
.dpep-hide-rent { display: none !important; }

/* =====================================================
   Indicateur de progression du tunnel d'annonce
   (déjà en place dans v1.1)
   ===================================================== */
.dpep-progress-wrap {
    margin: 0 0 24px 0;
    padding: 16px 20px;
    background: var(--dpep-bg-soft);
    border-radius: 6px;
    border: 1px solid var(--dpep-border);
}
.dpep-progress-text {
    font-size: 14px;
    color: var(--dpep-text-soft);
    margin-bottom: 8px;
    font-weight: 500;
}
.dpep-progress-text .dpep-current,
.dpep-progress-text .dpep-total {
    color: var(--dpep-accent);
    font-weight: 700;
}
.dpep-progress-bar {
    height: 6px;
    background: var(--dpep-border);
    border-radius: 3px;
    overflow: hidden;
}
.dpep-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dpep-accent), #2E75B6);
    border-radius: 3px;
    transition: width 0.3s ease;
}
@media (max-width: 768px) {
    .dpep-progress-wrap { padding: 12px 16px; }
    .dpep-progress-text { font-size: 13px; }
}

/* =====================================================
   Encart conseils photos sur le tunnel
   ===================================================== */
.dpep-photo-tips {
    background: var(--dpep-bg-soft);
    border-left: 4px solid var(--dpep-accent);
    padding: 16px 20px;
    margin: 0 0 20px 0;
    border-radius: 4px;
}
.dpep-photo-tips h4 {
    margin: 0 0 12px 0;
    color: var(--dpep-accent);
    font-size: 16px;
    font-weight: 700;
}
.dpep-photo-tips ul { margin: 0; padding-left: 20px; }
.dpep-photo-tips li {
    margin-bottom: 6px;
    line-height: 1.5;
    color: var(--dpep-text);
    font-size: 14px;
}
.dpep-photo-tips strong { color: var(--dpep-accent); }

/* =====================================================
   MENU PRINCIPAL — sobre et premium
   (s'applique sur TOUTES les pages, pas que la home)
   ===================================================== */

/* Désactiver les majuscules forcées et utiliser une casse normale */
.main-nav,
.main-nav a,
.dropdown-menu,
.dropdown-menu a,
.main-menu .menu-item a,
.btn.btn-create-listing,
.logged-in-nav {
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    font-weight: 500 !important;
}

/* Espacement plus généreux entre les entrées de menu */
.main-nav > li > a,
.main-menu .menu-item > a {
    letter-spacing: 0.02em !important;
}

/* Retirer les pseudo-elements (puces, icônes parasites) sur les liens menu */
.main-menu .menu-item a:before,
.main-nav .menu-item a:before {
    display: none !important;
}

/* Bouton "Déposer une annonce" en haut à droite : style outline sobre
   --- Spécificité maximale pour battre le CSS inline de Houzez --- */
body .btn.btn-create-listing,
body a.btn.btn-create-listing,
body .btn-create-listing.btn-create-listing,
html body .btn-create-listing {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #1F4E79 !important;
    border: 1.5px solid #1F4E79 !important;
    border-radius: 2px !important;
    padding: 11px 22px !important;
    font-size: 12px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
}

body .btn.btn-create-listing:hover,
body a.btn.btn-create-listing:hover,
body .btn-create-listing.btn-create-listing:hover,
html body .btn-create-listing:hover,
body .btn.btn-create-listing:focus,
body .btn-create-listing.btn-create-listing:focus,
html body .btn-create-listing:focus {
    background: #1F4E79 !important;
    background-color: #1F4E79 !important;
    background-image: none !important;
    color: #fff !important;
    border-color: #1F4E79 !important;
    box-shadow: 0 6px 18px rgba(31,78,121,0.18) !important;
    transform: translateY(-1px);
}

/* Si le header est sur fond foncé (rare), basculer en blanc */
body.header-1 .btn-create-listing,
body.header-2 .btn-create-listing,
body .header-dark .btn-create-listing {
    color: #fff !important;
    border-color: rgba(255,255,255,0.55) !important;
}
body.header-1 .btn-create-listing:hover,
body.header-2 .btn-create-listing:hover,
body .header-dark .btn-create-listing:hover {
    background: #fff !important;
    color: #1F4E79 !important;
    border-color: #fff !important;
}

/* =====================================================
   FOOTER CUSTOM — De Pierre en Pierre
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500;600&display=swap');

/* On masque le footer Houzez parent au cas où il s'afficherait */
.footer-top-wrap, .footer-bottom-wrap, .footer-wrap-stick { display: none !important; }

/* ----- BANDE NEWSLETTER + ESTIMATION ----- */
.dpep-footer-cta {
    background: #FAF8F5;
    padding: 90px 24px;
}
.dpep-footer-cta-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.dpep-footer-cta-block {
    text-align: left;
}
.dpep-footer-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2A8B7E;
    margin: 0 0 14px 0;
    line-height: 1;
}
.dpep-footer-cta-block h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: #1F4E79;
    margin: 0 0 14px 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.dpep-footer-cta-sub {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #5A5A5A;
    line-height: 1.6;
    margin: 0 0 24px 0;
    font-weight: 300;
    max-width: 440px;
}

.dpep-footer-newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 440px;
    margin: 0;
}
.dpep-footer-newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #D9D2C5;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: #fff;
    color: #1A1A1A;
    outline: none;
    transition: border-color 0.2s;
}
.dpep-footer-newsletter-form input[type="email"]:focus {
    border-color: #1F4E79;
}
.dpep-footer-newsletter-form button {
    background: #1F4E79;
    color: #fff;
    border: none;
    padding: 0 24px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.dpep-footer-newsletter-form button:hover {
    background: #163b5e;
}
.dpep-footer-newsletter-note {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #9A9A9A;
    margin: 12px 0 0 0;
    font-weight: 300;
}

.dpep-footer-cta-btn {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    color: #1F4E79;
    border: 1.5px solid #1F4E79;
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
}
.dpep-footer-cta-btn:hover {
    background: #1F4E79;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .dpep-footer-cta { padding: 56px 20px; }
    .dpep-footer-cta-inner { grid-template-columns: 1fr; gap: 48px; }
    .dpep-footer-cta-block h3 { font-size: 26px; }
    .dpep-footer-newsletter-form { flex-direction: column; }
    .dpep-footer-newsletter-form button { padding: 14px; }
}

/* ----- FOOTER PRINCIPAL ----- */
.dpep-footer {
    background: #1A2332;
    color: #C9D2DC;
    font-family: 'Inter', sans-serif;
}
.dpep-footer-main {
    padding: 80px 24px 48px;
    max-width: 1320px;
    margin: 0 auto;
}
.dpep-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 48px;
}

/* Colonne 1 : marque */
.dpep-footer-brand { padding-right: 24px; }

.dpep-footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 20px;
}
.dpep-footer-logo-text {
    display: inline-block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #fff;
    line-height: 0.95;
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.02em;
}
.dpep-footer-logo-text span {
    display: block;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin: 2px 0;
}
.dpep-footer-logo-text strong {
    display: block;
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.12em;
    color: #fff;
}

.dpep-footer-intro {
    font-size: 14px;
    color: #9DA8B4;
    line-height: 1.65;
    margin: 0 0 20px 0;
    font-weight: 300;
    max-width: 320px;
}

.dpep-footer-social {
    display: flex;
    gap: 10px;
    margin: 0 0 20px 0;
}
.dpep-footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #C9D2DC;
    text-decoration: none;
    transition: all 0.2s;
}
.dpep-footer-social a:hover {
    background: #2A8B7E;
    color: #fff;
    transform: translateY(-2px);
}
.dpep-footer-social-pending {
    opacity: 0.5;
}

.dpep-footer-contact {
    margin: 0;
    font-size: 13px;
}
.dpep-footer-contact a {
    color: #C9D2DC;
    text-decoration: none;
    border-bottom: 1px solid rgba(201,210,220,0.3);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
}
.dpep-footer-contact a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* Colonnes navigation */
.dpep-footer-col-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1;
}

.dpep-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dpep-footer-list li {
    margin: 0 0 10px 0;
}
.dpep-footer-list a {
    color: #9DA8B4;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.2s;
    font-weight: 300;
}
.dpep-footer-list a:hover {
    color: #fff;
}
.dpep-footer-list a strong {
    color: #2A8B7E;
    font-weight: 500;
}
.dpep-footer-list a:hover strong {
    color: #fff;
}

/* ----- LIGNE DU BAS ----- */
.dpep-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
}
.dpep-footer-bottom-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.dpep-footer-copyright,
.dpep-footer-tagline {
    margin: 0;
    font-size: 12px;
    color: #6E7D8E;
    font-weight: 300;
}
.dpep-footer-tagline {
    font-style: italic;
}

/* ----- MOBILE ----- */
@media (max-width: 1100px) {
    .dpep-footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }
    .dpep-footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
        padding-right: 0;
        margin-bottom: 16px;
    }
}
@media (max-width: 700px) {
    .dpep-footer-main { padding: 56px 24px 40px; }
    .dpep-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .dpep-footer-brand {
        grid-column: 1 / -1;
    }
    .dpep-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .dpep-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   PLANS HOUZEZ — reskin premium De Pierre en Pierre
   (s'applique partout où les plans sont affichés)
   ===================================================== */
.price-table-module {
    border: 1.5px solid #EAE5DC !important;
    border-radius: 4px !important;
    background: #fff !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease !important;
    padding: 40px 28px !important;
    position: relative;
    overflow: hidden;
}
.price-table-module:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.08) !important;
    transform: translateY(-4px) !important;
}
.price-table-module.featured {
    border-color: #2A8B7E !important;
    box-shadow: 0 8px 32px rgba(42,139,126,0.15) !important;
}
.price-table-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    color: #1F4E79 !important;
    letter-spacing: 0.02em !important;
    padding-bottom: 0 !important;
    margin-bottom: 16px !important;
    text-transform: none !important;
    border: none !important;
    background: none !important;
}
.price-table-price-wrap {
    padding: 16px 0 !important;
}
.price-table-currency {
    font-family: 'Inter', sans-serif !important;
    font-size: 20px !important;
    color: #6B6B6B !important;
    font-weight: 400 !important;
    vertical-align: top !important;
    margin-top: 8px !important;
}
.price-table-price {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 56px !important;
    color: #1F4E79 !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
}
.price-table-description {
    border: none !important;
    margin-bottom: 24px !important;
}
.price-table-description li {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #5A5A5A !important;
    font-weight: 400 !important;
    border-color: #EAE5DC !important;
    text-align: left !important;
    padding: 12px 0 !important;
}
.price-table-description .houzez-icon {
    color: #2A8B7E !important;
}
.price-table-description strong {
    color: #1F4E79 !important;
    font-weight: 600 !important;
}
.price-table-button .btn.btn-primary,
.price-table-button .btn-primary {
    background: #1F4E79 !important;
    border-color: #1F4E79 !important;
    border-radius: 2px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 14px 28px !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
}
.price-table-button .btn.btn-primary:hover,
.price-table-button .btn-primary:hover {
    background: #163b5e !important;
    border-color: #163b5e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(31,78,121,0.25) !important;
}
.price-table-module.featured .price-table-button .btn.btn-primary {
    background: #2A8B7E !important;
    border-color: #2A8B7E !important;
}
.price-table-module.featured .price-table-button .btn.btn-primary:hover {
    background: #1F6B62 !important;
    border-color: #1F6B62 !important;
}
/* Badge "Recommandé" sur le plan featured */
.price-table-module.featured::before {
    content: 'Recommandé';
    position: absolute;
    top: 16px;
    right: -28px;
    background: #2A8B7E;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 40px;
    transform: rotate(45deg);
    transform-origin: center;
}

/* =====================================================
   PAGES PAIEMENT & MERCI — reskin premium
   ===================================================== */

/* Page de paiement — wrapper général */
.houzez-payment-wrap,
.payment-page-wrap,
.fave-payment-wrap {
    max-width: 780px !important;
    margin: 80px auto !important;
    padding: 0 32px !important;
}

/* Titre de la page de paiement */
.houzez-payment-wrap h2,
.houzez-payment-wrap h3,
.fave-payment-wrap h2,
.fave-payment-wrap h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 400 !important;
    color: #1F4E79 !important;
    letter-spacing: -0.01em !important;
}

/* Récapitulatif du plan choisi */
.houzez-selected-package,
.fave-selected-package,
.selected-package-wrap {
    background: #FAF8F5 !important;
    border: 1.5px solid #EAE5DC !important;
    border-radius: 4px !important;
    padding: 28px 32px !important;
    margin-bottom: 32px !important;
}

/* Formulaire de paiement */
.houzez-payment-form input,
.fave-payment-form input,
.houzez-payment-wrap input[type="text"],
.houzez-payment-wrap input[type="email"] {
    border: 1px solid #EAE5DC !important;
    border-radius: 2px !important;
    padding: 14px 18px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    width: 100% !important;
    transition: border-color 0.2s !important;
    background: #fff !important;
}
.houzez-payment-wrap input:focus,
.fave-payment-form input:focus {
    border-color: #1F4E79 !important;
    outline: none !important;
}

/* Bouton de paiement */
.houzez-payment-wrap .btn-primary,
.fave-payment-wrap .btn-primary,
#payment-submit,
.houzez-submit-payment {
    background: #2A8B7E !important;
    border-color: #2A8B7E !important;
    border-radius: 2px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 16px 36px !important;
    transition: all 0.25s ease !important;
}
.houzez-payment-wrap .btn-primary:hover,
.fave-payment-wrap .btn-primary:hover,
#payment-submit:hover {
    background: #1F6B62 !important;
    border-color: #1F6B62 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(42,139,126,0.25) !important;
}

/* Page de remerciement */
.houzez-thankyou-wrap,
.fave-thankyou-wrap,
.thankyou-page-wrap {
    max-width: 640px !important;
    margin: 100px auto !important;
    padding: 60px 48px !important;
    text-align: center !important;
    background: #FAF8F5 !important;
    border: 1.5px solid #EAE5DC !important;
    border-radius: 4px !important;
}
.houzez-thankyou-wrap h2,
.fave-thankyou-wrap h2 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 36px !important;
    color: #1F4E79 !important;
    font-weight: 400 !important;
    margin-bottom: 16px !important;
}
.houzez-thankyou-wrap p,
.fave-thankyou-wrap p {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    color: #6B6B6B !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
}
.houzez-thankyou-wrap .btn,
.fave-thankyou-wrap .btn {
    margin-top: 24px !important;
    background: #1F4E79 !important;
    border-color: #1F4E79 !important;
    border-radius: 2px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 14px 28px !important;
}

/* Élément de sécurité Stripe (icône cadenas etc.) */
.stripe-security,
.payment-security-badge {
    color: #9A9A9A !important;
    font-size: 12px !important;
    font-family: 'Inter', sans-serif !important;
    margin-top: 16px !important;
    text-align: center !important;
}

/* =====================================================
   FICHE BIEN INDIVIDUELLE
   Surcouche supprimée volontairement.
   On laisse Houzez gérer le rendu natif des fiches biens.
   ===================================================== */

/* =====================================================
   CORRECTIONS MOBILE — menu, connexion, dépôt annonce
   ===================================================== */

/* Menu mobile — s'assurer que les liens Se connecter / Inscription cliquent */
.houzez-mobile-menu a,
.mobile-menu-wrap a,
.mobile-nav a,
nav.mobile-navigation a {
    pointer-events: auto !important;
    cursor: pointer !important;
    display: block !important;
    z-index: 9999 !important;
    position: relative !important;
}

/* Page connexion mobile — espacements */
@media (max-width: 768px) {
    .fave-login-wrap,
    .houzez-login-wrap,
    .login-page-wrap {
        padding: 20px 16px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
    }

    /* Footer qui déborde sur la page connexion */
    .dpep-footer {
        margin-top: 0 !important;
    }

    /* Page tunnel d'annonce mobile */
    .houzez-dashboard-wrap,
    .user-dashboard-wrap,
    .fave-dashboard-wrap {
        padding: 16px !important;
    }

    /* Bouton déposer dans le menu mobile */
    .add-listing-btn,
    .fave-add-listing-btn,
    a[href*="deposer-une-annonce"] {
        display: block !important;
        text-align: center !important;
        margin: 12px 0 !important;
        padding: 14px 20px !important;
    }
}

/* FORCER RECHARGEMENT CSS — anti-cache navigateur */
/* Ce commentaire change à chaque déploiement pour forcer le navigateur
   à recharger le fichier même s'il est en cache :
   Version:      2.0.4-seo-v118

/* =====================================================
   DPEP Auth Premium V12
   Les styles auth sont désormais chargés uniquement via assets/css/auth.css
===================================================== */

/* =====================================================
   DPEP Auth Premium V13
   Styles auth chargés via assets/css/auth.css
===================================================== */

/* =====================================================
   DPEP Auth Premium V15
   Patch basé sur V13. Styles principaux dans assets/css/auth.css
===================================================== */

/* =====================================================
   DPEP Auth Premium V16
   Patch icônes basé sur V13/V15. Styles dans assets/css/auth.css
===================================================== */

/* =====================================================
   DPEP Auth Premium V20
   Correctifs ciblés select + barre recherche.
===================================================== */

/* =====================================================
   DPEP Auth Premium V21
   Patch message captcha basé sur V20 validée.
===================================================== */

/* =====================================================
   DPEP Auth Premium V22
   Patch captcha FR forcé basé sur V21.
===================================================== */

/* =====================================================
   DPEP Auth Premium V23
   Patch alertes non écrasées basé sur V22.
===================================================== */

/* =====================================================
   DPEP Auth Premium V25
   Validation exacte formulaire Houzez.
===================================================== */

/* =====================================================
   DPEP User Dashboard V1
   Styles principaux dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V4
   Insights safe. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V5
   Définitions fines. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V6
   Biens clairs. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V7
   Biens finitions. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V8
   Définitions biens directes. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V9
   Définition contextuelle biens. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V10
   Définition unique biens. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V11
   Définition mini unique. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V17
   Rollback premium + traduction. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V18
   Premium natif WordPress/Houzez. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V19
   Recherches sauvegardées FR. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V20
   Factures FR. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V21
   Profil simplifié FR. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP User Dashboard V22
   Profil réseaux FR. Styles dans assets/css/dashboard-user.css
===================================================== */

/* =====================================================
   DPEP Tunnel Annonce V1
   Styles dédiés dans assets/css/tunnel-annonce.css
===================================================== */

/* =====================================================
   DPEP Tunnel Annonce V3
   Surcouche premium dans assets/css/tunnel-annonce.css
===================================================== */

/* =====================================================
   DPEP Tunnel Annonce V4
   Correctif navigation étapes.
===================================================== */

/* =====================================================
   DPEP Tunnel Annonce V5
   DPE et photo de couverture.
===================================================== */

/* =====================================================
   DPEP Recherche Biens V1
   Correctif footer half-map dans assets/css/recherche-biens.css
===================================================== */

/* =====================================================
   DPEP Mobile V1
   Correctifs mobile dans assets/css/mobile-fixes.css
===================================================== */

/* =====================================================
   DPEP Mobile V2
   Liens Connexion / Inscription mobile.
===================================================== */

/* =====================================================
   DPEP Mobile V3
   Connexion responsive.
===================================================== */

/* =====================================================
   DPEP Mobile V4
   Auth mobile simplifiée.
===================================================== */

/* =====================================================
   DPEP Mobile V5
   Auth mobile propre.
===================================================== */

/* =====================================================
   DPEP Mobile V6
   Auth remember/select fixes.
===================================================== */

/* =====================================================
   DPEP Mobile V7
   Auth select clean.
===================================================== */

/* =====================================================
   DPEP Mobile V8
   Auth select stable.
===================================================== */

/* =====================================================
   DPEP Mobile V9
   Auth select final.
===================================================== */

/* =====================================================
   DPEP Listings Publics V1B
   Traduction ciblée Details -> Voir le bien.
===================================================== */

/* =====================================================
   DPEP Recherche Résultats V1
   Corrige compteur résultats.
===================================================== */

/* =====================================================
   DPEP Recherche Résultats V2
   Amélioration recherche mobile résultats.
===================================================== */

/* =====================================================
   DPEP Recherche Résultats V3
   Mobile clean : compteur + CTA filtres.
===================================================== */

/* =====================================================
   DPEP Recherche Résultats V4
   Mobile : un seul bouton filtre + panneau premium.
===================================================== */

/* =====================================================
   DPEP Recherche Résultats V5
   Compteur AJAX safe.
===================================================== */

/* =====================================================
   DPEP Recherche Résultats V6 ciblée safe
   Fermeture filtres + conversion Acheter.
===================================================== */

/* =====================================================
   DPEP Recherche Résultats V7 ciblée safe
   Clic fantôme + conversion Acheter robuste.
===================================================== */

/* =====================================================
   DPEP V10 — Ajustements visuels Home-like
   Note : les règles critiques sont aussi injectées dans functions.php
   avec une priorité élevée pour passer après les anciens correctifs V8/V9.
===================================================== */
@media (max-width: 767px) {
    body.dpep-acheter-v8-final,
    body.dpep-recherche-resultats-v8-final,
    body.dpep-recherche-resultats-v7-safe,
    body.dpep-recherche-resultats-v6-safe {
        background: #fbfaf7 !important;
    }
}

/* =====================================================
   DPEP V33 — TUNNEL OFFRES / FINALISER COMMANDE
   ===================================================== */
.dpep-checkout-page {
    background: #FAF8F5 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: #1A1A1A !important;
}

.dpep-checkout-page,
.dpep-checkout-page * {
    box-sizing: border-box !important;
}

.dpep-checkout-hero {
    position: relative !important;
    padding: 76px 0 58px !important;
    background:
        radial-gradient(circle at 12% 18%, rgba(42,139,126,.10), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(31,78,121,.11), transparent 34%),
        linear-gradient(135deg, #F4F1EC 0%, #FAF8F5 58%, #F1EDE6 100%) !important;
    border-bottom: 1px solid #EAE5DC !important;
    text-align: center !important;
}

.dpep-checkout-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 22px !important;
    border: 1px solid rgba(31,78,121,.08) !important;
    pointer-events: none !important;
}

.dpep-checkout-hero .container {
    position: relative !important;
    z-index: 2 !important;
    max-width: 980px !important;
}

.dpep-checkout-kicker {
    display: block !important;
    margin: 0 0 14px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: #2A8B7E !important;
}

.dpep-checkout-hero h1 {
    margin: 0 0 16px !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 54px !important;
    font-weight: 400 !important;
    line-height: 1.04 !important;
    color: #1F4E79 !important;
    letter-spacing: -.025em !important;
}

.dpep-checkout-hero p {
    max-width: 700px !important;
    margin: 0 auto !important;
    color: #666D75 !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    font-weight: 300 !important;
}

.dpep-checkout-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    margin-top: 24px !important;
    padding: 0 18px !important;
    border: 1px solid #EAE5DC !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #1F4E79 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    box-shadow: 0 8px 26px rgba(31,78,121,.06) !important;
}

.dpep-checkout-container {
    max-width: 1120px !important;
    padding-top: 52px !important;
    padding-bottom: 76px !important;
}

.dpep-checkout-page .dashboard-content-block-wrap {
    padding-top: 0 !important;
}

.dpep-checkout-page .row {
    row-gap: 24px !important;
}

.dpep-checkout-card,
.dpep-package-summary-card,
.dpep-checkout-page .block-wrap {
    background: #fff !important;
    border: 1px solid #EAE5DC !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 42px rgba(22,35,48,.07) !important;
}

.dpep-checkout-card {
    padding: 34px 34px 30px !important;
    margin-bottom: 24px !important;
}

.dpep-checkout-page .block-title-wrap {
    border-bottom: 1px solid #EAE5DC !important;
    padding-bottom: 22px !important;
    margin-bottom: 26px !important;
}

.dpep-checkout-page .block-title-wrap h2,
.dpep-free-activation-note h2,
.dpep-package-summary-card .block-title-wrap h2 {
    margin: 0 !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    color: #1F4E79 !important;
    letter-spacing: -.02em !important;
}

.dpep-card-subtitle,
.dpep-free-activation-note p {
    margin: 8px 0 0 !important;
    color: #6B6B6B !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
}

.dpep-step-badge {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 12px !important;
    border-radius: 999px !important;
    background: #2A8B7E !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    font-family: 'Inter', sans-serif !important;
}

.dpep-checkout-page label.form-label,
.dpep-checkout-page .form-label {
    margin-bottom: 7px !important;
    color: #1A1A1A !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .01em !important;
}

.dpep-checkout-page .form-control,
.dpep-checkout-page .form-select {
    min-height: 48px !important;
    border: 1px solid #E3DED6 !important;
    border-radius: 10px !important;
    background: #FAF8F5 !important;
    color: #1A1A1A !important;
    font-size: 14px !important;
    box-shadow: none !important;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
}

.dpep-checkout-page .form-control:focus,
.dpep-checkout-page .form-select:focus {
    border-color: #2A8B7E !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(42,139,126,.10) !important;
}

.dpep-checkout-page .form-login-link {
    color: #6B6B6B !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.dpep-checkout-page .form-login-link a,
.dpep-checkout-page a {
    color: #2A8B7E !important;
    text-decoration: none !important;
}

.dpep-checkout-page .form-login-link a:hover,
.dpep-checkout-page a:hover {
    color: #1F4E79 !important;
}

.dpep-free-activation-note {
    padding: 24px 24px 4px !important;
    margin-bottom: 0 !important;
    text-align: left !important;
}

.dpep-checkout-page .payment-method-block {
    border: 1px solid #EAE5DC !important;
    border-radius: 12px !important;
    padding: 16px 16px !important;
    background: #FAF8F5 !important;
    margin-bottom: 12px !important;
}

.dpep-checkout-page .payment-method-block .form-group,
.dpep-checkout-page .payment-method-block label {
    margin: 0 !important;
}

.dpep-checkout-page .control-text strong {
    color: #1A1A1A !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.dpep-checkout-page #houzez_complete_membership,
.dpep-checkout-page .btn-success {
    min-height: 52px !important;
    margin-top: 22px !important;
    margin-bottom: 16px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #2A8B7E !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    box-shadow: 0 12px 28px rgba(42,139,126,.22) !important;
}

.dpep-checkout-page #houzez_complete_membership:hover,
.dpep-checkout-page .btn-success:hover {
    background: #1F6B62 !important;
    transform: translateY(-1px) !important;
}

.dpep-checkout-page .mb-4 {
    color: #6B6B6B !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.dpep-package-summary-card {
    position: sticky !important;
    top: 24px !important;
    overflow: hidden !important;
}

.dpep-package-summary-card .block-title-wrap {
    padding: 26px 28px 18px !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #1F4E79, #2A8B7E) !important;
    border: none !important;
}

.dpep-package-summary-card .block-title-wrap h2 {
    color: #fff !important;
    font-size: 30px !important;
}

.dpep-package-summary-card .block-content-wrap {
    padding: 10px 26px 24px !important;
}

.dpep-package-summary-card ul,
.dpep-package-summary-card li {
    margin: 0 !important;
}

.dpep-package-summary-card li {
    padding: 15px 0 !important;
    border-bottom: 1px solid #EAE5DC !important;
    color: #59616A !important;
    font-size: 14px !important;
}

.dpep-package-summary-card li span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.dpep-package-summary-card li strong {
    color: #1A1A1A !important;
    font-size: 15px !important;
    text-align: right !important;
}

.dpep-package-summary-card li:last-child {
    padding-top: 20px !important;
    border-bottom: none !important;
}

.dpep-package-summary-card li:last-child strong {
    font-size: 18px !important;
    color: #1F4E79 !important;
}

.dpep-package-summary-card .text-center {
    padding: 0 26px 26px !important;
    margin-top: 0 !important;
}

.dpep-package-summary-card .text-center a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    border: 1px solid #EAE5DC !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
}

.free-membership-used {
    display: block !important;
    padding: 16px 18px !important;
    border-radius: 12px !important;
    background: #FFF7E8 !important;
    color: #8A5A13 !important;
    font-weight: 600 !important;
}

@media (max-width: 991px) {
    .dpep-checkout-hero {
        padding: 62px 0 48px !important;
    }

    .dpep-checkout-hero h1 {
        font-size: 42px !important;
    }

    .dpep-checkout-container {
        padding-top: 34px !important;
    }

    .dpep-package-summary-card {
        position: static !important;
    }
}

@media (max-width: 767px) {
    .dpep-checkout-hero {
        padding: 52px 0 42px !important;
    }

    .dpep-checkout-hero::before {
        inset: 12px !important;
    }

    .dpep-checkout-hero h1 {
        font-size: 34px !important;
    }

    .dpep-checkout-hero p {
        font-size: 15px !important;
    }

    .dpep-checkout-card {
        padding: 26px 20px 22px !important;
        border-radius: 14px !important;
    }

    .dpep-checkout-page .block-title-wrap {
        display: block !important;
    }

    .dpep-checkout-page .form-login-link {
        margin-top: 12px !important;
    }
}


/* =====================================================
   DPEP V34 — FINITIONS TUNNEL OFFRES
   Traductions, espacements footer et responsive
   ===================================================== */
.dpep-checkout-page {
    min-height: 72vh !important;
    padding-bottom: 92px !important;
}

.dpep-checkout-page .frontend-submission-page,
.frontend-submission-page.dpep-checkout-page {
    padding-bottom: 92px !important;
}

.dpep-checkout-container {
    padding-bottom: 110px !important;
}

.dpep-checkout-page .dpep-payment-card {
    margin-bottom: 52px !important;
}

.dpep-checkout-page .block-title-wrap {
    background: transparent !important;
}

.dpep-checkout-page .block-title-wrap h2,
.dpep-checkout-page .block-title-wrap .block-title,
.dpep-checkout-page h2,
.dpep-checkout-page h3 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
}

.dpep-checkout-page .block-title-wrap.d-flex,
.dpep-checkout-page .block-title-wrap[class*="justify-content"] {
    gap: 18px !important;
    align-items: flex-start !important;
}

.dpep-checkout-page .form-login-link,
.dpep-checkout-page .login-link {
    padding-top: 6px !important;
    white-space: normal !important;
    text-align: right !important;
}

.dpep-checkout-page .payment-method {
    margin-top: 4px !important;
}

.dpep-checkout-page .payment-method-block img {
    max-height: 28px !important;
    width: auto !important;
}

.dpep-checkout-page .payment-method-block span:not(.control__indicator):not(.control-text) {
    color: #66717b !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.dpep-checkout-page .dpep-free-activation-note {
    padding: 6px 0 16px !important;
    margin-bottom: 12px !important;
}

.dpep-checkout-page .dpep-free-activation-note + input + input + button,
.dpep-checkout-page #houzez_complete_membership {
    margin-top: 18px !important;
}

.dpep-checkout-page .mb-4:last-child {
    margin-bottom: 0 !important;
}

/* Nettoyage des textes anglais injectés par le thème parent si jamais le template parent reprend la main */
.dpep-checkout-page .block-title-wrap:has(.form-login-link) {
    border-bottom-color: #EAE5DC !important;
}

@media (max-width: 1199px) {
    .dpep-checkout-container {
        max-width: 1000px !important;
    }
}

@media (max-width: 991px) {
    .dpep-checkout-container {
        padding-left: 22px !important;
        padding-right: 22px !important;
        padding-bottom: 90px !important;
    }

    .dpep-checkout-summary {
        order: -1 !important;
    }

    .dpep-checkout-main,
    .dpep-checkout-summary {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .dpep-package-summary-card {
        margin-bottom: 22px !important;
    }
}

@media (max-width: 767px) {
    .dpep-checkout-page {
        padding-bottom: 72px !important;
    }

    .dpep-checkout-container {
        padding-top: 24px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-bottom: 78px !important;
    }

    .dpep-checkout-card,
    .dpep-package-summary-card,
    .dpep-checkout-page .block-wrap {
        border-radius: 14px !important;
        box-shadow: 0 10px 26px rgba(22,35,48,.06) !important;
    }

    .dpep-checkout-page .block-title-wrap.d-flex,
    .dpep-checkout-page .block-title-wrap[class*="justify-content"] {
        display: block !important;
    }

    .dpep-checkout-page .form-login-link,
    .dpep-checkout-page .login-link {
        margin-top: 12px !important;
        padding-top: 0 !important;
        text-align: left !important;
        font-size: 13px !important;
    }

    .dpep-checkout-page .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .dpep-checkout-page .form-control,
    .dpep-checkout-page .form-select {
        min-height: 46px !important;
        font-size: 14px !important;
    }

    .dpep-package-summary-card li {
        gap: 14px !important;
    }

    .dpep-package-summary-card li span {
        max-width: 58% !important;
    }

    .dpep-package-summary-card li strong {
        max-width: 42% !important;
        word-break: break-word !important;
    }

    .dpep-checkout-page .payment-method-block label {
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .dpep-checkout-page .payment-method-block img {
        margin-left: 0 !important;
        max-width: 140px !important;
    }

    .dpep-checkout-page #houzez_complete_membership,
    .dpep-checkout-page .btn-success {
        width: 100% !important;
        min-height: 50px !important;
    }
}

/* =====================================================
   V35 — PAGE MERCI / CONFIRMATION OFFRE
   ===================================================== */
.dpep-thankyou-v35 {
    background: #FAF8F5 !important;
    padding: 88px 20px 110px !important;
    min-height: 58vh !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.dpep-thankyou-container {
    max-width: 980px !important;
    margin: 0 auto !important;
}

.dpep-thankyou-card {
    position: relative !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #EAE5DC !important;
    border-radius: 18px !important;
    padding: 54px 58px 48px !important;
    box-shadow: 0 22px 70px rgba(22,35,48,.10) !important;
    text-align: center !important;
}

.dpep-thankyou-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    height: 7px !important;
    background: linear-gradient(90deg, #1F4E79, #2A8B7E) !important;
}

.dpep-thankyou-icon {
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(42,139,126,.10) !important;
    border: 1px solid rgba(42,139,126,.22) !important;
    color: #2A8B7E !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.dpep-thankyou-eyebrow {
    margin: 0 0 14px !important;
    color: #2A8B7E !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
}

.dpep-thankyou-card h1 {
    max-width: 760px !important;
    margin: 0 auto 18px !important;
    color: #1F4E79 !important;
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 54px !important;
    line-height: 1.04 !important;
    font-weight: 400 !important;
    letter-spacing: -.025em !important;
}

.dpep-thankyou-lead {
    max-width: 680px !important;
    margin: 0 auto 34px !important;
    color: #636B74 !important;
    font-size: 17px !important;
    line-height: 1.75 !important;
    font-weight: 300 !important;
}

.dpep-thankyou-lead strong {
    color: #1F4E79 !important;
    font-weight: 700 !important;
}

.dpep-thankyou-summary {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 34px 0 36px !important;
    text-align: left !important;
}

.dpep-thankyou-summary > div {
    background: #FAF8F5 !important;
    border: 1px solid #EAE5DC !important;
    border-radius: 14px !important;
    padding: 20px 18px !important;
}

.dpep-thankyou-summary span {
    display: block !important;
    margin-bottom: 8px !important;
    color: #2A8B7E !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.dpep-thankyou-summary strong {
    display: block !important;
    color: #1F4E79 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

.dpep-thankyou-summary small {
    display: block !important;
    margin-top: 8px !important;
    color: #6B7280 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 300 !important;
}

.dpep-thankyou-summary--steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.dpep-thankyou-summary--steps span {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #2A8B7E !important;
    color: #fff !important;
    letter-spacing: 0 !important;
    font-size: 13px !important;
}

.dpep-thankyou-note {
    max-width: 720px !important;
    margin: 0 auto 30px !important;
    color: #636B74 !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

.dpep-thankyou-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 8px !important;
}

.dpep-thankyou-btn {
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .10em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all .22s ease !important;
}

.dpep-thankyou-btn--primary {
    background: #2A8B7E !important;
    border: 1px solid #2A8B7E !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(42,139,126,.18) !important;
}

.dpep-thankyou-btn--secondary {
    background: #1F4E79 !important;
    border: 1px solid #1F4E79 !important;
    color: #fff !important;
}

.dpep-thankyou-btn--ghost {
    background: #fff !important;
    border: 1px solid #E0D8CC !important;
    color: #1F4E79 !important;
}

.dpep-thankyou-btn:hover {
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

@media (max-width: 991px) {
    .dpep-thankyou-v35 {
        padding: 62px 18px 86px !important;
    }
    .dpep-thankyou-card {
        padding: 44px 30px 38px !important;
    }
    .dpep-thankyou-card h1 {
        font-size: 44px !important;
    }
    .dpep-thankyou-summary,
    .dpep-thankyou-summary--steps {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 575px) {
    .dpep-thankyou-v35 {
        padding: 42px 14px 68px !important;
    }
    .dpep-thankyou-card {
        padding: 38px 20px 30px !important;
        border-radius: 14px !important;
    }
    .dpep-thankyou-card h1 {
        font-size: 36px !important;
    }
    .dpep-thankyou-lead {
        font-size: 15px !important;
    }
    .dpep-thankyou-actions {
        align-items: stretch !important;
        flex-direction: column !important;
    }
    .dpep-thankyou-btn {
        width: 100% !important;
    }
}

/* =====================================================
 * DPEP V41 — Page /par-region/ : suppression barre de recherche Houzez
 * Scope strict via body class ajoutée dans functions.php.
 * ===================================================== */
body.dpep-par-region-page #desktop-header-search,
body.dpep-par-region-page #mobile-header-search,
body.dpep-par-region-page .desktop-search-nav,
body.dpep-par-region-page .mobile-search-nav,
body.dpep-par-region-page .mobile-search-trigger,
body.dpep-par-region-page .search-expandable,
body.dpep-par-region-page .search-banner-wrap {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* DPEP - cartes annonces propres sur la page d'accueil */
.dpep-home-property-card {
    height: 100%;
    background: #fff;
    border: 1px solid rgba(37, 31, 25, .10);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(34, 28, 22, .07);
    display: flex;
    flex-direction: column;
}
.dpep-home-property-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f0ea;
}
.dpep-home-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.dpep-home-property-card:hover .dpep-home-property-image img {
    transform: scale(1.025);
}
.dpep-home-property-noimage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #8b7f72;
    font-size: 14px;
}
.dpep-home-property-badges {
    position: absolute;
    left: 12px;
    top: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.dpep-home-property-badges span {
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.93);
    color: #493c31;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
}
.dpep-home-property-body {
    padding: 14px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.dpep-home-property-price {
    font-size: clamp(18px, 1.35vw, 21px);
    line-height: 1.1;
    font-weight: 800;
    color: #2f261f;
    margin-bottom: 8px;
    white-space: nowrap;
    letter-spacing: .01em;
}
.dpep-home-property-body h3 {
    font-size: 15px;
    line-height: 1.32;
    margin: 0 0 8px;
    min-height: 2.65em;
}
.dpep-home-property-body h3 a {
    color: inherit;
    text-decoration: none;
}
.dpep-home-property-address {
    margin: 0 0 12px;
    color: #74685d;
    font-size: 13px;
    line-height: 1.35;
    min-height: 2.7em;
}
.dpep-home-property-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    color: #5c5148;
    font-size: 12.5px;
    line-height: 1.25;
}
.dpep-home-property-meta li {
    margin: 0;
    white-space: nowrap;
}
.dpep-home-property-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(37, 31, 25, .08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #8a7e73;
    font-size: 12.5px;
}
.dpep-home-property-footer span {
    white-space: nowrap;
}
.dpep-home-property-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 13px;
    border-radius: 6px;
    background: #174d73;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(23, 77, 115, .16);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dpep-home-property-footer a:hover,
.dpep-home-property-footer a:focus {
    background: #0f3c5d;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(23, 77, 115, .22);
}
@media (max-width: 1199px) {
    .dpep-home-property-body h3,
    .dpep-home-property-address {
        min-height: 0;
    }
}
@media (max-width: 575px) {
    .dpep-home-property-card {
        border-radius: 12px;
    }
    .dpep-home-property-body {
        padding: 14px;
    }
    .dpep-home-property-price {
        font-size: 20px;
    }
    .dpep-home-property-body h3 {
        font-size: 16px;
    }
    .dpep-home-property-meta {
        font-size: 13px;
    }
}

/* DPEP header logo propre — image officielle, sans JS ni icône cassée */
body:not(.houzez-dashboard-body) .logo-desktop img,
body:not(.houzez-dashboard-body) .mobile-logo img {
    display: none !important;
}

body:not(.houzez-dashboard-body) .logo-desktop a,
body:not(.houzez-dashboard-body) .mobile-logo a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 88px;
    min-width: 130px;
    min-height: 88px;
    text-decoration: none !important;
    line-height: 0;
}

body:not(.houzez-dashboard-body) .logo-desktop a::before,
body:not(.houzez-dashboard-body) .mobile-logo a::before {
    content: "";
    display: block;
    width: 112px;
    height: 82px;
    background-image: url('/wp-content/themes/houzez-child/assets/images/dpep-logo-header.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

body:not(.houzez-dashboard-body) .header-social-icons a,
body:not(.houzez-dashboard-body) .header-social-icons a i,
body:not(.houzez-dashboard-body) .header-social-icons a svg,
body:not(.houzez-dashboard-body) .header-top .social-icons a,
body:not(.houzez-dashboard-body) .header-top .social-icons a i,
body:not(.houzez-dashboard-body) .header-top .social-icons a svg,
body:not(.houzez-dashboard-body) .header-wrap .fa-facebook,
body:not(.houzez-dashboard-body) .header-wrap .fa-facebook-f,
body:not(.houzez-dashboard-body) .header-wrap .fa-instagram,
body:not(.houzez-dashboard-body) .header-wrap [class*="facebook"],
body:not(.houzez-dashboard-body) .header-wrap [class*="instagram"] {
    color: #111 !important;
    fill: #111 !important;
}

@media (max-width: 991px) {
    body:not(.houzez-dashboard-body) .logo-desktop a,
    body:not(.houzez-dashboard-body) .mobile-logo a {
        width: 112px;
        height: 76px;
        min-width: 112px;
        min-height: 76px;
    }
    body:not(.houzez-dashboard-body) .logo-desktop a::before,
    body:not(.houzez-dashboard-body) .mobile-logo a::before {
        width: 96px;
        height: 70px;
    }
}

@media (max-width: 767px) {
    body:not(.houzez-dashboard-body) .mobile-logo a {
        width: 100px;
        height: 66px;
        min-width: 100px;
        min-height: 66px;
    }
    body:not(.houzez-dashboard-body) .mobile-logo a::before {
        width: 86px;
        height: 60px;
    }
}
