/*
Theme Name: DHAYSE
Theme URI: http://www.muraldosmunicipios.com.br/
Description: Tema moderno para site MURAL DOS MUNICIPIOS - Portal de Questoes para Concursos (Baseado no tema Marilia com Bootstrap 5 e Font Awesome 6)
Author: W3 Designer - Jorge Calcado
Author URI: http://www.muraldosmunicipios.com.br/
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dhayse
*/

/* ====================================
   CSS VARIABLES
   ==================================== */

:root {
    --primary-color: #01183c;
    --primary-dark: #000d24;
    --primary-light: #163a64;
    --accent-color: #c8960f;
    --accent-dark: #a67b0d;
    --accent-light: #e2b84a;
    --secondary-color: #1a3a5e;
    --light-gray: #eef2f7;
    --light-blue: #dce6f1;
    --text-dark: #0f172a;
    --text-light: #5f7a8f;
    --footer-bg: #01183c;
    --border-color: #c8d6e5;
    --shadow-sm: 0 2px 10px rgba(1,24,60,0.06);
    --shadow-md: 0 10px 30px rgba(1,24,60,0.08);
    --shadow-lg: 0 20px 40px rgba(1,24,60,0.14);
    --radius-sm: 8px;
    --radius-md: 15px;
    --transition: all 0.3s ease;
}

/* ====================================
   RESET E CONFIGURACOES GERAIS
   ==================================== */

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

body {
    font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

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

/* ====================================
   BOTOES GLOBAIS
   ==================================== */

.btn-primary-custom {
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    z-index: 10;
    cursor: pointer;
    text-align: center;
}

.btn-primary-custom:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 150, 15, 0.35);
    color: #fff;
}

.btn-outline-primary-custom {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ====================================
   HEADER / NAVBAR
   ==================================== */

.navbar {
    background-color: #01183c;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #fff !important;
}

.navbar-brand img {
    height: 71px;
    width: auto;
}

.navbar-toggler {
    border: none;
    padding: 6px 10px;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Offcanvas Mobile Menu */
.offcanvas {
    background-color: #01183c !important;
    max-width: 300px;
}

.offcanvas-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas-body .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.offcanvas-body .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85) !important;
    padding: 12px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
}

.offcanvas-body .navbar-nav .nav-link:hover {
    color: #fff !important;
}

.offcanvas-body .search-wrapper {
    width: 100%;
}

.offcanvas-social .social-icons a {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    margin-right: 15px;
}

.offcanvas-social .social-icons a:hover {
    color: #fff;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: rgba(255,255,255,0.85) !important;
    margin: 0 12px;
    transition: color 0.3s ease;
    font-size: 14px;
    letter-spacing: -1.0px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #fff !important;
}

.navbar-nav .nav-item.active .nav-link {
    color: #fff !important;
}

/* Search Wrapper - pill style */
.search-wrapper {
    position: relative;
    width: 224px;
}

.search-input {
    width: 100%;
    padding: 9px 45px 9px 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
    outline: none;
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.search-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-input:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: #009357;
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 13px;
}

