/**
 * FILE: assets/css/homepage.css
 * LOCATION: /wp-content/themes/divi-child/assets/css/homepage.css
 * CSS scopé — Homepage Petion-Ville.com uniquement
 */

body.pv-homepage {
    --hp-blue:      #0b1f4d;
    --hp-blue-mid:  #16356b;
    --hp-blue-lt:   #224b8f;
    --hp-blue-link: #2f5fb3;
    --hp-gold:      #c9a84c;
    --hp-gold-lt:   #e8c96a;
    --hp-accent:    #b33c5a;
    --hp-green:     #22c55e;
    --hp-wa:        #25D366;
    --hp-gray-bg:   #f7f5ef;
    --hp-gray-line: #e2e5ec;
    --hp-gray-text: #6b7280;
    --hp-white:     #ffffff;
    --hp-radius:    14px;
    --hp-shadow:    0 4px 24px rgba(13,26,51,0.10);
    --hp-shadow-lg: 0 16px 48px rgba(13,26,51,0.16);
    --hp-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --hp-font-disp: 'Cormorant Garamond', Georgia, serif;

    background: var(--hp-gray-bg);
    font-family: var(--hp-font-body);
    color: var(--hp-blue-mid);
    font-size: 15px;
    line-height: 1.65;
}

body.pv-homepage * { box-sizing: border-box; }
.pvhp-root { overflow-x: hidden; }

.pvhp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.pvhp-section { padding: 80px 0; }
.pvhp-sec-head { text-align: center; margin-bottom: 52px; }

.pvhp-tag {
    display: inline-block;
    background: var(--hp-gold);
    color: var(--hp-blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.pvhp-sec-title {
    font-family: var(--hp-font-disp);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--hp-blue);
    line-height: 1.18;
    margin: 0 0 12px;
}
.pvhp-sec-title span { color: var(--hp-accent); }
.pvhp-white { color: var(--hp-white) !important; }
.pvhp-gold  { color: var(--hp-gold-lt) !important; }
.pvhp-muted { color: rgba(255,255,255,0.68) !important; }

.pvhp-sec-sub {
    font-size: 0.95rem;
    color: var(--hp-gray-text);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.pvhp-sec-cta { text-align: center; margin-top: 40px; }
.pvhp-empty { text-align: center; padding: 40px; color: var(--hp-gray-text); }
.pvhp-empty a { color: var(--hp-blue-link); }

.pvhp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: var(--hp-font-body);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.18s, transform 0.14s, box-shadow 0.18s;
    white-space: nowrap;
}
.pvhp-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(13,26,51,0.12);
}
.pvhp-btn-primary { background: var(--hp-blue-mid); color: var(--hp-white); }
.pvhp-btn-outline  { background: transparent; border: 2px solid var(--hp-blue-mid); color: var(--hp-blue-mid); }
.pvhp-btn-gold     { background: linear-gradient(135deg, var(--hp-gold), var(--hp-gold-lt)); color: var(--hp-blue); }
.pvhp-btn-wa       { background: var(--hp-wa); color: var(--hp-white); }
.pvhp-btn-lg       { padding: 15px 34px; font-size: 1rem; border-radius: 12px; }

/* HERO */
.pvhp-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 20px 100px;
}
.pvhp-hero-bg { position: absolute; inset: 0; z-index: 0; }
.pvhp-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #081327 0%, #123160 55%, #1d4b92 100%);
}
.pvhp-hero-pattern {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.025) 0px,
        rgba(255,255,255,0.025) 1px,
        transparent 1px,
        transparent 24px
    );
}
.pvhp-hero-stripe {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(to right, var(--hp-blue-mid) 65%, var(--hp-gold) 65%);
}

.pvhp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.pvhp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.35);
    color: var(--hp-gold-lt);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
    animation: pvhp-fade-up 0.6s ease both;
}
.pvhp-eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--hp-gold);
    animation: pvhp-pulse 2s ease infinite;
}

