/* Print Keysia - Estilos Principais */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --light-bg: #f5f5f5;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-nav .nav-link {
    margin: 0 10px;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero-section h1 {
    font-size: clamp(28px, 8vw, 48px);
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: clamp(14px, 4vw, 18px);
    margin-bottom: 30px;
}

.hero-section .btn {
    margin: 10px 5px;
}

/* Features Section */
.features-section {
    background-color: white;
    padding: 60px 20px;
}

.feature-box {
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box h3 {
    color: #333;
    font-weight: bold;
    margin: 20px 0;
    font-size: clamp(16px, 4vw, 20px);
}

.feature-box p {
    color: #666;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.cta-section h2 {
    color: #333;
    font-size: clamp(24px, 6vw, 36px);
    font-weight: bold;
    margin-bottom: 15px;
}

.cta-section p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Products Section */
.products-section {
    background-color: white;
    padding: 60px 20px;
}

.products-section h2 {
    color: #333;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: clamp(24px, 6vw, 36px);
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #999;
    font-size: 48px;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: #666;
}

.card-price {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background-color: var(--primary-color);
    color: white;
}

.btn-light {
    background-color: white;
    border: none;
    color: #333;
}

.btn-light:hover {
    background-color: #f0f0f0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 20px 20px;
}

footer h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

footer p {
    font-size: 14px;
    margin-bottom: 10px;
}

footer a {
    color: #bdc3c7;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    font-size: 14px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    color: #333;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-auto {
    margin-top: auto;
}

/* ===== MOBILE RESPONSIVO ===== */

@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 18px;
    }

    .navbar-brand img {
        height: 30px !important;
    }

    .navbar-nav .nav-link {
        margin: 5px 0;
        font-size: 14px;
    }

    /* Hero Section */
    .hero-section {
        padding: 40px 15px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 14px;
    }

    .hero-section .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    /* Features Section */
    .features-section {
        padding: 40px 15px;
    }

    .feature-box {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .feature-box h3 {
        font-size: 16px;
    }

    /* CTA Section */
    .cta-section {
        padding: 40px 15px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    /* Products Section */
    .products-section {
        padding: 40px 15px;
    }

    .products-section h2 {
        font-size: 24px;
    }

    .product-image-container {
        height: 150px;
    }

    .product-image-placeholder {
        font-size: 36px;
    }

    .card-body {
        padding: 15px;
    }

    .card-title {
        font-size: 14px;
    }

    .card-text {
        font-size: 12px;
    }

    /* Button Groups */
    .btn-group {
        flex-direction: column;
        gap: 10px !important;
    }

    .btn-group .btn {
        width: 100% !important;
    }

    /* Footer */
    footer {
        padding: 30px 15px 15px;
    }

    footer h4 {
        font-size: 16px;
    }

    footer p {
        font-size: 12px;
    }

    /* Forms */
    .form-control {
        padding: 12px 10px;
        font-size: 16px; /* Evita zoom em iOS */
    }

    /* Containers */
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    /* Navbar */
    .navbar-brand {
        font-size: 16px;
    }

    .navbar-brand img {
        height: 25px !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 30px 10px;
    }

    .hero-section h1 {
        font-size: 24px;
    }

    .hero-section p {
        font-size: 12px;
    }

    /* Features Section */
    .feature-box {
        padding: 15px 10px;
    }

    .feature-box h3 {
        font-size: 14px;
    }

    .feature-box p {
        font-size: 12px;
    }

    /* Products Grid */
    .row > .col-12,
    .row > .col-sm-6,
    .row > .col-md-4,
    .row > .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Product Cards */
    .product-image-container {
        height: 120px;
    }

    .card-body {
        padding: 12px;
    }

    .card-title {
        font-size: 13px;
    }

    .card-text {
        font-size: 11px;
    }

    .card-price {
        font-size: 16px;
    }

    /* Footer */
    footer {
        padding: 20px 10px 10px;
    }

    footer h4 {
        font-size: 14px;
    }

    footer p {
        font-size: 11px;
    }

    /* Buttons */
    .btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 20px 15px;
    }

    .hero-section h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .hero-section p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .features-section {
        padding: 30px 15px;
    }

    .feature-box {
        padding: 15px 10px;
        margin-bottom: 10px;
    }
}
