/**
 * FILE: hd-design-system.css
 * LOCATION: wp-content/themes/divi-child/assets/css/
 * Haiti Digital — Design System Global v1.0
 * Partagé par toutes les pages SEO
 * Inspiré : Netflix Travel, Visit Dubai, Stripe Atlas
 */

/* ═══════════════════════════════════════════════════════════
   1. RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ═══════════════════════════════════════════════════════════
   2. DESIGN TOKENS — Variables CSS globales
═══════════════════════════════════════════════════════════ */
:root {
    /* Couleurs primaires */
    --hd-dark:        #0F172A;
    --hd-dark-2:      #1E293B;
    --hd-dark-3:      #334155;
    --hd-gold:        #D4AF37;
    --hd-gold-lt:     #F0D060;
    --hd-gold-dk:     #B8941F;

    /* Couleurs UI */
    --hd-bg:          #F8FAFC;
    --hd-bg-alt:      #F1F5F9;
    --hd-white:       #FFFFFF;
    --hd-text:        #E2E8F0;
    --hd-muted:       #94A3B8;
    --hd-body:        #475569;
    --hd-border:      #E2E8F0;
    --hd-border-gold: rgba(212,175,55,0.2);

    /* Couleurs sémantiques */
    --hd-success:     #22C55E;
    --hd-warning:     #F59E0B;
    --hd-error:       #EF4444;
    --hd-info:        #3B82F6;

    /* Typography */
    --hd-font:        'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hd-font-disp:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;

    /* Font Scale */
    --hd-text-xs:     0.75rem;
    --hd-text-sm:     0.875rem;
    --hd-text-base:   1rem;
    --hd-text-lg:     1.125rem;
    --hd-text-xl:     1.25rem;
    --hd-text-2xl:    1.5rem;
    --hd-text-3xl:    1.875rem;
    --hd-text-4xl:    2.25rem;
    --hd-text-5xl:    3rem;
    --hd-text-6xl:    3.75rem;

    /* Spacing Scale */
    --hd-space-1:     0.25rem;
    --hd-space-2:     0.5rem;
    --hd-space-3:     0.75rem;
    --hd-space-4:     1rem;
    --hd-space-5:     1.25rem;
    --hd-space-6:     1.5rem;
    --hd-space-8:     2rem;
    --hd-space-10:    2.5rem;
    --hd-space-12:    3rem;
    --hd-space-16:    4rem;
    --hd-space-20:    5rem;
    --hd-space-24:    6rem;
    --hd-space-32:    8rem;

    /* Border Radius */
    --hd-radius-sm:   6px;
    --hd-radius:      12px;
    --hd-radius-lg:   20px;
    --hd-radius-xl:   28px;
    --hd-radius-full: 9999px;

    /* Shadows */
    --hd-shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --hd-shadow:      0 4px 24px rgba(0,0,0,0.10);
    --hd-shadow-md:   0 8px 32px rgba(0,0,0,0.15);
    --hd-shadow-lg:   0 16px 48px rgba(0,0,0,0.20);
    --hd-shadow-xl:   0 24px 64px rgba(0,0,0,0.25);
    --hd-shadow-gold: 0 8px 32px rgba(212,175,55,0.35);

    /* Transitions */
    --hd-ease:        cubic-bezier(0.4, 0, 0.2, 1);
    --hd-trans:       0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hd-trans-fast:  0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --hd-trans-slow:  0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Gradients */
    --hd-grad-dark:   linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --hd-grad-gold:   linear-gradient(135deg, #D4AF37, #F0D060);
    --hd-grad-hero:   linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,41,59,0.75) 50%, rgba(15,23,42,0.88) 100%);
    --hd-grad-card:   linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.8) 100%);

    /* Z-Index Scale */
    --hd-z-below:    -1;
    --hd-z-base:      0;
    --hd-z-above:     10;
    --hd-z-dropdown:  100;
    --hd-z-sticky:    200;
    --hd-z-modal:     300;
    --hd-z-toast:     400;
}

/* ═══════════════════════════════════════════════════════════
   3. BASE STYLES
═══════════════════════════════════════════════════════════ */
.hd-page {
    font-family: var(--hd-font);
    color: var(--hd-body);
    background: var(--hd-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hd-page img {
    max-width: 100%;
    height: auto;
}

/* ═══════════════════════════════════════════════════════════
   4. LAYOUT
═══════════════════════════════════════════════════════════ */
.hd-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--hd-space-6);
}