.pvhp-hero-title {
    font-family: var(--hp-font-disp);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--hp-white);
    line-height: 1.06;
    margin: 0 0 22px;
    letter-spacing: -0.5px;
    animation: pvhp-fade-up 0.7s 0.1s ease both;
}
.pvhp-hero-title em {
    font-style: italic;
    color: var(--hp-gold-lt);
}

.pvhp-hero-sub {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.76);
    line-height: 1.75;
    margin: 0 0 36px;
    animation: pvhp-fade-up 0.7s 0.2s ease both;
}

.pvhp-search {
    animation: pvhp-fade-up 0.7s 0.3s ease both;
    margin-bottom: 28px;
}
.pvhp-search-wrap {
    display: flex;
    align-items: center;
    background: var(--hp-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 12px;
}
.pvhp-search-ico { padding: 0 14px 0 18px; font-size: 1.1rem; flex-shrink: 0; }
.pvhp-search-inp {
    flex: 1;
    border: none;
    outline: none;
    padding: 17px 10px 17px 0;
    font-family: var(--hp-font-body);
    font-size: 0.95rem;
    color: var(--hp-blue);
    background: transparent;
}
.pvhp-search-inp::placeholder { color: #b0b8c8; }
.pvhp-search-btn {
    background: linear-gradient(135deg, var(--hp-gold), var(--hp-gold-lt));
    color: var(--hp-blue);
    border: none;
    padding: 17px 26px;
    font-family: var(--hp-font-body);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.18s;
    white-space: nowrap;
}
.pvhp-search-btn:hover { opacity: 0.9; }

.pvhp-search-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}
.pvhp-search-tags a {
    color: rgba(255,255,255,0.86);
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.15s;
}
.pvhp-search-tags a:hover { background: rgba(255,255,255,0.18); }

.pvhp-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    animation: pvhp-fade-up 0.7s 0.45s ease both;
}
.pvhp-stat { text-align: center; }
.pvhp-stat strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--hp-gold-lt);
    line-height: 1;
}
.pvhp-stat span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.56);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 3px;
    display: block;
}
.pvhp-stat-sep { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* ===== HERO FLOATS FIX ===== */

.pvhp-hero-floats{
    position:absolute;
    right:32px;
    top:120px;
    transform:none;
    display:flex;
    flex-direction:column;
    gap:16px;
    z-index:1;
    width:240px;
    max-width:240px;
}

.pvhp-float{
    display:flex;
    align-items:center;
    gap:12px;
    background:rgba(255,255,255,0.10);
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:12px;
    padding:12px 16px;
    color:var(--hp-white);
    width:100%;
    animation:pvhp-float-in .8s ease both;
}

.pvhp-float-1{animation-delay:.6s;}
.pvhp-float-2{animation-delay:.75s;}
.pvhp-float-3{
    animation-delay:.9s;
    background:rgba(34,197,94,.18);
    border-color:rgba(34,197,94,.28);
}

.pvhp-float span:first-child{font-size:1.6rem;}
.pvhp-float strong{display:block;font-size:.85rem;font-weight:700;color:var(--hp-white);}
.pvhp-float small{font-size:.72rem;color:rgba(255,255,255,.65);}

.pvhp-hero-inner{
    position:relative;
    z-index:5;
}

@media(max-width:1280px){
    .pvhp-hero-floats{
        right:18px;
        top:140px;
        width:210px;
        max-width:210px;
    }
}

@media(max-width:1024px){
    .pvhp-hero-floats{
        display:none;
    }
}

@media(max-width:640px){
    .pvhp-hero{
        min-height:auto;
        padding:70px 16px 80px;
    }
}
.pvhp-float small  { font-size: 0.72rem; color: rgba(255,255,255,0.65); }

@media(max-width: 1000px) { .pvhp-hero-floats { display: none; } }
@media(max-width: 640px)  { .pvhp-hero { min-height: auto; padding: 70px 16px 80px; } }

/* CATEGORIES */
.pvhp-cats { background: var(--hp-white); }

.pvhp-cats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
@media(max-width: 1024px) { .pvhp-cats-grid { grid-template-columns: repeat(4, 1fr); } }
@media(max-width: 640px)  { .pvhp-cats-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media(max-width: 420px)  { .pvhp-cats-grid { grid-template-columns: repeat(2, 1fr); } }

.pvhp-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 12px 18px;
    background: #faf8f2;
    border-radius: var(--hp-radius);
    border: 1px solid #ece6d7;
    text-decoration: none;
    color: var(--hp-blue);
    transition: all 0.22s ease;
    text-align: center;
}
.pvhp-cat-card:hover {
    border-color: var(--hp-gold);
    background: var(--hp-white);
    transform: translateY(-4px);
    box-shadow: var(--hp-shadow);
}
.pvhp-cat-ico  { font-size: 2rem; line-height: 1; }
.pvhp-cat-name { font-size: 0.78rem; font-weight: 700; line-height: 1.3; color: var(--hp-blue); }
.pvhp-cat-cnt  {
    font-size: 0.7rem;
    color: var(--hp-gray-text);
    background: var(--hp-white);
    padding: 2px 9px;
    border-radius: 100px;
}

/* ANNONCES */
.pvhp-listings { background: #f3eee3; }

.pvhp-listings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
@media(max-width: 1024px) { .pvhp-listings-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width: 768px)  { .pvhp-listings-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media(max-width: 420px)  { .pvhp-listings-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.pvhp-listing-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-gray-line);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s, box-shadow 0.22s;
}
.pvhp-listing-card:hover { transform: translateY(-5px); box-shadow: var(--hp-shadow-lg); }

.pvhp-listing-img { position: relative; overflow: hidden; }
.pvhp-listing-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.25s;
}
.pvhp-listing-card:hover .pvhp-listing-img img { transform: scale(1.05); }
.pvhp-listing-ph {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--hp-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}
.pvhp-listing-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(11,31,77,0.82);
    color: var(--hp-white);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.pvhp-listing-body {
    padding: 13px 14px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pvhp-listing-cat  {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--hp-accent);
    margin-bottom: 5px;
}
.pvhp-listing-title {
    font-family: var(--hp-font-disp);
    font-size: 1rem;
    font-weight: 600;
    color: var(--hp-blue);
    line-height: 1.3;
    margin: 0 0 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pvhp-listing-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--hp-blue);
    margin-bottom: 7px;
}
.pvhp-listing-meta {
    font-size: 0.72rem;
    color: var(--hp-gray-text);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* SERVICES */
.pvhp-services {
    background: linear-gradient(135deg, var(--hp-blue) 0%, var(--hp-blue-lt) 100%);
    padding: 80px 0;
}
.pvhp-services-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media(max-width: 768px) { .pvhp-services-inner { grid-template-columns: 1fr; gap: 40px; } }

.pvhp-services-left { display: flex; flex-direction: column; gap: 20px; }

.pvhp-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pvhp-badges span {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--hp-white);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
}

