/* Variáveis de Cores J. Roma (Atualizado) */
:root {
    --primary-color: #0056b3;
    --secondary-color: #f39c12;
    --dark-color: #2c3e50;
    --light-bg: #f8f9fa;
    --text-color: #333333;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: all 0.3s ease;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

    /* --- Bot���o Flutuante (Voltar) --- */
    .floating-button {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background-color: #333;
        color: white;
        padding: 12px 20px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9em;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease;
        z-index: 1000;
    }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-bar i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo p {
    font-size: 0.75rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 0;
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 220px;
    flex-direction: column;
    padding: 10px 0;
    border-radius: 4px;
    gap: 0;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    font-weight: 500;
}
.dropdown-menu li a:hover {
    background-color: var(--light-bg);
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--dark-color);
    background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: center;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 30, 60, 0.75);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}
.btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
    border: 2px solid var(--secondary-color);
}
.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-title p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.bg-light { background-color: var(--light-bg); }

/* About Section */
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.about-card { text-align: center; padding: 30px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border-radius: 8px;}
.about-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.about-card h3 { margin-bottom: 15px; color: var(--dark-color); }
.about-card p { color: #555; }

/* Product/Category Sections */
.categories-section { padding: 80px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.product-card { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: var(--transition); border-top: 4px solid transparent;}
.product-card:hover { transform: translateY(-10px); border-top: 4px solid var(--primary-color); }
.product-icon { width: 60px; height: 60px; background-color: rgba(0,86,179,0.1); color: var(--primary-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; margin-bottom: 20px; }
.product-card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.product-card p { color: #666; margin-bottom: 20px; font-size: 0.95rem; }
.btn-text { color: var(--primary-color); font-weight: bold; text-decoration: none; font-size: 0.9rem;}
.btn-text:hover { color: var(--secondary-color); }

/* Newsletter */
.newsletter-cta { background-color: var(--primary-color); color: #fff; padding: 60px 0; text-align: center; }
.newsletter-cta h2 { margin-bottom: 15px; }
.newsletter-cta p { margin-bottom: 30px; opacity: 0.9;}
.newsletter-form { display: flex; justify-content: center; max-width: 600px; margin: 0 auto; gap: 10px;}
.newsletter-form input { flex: 1; padding: 12px 20px; border: none; border-radius: 4px; font-size: 1rem;}
.newsletter-form button { border: none; cursor: pointer; background-color: var(--secondary-color);}
.newsletter-form button:hover { background-color: #d68910; }

/* Contacts Section */
.contacts-section { padding: 80px 0; }
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact-box { background: var(--light-bg); padding: 30px; text-align: center; border-radius: 8px; border: 1px solid #eaeaea;}
.contact-box i { font-size: 2rem; color: var(--secondary-color); margin-bottom: 15px; }
.contact-box h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--dark-color);}
.contact-box p { font-weight: bold; color: var(--primary-color); margin-bottom: 10px;}
.contact-box a { color: #666; text-decoration: none; }
.contact-box a:hover { color: var(--primary-color); }

/* Footer */
footer { background-color: #1a252f; color: #b1b8c0; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px;}
.footer-col h3 { color: #fff; margin-bottom: 20px; font-size: 1.2rem;}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #b1b8c0; text-decoration: none; transition: var(--transition);}
.footer-col ul li a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; }

/* Responsive */
@media(max-width: 768px) {
    .header-container { flex-direction: column; gap: 15px; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .about-grid, .contacts-grid, .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .hero h2 { font-size: 2rem; }
    .top-bar .container { justify-content: center; flex-wrap: wrap;}
}
