/* ── sc-button ── */
.sc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sc-space-1);
    padding: 14px 24px;
    border-radius: var(--sc-radius-sm);
    font-family: var(--sc-font-display);
    font-size: var(--sc-font-size-base);
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease;
    border: none;
    line-height: 1;
    box-sizing: border-box;
}

.sc-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.sc-button__icon {
    font-size: 18px;
}

/* -- primary: golden gradient (login CTA) -- */
.sc-button--primary {
    background: linear-gradient(to bottom, #f3b05c, #d17c22);
    border: 1px solid #FDCE74;
    color: #4A1101;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 12px rgba(255, 200, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.sc-button--primary:hover {
    box-shadow:
        0 0 18px rgba(255, 200, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.sc-button--primary:active {
    transform: scale(0.98);
}

/* -- secondary: outlined ghost -- */
.sc-button--secondary {
    background: transparent;
    border: 1.5px solid var(--sc-color-secondary);
    color: #FCC466;
    padding: 10px 18px;
    border-radius: var(--sc-radius-sm);
}

.sc-button--secondary:hover {
    background: rgba(187, 150, 106, 0.15);
    border-color: #FCC466;
}

.sc-button--secondary:active {
    transform: scale(0.97);
}

/* -- cta: orange gradient (pricing cards) -- */
.sc-button--cta {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #B6663D 0%, #D27D46 30%, #ED9653 60%, #EFA25D 90%);
    color: #FFF7ED;
    width: 82%;
    height: 46px;
    border-radius: var(--sc-radius-lg);
    font-size: var(--sc-font-size-xl);
    font-weight: 500;
    letter-spacing: 1.2px;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.7), 0 0 3px rgba(0, 0, 0, 0.5);
    border: 1px solid #350401;
    margin-bottom: 20px;
    padding: 7px;
}

.sc-button--cta:hover {
    background-image:
        linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.1) 100%),
        linear-gradient(to right, #C0744D 0%, #DB8A55 30%, #F5A565 60%, #F7B172 90%);
    box-shadow: 0 8px 15px -5px rgba(182, 102, 61, 0.5);
    border: 1px solid rgba(255, 247, 237, 0.2);
    color: #FFFFFF;
    text-shadow: 0 0 2px rgba(0,0,0,0.8), 0 0 8px rgba(239,162,93,0.4);
    transition: all 0.2s ease-in-out;
}

/* -- cta ponto-de-luz variant -- */
.sc-button--cta-glow {
    font-family: Arial, sans-serif;
    color: #FFF7ED;
    width: 82%;
    height: 46px;
    border-radius: var(--sc-radius-lg);
    font-size: var(--sc-font-size-xl);
    font-weight: 500;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    padding: 7px;
    overflow: hidden;
    box-shadow:
        0 20px 16px -18px rgba(255, 200, 0, 0.6),
        0 18px 18px -4px hsl(29deg 100% 50% / 14%);
    background-image:
        radial-gradient(circle at 50% -545%, transparent 86%, rgba(156, 75, 43) 110%),
        linear-gradient(to bottom, rgba(0,0,0,0) 0%, hsl(33deg 57% 49% / 50%) 25%, rgba(255,255,255,0) 88%),
        radial-gradient(ellipse at 50% 219%, rgb(255 240 160) 30%, transparent 41%),
        linear-gradient(to right, #b86b3e 0%, #d18d56 12%, #e9b27a 28%, hsl(33 85% 79% / 1) 45%, #f7d49e 55%, #e9b27a 72%, #d18d56 88%, #a65a2d 100%);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 240, 160, 0.3);
    text-shadow: 0 0 2px rgb(174 96 55), 0 0 3px rgb(67 18 23 / 77%);
}

.sc-button--cta-glow:hover {
    box-shadow:
        0 25px 20px -15px rgba(255, 200, 0, 0.5),
        0 0 15px rgba(255, 220, 100, 0.3);
    border: 1px solid rgba(255, 240, 160, 0.8);
    background-image:
        radial-gradient(circle at 50% -545%, transparent 86%, rgba(156, 75, 43, 0.8) 110%),
        linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, hsl(33deg 100% 70% / 30%) 50%, rgba(255,255,255,0) 100%),
        radial-gradient(ellipse at 50% 180%, rgb(255 250 200) 20%, transparent 50%),
        linear-gradient(to right, #c97e4e 0%, #e2a46d 15%, #f2c694 35%, #fff4e0 50%, #f2c694 65%, #e2a46d 85%, #bd6938 100%);
    text-shadow: 0 0 8px rgba(125, 54, 64, 0.7), 0 1px 2px rgba(0,0,0,0.8);
    cursor: pointer;
}

/* -- submit: checkout -- */
.sc-button--submit {
    background-color: var(--sc-color-secondary);
    color: var(--sc-text-primary);
    border: 1px solid rgba(58, 30, 36, 0.2);
    border-radius: var(--sc-radius-sm);
    font-family: var(--sc-font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--sc-space-1);
}

.sc-button--submit:hover {
    background-color: var(--sc-color-accent);
    color: var(--sc-text-on-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(90, 31, 43, 0.24);
}

.sc-button--submit:active {
    transform: translateY(0);
}

.sc-button--submit:disabled {
    background-color: rgba(123, 90, 99, 0.35);
    color: rgba(58, 30, 36, 0.55);
}

.sc-button--loading {
    position: relative;
    color: transparent !important;
}

.sc-button--loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: sc-spinner 0.6s linear infinite;
}

@keyframes sc-spinner {
    to { transform: rotate(360deg); }
}