.search-btn:hover {
    background-color: #007a48;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Mega Menu - Desktop */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block !important;
        margin-top: 0;
    }

    .navbar-nav .dropdown-menu.mega-menu-dropdown {
        min-width: 900px;
        max-width: 1000px;
        padding: 0;
        left: 50%;
        transform: translateX(-50%);
        background: transparent;
        border: none;
        box-shadow: none;
        max-height: 70vh;
        overflow-y: auto;
    }

    .mega-menu-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        background: #009357;
        padding: 15px;
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-md);
    }

    .mega-menu-column {
        padding: 0 8px;
        border-right: 1px solid rgba(255,255,255,0.2);
    }

    .mega-menu-column:last-child {
        border-right: none;
    }

    .mega-menu-group {
        margin-bottom: 12px;
    }

    .mega-menu-letter {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 5px;
        padding-bottom: 3px;
        border-bottom: 1px solid #fff;
        text-transform: uppercase;
    }

    .mega-menu-items {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mega-menu-items li {
        margin-bottom: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .mega-menu-items li:last-child {
        border-bottom: none;
    }

    .mega-menu-items a {
        display: block;
        padding: 5px 8px;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        border-radius: 0;
        line-height: 1.3;
    }

    .mega-menu-items a:hover {
        color: #fff;
    }

    .mega-menu-dropdown::-webkit-scrollbar {
        width: 8px;
    }

    .mega-menu-dropdown::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .mega-menu-dropdown::-webkit-scrollbar-thumb {
        background: #4a8bb8;
        border-radius: 10px;
    }

    .mega-menu-dropdown::-webkit-scrollbar-thumb:hover {
        background: #3a7aa5;
    }
}

/* Mega Menu - Mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #01183c;
        padding: 15px 0;
        max-height: 70vh;
        overflow-y: auto;
        margin-top: 10px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .search-wrapper {
        width: 100%;
        margin: 15px 0 5px;
    }

    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .navbar-nav .nav-link {
        padding: 12px 15px;
        color: rgba(255,255,255,0.85) !important;
        font-weight: 500;
        margin: 0;
    }

    .offcanvas .navbar-nav .dropdown-menu {
        border: none;
        padding: 0;
        margin: 0;
        background-color: transparent;
        box-shadow: none;
        display: block !important;
        position: static !important;
        width: 100%;
        padding-left: 15px;
    }

    .offcanvas .navbar-nav .nav-item.dropdown .nav-link.dropdown-toggle::after {
        display: none !important;
    }

    .offcanvas .navbar-nav .nav-item.dropdown .nav-link::before {
        display: none !important;
    }

    .offcanvas .mega-menu-content {
        display: block;
        margin-top: 5px;
        background: transparent;
        padding: 0 0 0 10px;
        box-shadow: none;
        border-radius: 0;
    }

    .offcanvas .mega-menu-column {
        padding: 0;
        border-right: none;
    }

    .offcanvas .mega-menu-group {
        margin-bottom: 8px;
    }

    .offcanvas .mega-menu-letter {
        font-size: 13px;
        font-weight: 700;
        color: rgba(255,255,255,0.5);
        margin-bottom: 3px;
        padding-bottom: 2px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        text-transform: uppercase;
    }

    .offcanvas .mega-menu-items {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .offcanvas .mega-menu-items li {
        margin-bottom: 0;
        border-bottom: none;
    }

    .offcanvas .mega-menu-items a {
        display: block;
        padding: 6px 8px;
        color: rgba(255,255,255,0.8);
        text-decoration: none;
        font-size: 13px;
        line-height: 1.3;
    }

    .offcanvas .mega-menu-items a:hover {
        color: #fff;
    }

    .mega-menu-content::-webkit-scrollbar {
        width: 6px;
    }

    .mega-menu-content::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .mega-menu-content::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .nav-item.dropdown > .nav-link::after {
        display: none;
    }
}

/* Search Form (pages internas - search.php, etc) */
.search-form {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 100%;
}

.search-form .input-group {
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 0;
}

.search-form input[type="search"] {
    border: 2px solid var(--border-color);
    border-radius: 25px 0 0 25px;
    padding: 10px 20px;
    flex: 1;
    border-right: 0;
    font-size: 15px;
    height: auto;
    line-height: 1.5;
    background-color: #fff;
    color: var(--text-dark);
    margin: 0;
    transition: border-color 0.3s ease;
}

.search-form input[type="search"]:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--primary-color);
    color: var(--text-dark);
    border-right: 0;
}

.search-form input[type="search"]::placeholder {
    color: var(--text-light);
    opacity: 1;
}

.search-form button.btn,
.search-form button {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #fff;
    border-radius: 0 25px 25px 0;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 55px;
    border-left: 0;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 16px;
    margin: 0;
    margin-left: -1px;
}

.search-form button:hover,
.search-form button.btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.search-form button:focus,
.search-form button.btn:focus {
    outline: none;
    box-shadow: none;
}

.search-form button i {
    margin: 0;
}

/* ====================================
   HERO SECTION / SLIDER
   ==================================== */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .carousel {
    overflow: hidden;
}

.hero-section .carousel-inner {
    overflow: hidden;
}

.hero-section .carousel-item {
    min-height: 500px;
    position: relative;
}

