/* public_html/assets/css/estilo.css */
:root {
    --primary: #1a237e;
    --secondary: #0d47a1;
    --accent: #ff6f00;
    --accent-light: #ff9100;
    --success: #00c853;
    --warning: #ffd600;
    --light: #f5f5f5;
    --dark: #212121;
    --gray: #757575;
    --gradient-1: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    --gradient-2: linear-gradient(135deg, #ff6f00 0%, #ff9100 100%);
    --shadow-sm: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.2);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: var(--dark);
    overflow-x: hidden;
}

/* TOP BAR */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 3px solid var(--accent);
}

.top-bar a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--accent-light);
}

/* HEADER */
.main-header {
    background: white;
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow-md);
}

.brand-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

.brand-text span {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.btn-modern {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-client {
    background: var(--gradient-2);
    color: white;
}

.btn-client:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-outline-modern {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline-modern:hover {
    background: var(--accent);
    color: white;
}

/* HERO SECTION */
.hero-section {
    background: var(--gradient-1);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,111,0,0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,145,0,0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

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

.hero-badge {
    display: inline-block;
    background: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* MARCAS */
.brands-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-2);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

.brand-card-modern {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid #e0e0e0;
    transition: all 0.4s;
    text-decoration: none;
    display: block;
    color: var(--primary);
    font-weight: 700;
}

.brand-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.brand-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

.brand-card-modern:hover .brand-icon-wrapper {
    background: var(--gradient-2);
    color: white;
}

.brand-name-modern {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* PRODUTOS */
.products-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.product-card-modern {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 2px solid #e0e0e0;
    transition: all 0.4s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.product-image-wrapper-modern {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 15px;
    overflow: hidden;
}

.product-image-modern {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

.product-card-modern:hover .product-image-modern {
    transform: scale(1.1);
}

.product-title-modern {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.product-fornecedor-modern {
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
}

.product-ref {
    color: var(--gray);
    font-weight: 500;
}

.product-price-message {
    background: var(--gradient-1);
    color: white;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
}

.btn-modern-block {
    background: var(--gradient-2);
    color: white;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: all 0.4s;
    border: none;
}

.btn-modern-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* REGRAS */
.rules-section {
    padding: 60px 0;
    background: white;
}

.rule-card-modern {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid #e0e0e0;
    transition: all 0.4s;
    height: 100%;
}

.rule-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.rule-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
}

.rule-card-modern:hover .rule-icon-wrapper {
    background: var(--gradient-2);
    color: white;
}

.rule-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.rule-text {
    color: var(--gray);
    font-size: 0.95rem;
}

/* CTA SECTION */
.cta-section {
    background: var(--gradient-2);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-lg);
}

.btn-cta:hover {
    transform: translateY(-5px);
    background: var(--secondary);
    color: white;
}

/* FOOTER */
.footer-modern {
    background: var(--primary);
    color: white;
    padding: 80px 0 30px;
    margin-top: 60px;
}

.footer-widget h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    color: white;
}

.footer-widget h5:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.footer-links-modern {
    list-style: none;
    padding: 0;
}

.footer-links-modern li {
    margin-bottom: 12px;
}

.footer-links-modern a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-links-modern a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .brand-wrapper { flex-direction: column; text-align: center; }
    .btn-modern { display: block; margin: 10px 0; }
}