/* 
 * Arquivo: assets/css/style.css
 * Descrição: Design System Premium do Portal Oficina Têxtil.
 * Identidade: Laranja Vibrante, Grafite Profundo e Gelo.
 * Estilo: PWA Moderno, Mobile-First.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
    --primary-color: #FF6B00;
    --primary-hover: #e66000;
    --bg-light: #F2F2F2;
    --bg-white: #FFFFFF;
    --text-dark: #2D2D2D;
    --text-muted: #6C757D;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 8px 30px rgba(0, 0, 0, 0.1);
    --border-radius-card: 12px;
    --border-radius-btn: 25px;
}

/* Utilitários Premium */
.bg-orange-light {
    background: rgba(255, 107, 0, 0.1) !important;
}

.bg-blue-light {
    background: rgba(0, 68, 99, 0.1) !important;
}

.text-blue {
    color: #004463 !important;
}

.x-small {
    font-size: 0.75rem !important;
}

.hover-up {
    transition: transform 0.3s ease;
}

.hover-up:hover {
    transform: translateY(-5px);
}

.bg-gradient-dark {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-dark);
}

.text-orange {
    color: var(--primary-color) !important;
}

.bg-orange {
    background-color: var(--primary-color) !important;
}

/* Botões Customizados */
.btn-premium {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    border-radius: var(--border-radius-btn);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-premium:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    color: white;
}

.btn-outline-premium {
    border-radius: var(--border-radius-btn);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-premium:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Cards Modernos */
.card-premium {
    background: var(--bg-white);
    border: none;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

/* Filtros e Inputs */
.form-select-premium,
.form-control-premium {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
    font-size: 0.9rem;
    background-color: #fff;
}

.form-select-premium:focus,
.form-control-premium:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.1);
}

/* Widget Roleta */
.roleta-widget {
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 20px;
}

.roleta-spin-icon {
    animation: rotateForever 10s linear infinite;
    display: inline-block;
}

@keyframes rotateForever {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Alias para imagem roleta.png no widget GIRE AGORA */
@keyframes roletaGiro {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Tab Bar Mobile (PWA) */
.tab-bar-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 1050;
    padding-bottom: env(safe-area-inset-bottom);
}

.tab-item {
    text-decoration: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.tab-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.tab-item.active {
    color: var(--primary-color);
}

/* Footer Institucional */
.footer-premium {
    background-color: #262626;
    color: #fff;
    padding: 50px 0 100px 0;
    /* Espaço pro mobile tab bar */
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .display-md-0 {
        display: none;
    }
}