/* ============================================================
   CTA / CONTACT SECTION (Home page)
   ============================================================ */

.cta-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--clr-bg);
    position: relative;
    padding: 4rem 2rem;
}

.cta-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--cta-grid-color, rgba(109, 40, 217, 0.2)) 1px, transparent 1px),
        linear-gradient(90deg, var(--cta-grid-color, rgba(109, 40, 217, 0.2)) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    mix-blend-mode: screen;
    animation: gridMove 20s linear infinite;
    z-index: 0;
    transition: background-image 0.7s ease;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

.cta-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    text-align: center;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-desc {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    max-width: 40rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: var(--clr-main);
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 40px var(--cta-shadow-color, rgba(109, 40, 217, 0.4));
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, color 0.7s;
    z-index: 1;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    border-radius: inherit;
    opacity: 0.3;
    pointer-events: none;
}

.cta-btn:hover {
    background: var(--clr-main-light);
    box-shadow: 0 0 60px var(--cta-shadow-hover, rgba(139, 92, 246, 0.6));
    transform: translateY(-2px);
}

.cta-btn svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cta-btn:hover svg {
    transform: translateX(6px);
}

/* ── Modo Loira overrides ── */
body.modo-loira .cta-grid {
    --cta-grid-color: rgba(184, 134, 11, 0.25);
    opacity: 0.8;
    mix-blend-mode: multiply;
}

body.modo-loira .cta-btn {
    --cta-shadow-color: rgba(184, 134, 11, 0.4);
}

body.modo-loira .cta-btn:hover {
    --cta-shadow-hover: rgba(212, 160, 23, 0.6);
}