.hd-wrap-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--hd-space-6);
}

.hd-wrap-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--hd-space-6);
}

.hd-section {
    padding: var(--hd-space-24) 0;
}

.hd-section-sm {
    padding: var(--hd-space-16) 0;
}

.hd-section-lg {
    padding: var(--hd-space-32) 0;
}

/* Backgrounds de section */
.hd-bg-dark    { background: var(--hd-dark); }
.hd-bg-dark2   { background: var(--hd-dark-2); }
.hd-bg-white   { background: var(--hd-white); }
.hd-bg-light   { background: var(--hd-bg); }
.hd-bg-alt     { background: var(--hd-bg-alt); }
.hd-bg-grad    { background: var(--hd-grad-dark); }

/* Grilles */
.hd-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--hd-space-6); }
.hd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hd-space-6); }
.hd-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hd-space-5); }
.hd-grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--hd-space-20); align-items: center; }

/* Flex utilitaires */
.hd-flex          { display: flex; }
.hd-flex-center   { display: flex; align-items: center; justify-content: center; }
.hd-flex-between  { display: flex; align-items: center; justify-content: space-between; }
.hd-flex-col      { display: flex; flex-direction: column; }
.hd-flex-wrap     { flex-wrap: wrap; }
.hd-gap-3         { gap: var(--hd-space-3); }
.hd-gap-4         { gap: var(--hd-space-4); }
.hd-gap-6         { gap: var(--hd-space-6); }
.hd-gap-8         { gap: var(--hd-space-8); }

/* ═══════════════════════════════════════════════════════════
   5. HERO COMPOSANT
═══════════════════════════════════════════════════════════ */
.hd-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--hd-dark);
    overflow: hidden;
}

.hd-hero-sm {
    min-height: 60vh;
}

.hd-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hd-hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hd-grad-hero);
    z-index: 1;
}

.hd-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(212,175,55,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212,175,55,0.05) 0%, transparent 40%);
    z-index: 2;
}

.hd-hero-content {
    position: relative;
    z-index: 3;
    padding: var(--hd-space-32) 0 var(--hd-space-20);
    animation: hdFadeInUp 0.8s ease both;
}

/* ═══════════════════════════════════════════════════════════
   6. TYPOGRAPHY COMPOSANTS
═══════════════════════════════════════════════════════════ */
.hd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--hd-space-2);
    font-size: var(--hd-text-xs);
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--hd-gold);
    margin-bottom: var(--hd-space-3);
}

.hd-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--hd-gold);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.hd-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--hd-space-2);
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.25);
    color: var(--hd-gold-lt);
    font-size: var(--hd-text-xs);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px var(--hd-space-4);
    border-radius: var(--hd-radius-full);
    margin-bottom: var(--hd-space-5);
}

.hd-h1 {
    font-size: clamp(2rem, 5.5vw, var(--hd-text-6xl));
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.5px;
    color: var(--hd-white);
}

.hd-h2 {
    font-size: clamp(1.8rem, 3.5vw, var(--hd-text-4xl));
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.hd-h3 {
    font-size: var(--hd-text-xl);
    font-weight: 700;
    line-height: 1.3;
}

.hd-h2-dark { color: var(--hd-dark); }
.hd-h2-white { color: var(--hd-white); }
.hd-h2 span, .hd-h1 span, .hd-h3 span { color: var(--hd-gold); }
.hd-h1 em { font-style: normal; color: var(--hd-gold-lt); }

.hd-lead {
    font-size: var(--hd-text-lg);
    color: rgba(226,232,240,0.75);
    line-height: 1.8;
    max-width: 620px;
}

.hd-body-text {
    font-size: var(--hd-text-base);
    color: var(--hd-body);
    line-height: 1.8;
}

.hd-muted {
    font-size: var(--hd-text-sm);
    color: var(--hd-muted);
    line-height: 1.7;
}

.hd-sec-head {
    margin-bottom: var(--hd-space-16);
}

.hd-sec-head-center {
    text-align: center;
}

.hd-sec-head-center .hd-lead,
.hd-sec-head-center .hd-muted {
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   7. BOUTONS
═══════════════════════════════════════════════════════════ */
.hd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--hd-space-2);
    padding: 14px 28px;
    border-radius: var(--hd-radius);
    font-family: var(--hd-font);
    font-size: var(--hd-text-base);
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform var(--hd-trans), box-shadow var(--hd-trans);
    white-space: nowrap;
    line-height: 1;
}

