/* =========================
   1. RESET / BASE
========================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}

section {
    scroll-margin-top: 120px;
}

/* =========================
   2. VARIÁVEIS
========================= */
:root {
    --primary: #B01300;
    --secondary: #F8AF3C;
    --gray: #6c757d;
    --text: #666;
    --transition: 0.3s ease;
}

/* =========================
   3. NAVBAR
========================= */
.navbar {
    background: transparent;
    transition: var(--transition);
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
}

.navbar-nav {
    text-align: center;
}

/* LINKS */
.nav-link {
    position: relative;
    color: var(--text);
    padding: 12px 0;
    transition: var(--transition);
}

.nav-link:hover i {
    color: var(--primary) !important;
}

/* ACTIVE ANIMADO */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link.active {
    color: #000 !important;
}

.nav-link.active::after {
    width: 100%;
}

/* DROPDOWN */
.dropdown-item.active {
    background: var(--primary);
    color: #fff !important;
}

/* =========================
   4. HERO / SLIDER
========================= */
.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    height: 100%;
    width: 100%;
}

.banner-full {
    width: 100%;
    max-width: 1000px;
    height: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
    padding: 20px;
}

/* =========================
   5. CARDS
========================= */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

.card h4 {
    font-weight: bold;
}

img.rounded-circle {
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.card:hover img.rounded-circle {
    transform: scale(1.05);
}

/* =========================
   6. TABS
========================= */
.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    color: var(--primary) !important;
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 8px;
    margin: 0 5px;
    padding: 10px 20px;
}

.nav-tabs .nav-link:hover {
    background: var(--secondary);
    color: #000 !important;
}

.nav-tabs .nav-link.active {
    background: var(--primary) !important;
    color: #fff !important;
}

/* =========================
   7. LOGOS
========================= */
.logo-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.logo-box.grande {
    padding: 30px;
}

.logo-box img {
    max-height: 70px;
    object-fit: contain;
    transition: var(--transition);
}

.logo-box.grande img {
    max-height: 120px;
}

.logo-box:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.logo-box:hover img {
    transform: scale(1.1);
}

/* =========================
   8. BOTÕES
========================= */
.btn i {
    font-size: 1.2rem;
}

.btn-red {
    background: var(--primary);
    color: #FFF;
}

.btn-red:hover {
    background: var(--secondary);
    color: #000;
}

.btn-gray {
    background: var(--gray);
    color: #FFF;
}

.btn-gray:hover {
    background: #565e64;
    color: #000;
}

/* =========================
   9. UTILITÁRIOS
========================= */
.text-red { color: var(--primary); }
.text-yellow { color: var(--secondary); }
.text-justify { text-align: justify; }

#apresentacao p,
#apresentacao h4,
#apresentacao ul li {
    text-align: justify;
}

h6.categoria {
    line-height: 1.2;
    min-height: 2.4em;
}

/* LOTES */
.lote1 { background: #FCD79E; }
.lote2 { background: #FAC36D; }
.lote3 { background: #F8AF3C; }

/* =========================
   10. COMPONENTES
========================= */
#btnTopo {
    position: fixed;
    bottom: 30px;
    right: 10px;
    background: var(--primary);
    color: #FFF;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    display: none;
    z-index: 999;
}

#msgRetorno {
    font-size: 0.9rem;
    padding: 10px;
}