.pvhp-services-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pvhp-svc-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 14px 16px;
    text-decoration: none;
    transition: background 0.18s;
}
.pvhp-svc-row:hover { background: rgba(255,255,255,0.14); }
.pvhp-svc-thumb {
    width: 52px; height: 52px; border-radius: 10px;
    overflow: hidden; flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.pvhp-svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pvhp-svc-info { flex: 1; min-width: 0; }
.pvhp-svc-info strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hp-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.pvhp-svc-info span  { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.pvhp-svc-price { font-size: 0.85rem; font-weight: 700; color: var(--hp-gold-lt); white-space: nowrap; }
.pvhp-svc-empty { padding: 40px 20px; text-align: center; color: rgba(255,255,255,0.5); }
.pvhp-svc-empty a { color: var(--hp-gold); }

/* DIASPORA */
.pvhp-diaspora { background: var(--hp-white); }

.pvhp-diaspora-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media(max-width: 768px) { .pvhp-diaspora-inner { grid-template-columns: 1fr; gap: 40px; } }

.pvhp-diaspora-content { display: flex; flex-direction: column; gap: 20px; }
.pvhp-diaspora-feats { display: flex; flex-direction: column; gap: 18px; }
.pvhp-diaspora-feat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.pvhp-diaspora-feat > span { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.pvhp-diaspora-feat strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hp-blue);
    margin-bottom: 3px;
}
.pvhp-diaspora-feat p {
    font-size: 0.85rem;
    color: var(--hp-gray-text);
    margin: 0;
    line-height: 1.5;
}

.pvhp-diaspora-visual {
    position: relative;
    height: 340px;
    background: linear-gradient(135deg, #081327, #16356b);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pvhp-globe { font-size: 7rem; opacity: 0.10; position: absolute; }

.pvhp-city {
    position: absolute;
    background: rgba(201,168,76,0.2);
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--hp-gold-lt);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 100px;
    animation: pvhp-pulse 3s ease infinite;
}
.pvhp-miami   { top: 38%; left: 12%; animation-delay: 0s; }
.pvhp-mtl     { top: 20%; left: 30%; animation-delay: 0.5s; }
.pvhp-paris   { top: 25%; right: 14%; animation-delay: 1s; }
.pvhp-nyc     { top: 42%; right: 22%; animation-delay: 1.5s; }

.pvhp-center-dot {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.pvhp-haiti-flag { font-size: 2.5rem; }
.pvhp-center-dot > span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hp-gold-lt);
}

/* BLOG */
.pvhp-blog { background: #f5f3ee; }

.pvhp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media(max-width: 768px) { .pvhp-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 480px) { .pvhp-blog-grid { grid-template-columns: 1fr; } }

.pvhp-blog-card {
    background: var(--hp-white);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow);
    border: 1px solid var(--hp-gray-line);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s, box-shadow 0.22s;
}
.pvhp-blog-card:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow-lg); }

