/* Botões compartilhados entre as páginas.
   Extraídos de calculator.css porque o modal de briefing (index.html e
   confeccao.html) e o CTA do hero usam .btn-pill / .whatsapp-btn sem que a
   página precise carregar a calculadora inteira. */

.btn-pill {
    background: var(--primary-yellow);
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 4vw, 1.1rem);
    font-weight: 700;
    padding: clamp(14px, 4vw, 16px) clamp(28px, 8vw, 38px);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.35);
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-pill:hover {
    background: #ffd23a;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(245, 197, 24, 0.45);
}

.btn-pill:active {
    transform: translateY(0);
}

.btn-pill:focus-visible {
    outline: 3px solid #1a1a1a;
    outline-offset: 3px;
}

.whatsapp-btn {
    background: #25D366;
    color: #ffffff;
    padding: clamp(16px, 4vw, 18px) clamp(30px, 8vw, 40px);
    border: none;
    border-radius: 50px;
    font-size: clamp(1rem, 4vw, 1.15rem);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 12px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
    width: clamp(20px, 5vw, 24px);
    height: clamp(20px, 5vw, 24px);
    flex-shrink: 0;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:focus-visible {
    outline: 3px solid #0b6b3a;
    outline-offset: 3px;
}

/* Desktop */
@media (min-width: 1024px) {
    .whatsapp-btn {
        font-size: 1.1rem;
    }
}