.hd-btn:hover {
    transform: translateY(-2px);
}

.hd-btn-lg {
    padding: 16px 36px;
    font-size: var(--hd-text-lg);
    border-radius: var(--hd-radius-lg);
}

.hd-btn-sm {
    padding: 9px 18px;
    font-size: var(--hd-text-sm);
}

.hd-btn-gold {
    background: var(--hd-grad-gold);
    color: #1a1000;
    box-shadow: var(--hd-shadow-gold);
}
.hd-btn-gold:hover {
    box-shadow: 0 12px 36px rgba(212,175,55,0.5);
}

.hd-btn-dark {
    background: var(--hd-dark);
    color: var(--hd-white);
    border: 1.5px solid rgba(255,255,255,0.12);
}
.hd-btn-dark:hover {
    border-color: var(--hd-gold);
    color: var(--hd-gold-lt);
}

.hd-btn-ghost {
    background: rgba(255,255,255,0.08);
    color: var(--hd-white);
    border: 1.5px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
}
.hd-btn-ghost:hover {
    border-color: var(--hd-gold);
    color: var(--hd-gold-lt);
}

.hd-btn-outline-gold {
    background: transparent;
    color: var(--hd-gold);
    border: 2px solid var(--hd-gold);
}
.hd-btn-outline-gold:hover {
    background: var(--hd-gold);
    color: #1a1000;
}

.hd-btn-white {
    background: var(--hd-white);
    color: var(--hd-dark);
}
.hd-btn-white:hover {
    box-shadow: var(--hd-shadow-md);
}

/* Groupe de boutons */
.hd-btn-group {
    display: flex;
    gap: var(--hd-space-3);
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   8. CARDS
═══════════════════════════════════════════════════════════ */

/* Card de base */
.hd-card {
    background: var(--hd-white);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-lg);
    overflow: hidden;
    transition: all var(--hd-trans);
}

.hd-card:hover {
    box-shadow: var(--hd-shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

/* Card dark */
.hd-card-dark {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--hd-radius-lg);
    transition: all var(--hd-trans);
}

.hd-card-dark:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--hd-border-gold);
    transform: translateY(-4px);
}

/* Card avec ligne gold au hover */
.hd-card-gold-line {
    position: relative;
    overflow: hidden;
}

.hd-card-gold-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--hd-grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--hd-trans);
}

.hd-card-gold-line:hover::after {
    transform: scaleX(1);
}

/* Card avec ligne gold en haut */
.hd-card-top-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--hd-grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--hd-trans);
}

.hd-card-top-line:hover::before {
    transform: scaleX(1);
}

/* Card contenu */
.hd-card-body {
    padding: var(--hd-space-8) var(--hd-space-7);
}

.hd-card-body-sm {
    padding: var(--hd-space-6) var(--hd-space-6);
}

/* Card image */
.hd-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hd-card-img-square {
    aspect-ratio: 1 / 1;
}

.hd-card-img-portrait {
    aspect-ratio: 3 / 4;
}

/* Card icon */
.hd-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--hd-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: var(--hd-space-5);
    flex-shrink: 0;
}

.hd-card-icon-light {
    background: var(--hd-bg-alt);
    border: 1px solid var(--hd-border);
}

.hd-card-icon-gold {
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.2);
}

.hd-card-icon-dark {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ═══════════════════════════════════════════════════════════
   9. IMAGE COMPOSANTS
═══════════════════════════════════════════════════════════ */
.hd-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--hd-radius-lg);
}

.hd-img-cinema {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--hd-ease);
}

.hd-img-wrap:hover .hd-img-cinema {
    transform: scale(1.04);
}

.hd-img-overlay {
    position: absolute;
    inset: 0;
    background: var(--hd-grad-card);
}

.hd-img-caption {
    position: absolute;
    bottom: var(--hd-space-6);
    left: var(--hd-space-6);
    right: var(--hd-space-6);
    z-index: 2;
}