.pvhp-blog-img,
.pvhp-blog-img img {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}
.pvhp-blog-img img {
    object-fit: cover;
    transition: transform 0.25s;
}
.pvhp-blog-card:hover .pvhp-blog-img img { transform: scale(1.04); }
.pvhp-blog-ph {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--hp-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.pvhp-blog-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pvhp-blog-date {
    font-size: 0.72rem;
    color: var(--hp-gray-text);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 7px;
}
.pvhp-blog-title {
    font-family: var(--hp-font-disp);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--hp-blue);
    line-height: 1.3;
    margin: 0 0 9px;
    flex: 1;
}
.pvhp-blog-exc {
    font-size: 0.83rem;
    color: var(--hp-gray-text);
    line-height: 1.6;
    margin: 0 0 12px;
}
.pvhp-blog-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hp-accent);
    text-decoration: none;
}

/* CTA FINAL */
.pvhp-cta {
    position: relative;
    padding: 90px 20px;
    text-align: center;
    overflow: hidden;
}
.pvhp-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0b1f4d 0%, #16356b 100%);
}
.pvhp-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.035) 0px,
        rgba(255,255,255,0.035) 1px,
        transparent 1px,
        transparent 40px
    );
}
.pvhp-cta-inner { position: relative; z-index: 1; }
.pvhp-cta-title {
    font-family: var(--hp-font-disp);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--hp-white);
    margin: 0 0 16px;
    line-height: 1.2;
}
.pvhp-cta-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.78);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.pvhp-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.pvhp-cta-trust {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.76);
    font-weight: 500;
}

/* ANIMATIONS */
@keyframes pvhp-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes pvhp-float-in {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes pvhp-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.06); opacity: 0.85; }
}