/* Slides com gradiente como background padrao */
.hero-section .carousel-item:nth-child(1),
.hero-section .carousel-item.slide-gradient-1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.hero-section .carousel-item:nth-child(2),
.hero-section .carousel-item.slide-gradient-2 {
    background: linear-gradient(135deg, #2ecc71 0%, #1a7a3a 50%, #0d5c2a 100%);
}

.hero-section .carousel-item:nth-child(3),
.hero-section .carousel-item.slide-gradient-3 {
    background: linear-gradient(135deg, #f5a623 0%, #e67e22 50%, #c0510a 100%);
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-section .btn-primary-custom {
    background-color: #009357;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 35px;
    border-radius: var(--radius-sm);
    border: none;
    z-index: 10;
}

.hero-section .btn-primary-custom:hover {
    background-color: #007a48;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 147, 87, 0.4);
    color: #fff;
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* Carousel Controls */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 5%;
    z-index: 5;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    background-color: transparent;
    width: 50px;
    height: 50px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
    z-index: 5;
}

.carousel-indicators button {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background-color: rgba(255,255,255,0.5) !important;
    border: none !important;
    margin: 0 5px !important;
}

.carousel-indicators button.active {
    background-color: #fff;
}

/* ====================================
   SECAO NOSSA HISTORIA
   ==================================== */

.nossa-historia-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.historia-card {
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.historia-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.historia-img {
    overflow: hidden;
    height: 220px;
}

.historia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.historia-card:hover .historia-img img {
    transform: scale(1.05);
}

.historia-content {
    padding: 0px 150px 0px 150px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: transparent;
    font-size: 20px;
    text-align: center;
}

.historia-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.historia-title a {
    color: var(--text-dark);
    text-decoration: none;
}

.historia-title a:hover {
    color: #009357;
}

.historia-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.historia-texto {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-body);
}

.historia-texto p {
    margin-bottom: 15px;
}

.btn-historia {
    background-color: #009357;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: none;
    display: inline-block;
    align-self: flex-start;
    transition: var(--transition);
}

.btn-historia:hover {
    background-color: #007a48;
    color: #fff;
}

/* ====================================
   SECAO DE PRODUTOS
   ==================================== */

.products-section {
    padding: 80px 0;
    background-color: #fff;
}

.products-section .row {
    display: flex;
    flex-wrap: wrap;
}

.products-section .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
}

.product-badge.launch {
    background-color: #059669;
}

.product-image {
    position: relative;
    padding: 20px;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.product-image img {
    width: 85%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
}

.product-info .btn-buy {
    margin-top: auto;
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark) !important;
    margin-bottom: 10px;
    min-height: 40px;
    line-height: 1.4;
    text-align: left;
}

.product-title a {
    color: var(--text-dark) !important;
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color) !important;
}

/* Precos */
.product-price {
    align-items: baseline;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.95rem;
    font-weight: 700;
    color: #009357;
}

.currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: #009357;
}

.amount {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -2px;
    color: #009357;
}

.decimals {
    font-size: 1.3rem;
    font-weight: 700;
    color: #009357;
}

/* Precos Promocionais */
.product-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
}

.product-price-old {
    display: flex;
    align-items: baseline;
    gap: 3px;
    position: relative;
    margin-bottom: 0;
}

.product-price-old::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background-color: var(--text-light);
    transform: translateY(-50%);
}

.product-price-old .currency,
.product-price-old .amount,
.product-price-old .decimals {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
}

.product-price-old .amount {
    font-size: 1.2rem;
    letter-spacing: 0;
}

