/* ============================================================
   IVOIRE HOME DESIGN — EFFETS LUXE
   Lueurs dorées · Shimmer · Curseur · Particules · Révélations
   ============================================================ */

/* ----- CURSEUR PERSONNALISÉ ----- */
* { cursor: none !important; }

#ihd-cursor {
    position: fixed;
    width: 10px; height: 10px;
    background: #ca9f43;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width .15s, height .15s, background .15s;
    box-shadow: 0 0 10px #ca9f43, 0 0 20px rgba(202,159,67,.4);
    will-change: transform;
}
#ihd-cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(202,159,67,.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transform: translate(-50%, -50%);
    transition: width .35s cubic-bezier(.25,.46,.45,.94),
                height .35s cubic-bezier(.25,.46,.45,.94),
                border-color .3s,
                opacity .3s;
    will-change: transform;
}
body:hover #ihd-cursor { opacity: 1; }
/* Agrandissement au survol des liens/boutons */
body.ihd-hovering #ihd-cursor {
    width: 16px; height: 16px;
    background: #f6efd8;
    box-shadow: 0 0 16px #ca9f43, 0 0 32px rgba(202,159,67,.5);
}
body.ihd-hovering #ihd-cursor-ring {
    width: 52px; height: 52px;
    border-color: rgba(202,159,67,.8);
}

/* ----- CANVAS PARTICULES ----- */
#ihd-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .55;
}

/* ----- LUEUR AMBIANTE SUR LES CARTES PRODUIT ----- */
.ihd-product-card,
.wt-box.blog-post {
    transition: transform .35s cubic-bezier(.25,.46,.45,.94),
                box-shadow .35s cubic-bezier(.25,.46,.45,.94) !important;
    will-change: transform, box-shadow;
}
.ihd-product-card:hover,
.wt-box.blog-post:hover {
    transform: translateY(-6px) !important;
    box-shadow:
        0 20px 50px rgba(0,0,0,.12),
        0 0 0 1px rgba(202,159,67,.2),
        0 0 30px rgba(202,159,67,.12) !important;
}

/* ----- SWEEP LUMINEUX SUR LES IMAGES PRODUIT ----- */
.ihd-product-media,
.wt-thum-bx {
    position: relative;
    overflow: hidden;
}
.ihd-product-media::after,
.wt-thum-bx::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,.18) 50%,
        transparent 100%
    );
    pointer-events: none;
    transition: left .7s cubic-bezier(.4,0,.2,1);
    z-index: 2;
}
.ihd-product-card:hover .ihd-product-media::after,
.wt-box:hover .wt-thum-bx::after {
    left: 150%;
}

/* ----- BOUTONS : HALO PULSANT ----- */
.site-button {
    position: relative;
    overflow: hidden;
}
.site-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(255,255,255,.2) 50%,
        transparent 100%
    );
    transform: translateX(-100%);
    transition: transform .55s ease;
    z-index: 1;
    pointer-events: none;
}
.site-button:hover::before {
    transform: translateX(100%);
}
.site-button span,
.site-button i {
    position: relative;
    z-index: 2;
}

/* ----- SHIMMER TEXTE SUR LES TITRES H1/H2 (sections) ----- */
.section-head h2,
.wt-bnr-inr-entry h1 {
    background-image: linear-gradient(
        90deg,
        #3a2c14 0%,
        #ca9f43 40%,
        #f6efd8 50%,
        #ca9f43 60%,
        #3a2c14 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ihdTitleShimmer 6s linear infinite;
}
@keyframes ihdTitleShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ----- SÉPARATEURS DORÉS BRILLANTS ----- */
.wt-separator {
    position: relative;
}
.wt-separator::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ca9f43, transparent);
    margin: 8px auto 0;
    animation: ihdSepGlow 2.5s ease-in-out infinite alternate;
}
@keyframes ihdSepGlow {
    from { box-shadow: 0 0 4px rgba(202,159,67,.3); opacity: .7; }
    to   { box-shadow: 0 0 14px rgba(202,159,67,.8), 0 0 28px rgba(202,159,67,.3); opacity: 1; }
}

/* ----- ENTRÉES AU SCROLL (révélation élégante) ----- */
.ihd-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.25,.46,.45,.94),
                transform .7s cubic-bezier(.25,.46,.45,.94);
}
.ihd-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Délais en cascade pour les grilles */
.ihd-reveal:nth-child(2) { transition-delay: .08s; }
.ihd-reveal:nth-child(3) { transition-delay: .16s; }
.ihd-reveal:nth-child(4) { transition-delay: .24s; }
.ihd-reveal:nth-child(5) { transition-delay: .32s; }
.ihd-reveal:nth-child(6) { transition-delay: .40s; }

/* ----- LUEUR DORÉE SUR LE LOGO AU HOVER ----- */
.ihd-site-logo {
    transition: filter .4s ease, transform .4s ease;
}
.ihd-site-logo:hover {
    filter: drop-shadow(0 0 10px rgba(202,159,67,.7)) brightness(1.1);
    transform: scale(1.04);
}

/* ----- FOOTER : LIGNE D'ACCENTUATION DORÉE ----- */
.site-footer.footer-large {
    position: relative;
}
.site-footer.footer-large::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(202,159,67,.15) 10%,
        #ca9f43 30%,
        rgba(255,243,200,.7) 50%,
        #ca9f43 70%,
        rgba(202,159,67,.15) 90%,
        transparent 100%
    );
    animation: ihdFooterLine 4s ease-in-out infinite alternate;
}
@keyframes ihdFooterLine {
    from { opacity: .5; }
    to   { opacity: 1; filter: drop-shadow(0 0 6px rgba(202,159,67,.6)); }
}

/* ----- BADGES PRODUIT : SCINTILLEMENT ----- */
.ihd-product-badge.is-signature {
    animation: ihdBadgeGlow 3s ease-in-out infinite alternate;
}
@keyframes ihdBadgeGlow {
    from { box-shadow: none; }
    to   { box-shadow: 0 0 8px rgba(202,159,67,.6); }
}

/* ----- PRIX : BRILLANCE ----- */
.ihd-product-footer strong,
.ihd-price-main {
    background: linear-gradient(90deg, #9f7a2f, #ca9f43, #f6efd8, #ca9f43, #9f7a2f);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ihdPriceShimmer 5s linear infinite;
    font-weight: 800 !important;
}
@keyframes ihdPriceShimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ----- BARRE INFO : HALO BAS ----- */
.ihd-ticker {
    box-shadow: 0 2px 8px rgba(0,0,0,.3),
                0 4px 20px rgba(202,159,67,.15) !important;
}

/* Désactivé sur mobile (perf) */
@media (max-width: 768px) {
    #ihd-cursor, #ihd-cursor-ring { display: none; }
    * { cursor: auto !important; }
    .section-head h2,
    .wt-bnr-inr-entry h1 { animation-duration: 10s; }
}
