/* =============================================
   DAKAR HABITAT - Theme principal
   Design premium immobilier luxe
   ============================================= */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2A2A2A;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dh-primary, #1B5E3F); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--dh-secondary, #C9A66B); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: #1A1A1A;
}

:root {
    --dh-primary: #C84B2D;          /* Rouge/orange du toit du logo */
    --dh-primary-dark: #A33A21;
    --dh-secondary: #1A1A1A;        /* Noir du bandeau du logo */
    --dh-secondary-dark: #000;
    --dh-accent: #C84B2D;
    --dh-light: #F8F5EE;            /* Crème chaud */
    --dh-dark: #1A1A1A;
    --dh-gray: #6B6B6B;
    --dh-gray-light: #E5E5E5;
    --dh-white: #fff;
    --dh-shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --dh-shadow: 0 8px 30px rgba(0,0,0,.08);
    --dh-shadow-lg: 0 20px 60px rgba(0,0,0,.12);
    --dh-radius: 4px;
    --dh-radius-lg: 12px;
    --dh-transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* PAGE BUILDER COMPATIBILITY (Elementor / TagDiv / WPBakery / Beaver Builder) */
.dh-builder-content,
.dh-elementor-fullwidth { width: 100%; }
.dh-builder-content > *,
.dh-elementor-fullwidth > * { max-width: 100%; }

/* Canvas (page vierge sans header/footer) */
body.dh-canvas { background: #fff; margin: 0; padding: 0; }
body.dh-canvas .dh-header,
body.dh-canvas .dh-footer,
body.dh-canvas .dh-whatsapp-float,
body.dh-canvas .dh-mobile-menu { display: none !important; }

/* Compatibilité Elementor */
body.elementor-page .dh-page-header { display: none; }
.elementor-section-full_width .elementor-container { max-width: 100% !important; }
body.elementor-editor-active .dh-header,
body.elementor-editor-active .dh-footer { z-index: 0; }
.elementor section, .elementor .elementor-container { width: 100%; }

/* Compatibilité TagDiv Composer */
.tdc-content-wrap, .tdc-row, .tdc-zone, .vc_row, .wpb_row { max-width: 100%; }
body.tdc-frontend-edit-mode .dh-header,
body.tdc-frontend-edit-mode .dh-footer { z-index: 1; }
.td-page-content, .td-pb-row, .td-pb-span12 { width: 100%; }

/* CONTAINER */
.dh-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.dh-container--narrow { max-width: 860px; }

/* BUTTONS */
.dh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--dh-radius);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .3px;
    transition: all var(--dh-transition);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    line-height: 1;
}
.dh-btn--sm { padding: 10px 20px; font-size: 13px; }
.dh-btn--full { width: 100%; }
.dh-btn--primary { background: var(--dh-primary); color: #fff; }
.dh-btn--primary:hover { background: var(--dh-primary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--dh-shadow); }
.dh-btn--secondary { background: var(--dh-secondary); color: #fff; }
.dh-btn--secondary:hover { background: var(--dh-secondary-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--dh-shadow); }
.dh-btn--outline { background: transparent; color: var(--dh-primary); border-color: var(--dh-primary); }
.dh-btn--outline:hover { background: var(--dh-primary); color: #fff; }
.dh-btn--whatsapp { background: #25D366; color: #fff; }
.dh-btn--whatsapp:hover { background: #1faa54; color: #fff; transform: translateY(-2px); }

/* HEADER */
.dh-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--dh-shadow-sm); }
.dh-header__top { background: var(--dh-primary); color: rgba(255,255,255,.85); font-size: 13px; padding: 8px 0; }
.dh-header__top a { color: rgba(255,255,255,.85); }
.dh-header__top a:hover { color: var(--dh-secondary); }
.dh-header__top-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.dh-header__contact { display: flex; gap: 24px; flex-wrap: wrap; }
.dh-header__contact a { display: inline-flex; align-items: center; gap: 6px; }
.dh-header__social { display: flex; gap: 14px; }
.dh-header__address { font-weight: 500; }
.dh-header__address svg { color: var(--dh-primary); }

/* SELECTEUR DE LANGUE */
.dh-lang-switcher { display: flex; gap: 8px; align-items: center; }
.dh-lang-flag {
    padding: 3px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 3px;
    line-height: 0;
    transition: all .25s ease;
    cursor: pointer;
}
.dh-lang-flag:hover { background: rgba(255,255,255,.25); transform: scale(1.05); }
.dh-lang-flag.is-active { background: #fff; border-color: #fff; }
.dh-lang-flag svg { display: block; }
.dh-header__social a { display: inline-flex; align-items: center; }

.dh-header__main { padding: 16px 0; }
.dh-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.dh-header__logo { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--dh-primary); display: flex; align-items: center; }
.dh-header__logo-text strong { color: var(--dh-primary); font-weight: 700; }
.dh-header__logo-text { color: var(--dh-secondary); }
.dh-header__logo img { max-height: 60px; width: auto; }

.dh-nav { display: flex; gap: 32px; align-items: center; flex: 1; justify-content: center; }
.dh-nav li { position: relative; }
.dh-nav a {
    display: block;
    padding: 8px 0;
    color: var(--dh-dark);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}
.dh-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--dh-secondary);
    transition: width var(--dh-transition);
}
.dh-nav a:hover { color: var(--dh-primary); }
.dh-nav a:hover::after { width: 100%; }
.dh-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: var(--dh-shadow);
    min-width: 220px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--dh-transition);
    border-top: 3px solid var(--dh-secondary);
}
.dh-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dh-nav .sub-menu a { padding: 10px 20px; }

