/* Corretora de Investimentos Component Styles */

@font-face {
    font-family: "Akrobat";
    src: url("/wp-content/themes/lucrar-hello-child/assets/fonts/Akrobat-Bold.woff2") format("woff2"),
         url("/wp-content/themes/lucrar-hello-child/assets/fonts/Akrobat-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Akrobat";
    src: url("/wp-content/themes/lucrar-hello-child/assets/fonts/Akrobat-Black.woff2") format("woff2"),
         url("/wp-content/themes/lucrar-hello-child/assets/fonts/Akrobat-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.lcr-corretora-card {
    --lcr-font-family: var(--font-akrobat, "Akrobat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
    font-family: var(--lcr-font-family);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: visible;
    isolation: isolate;

    padding: clamp(24px, 5vw, 40px) clamp(20px, 5vw, 40px) clamp(22px, 4vw, 36px);
    border-radius: clamp(14px, 2vw, 20px);
    border: 1px solid rgba(239, 215, 160, 0.13);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(239, 215, 160, 0.08) 0%, transparent 60%),
        #0e1116;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Connector target — unchanged, used by lucrar-wheel JS */
.lcr-corretora-connector-target {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 1px;
    transform: translate(-50%, -26px);
    pointer-events: none;
    opacity: 0;
}

/* Logo */
.lcr-corretora-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(16px, 3vw, 24px);
}

.lcr-corretora-logo {
    display: block;
    height: clamp(32px, 7vw, 52px);
    width: auto;
}

/* Divider */
.lcr-corretora-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(239, 215, 160, 0.18), transparent);
    margin-bottom: clamp(12px, 2.5vw, 18px);
}

/* Eyebrow label */
.lcr-corretora-eyebrow {
    font-family: var(--lcr-font-family);
    font-size: clamp(9px, 1.5vw, 11px);
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(239, 215, 160, 0.4);
    margin: 0 0 clamp(8px, 1.5vw, 12px);
    line-height: 1.4;
}

/* Description */
.lcr-corretora-text {
    font-family: var(--lcr-font-family);
    font-size: clamp(0.82rem, 2.2vw, 0.95rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    margin: 0 0 clamp(18px, 3.5vw, 26px);
}

/* Freedom24 highlight within description */
.lcr-freedom-link {
    color: rgba(239, 215, 160, 0.75);
    font-weight: 700;
}

/* CTA button */
.lcr-corretora-btn {
    display: inline-block;
    background: #00c16a;
    color: #ffffff;
    font-family: var(--lcr-font-family);
    font-weight: 900;
    font-size: clamp(0.88rem, 2.5vw, 1.05rem);
    letter-spacing: 0.3px;
    padding: clamp(10px, 2vw, 14px) clamp(24px, 5vw, 38px);
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(0, 193, 106, 0.3);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    pointer-events: none; /* click handled by parent <a> */
}

/* Hover / focus */
.lcr-corretora-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 215, 160, 0.28);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(239, 215, 160, 0.08);
}

.lcr-corretora-card:hover .lcr-corretora-btn {
    background: #00d474;
    box-shadow: 0 8px 28px rgba(0, 193, 106, 0.4);
}

.lcr-corretora-card:focus-visible {
    outline: 0;
    transform: translateY(-2px);
    border-color: rgba(239, 215, 160, 0.45);
    box-shadow:
        0 0 0 3px rgba(239, 215, 160, 0.28),
        0 14px 40px rgba(0, 0, 0, 0.35);
}

/* Mobile */
@media (max-width: 480px) {
    .lcr-corretora-card {
        max-width: calc(100vw - 32px);
    }

    .lcr-corretora-connector-target {
        transform: translate(-50%, -18px);
    }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
    .lcr-corretora-card {
        max-width: calc(100vw - 48px);
    }

    .lcr-corretora-connector-target {
        transform: translate(-50%, -22px);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .lcr-corretora-card,
    .lcr-corretora-btn {
        transition: none;
    }
}