/* Cinematic full section */
.hd-cinematic {
    position: relative;
    overflow: hidden;
}

.hd-cinematic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hd-cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.75) 0%, rgba(30,41,59,0.5) 50%, rgba(212,175,55,0.08) 100%);
}

.hd-cinematic-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--hd-space-10);
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   10. BADGES & TAGS
═══════════════════════════════════════════════════════════ */
.hd-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--hd-radius-full);
    font-size: var(--hd-text-xs);
    font-weight: 700;
}

.hd-badge-gold {
    background: rgba(212,175,55,0.12);
    color: var(--hd-gold);
    border: 1px solid var(--hd-border-gold);
}

.hd-badge-success {
    background: rgba(34,197,94,0.1);
    color: #16a34a;
    border: 1px solid rgba(34,197,94,0.2);
}

.hd-badge-hot {
    background: rgba(239,68,68,0.1);
    color: #dc2626;
    border: 1px solid rgba(239,68,68,0.2);
}

.hd-badge-info {
    background: rgba(59,130,246,0.1);
    color: #2563eb;
    border: 1px solid rgba(59,130,246,0.2);
}

/* ═══════════════════════════════════════════════════════════
   11. DIVIDERS & SEPARATEURS
═══════════════════════════════════════════════════════════ */
.hd-divider {
    width: 64px;
    height: 3px;
    background: var(--hd-grad-gold);
    border-radius: var(--hd-radius-full);
    margin: var(--hd-space-4) 0;
}

.hd-divider-center {
    margin: var(--hd-space-4) auto;
}

.hd-divider-full {
    width: 100%;
    height: 1px;
    background: var(--hd-border);
    margin: var(--hd-space-8) 0;
}

.hd-divider-full-dark {
    background: rgba(255,255,255,0.08);
}

/* ═══════════════════════════════════════════════════════════
   12. STATS COMPOSANTS
═══════════════════════════════════════════════════════════ */
.hd-stat {
    text-align: center;
    padding: var(--hd-space-8);
}

.hd-stat-num {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--hd-gold-lt);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: var(--hd-space-2);
}

.hd-stat-num-dark {
    color: var(--hd-dark);
}

.hd-stat-label {
    font-size: var(--hd-text-sm);
    color: var(--hd-muted);
    font-weight: 600;
    line-height: 1.4;
}

.hd-stat-desc {
    font-size: var(--hd-text-xs);
    color: rgba(148,163,184,0.6);
    margin-top: var(--hd-space-1);
}

/* ═══════════════════════════════════════════════════════════
   13. BREADCRUMB
═══════════════════════════════════════════════════════════ */
.hd-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--hd-space-2);
    font-size: var(--hd-text-sm);
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--hd-space-7);
}

.hd-breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--hd-trans-fast);
}

.hd-breadcrumb a:hover {
    color: var(--hd-gold-lt);
}

.hd-breadcrumb-sep {
    color: rgba(255,255,255,0.25);
}

/* ═══════════════════════════════════════════════════════════
   14. CTA BANNER
═══════════════════════════════════════════════════════════ */
.hd-cta-banner {
    background: var(--hd-grad-dark);
    border-radius: var(--hd-radius-xl);
    padding: var(--hd-space-20) var(--hd-space-16);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hd-border-gold);
}

.hd-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(212,175,55,0.07) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hd-cta-banner > * {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   15. INTERNAL LINKS BAR
═══════════════════════════════════════════════════════════ */
.hd-links-bar {
    display: flex;
    gap: var(--hd-space-2);
    flex-wrap: wrap;
    justify-content: center;
    padding: var(--hd-space-10) 0;
    border-top: 1px solid var(--hd-border);
    border-bottom: 1px solid var(--hd-border);
}

.hd-link-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--hd-space-2);
    padding: 8px 18px;
    background: var(--hd-bg-alt);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-full);
    font-size: var(--hd-text-sm);
    font-weight: 600;
    color: var(--hd-dark);
    text-decoration: none;
    transition: all var(--hd-trans);
}

.hd-link-pill:hover {
    background: var(--hd-dark);
    color: var(--hd-gold-lt);
    border-color: var(--hd-dark);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   16. FEATURE LIST
═══════════════════════════════════════════════════════════ */
.hd-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--hd-space-3);
    list-style: none;
    padding: 0;
}