.dh-header__actions { display: flex; gap: 12px; }
.dh-header__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.dh-header__burger span { display: block; width: 24px; height: 2px; background: var(--dh-dark); transition: all var(--dh-transition); }

/* MOBILE MENU */
.dh-mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 99;
    transform: translateX(100%);
    transition: transform var(--dh-transition);
    overflow-y: auto;
    padding-top: 100px;
}
.dh-mobile-menu.is-open { transform: translateX(0); }
.dh-mobile-menu__inner { padding: 30px 24px; }
.dh-mobile-nav { display: flex; flex-direction: column; gap: 0; margin-bottom: 30px; }
.dh-mobile-nav li { border-bottom: 1px solid var(--dh-gray-light); }
.dh-mobile-nav a { display: block; padding: 16px 0; font-size: 18px; font-weight: 500; color: var(--dh-dark); }

/* HERO */
.dh-hero { position: relative; height: 90vh; min-height: 600px; max-height: 800px; overflow: hidden; }
.dh-hero__slider { position: relative; width: 100%; height: 100%; }
.dh-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .8s ease;
}
.dh-hero__slide.is-active { opacity: 1; }
.dh-hero__slide--default {
    opacity: 1;
    background: linear-gradient(135deg, var(--dh-primary) 0%, var(--dh-primary-dark) 100%);
}

/* Vidéo YouTube en arrière-plan */
.dh-hero__slide--video { background: #000; overflow: hidden; }
.dh-hero__video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.dh-hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Cover : 16:9 ratio scaled up to fully cover viewport */
    width: 100vw;
    height: 56.25vw;        /* 16:9 → 100/16*9 */
    min-height: 100vh;
    min-width: 177.78vh;    /* 100/9*16 */
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}
.dh-hero__slide--video .dh-hero__overlay { z-index: 1; }
.dh-hero__slide--video .dh-container { position: relative; z-index: 2; }
.dh-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}
.dh-hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 640px;
    animation: dhFadeUp 1s ease;
}
.dh-hero__tag {
    display: inline-block;
    background: var(--dh-secondary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}
.dh-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    color: #fff;
    margin-bottom: 16px;
    font-weight: 600;
    line-height: 1.1;
}
.dh-hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,.9);
    margin-bottom: 30px;
    font-family: 'DM Sans', sans-serif;
}
.dh-hero__price { font-size: 32px; color: var(--dh-secondary); font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 20px; }
.dh-hero__features { display: flex; gap: 20px; margin-bottom: 30px; }
.dh-hero__features span { color: rgba(255,255,255,.85); font-size: 14px; padding: 6px 12px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border-radius: 4px; }
.dh-hero__nav {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    gap: 10px;
}
.dh-hero__nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--dh-transition);
    border: 1px solid rgba(255,255,255,.3);
}
.dh-hero__nav button:hover { background: var(--dh-secondary); transform: scale(1.05); }

