/* ============================================
   LOJA VIRTUAL - DESIGN MODERNO E RESPONSIVO
   ============================================ */

/* Importar fonte do Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Variáveis CSS - Cores Modernas */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --dark-color: #1e293b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--light-bg);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   NAVBAR - HEADER MODERNO E RESPONSIVO
   ============================================ */

.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--white) !important;
}

.navbar-brand img {
    height: clamp(30px, 5vw, 40px);
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.navbar-brand span {
    color: var(--white) !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.navbar .btn-light {
    background-color: var(--white);
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.navbar .btn-light:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* Input de busca responsivo */
.navbar .input-group {
    max-width: 100%;
}

.navbar .form-control {
    font-size: 0.9rem;
    min-width: 150px;
}

/* ============================================
   BANNER SECTION - RESPONSIVO
   ============================================ */

.banner-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: clamp(40px, 8vw, 80px) 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.3;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.banner-section .container {
    position: relative;
    z-index: 1;
}

.banner-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
    line-height: 1.2;
}

.banner-section p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.banner-section .btn {
    padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: fadeInUp 1.2s ease;
    margin: 0.25rem;
}

.banner-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   CARDS DE PRODUTOS - ANIMAÇÕES E HOVER
   ============================================ */

.product-card {
    transition: var(--transition);
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    background: var(--white);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(n+5) { animation-delay: 0.5s; }

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.product-card .card-img-top {
    height: clamp(200px, 30vw, 280px);
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.product-card:hover .card-img-top {
    transform: scale(1.15);
}

.product-card .card-body {
    padding: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
}

.product-card .card-title {
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .card-text {
    color: var(--secondary-color);
    font-size: clamp(0.85rem, 1.5vw, 0.9rem);
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.product-card .btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
    transition: var(--transition);
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.product-card .btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.product-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Badge de estoque */
.product-card small {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
}

/* ============================================
   CATEGORIAS - RESPONSIVO
   ============================================ */

.category-badge {
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-badge:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-badge.bg-primary {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
}

.category-badge i {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    display: block;
}

.category-badge strong {
    font-size: clamp(0.85rem, 2vw, 1rem);
}

/* ============================================
   FORMULÁRIOS E INPUTS - MELHORADOS
   ============================================ */

.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border: 2px solid #e2e8f0;
    padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(0.8rem, 2vw, 1rem);
    transition: var(--transition);
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.btn {
    border-radius: var(--radius-sm);
    padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--gradient-success);
    box-shadow: var(--shadow-sm);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* ============================================
   CARRINHO - RESPONSIVO
   ============================================ */

.cart-item {
    border-bottom: 1px solid #e2e8f0;
    padding: clamp(1rem, 2vw, 1.5rem) 0;
    transition: background 0.3s ease;
}

.cart-item:hover {
    background-color: rgba(37, 99, 235, 0.02);
    border-radius: var(--radius-sm);
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
}

.total-section {
    background: var(--gradient-success);
    color: var(--white);
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.total-section h4,
.total-section strong {
    color: var(--white);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
}

/* ============================================
   CHECKOUT - BANCOS
   ============================================ */

.bank-card {
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.bank-card:hover {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
    transform: translateX(5px);
}

.bank-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    box-shadow: var(--shadow-md);
}

.bank-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-decoration: none !important;
    border-bottom: none !important;
}

.bank-card .form-check-label {
    text-decoration: none !important;
    border-bottom: none !important;
}

.bank-card .form-check-label:hover,
.bank-card .form-check-label:active,
.bank-card .form-check-label:focus {
    text-decoration: none !important;
    border-bottom: none !important;
}

.bank-details {
    display: none;
    margin-top: 1rem;
    padding: clamp(1rem, 2vw, 1.25rem);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
    animation: slideDown 0.3s ease;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bank-details.show {
    display: block;
    max-height: 500px;
}

.bank-details code {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    word-break: break-all;
}

/* ============================================
   UPLOAD AREA - DRAG AND DROP
   ============================================ */

.upload-area {
    border: 3px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.02);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    transform: scale(1.02);
}

.upload-area i {
    font-size: clamp(3rem, 6vw, 4rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================
   CARDS E SEÇÕES
   ============================================ */

.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    padding: clamp(1rem, 2vw, 1.25rem) clamp(1.25rem, 2.5vw, 1.5rem);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* ============================================
   BADGES E STATUS
   ============================================ */

.badge {
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.8rem, 1.5vw, 1rem);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
}

.status-badge {
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(0.8rem, 1.5vw, 1rem);
    border-radius: 20px;
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    font-weight: 600;
}

/* ============================================
   FOOTER - RESPONSIVO
   ============================================ */

footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.5rem);
    margin-top: 4rem;
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

footer p {
    opacity: 0.8;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
}

footer a:hover {
    color: var(--white);
    transform: translateX(3px);
}

/* ============================================
   ALERTAS
   ============================================ */

.alert {
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: var(--shadow-sm);
    padding: clamp(1rem, 2vw, 1.25rem) clamp(1.25rem, 2.5vw, 1.5rem);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: #059669;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #dc2626;
    border-left: 4px solid var(--danger-color);
}

.alert-info {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: #0891b2;
    border-left: 4px solid var(--info-color);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.slide-in {
    animation: slideIn 0.5s ease;
}

/* Loading Spinner */
.spinner-border {
    width: clamp(2rem, 4vw, 3rem);
    height: clamp(2rem, 4vw, 3rem);
    border-width: 0.3em;
}

/* Lazy load placeholder */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}

/* ============================================
   RESPONSIVIDADE COMPLETA - MOBILE FIRST
   ============================================ */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .banner-section {
        padding: 30px 0;
    }
    
    .banner-section h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .banner-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .product-card .card-img-top {
        height: 180px;
    }

    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }

    .navbar .d-flex {
        margin-top: 1rem;
        margin-left: 0 !important;
        width: 100%;
    }
    
    .navbar .input-group {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .category-badge {
        padding: 1.5rem !important;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    section {
        margin-bottom: 2rem !important;
    }
    
    .row.g-4 {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .banner-section {
        padding: 40px 0;
    }
    
    .banner-section h1 {
        font-size: 2rem;
    }
    
    .banner-section p {
        font-size: 1.1rem;
    }

    .product-card .card-img-top {
        height: 220px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .banner-section {
        padding: 60px 0;
    }
    
    .product-card .card-img-top {
        height: 240px;
    }
    
    .navbar-nav .nav-link {
        margin: 0 0.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .banner-section {
        padding: 80px 0;
    }
    
    .product-card .card-img-top {
        height: 280px;
    }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .banner-section {
        padding: 30px 0;
    }
    
    .banner-section h1 {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
        --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   MELHORIAS ESPECÍFICAS
   ============================================ */

/* Zoom na imagem do produto */
.product-main-image.zoomed {
    transform: scale(2);
    transition: transform 0.3s ease;
    z-index: 1000;
    position: relative;
}

/* Sticky sidebar no checkout/carrinho */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
}

/* Melhorias para inputs numéricos */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    height: auto;
}

/* Melhorias para tabelas responsivas */
.table-responsive {
    border-radius: var(--radius-md);
}

/* Back to top button (opcional) */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.back-to-top.show {
    display: flex;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Melhorias para mobile - touch targets maiores */
@media (max-width: 767.98px) {
    .btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    .nav-link {
        padding: 1rem !important;
    }
    
    input, select, textarea {
        font-size: 16px !important; /* Previne zoom no iOS */
    }
}