.hd-feature-item {
    display: flex;
    align-items: center;
    gap: var(--hd-space-3);
    font-size: var(--hd-text-sm);
    color: var(--hd-body);
    font-weight: 500;
}

.hd-feature-dot {
    width: 8px;
    height: 8px;
    background: var(--hd-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.hd-feature-check::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: var(--hd-grad-gold);
    color: #1a1000;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   17. ANIMATIONS
═══════════════════════════════════════════════════════════ */
@keyframes hdFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hdFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes hdSlideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes hdPulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.05); }
}

@keyframes hdGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(212,175,55,0.2); }
    50%       { box-shadow: 0 0 40px rgba(212,175,55,0.4); }
}

.hd-anim-up    { animation: hdFadeInUp var(--hd-trans-slow) ease both; }
.hd-anim-fade  { animation: hdFadeIn var(--hd-trans-slow) ease both; }
.hd-anim-left  { animation: hdSlideInLeft var(--hd-trans-slow) ease both; }
.hd-anim-d1    { animation-delay: 0.1s; }
.hd-anim-d2    { animation-delay: 0.2s; }
.hd-anim-d3    { animation-delay: 0.3s; }
.hd-anim-d4    { animation-delay: 0.4s; }

/* Observer-triggered */
.hd-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--hd-ease), transform 0.6s var(--hd-ease);
}

.hd-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   18. RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .hd-wrap { padding: 0 var(--hd-space-5); }
    .hd-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hd-grid-split { gap: var(--hd-space-12); }
}

@media (max-width: 1024px) {
    .hd-section { padding: var(--hd-space-20) 0; }
    .hd-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hd-section-lg { padding: var(--hd-space-24) 0; }
}

@media (max-width: 768px) {
    .hd-section { padding: var(--hd-space-16) 0; }
    .hd-section-sm { padding: var(--hd-space-10) 0; }
    .hd-wrap { padding: 0 var(--hd-space-4); }
    .hd-grid-2 { grid-template-columns: 1fr; }
    .hd-grid-3 { grid-template-columns: 1fr; }
    .hd-grid-split { grid-template-columns: 1fr; gap: var(--hd-space-8); }
    .hd-hero { min-height: 70vh; }
    .hd-hero-content { padding: var(--hd-space-24) 0 var(--hd-space-12); }
    .hd-h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .hd-h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
    .hd-cta-banner { padding: var(--hd-space-12) var(--hd-space-6); }
    .hd-btn-group { flex-direction: column; }
    .hd-btn-group .hd-btn { justify-content: center; }
    .hd-feature-list { grid-template-columns: 1fr; }
    .hd-sec-head { margin-bottom: var(--hd-space-10); }
}

@media (max-width: 480px) {
    .hd-section { padding: var(--hd-space-12) 0; }
    .hd-wrap { padding: 0 var(--hd-space-3); }
    .hd-grid-4 { grid-template-columns: 1fr; }
    .hd-card-body { padding: var(--hd-space-5); }
    .hd-stat-num { font-size: 2.2rem; }
}

/* ═══════════════════════════════════════════════════════════
   19. UTILITAIRES
═══════════════════════════════════════════════════════════ */
.hd-text-center { text-align: center; }
.hd-text-left   { text-align: left; }
.hd-text-right  { text-align: right; }

.hd-text-white  { color: var(--hd-white) !important; }
.hd-text-gold   { color: var(--hd-gold) !important; }
.hd-text-muted  { color: var(--hd-muted) !important; }
.hd-text-dark   { color: var(--hd-dark) !important; }

.hd-mt-0  { margin-top: 0; }
.hd-mt-4  { margin-top: var(--hd-space-4); }
.hd-mt-6  { margin-top: var(--hd-space-6); }
.hd-mt-8  { margin-top: var(--hd-space-8); }
.hd-mt-12 { margin-top: var(--hd-space-12); }
.hd-mt-16 { margin-top: var(--hd-space-16); }

.hd-mb-0  { margin-bottom: 0; }
.hd-mb-4  { margin-bottom: var(--hd-space-4); }
.hd-mb-6  { margin-bottom: var(--hd-space-6); }
.hd-mb-8  { margin-bottom: var(--hd-space-8); }
.hd-mb-12 { margin-bottom: var(--hd-space-12); }