@keyframes dhFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SEARCH BAR */
.dh-search-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding: 0 24px;
}
.dh-search-section--archive { margin-top: 0; padding: 30px 24px; background: var(--dh-light); }
.dh-search-bar {
    background: #fff;
    border-radius: var(--dh-radius-lg);
    box-shadow: var(--dh-shadow-lg);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: end;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
    border-top: 4px solid var(--dh-secondary);
}
.dh-search-bar__fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; flex: 1; }
.dh-search-bar__field { display: flex; flex-direction: column; gap: 6px; }
.dh-search-bar__field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--dh-gray); }
.dh-search-bar__field select, .dh-search-bar__field input {
    padding: 12px 14px;
    border: 1px solid var(--dh-gray-light);
    border-radius: var(--dh-radius);
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    color: var(--dh-dark);
    transition: border-color var(--dh-transition);
}
.dh-search-bar__field select:focus, .dh-search-bar__field input:focus { outline: none; border-color: var(--dh-secondary); }

/* SECTIONS */
.dh-section { padding: 80px 0; }
.dh-section--vedette { background: #fff; }
.dh-section--deals { background: var(--dh-light); }
.dh-section--magazine { background: #fff; }
.dh-section--testimonials { background: var(--dh-primary); color: #fff; }
.dh-section--projets { background: var(--dh-light); }
.dh-section--cta-form { background: linear-gradient(135deg, var(--dh-primary) 0%, var(--dh-primary-dark) 100%); color: #fff; }
.dh-section--newsletter { background: var(--dh-secondary); color: #fff; padding: 60px 0; }
.dh-section--similar { background: var(--dh-light); }

.dh-section__header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.dh-section__label {
    display: inline-block;
    color: var(--dh-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 12px;
}
.dh-section__title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.dh-section--testimonials .dh-section__title { color: #fff; }
.dh-section--cta-form .dh-section__title { color: #fff; }
.dh-section__subtitle { color: var(--dh-gray); font-size: 17px; }
.dh-section--testimonials .dh-section__subtitle { color: rgba(255,255,255,.85); }
.dh-section__cta { text-align: center; margin-top: 50px; }

/* GRID */
.dh-grid { display: grid; gap: 30px; }
.dh-grid--2 { grid-template-columns: repeat(2, 1fr); }
.dh-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* CARDS */
.dh-card { background: #fff; border-radius: var(--dh-radius-lg); overflow: hidden; box-shadow: var(--dh-shadow-sm); transition: all var(--dh-transition); height: 100%; }
.dh-card:hover { transform: translateY(-6px); box-shadow: var(--dh-shadow-lg); }
.dh-card__link { display: block; color: inherit; height: 100%; }
.dh-card__link:hover { color: inherit; }
.dh-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--dh-gray-light); }
.dh-card__media--large { aspect-ratio: 16/10; }
.dh-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dh-card:hover .dh-card__img { transform: scale(1.06); }
.dh-card__img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--dh-light), var(--dh-gray-light));
    display: flex; align-items: center; justify-content: center;
}
.dh-card__img-placeholder::after {
    content: '🏠';
    font-size: 60px;
    opacity: .3;
}
.dh-card__price {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255,255,255,.95);
    padding: 8px 16px;
    border-radius: var(--dh-radius);
    font-weight: 700;
    color: var(--dh-primary);
    font-size: 15px;
    backdrop-filter: blur(10px);
}
.dh-card__badges { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 6px; }
.dh-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--dh-secondary);
    color: #fff;
}
.dh-badge--deal { background: #E63946; }
.dh-badge--status { background: var(--dh-primary); }
.dh-card__category {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--dh-secondary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.dh-card__body { padding: 24px; }
.dh-card__type { display: inline-block; color: var(--dh-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; font-weight: 600; }
.dh-card__title { font-size: 20px; margin-bottom: 10px; line-height: 1.3; }
.dh-card__title--large { font-size: 24px; }
.dh-card__location { color: var(--dh-gray); font-size: 14px; display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.dh-card__features { display: flex; gap: 16px; padding-top: 16px; border-top: 1px solid var(--dh-gray-light); flex-wrap: wrap; }
.dh-card__features li { font-size: 14px; color: var(--dh-gray); }
.dh-card__features strong { color: var(--dh-dark); }
.dh-card__date { font-size: 12px; color: var(--dh-gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.dh-card__excerpt { color: var(--dh-gray); font-size: 14px; margin-bottom: 16px; }
.dh-card__readmore { color: var(--dh-primary); font-weight: 600; font-size: 14px; }

/* TESTIMONIALS */
.dh-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.dh-testimonial { background: rgba(255,255,255,.05); padding: 36px; border-radius: var(--dh-radius-lg); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.dh-testimonial__stars { color: var(--dh-secondary); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.dh-testimonial__text { font-size: 16px; line-height: 1.7; margin-bottom: 24px; font-style: italic; color: rgba(255,255,255,.9); }
.dh-testimonial__author strong { display: block; color: #fff; font-weight: 600; margin-bottom: 4px; }
.dh-testimonial__author span { color: var(--dh-secondary); font-size: 13px; }

/* CTA SPLIT */
.dh-cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dh-cta-split__text .dh-section__title { text-align: left; }
.dh-cta-split__text { color: rgba(255,255,255,.9); }
.dh-checklist { margin-top: 24px; }
.dh-checklist li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: rgba(255,255,255,.9);
}
.dh-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--dh-secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* FORMS */
.dh-form-container { background: #fff; padding: 40px; border-radius: var(--dh-radius-lg); box-shadow: var(--dh-shadow-lg); }
.dh-form__title { font-size: 24px; margin-bottom: 24px; color: var(--dh-dark); }
.dh-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.dh-form__field { display: flex; flex-direction: column; }
.dh-form__field--full { grid-column: 1 / -1; margin-bottom: 14px; }
.dh-form__field input,
.dh-form__field select,
.dh-form__field textarea,
.dh-lead-form input,
.dh-lead-form select,
.dh-lead-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--dh-gray-light);
    border-radius: var(--dh-radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--dh-dark);
    background: #fff;
    transition: border-color var(--dh-transition);
}
.dh-form__field input:focus,
.dh-form__field select:focus,
.dh-form__field textarea:focus,
.dh-lead-form input:focus,
.dh-lead-form select:focus,
.dh-lead-form textarea:focus {
    outline: none;
    border-color: var(--dh-secondary);
    box-shadow: 0 0 0 3px rgba(201,166,107,.15);
}
.dh-lead-form { display: flex; flex-direction: column; gap: 12px; }
.dh-form__message { margin-top: 14px; padding: 12px; border-radius: var(--dh-radius); display: none; }
.dh-form__message.is-success { display: block; background: #d4edda; color: #155724; }
.dh-form__message.is-error { display: block; background: #f8d7da; color: #721c24; }

/* NEWSLETTER */
.dh-newsletter { text-align: center; max-width: 600px; margin: 0 auto; }
.dh-newsletter__title { color: #fff; font-size: 32px; margin-bottom: 12px; }
.dh-newsletter__text { color: rgba(255,255,255,.9); margin-bottom: 24px; }
.dh-newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; }
.dh-newsletter__form input {
    flex: 1;
    min-width: 240px;
    padding: 14px 18px;
    border-radius: var(--dh-radius);
    border: none;
    font-size: 15px;
    font-family: inherit;
}
.dh-newsletter__form .dh-btn--secondary { background: var(--dh-primary); }
.dh-newsletter__form .dh-btn--secondary:hover { background: var(--dh-primary-dark); }
.dh-newsletter__message { margin-top: 14px; color: #fff; font-weight: 600; min-height: 24px; }

/* FOOTER */
.dh-footer { background: var(--dh-dark); color: rgba(255,255,255,.8); }
.dh-footer__top { padding: 70px 0 50px; }
.dh-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; }
.dh-footer__logo-text { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--dh-secondary); }
.dh-footer__logo-text strong { color: #fff; }
.dh-footer__logo img { max-height: 60px; width: auto; margin-bottom: 16px; }
.dh-footer__desc { margin-top: 20px; line-height: 1.7; font-size: 14px; }
.dh-footer__social { display: flex; gap: 16px; margin-top: 24px; }
.dh-footer__social a { color: rgba(255,255,255,.7); font-size: 13px; transition: color var(--dh-transition); }
.dh-footer__social a:hover { color: var(--dh-secondary); }
.dh-footer__title { color: #fff; font-size: 16px; font-family: 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; font-weight: 600; }
.dh-footer__links li { margin-bottom: 10px; }
.dh-footer__links a { color: rgba(255,255,255,.75); font-size: 14px; }
.dh-footer__links a:hover { color: var(--dh-secondary); padding-left: 6px; transition: padding var(--dh-transition); }
.dh-footer__contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.dh-footer__contact li svg { color: var(--dh-secondary); flex-shrink: 0; margin-top: 2px; }
.dh-footer__contact a { color: rgba(255,255,255,.8); }
.dh-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: 13px; }
.dh-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* WHATSAPP FLOAT */
.dh-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,.4);
    z-index: 1000;
    transition: transform var(--dh-transition);
    animation: dhPulse 2s infinite;
}
.dh-whatsapp-float:hover { transform: scale(1.1); }
@keyframes dhPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.4); }
    50% { box-shadow: 0 6px 30px rgba(37,211,102,.7); }
}

/* PAGE HEADER */
.dh-page-header { background: var(--dh-light); padding: 60px 0 40px; }
.dh-page-header__title { font-size: clamp(28px, 4vw, 42px); margin-top: 14px; }
.dh-breadcrumbs { font-size: 13px; color: var(--dh-gray); }
.dh-breadcrumbs a { color: var(--dh-gray); }
.dh-breadcrumbs a:hover { color: var(--dh-primary); }
.dh-breadcrumbs__sep { margin: 0 6px; opacity: .5; }

/* BIEN SINGLE */
.dh-bien-header { padding: 24px 0; background: var(--dh-light); }
.dh-bien-gallery { padding: 30px 0; background: var(--dh-light); }
.dh-bien-gallery__inner { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 600px; }
.dh-bien-gallery__main { border-radius: var(--dh-radius-lg); overflow: hidden; }
.dh-bien-gallery__main img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.dh-bien-gallery__thumbs { display: grid; grid-template-rows: repeat(2, 1fr); grid-template-columns: 1fr 1fr; gap: 12px; }
.dh-bien-gallery__thumb { position: relative; border-radius: var(--dh-radius-lg); overflow: hidden; cursor: pointer; }
.dh-bien-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dh-transition); }
.dh-bien-gallery__thumb:hover img { transform: scale(1.05); }
.dh-bien-gallery__more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
}

.dh-bien-main { padding: 60px 0; }
.dh-bien-main__grid { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.dh-bien-main__sidebar { position: sticky; top: 120px; }
.dh-bien-tag {
    display: inline-block;
    color: var(--dh-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 12px;
}
.dh-bien-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.dh-bien-location { color: var(--dh-gray); font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.dh-bien-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px; background: var(--dh-light); border-radius: var(--dh-radius-lg); margin-bottom: 50px; }
.dh-bien-feature { text-align: center; }
.dh-bien-feature svg { color: var(--dh-secondary); margin-bottom: 10px; }
.dh-bien-feature strong { display: block; font-size: 22px; color: var(--dh-dark); font-family: 'Playfair Display', serif; }
.dh-bien-feature span { color: var(--dh-gray); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.dh-bien-section { margin-bottom: 50px; }
.dh-bien-section__title { font-size: 26px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--dh-secondary); display: inline-block; }
.dh-bien-section__content { font-size: 16px; line-height: 1.8; color: var(--dh-dark); }
.dh-bien-section__content p { margin-bottom: 16px; }
.dh-bien-caracs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dh-bien-caracs li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.dh-bien-caracs svg { color: var(--dh-primary); flex-shrink: 0; }
.dh-bien-infos { width: 100%; border-collapse: collapse; }
.dh-bien-infos th, .dh-bien-infos td { padding: 14px 0; text-align: left; border-bottom: 1px solid var(--dh-gray-light); }
.dh-bien-infos th { color: var(--dh-gray); font-weight: 500; width: 40%; }

.dh-bien-card-cta {
    background: #fff;
    padding: 30px;
    border-radius: var(--dh-radius-lg);
    box-shadow: var(--dh-shadow);
    margin-bottom: 20px;
    border-top: 4px solid var(--dh-secondary);
}
.dh-bien-status {
    display: inline-block;
    background: var(--dh-primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.dh-bien-card-cta__price { font-size: 32px; font-family: 'Playfair Display', serif; color: var(--dh-primary); margin-bottom: 4px; font-weight: 700; }
.dh-bien-card-cta__per-m2 { color: var(--dh-gray); font-size: 14px; margin-bottom: 24px; }
.dh-bien-card-cta .dh-btn { margin-bottom: 10px; }

.dh-bien-form-card { background: var(--dh-light); padding: 30px; border-radius: var(--dh-radius-lg); }
.dh-bien-form-card__title { font-size: 20px; margin-bottom: 18px; }

/* ARTICLE */
.dh-content__featured { margin-bottom: 30px; border-radius: var(--dh-radius-lg); overflow: hidden; }
.dh-content__body { font-size: 17px; line-height: 1.8; }
.dh-content__body h2 { font-size: 30px; margin: 40px 0 20px; }
.dh-content__body h3 { font-size: 24px; margin: 30px 0 16px; }
.dh-content__body p { margin-bottom: 20px; }
.dh-content__body img { border-radius: var(--dh-radius-lg); margin: 20px 0; }
.dh-content__body blockquote { border-left: 4px solid var(--dh-secondary); padding: 20px 30px; background: var(--dh-light); margin: 30px 0; font-style: italic; font-size: 18px; }
.dh-article__hero { margin-bottom: 30px; border-radius: var(--dh-radius-lg); overflow: hidden; }
.dh-article__title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.dh-article__meta { color: var(--dh-gray); font-size: 14px; margin-bottom: 30px; display: flex; gap: 20px; }
.dh-article__meta time::after { content: '·'; margin-left: 20px; color: var(--dh-gray-light); }
.dh-article__footer { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--dh-gray-light); }
.dh-article__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.dh-tag { background: var(--dh-light); padding: 6px 14px; border-radius: 100px; font-size: 13px; color: var(--dh-dark); }
.dh-article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.dh-article__nav-link { padding: 24px; background: var(--dh-light); border-radius: var(--dh-radius-lg); }
.dh-article__nav-link span { display: block; font-size: 12px; color: var(--dh-gray); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.dh-article__nav-link strong { color: var(--dh-dark); font-size: 16px; }
.dh-article__nav-link--next { text-align: right; }

/* PAGINATION */
.dh-pagination { margin-top: 60px; text-align: center; }
.dh-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 4px;
    border-radius: var(--dh-radius);
    background: #fff;
    color: var(--dh-dark);
    font-weight: 600;
    border: 1px solid var(--dh-gray-light);
    transition: all var(--dh-transition);
}
.dh-pagination .page-numbers.current,
.dh-pagination .page-numbers:hover {
    background: var(--dh-primary);
    color: #fff;
    border-color: var(--dh-primary);
}

/* 404 */
.dh-404 { padding: 100px 0; text-align: center; }
.dh-404__inner { max-width: 600px; margin: 0 auto; }
.dh-404__code { font-size: 160px; color: var(--dh-secondary); font-family: 'Playfair Display', serif; line-height: 1; }
.dh-404__title { font-size: 36px; margin-bottom: 16px; }
.dh-404__text { color: var(--dh-gray); margin-bottom: 30px; font-size: 17px; }
.dh-404__actions { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.dh-search-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto 30px; }
.dh-search-form input { flex: 1; padding: 14px 18px; border: 1px solid var(--dh-gray-light); border-radius: var(--dh-radius); }

/* NO RESULTS */
.dh-no-results { text-align: center; padding: 60px 0; color: var(--dh-gray); font-size: 17px; }

/* AOS-LIKE ANIMATIONS */
[data-aos] { opacity: 0; transform: translateY(30px); transition: all .8s cubic-bezier(.4,0,.2,1); }
[data-aos="fade-up"].is-visible { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].is-visible { opacity: 1; transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].is-visible { opacity: 1; transform: translateX(0); }

/* LIGHTBOX */
.dh-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.dh-lightbox.is-open { display: flex; }
.dh-lightbox__img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--dh-radius); }
.dh-lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 24px;
    border: 1px solid rgba(255,255,255,.3);
}
.dh-lightbox__close:hover { background: rgba(255,255,255,.2); }
.dh-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    font-size: 24px;
}
.dh-lightbox__prev { left: 30px; }
.dh-lightbox__next { right: 30px; }

/* VIDEO SECTION */
.dh-section--video { background: #fff; }
.dh-video-wrap { max-width: 1100px; margin: 0 auto; border-radius: var(--dh-radius-lg); overflow: hidden; box-shadow: var(--dh-shadow-lg); }
.dh-video-poster { position: relative; aspect-ratio: 16/9; cursor: pointer; background: #000; }
.dh-video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dh-video-poster:hover img { transform: scale(1.03); opacity: .9; }
.dh-video-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--dh-secondary);
    transition: transform var(--dh-transition);
}
.dh-video-play:hover { transform: translate(-50%, -50%) scale(1.1); color: #fff; }
.dh-video-iframe { position: relative; aspect-ratio: 16/9; }
.dh-video-iframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* BANNIERE */
.dh-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    color: #fff;
    text-align: center;
}
.dh-banner__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,94,63,.85) 0%, rgba(0,0,0,.5) 100%); }
.dh-banner__content { position: relative; max-width: 700px; margin: 0 auto; }
.dh-banner__title { font-size: clamp(28px, 4vw, 44px); color: #fff; margin-bottom: 16px; }
.dh-banner__text { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 30px; }

@media (max-width: 768px) {
    .dh-banner { padding: 80px 0; background-attachment: scroll; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .dh-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .dh-bien-main__grid { grid-template-columns: 1fr; }
    .dh-bien-main__sidebar { position: static; }
    .dh-cta-split { grid-template-columns: 1fr; gap: 30px; }
    .dh-testimonials { grid-template-columns: 1fr; }
    .dh-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .dh-search-bar__fields { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .dh-section { padding: 60px 0; }
    .dh-nav, .dh-header__actions { display: none; }
    .dh-header__burger { display: flex; }
    .dh-header__contact a:nth-child(2) { display: none; }
    .dh-grid--3, .dh-grid--2 { grid-template-columns: 1fr; }
    .dh-hero { height: 80vh; min-height: 500px; }
    .dh-hero__nav { bottom: 20px; right: 20px; }
    .dh-bien-gallery__inner { grid-template-columns: 1fr; height: auto; }
    .dh-bien-gallery__main { height: 300px; }
    .dh-bien-gallery__thumbs { grid-template-rows: 1fr; height: 150px; }
    .dh-bien-features { grid-template-columns: repeat(2, 1fr); padding: 20px; }
    .dh-bien-caracs { grid-template-columns: 1fr; }
    .dh-form__grid { grid-template-columns: 1fr; }
    .dh-footer__grid { grid-template-columns: 1fr; }
    .dh-search-bar { flex-direction: column; }
    .dh-search-bar__fields { grid-template-columns: 1fr; }
    .dh-search-bar__btn { width: 100%; }
    .dh-search-section { margin-top: -40px; }
    .dh-article__nav { grid-template-columns: 1fr; }
    .dh-whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
    .dh-whatsapp-float svg { width: 24px; height: 24px; }
}
@media (max-width: 480px) {
    .dh-container { padding: 0 16px; }
    .dh-form-container { padding: 24px; }
    .dh-bien-features { grid-template-columns: repeat(2, 1fr); }
    .dh-404__code { font-size: 100px; }
    .dh-404__title { font-size: 26px; }
}
