/* ===== ESTILOS BASE DOS BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== BOTÃO PRIMÁRIO ===== */
.btn-primary {
    background: linear-gradient(135deg, #f69a03 0%, #ffb733 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e68800 0%, #f69a03 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(246, 154, 3, 0.4);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(246, 154, 3, 0.3);
}

/* ===== BOTÃO SECUNDÁRIO ===== */
.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* ===== BOTÃO SECUNDÁRIO ESCURO ===== */
.btn-secondary-dark {
    background: transparent;
    color: #043c55;
    border: 2px solid #043c55;
}

.btn-secondary-dark:hover {
    background: #043c55;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(4, 60, 85, 0.3);
}

.btn-secondary-dark:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 60, 85, 0.3);
}

/* ===== BOTÃO TERCIÁRIO ===== */
.btn-tertiary {
    background: linear-gradient(135deg, #043c55 0%, #0a5d80 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-tertiary:hover {
    background: linear-gradient(135deg, #022531 0%, #043c55 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(4, 60, 85, 0.4);
}

.btn-tertiary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 60, 85, 0.3);
}

/* ===== BOTÃO OUTLINE ===== */
.btn-outline {
    background: transparent;
    color: #f69a03;
    border: 2px solid #f69a03;
}

.btn-outline:hover {
    background: #f69a03;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(246, 154, 3, 0.3);
}

.btn-outline:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(246, 154, 3, 0.3);
}

/* ===== BOTÃO GHOST ===== */
.btn-ghost {
    background: transparent;
    color: #043c55;
    border: 2px solid transparent;
    box-shadow: none;
}

.btn-ghost:hover {
    background: rgba(4, 60, 85, 0.05);
    color: #f69a03;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(4, 60, 85, 0.1);
}

.btn-ghost:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 60, 85, 0.1);
}

/* ===== TAMANHOS DOS BOTÕES ===== */
.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 120px;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
    min-width: 200px;
}

.btn-extra-large {
    padding: 25px 50px;
    font-size: 1.4rem;
    min-width: 250px;
}

/* ===== BOTÕES COM ÍCONES ===== */
.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-icon i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.btn-icon:hover i {
    transform: translateX(3px);
}

.btn-icon-left i {
    order: -1;
}

.btn-icon-right i {
    order: 1;
}

/* ===== BOTÕES ESPECIAIS ===== */
.btn-gradient {
    background: linear-gradient(135deg, #f69a03 0%, #043c55 50%, #f69a03 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    animation: gradientAnimation 3s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.btn-gradient:hover {
    animation-duration: 1s;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(246, 154, 3, 0.4);
}

/* ===== BOTÃO PULSANTE ===== */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(246, 154, 3, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(246, 154, 3, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(246, 154, 3, 0);
    }
}

/* ===== BOTÃO LOADING ===== */
.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== BOTÃO DESABILITADO ===== */
.btn:disabled,
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

/* ===== GRUPO DE BOTÕES ===== */
.btn-group {
    display: inline-flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-group .btn {
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-right: none;
}

.btn-group .btn:only-child {
    border-radius: 50px;
}

/* ===== BOTÕES FLUTUANTES ===== */
.btn-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    min-width: auto;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-float:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ===== BOTÕES SOCIAIS ===== */
.btn-social {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    min-width: auto;
    font-size: 1.2rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-instagram {
    background: linear-gradient(135deg, #e4405f 0%, #833ab4 50%, #fccc63 100%);
    color: white;
}

.btn-instagram:hover {
    background: linear-gradient(135deg, #833ab4 0%, #e4405f 50%, #fccc63 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.btn-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    color: white;
}

.btn-facebook:hover {
    background: linear-gradient(135deg, #166fe5 0%, #1877f2 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* ===== EFEITOS ESPECIAIS ===== */
.btn-glow {
    box-shadow: 0 0 20px rgba(246, 154, 3, 0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(246, 154, 3, 0.8);
}

.btn-3d {
    background: linear-gradient(135deg, #f69a03 0%, #e68800 100%);
    box-shadow: 0 6px 0 #b36800, 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.btn-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 #b36800, 0 12px 20px rgba(0, 0, 0, 0.3);
}

.btn-3d:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #b36800, 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: 140px;
    }
    
    .btn-small {
        padding: 8px 18px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .btn-large {
        padding: 16px 35px;
        font-size: 1.1rem;
        min-width: 180px;
    }
    
    .btn-extra-large {
        padding: 20px 40px;
        font-size: 1.2rem;
        min-width: 200px;
    }
    
    .btn-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .btn-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .btn-group .btn {
        border-radius: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .btn-group .btn:first-child {
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        border-bottom-left-radius: 0;
    }
    
    .btn-group .btn:last-child {
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        border-top-right-radius: 0;
        border-bottom: none;
    }
}

/* ===== ACESSIBILIDADE ===== */
.btn:focus-visible {
    outline: 2px solid #f69a03;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
    
    .btn::before {
        display: none;
    }
    
    .btn-gradient {
        animation: none;
        background: #f69a03;
    }
    
    .btn-pulse {
        animation: none;
    }
    
    @keyframes spin {
        to {
            transform: translate(-50%, -50%) rotate(360deg);
        }
    }
}