.product-price-promo .currency,
.product-price-promo .amount,
.product-price-promo .decimals {
    color: var(--accent-color);
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-buy {
    background-color: #009357;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: none;
    width: 100%;
    transition: var(--transition);
    flex-grow: 1;
}

.btn-buy:hover {
    background-color: #007a48;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 147, 87, 0.35);
}

.card-body .btn-buy {
    width: auto;
    flex-grow: 0;
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    text-align: center;
}

.btn-view {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-view:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* ====================================
   SECAO DE BENEFICIOS
   ==================================== */

.benefits-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.benefit-item {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3.5rem;
    color: #009357;
    margin-bottom: 20px;
}

.benefit-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.benefit-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ====================================
   SECAO DE BANCAS
   ==================================== */

.bancas-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.banca-logo {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banca-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.banca-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* ====================================
   SECAO DE DEPOIMENTOS
   ==================================== */

.testimonials-section {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-section .carousel-inner {
    padding: 20px 0;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-photo .fa-user {
    color: #fff;
    font-size: 2.5rem;
}

.testimonial-stars {
    color: #ffc107 !important;
    font-size: 16px;
    margin-bottom: 10px;
}

.testimonial-stars i {
    margin: 0 2px;
}

.testimonial-position {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.testimonial-concurso {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.testimonial-position-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: auto;
}

.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.testimonials-section .carousel-control-prev:hover,
.testimonials-section .carousel-control-next:hover {
    background-color: var(--primary-dark);
}

.testimonials-section .carousel-control-prev {
    left: -60px;
}

.testimonials-section .carousel-control-next {
    right: -60px;
}

.testimonials-section .carousel-indicators {
    bottom: -50px;
}

.testimonials-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.4;
    margin: 0 5px;
}

.testimonials-section .carousel-indicators button.active {
    opacity: 1;
}

/* ====================================
   SECAO DE GARANTIA
   ==================================== */

.guarantee-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.guarantee-top-image {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    height: 125px;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: url(./assets/imagens/garantia.png) no-repeat top center;
}

.guarantee-top-image img {
    width: 100%;
    height: auto;
}

.guarantee-box {
    float: left;
    width: 100%;
    margin: -65px 0 0 0;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0 40px 0 40px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (max-width: 801px) {
    .guarantee-box {
        padding: 0;
    }
}

.guarantee-box .guarantee-title,
.guarantee-box .guarantee-highlight,
.guarantee-box .guarantee-text,
.guarantee-box .guarantee-footer {
    padding: 0 40px;
}

.guarantee-box .guarantee-title {
    padding-top: 60px;
}

.guarantee-box .guarantee-footer {
    padding-bottom: 40px;
}

.guarantee-title {
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 30px;
    line-height: 1.1;
}

.guarantee-highlight {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.guarantee-text {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6;
    margin-bottom: 20px;
}

.guarantee-footer {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 0;
    margin-top: 10px;
}

.guarantee-banner {
    text-align: right;
}

.guarantee-banner img {
    max-width: 100%;
    height: auto;
}

/* ====================================
   BANCAS SEPARADAS PAGE
   ==================================== */

.bancas-separadas-page {
    min-height: 60vh;
}

.bancas-separadas-page .page-header {
    margin-bottom: 40px;
}

.bancas-separadas-page .page-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.bancas-separadas-page .page-description {
    font-size: 16px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.bancas-separadas-page .alert {
    padding: 20px;
    border-radius: var(--radius-sm);
    font-size: 16px;
}

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

.pagination-wrapper .page-numbers {
    display: inline-flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 10px;
}

.pagination-wrapper .page-numbers li {
    display: inline-block;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    display: inline-block;
    padding: 10px 15px;
    background-color: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.pagination-wrapper .page-numbers a:hover,
.pagination-wrapper .page-numbers .current {
    background-color: var(--primary-color);
    color: #fff;
}

/* ====================================
   SINGLE PRODUCT PAGE
   ==================================== */

.product-sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    padding: 8px 0;
    z-index: 1000;
}

.mobile-price .product-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
    gap: 3px;
    white-space: nowrap;
}

.mobile-price .currency {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    color: var(--accent-light);
}

.mobile-price .amount {
    font-size: 24px;
    letter-spacing: -2px;
    line-height: 1;
    font-weight: 900;
    color: var(--accent-light);
}

.mobile-price .decimals {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-light);
    margin: 0;
    padding: 0;
}

.mobile-bottom-bar .btn-buy {
    font-size: 14px;
    padding: 8px 16px;
    font-weight: 700;
    color: var(--accent-light);
    white-space: nowrap;
    background-color: transparent;
    border: 1px solid var(--accent-light);
    transition: var(--transition);
}

.mobile-bottom-bar .btn-buy:hover {
    background-color: var(--accent-light);
    color: var(--primary-color);
    border-color: var(--accent-light);
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 60px;
    }
}

/* ====================================
   RODAPE / FOOTER
   ==================================== */

.site-footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-light);
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #d1d5db;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--accent-light);
}

.footer-section p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.8;
}

.footer-section p i {
    margin-right: 8px;
    color: var(--accent-light);
    font-size: 16px;
}

.footer-section p i.fa-whatsapp {
    color: #25D366;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    color: #fff;
}

/* Redes Sociais Regionais */
.redes-regionais-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.regiao-coluna {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.regiao-nome {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.regiao-icones {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.regiao-icones a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}

.regiao-icones a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: #fff;
}

.sem-rede {
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

/* Reclame Aqui Seal */
#ra-verified-seal {
    margin-top: 15px;
    min-height: 100px;
}

#ra-verified-seal iframe {
    max-width: 100%;
    border: none;
}

.payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.payment-methods i {
    font-size: 28px;
    color: #d1d5db;
}

/* Security Badges Section */
.security-badges {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.security-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.security-logos a {
    display: inline-block;
    transition: var(--transition);
}

.security-logos a:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.security-badge {
    height: 50px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .security-badge {
        height: 40px;
        max-width: 130px;
    }

    .security-logos {
        gap: 15px;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
}

.footer-bottom a {
    color: var(--accent-light);
}

/* ====================================
   WHATSAPP FLUTUANTE
   ==================================== */

.whatsapp-float {
    position: fixed;
    bottom: 65px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #25d366;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 801px) {
    .whatsapp-float {
        bottom: 65px;
        right: 8px;
    }

    .whatsapp-float a {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 125px;
    right: 25px;
    display: none;
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.scroll-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

@media (max-width: 801px) {
    .scroll-to-top {
        bottom: 115px;
        right: 8px;
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
    }
}

/* ====================================
   PAGINACAO
   ==================================== */

.pagination {
    margin-top: 40px;
    justify-content: center;
}

.page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background-color: #fff;
    border: 0px solid var(--border-color);
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 600;
}

.page-numbers:hover,
.page-numbers.current {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ====================================
   MODAL DE AMOSTRA GRATIS
   ==================================== */

.modal-content {
    border-radius: var(--radius-md);
    border: none;
}

.modal-header {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 20px 30px;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: none;
    padding: 20px 30px;
}

/* ====================================
   ANIMACOES
   ==================================== */

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Loading skeleton */
.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ====================================
   RESPONSIVIDADE
   ==================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px;
    }

    .filters-section {
        padding: 40px 0;
    }

    .filter-card {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        text-align: center;
    }

    .hero-section .carousel-item {
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary-custom {
        font-size: 14px;
        padding: 12px 25px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .section-subtitle {
        line-height: 1.3;
        font-size: 0.95rem;
    }

    .products-section,
    .benefits-section,
    .testimonials-section,
    .bancas-section {
        padding: 50px 0;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .product-actions {
        flex-direction: column;
    }

    .navbar-brand img {
        height: 55px;
    }

    .navbar {
        padding: 0.7rem 0;
    }

    .guarantee-title {
        font-size: 22px;
    }

    .testimonials-section .carousel-control-prev {
        left: 5px;
    }

    .testimonials-section .carousel-control-next {
        right: 5px;
    }

    .testimonials-section .carousel-control-prev,
    .testimonials-section .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .testimonials-section .carousel-inner {
        padding: 0;
    }

    /* Mobile: esconder 2o e 3o testemunhos */
    .testimonials-section .col-lg-4:nth-child(2),
    .testimonials-section .col-lg-4:nth-child(3) {
        display: none;
    }

    .testimonials-section .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        display: none;
    }

    .benefit-item {
        padding: 30px 20px;
    }

    .filter-card {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .historia-content {
        padding: 0px 50px 0px !important;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .navbar-brand img {
        height: 47px;
    }
}

/* ====================================
   AJUSTES ADICIONAIS
   ==================================== */

.fab, .fas, .far {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.input-group > .form-control,
.input-group > input {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group > .btn {
    position: relative;
    z-index: 2;
}

/* INTERNAS */
.entry-content {
    font-family: 'Lato', sans-serif;
    line-height: 1.8;
}

.entry-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--text-dark);
}

@media (max-width: 801px) {
    .entry-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

.related-products {
    margin: 70px 0 0 0;
    padding: 60px 0 50px 0;
    border-top: solid 1px var(--border-color);
}

/* Condicoes gerais para as imagens */
img.alignleft, div.alignleft {
    float: left;
    margin: 0 10px 0 0;
}

img.alignright, div.alignright {
    float: right;
    margin: 0 0 0 10px;
}

img.aligncentered, img.aligncenter {
    text-align: center;
    margin: 0 auto 10px auto;
}