.hd-max-640 { max-width: 640px; }
.hd-max-800 { max-width: 800px; }
.hd-mx-auto { margin-left: auto; margin-right: auto; }

.hd-hidden-mobile { display: block; }
@media (max-width: 768px) { .hd-hidden-mobile { display: none; } }

.hd-hidden-desktop { display: none; }
@media (max-width: 768px) { .hd-hidden-desktop { display: block; } }

/* ═══════════════════════════════════════════════════════════
   20. SCROLL REVEAL SCRIPT — à placer en fin de page
   Usage : <div class="hd-reveal"> ... </div>
   Script : hd-reveal.js
═══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   HAITI DIGITAL — Footer CSS
   À ajouter à la FIN de hd-design-system.css
   /roro/wp-content/themes/divi-child/assets/css/hd-design-system.css
══════════════════════════════════════════════════════════════ */

/* ── Structure footer ─────────────────────────────────────── */
#hd-main-footer {
    background: #0F172A;
    border-top: 1px solid rgba(201, 168, 76, 0.18);
    padding: 56px 0 32px;
    width: 100%;
}

.hd-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Ligne supérieure ─────────────────────────────────────── */
.hd-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* ── Brand / Logo ─────────────────────────────────────────── */
.hd-footer-brand {
    flex-shrink: 0;
}

.hd-footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #c9a84c;
    text-decoration: none;
    letter-spacing: 0.03em;
    display: block;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.hd-footer-logo:hover {
    color: #e8c96a;
}

.hd-footer-tagline {
    font-size: 0.72rem;
    color: rgba(201, 168, 76, 0.48);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.4;
}

/* ── Navigation footer ────────────────────────────────────── */
.hd-footer-nav {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hd-footer-col h4 {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(201, 168, 76, 0.6);
    font-weight: 600;
    margin: 0 0 14px 0;
    padding: 0;
}

.hd-footer-col a {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    margin-bottom: 9px;
    line-height: 1.4;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.hd-footer-col a:hover {
    color: #c9a84c;
    padding-left: 4px;
}

/* ── Séparateur ───────────────────────────────────────────── */
.hd-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
    margin: 0 0 32px 0;
}

/* ── Section sociale ──────────────────────────────────────── */
.hd-footer-social {
    text-align: center;
    margin-bottom: 32px;
}

.hd-footer-social-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201, 168, 76, 0.45);
    margin: 0 0 16px 0;
}

/* ── Icônes sociales ──────────────────────────────────────── */
.hd-social-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.hd-social-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.08);
    border: 1.5px solid rgba(201, 168, 76, 0.28);
    color: #c9a84c;
    text-decoration: none;
    transition:
        background  0.25s ease,
        border-color 0.25s ease,
        transform   0.25s ease,
        box-shadow  0.25s ease,
        color       0.25s ease;
    flex-shrink: 0;
}

.hd-social-bar a svg {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}

.hd-social-bar a:hover {
    background: rgba(201, 168, 76, 0.20);
    border-color: #c9a84c;
    color: #e8c96a;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.22);
}

/* ── Copyright bas ────────────────────────────────────────── */
.hd-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hd-footer-copy {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.03em;
}

.hd-footer-made {
    font-size: 0.7rem;
    color: rgba(201, 168, 76, 0.32);
    letter-spacing: 0.04em;
}

/* ── Responsive mobile ────────────────────────────────────── */
@media (max-width: 768px) {
    .hd-footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .hd-footer-nav {
        gap: 28px;
        width: 100%;
    }

    .hd-footer-col {
        min-width: calc(50% - 14px);
    }

    .hd-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .hd-footer-inner {
        padding: 0 20px;
    }

    #hd-main-footer {
        padding: 40px 0 24px;
    }
}

@media (max-width: 480px) {
    .hd-footer-nav {
        flex-direction: column;
        gap: 24px;
    }

    .hd-footer-col {
        min-width: 100%;
    }

    .hd-social-bar a {
        width: 42px;
        height: 42px;
    }

    .hd-social-bar a svg {
        width: 18px;
        height: 18px;
    }
}

/* ══════════════════════════════════════════════════════════════
   FIN — Haiti Digital Footer CSS
══════════════════════════════════════════════════════════════ */
