/* ============================================
   VOST — Components
   Buttons, Highlights, Effects, Custom Cursor
   ============================================ */

/* ---- Custom Cursor (Desktop only) ---- */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--salmon);
    border-radius: 1px;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.15s var(--ease-out-expo),
                height 0.15s var(--ease-out-expo),
                color 0.15s ease;
    opacity: 0;
    color: rgba(240, 236, 232, 0.3);
}

.cursor-ring svg {
    width: 100%;
    height: 100%;
}

.cursor-dot.is-active,
.cursor-ring.is-active {
    opacity: 1;
}

/* Expand cursor on interactive elements */
.cursor-ring.is-hovering {
    width: 40px;
    height: 40px;
    color: var(--salmon);
}

/* Hide custom cursor on touch devices */
@media (max-width: 768px), (hover: none) {
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

/* ---- CTA Button — bordure blanche, fill au hover (comme PDF) ---- */
.cta-button {
    display: inline-block;
    font-family: var(--font-impact);
    font-weight: 900;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 22px 56px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: none;
    background: transparent;
    transition: color var(--duration-fast) var(--ease-out);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 100%;
    bottom: 0;
    background: var(--white);
    transition: left 0.4s var(--ease-out-expo),
                right 0.4s var(--ease-out-expo);
    z-index: 0;
}

.cta-button:hover::before {
    left: 0;
    right: 0;
}

.cta-button:hover {
    color: var(--black);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Magnetic wrapper */
.magnetic-wrap {
    display: inline-block;
}

/* ---- Highlight draw (salmon background qui se dessine) ---- */
.highlight-draw {
    position: relative;
    display: inline;
    padding: 4px 16px;
    color: var(--black);
}

.highlight-draw::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background: var(--salmon);
    z-index: -1;
    transition: width 0.9s var(--ease-out-expo);
}

.highlight-draw.is-visible::before {
    width: 100%;
}

/* ---- Glow box (pour scarcity) ---- */
.glow-box {
    box-shadow: 0 0 40px rgba(224, 154, 132, 0.05),
                0 0 80px rgba(224, 154, 132, 0.03),
                inset 0 1px 0 rgba(224, 154, 132, 0.1);
}

/* ---- Light bars decoratifs (pages 1, 7, 9 du PDF) ---- */
.light-bars {
    display: flex;
    gap: 5px;
    justify-content: center;
    opacity: 0.4;
    pointer-events: none;
}

.light-bars span {
    width: 20px;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(195, 135, 75, 0.55) 0%,
        rgba(190, 130, 70, 0.25) 35%,
        rgba(180, 120, 60, 0) 100%);
    border-radius: 0 0 2px 2px;
    box-shadow: 0 0 6px rgba(195, 135, 75, 0.08);
}

.light-bars--up span {
    background: linear-gradient(0deg,
        rgba(195, 135, 75, 0.55) 0%,
        rgba(190, 130, 70, 0.25) 35%,
        rgba(180, 120, 60, 0) 100%);
    border-radius: 2px 2px 0 0;
}
