/* ==========================================================================
   BAN MAQ - SITE INSTITUCIONAL 2026
   Design System: Light Theme / Glassmorphism / Luminous Tech Details
   Cores: Azul (#313587) e Amarelo (#f8ed42)
   ========================================================================== */

/* Variables */
:root {
    --primary-blue: #313587;
    --primary-blue-rgb: 49, 53, 135;
    --primary-yellow: #f8ed42;
    --primary-yellow-rgb: 248, 237, 66;

    /* Light Theme Backgrounds */
    --light-bg-1: #ffffff;
    --light-bg-2: #f6f8fd;
    --light-bg-3: #edf0fa;
    --blue-dark-1: #0a0b1c;
    /* Mantido para o rodapé */
    --blue-dark-2: #121435;
    /* Mantido para o rodapé */

    /* Text Colors */
    --text-main: #181b3d;
    --text-muted: #52567a;
    --text-light: #ffffff;

    /* Light Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-hover: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(49, 53, 135, 0.08);
    --glass-border-hover: rgba(49, 53, 135, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(49, 53, 135, 0.05);
    --glass-shadow-hover: 0 12px 40px 0 rgba(49, 53, 135, 0.1);

    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg-1);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg-2);
}

::-webkit-scrollbar-thumb {
    background: #cbd2e9;
    border-radius: 5px;
    border: 2px solid var(--light-bg-2);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Typography & Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.display-font {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--text-main);
}

.text-yellow {
    color: #cca400 !important;
    /* Ajustado para melhor contraste em fundo claro */
}

.bg-yellow-accent {
    background-color: var(--primary-yellow);
}

.text-light-muted {
    color: var(--text-muted) !important;
}

.section-title {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Glassmorphism Styles */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    color: var(--text-main);
}

.glass-panel:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow-hover);
}

/* Glowing Ambient Orbs (Atenuados para fundo claro) */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.orb-primary {
    background: var(--primary-blue);
    top: 5%;
    left: -150px;
}

.orb-accent {
    background: var(--primary-yellow);
    top: 35%;
    right: -150px;
}

.orb-footer {
    background: var(--primary-blue);
    bottom: 15%;
    left: 15%;
}

/* Buttons */
.btn-blue {
    background-color: var(--primary-blue);
    color: #ffffff !important;
    font-weight: 600;
    font-family: var(--font-headings);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: 1px solid var(--primary-blue);
    box-shadow: 0 4px 15px rgba(49, 53, 135, 0.15);
    transition: var(--transition-smooth);
}

.btn-blue:hover {
    background-color: #1c1f54;
    border-color: #1c1f54;
    box-shadow: 0 6px 20px rgba(49, 53, 135, 0.25);
    transform: translateY(-2px);
}

.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--text-main) !important;
    font-weight: 600;
    font-family: var(--font-headings);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: 1px solid var(--primary-yellow);
    box-shadow: 0 4px 15px rgba(248, 237, 66, 0.4);
    transition: var(--transition-smooth);
}

.btn-yellow:hover {
    background-color: var(--primary-blue);
    color: #ffffff !important;
    border-color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(49, 53, 135, 0.25);
    transform: translateY(-2px);
}

.btn-outline-blue {
    background: transparent;
    color: var(--primary-blue) !important;
    font-weight: 600;
    font-family: var(--font-headings);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: 2px solid var(--primary-blue);
    transition: var(--transition-smooth);
}

.btn-outline-blue:hover {
    background: rgba(49, 53, 135, 0.05);
    transform: translateY(-2px);
}

.btn-whatsapp-header {
    background-color: #25D366;
    color: #ffffff !important;
    font-weight: 600;
    font-family: var(--font-headings);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    transition: var(--transition-smooth);
}

.btn-whatsapp-header:hover {
    background-color: #1ebd56;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn-whatsapp-inline {
    background: linear-gradient(135deg, #25D366 0%, #1ebd56 100%);
    color: #ffffff !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-whatsapp-inline:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.brand-logo {
    height: 45px;
    width: auto;
    transition: var(--transition-smooth);
}

.brand-seal {
    height: 45px;
    width: auto;
    transition: var(--transition-smooth);
}

/* Header & Navbar */
.header-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(49, 53, 135, 0.05);
}

/* Native Scroll-driven Animation for shrinking header */
@keyframes shrinkHeader {
    to {
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(49, 53, 135, 0.1);
    }
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .header-navbar {
        animation: shrinkHeader auto linear both;
        animation-timeline: scroll(block root);
        animation-range: 0px 80px;
    }
}

/* JS Fallback class */
.header-navbar.scrolled {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(49, 53, 135, 0.1);
}

/* Alterar links do navbar para escuro */
.header-navbar .nav-link {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--text-main) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-smooth);
}

.header-navbar .nav-link:hover,
.header-navbar .nav-link.active {
    color: var(--primary-blue) !important;
}

.dropdown-glass {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(49, 53, 135, 0.1);
    box-shadow: 0 10px 30px rgba(49, 53, 135, 0.08);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-glass .dropdown-item {
    color: var(--text-main) !important;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: var(--transition-smooth);
}

.dropdown-glass .dropdown-item:hover {
    background: rgba(49, 53, 135, 0.05);
    color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 170px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 80% 20%, rgba(248, 237, 66, 0.15) 0%, rgba(49, 53, 137, 0.03) 60%),
        linear-gradient(180deg, var(--light-bg-2) 0%, var(--light-bg-1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-tag {
    background: rgba(49, 53, 135, 0.05);
    border: 1px solid rgba(49, 53, 135, 0.15);
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Float Animations for Hero Cards */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-slideshow-container {
    position: relative;
    height: 440px;
    /* overflow: hidden; */
    background: transparent;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow .slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.hero-slideshow .slide-item.active {
    opacity: 1;
    z-index: 2;
}

.hero-card-stack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.hero-product-card {
    position: absolute;
    width: 270px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(49, 53, 135, 0.15) !important;
}

.hero-product-card-dark {
    position: absolute;
    width: 270px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    background: linear-gradient(135deg, rgba(49, 53, 135, 0.85) 0%, rgba(10, 11, 28, 0.9) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
}

.hero-product-card-dark:hover {
    background: linear-gradient(135deg, rgba(49, 53, 135, 0.95) 0%, rgba(10, 11, 28, 0.98) 100%) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4) !important;
}

.hero-product-card-dark .hero-card-icon {
    background: rgba(248, 237, 66, 0.15) !important;
    border: 1px solid rgba(248, 237, 66, 0.3) !important;
    color: var(--primary-yellow) !important;
}

.hero-product-card-dark .hero-card-text h6 {
    color: #ffffff !important;
}

.hero-product-card-dark .hero-card-text p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero-product-card.card-1,
.hero-product-card-dark.card-1 {
    top: 0;
    left: 10%;
    animation-delay: 0s;
}

.hero-product-card.card-2,
.hero-product-card-dark.card-2 {
    top: 60px;
    right: 5%;
    animation-delay: 1.5s;
}

.hero-product-card.card-3,
.hero-product-card-dark.card-3 {
    bottom: -20px;
    left: 20%;
    animation-delay: 3s;
}

.hero-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.25rem;
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(49, 53, 137, 0.08);
    border: 1px solid rgba(49, 53, 137, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.hero-card-text h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-card-text p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Diferenciais Section */
.features-section {
    position: relative;
    z-index: 5;
    margin-top: -50px;
    padding-bottom: 80px;
}

.feature-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(49, 53, 135, 0.08);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(49, 53, 135, 0.08) 0%, rgba(49, 53, 135, 0.01) 100%);
    border: 1px solid rgba(49, 53, 135, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--primary-blue);
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(49, 53, 135, 0.02);
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Sobre Section */
.sobre-section {
    padding: 80px 0;
    position: relative;
    background-color: var(--light-bg-2);
}

.sobre-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1c1e4c 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.07;
    background-image: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 24px 24px;
}

.sobre-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--primary-yellow);
    filter: blur(100px);
    opacity: 0.25;
    border-radius: 50%;
}

.sobre-badge {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    max-width: 80%;
}

.sobre-badge h3 {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.sobre-badge p {
    font-size: 1.1rem;
    margin: 0;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sobre-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Sobre Section - Dark Version */
.sobre-section.sobre-dark {
    background-image: linear-gradient(to right, rgba(10, 11, 28, 0) 0%, rgba(10, 11, 28, 0.45) 35%, var(--blue-dark-1) 50%, var(--blue-dark-2) 100%), url('../img/aplicacao.jpg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sobre-section.sobre-dark .section-title {
    color: #ffffff;
}

.sobre-section.sobre-dark .section-title::after {
    background: var(--primary-yellow);
}

.sobre-section.sobre-dark .sobre-text p {
    color: #c9cbdf;
}

.sobre-section.sobre-dark .sobre-text strong {
    color: #ffffff;
}

.sobre-section.sobre-dark .sobre-text .glass-panel {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: 4px solid var(--primary-yellow) !important;
    color: #c9cbdf;
}

.sobre-section.sobre-dark .sobre-text .glass-panel .text-primary-blue {
    color: var(--primary-yellow) !important;
}

.sobre-section.sobre-dark .sobre-visual {
    background: linear-gradient(135deg, var(--blue-dark-3) 0%, var(--primary-blue) 100%);
    border-color: rgba(255, 255, 255, 0.05);
}

/* Produtos & Soluções */
.produtos-section {
    padding: 80px 0;
    background-color: var(--light-bg-1);
}

.category-block {
    padding: 60px 0;
    border-bottom: 1px solid rgba(49, 53, 135, 0.08);
}

.category-block:last-child {
    border-bottom: none;
}

.product-image-container {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(49, 53, 135, 0.1);
    background: var(--light-bg-2);
    box-shadow: 0 10px 30px rgba(49, 53, 135, 0.04);
    position: relative;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

@media (min-width: 992px) {
    .product-image-container {
        position: sticky;
        top: 120px;
    }
}

.app-badge {
    background: rgba(49, 53, 137, 0.05);
    border: 1px solid rgba(49, 53, 137, 0.15);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
    font-weight: 500;
}

.model-list-item {
    background: rgba(49, 53, 135, 0.03);
    border-left: 3px solid var(--primary-blue);
    padding: 0.6rem 1.2rem;
    margin-bottom: 0.5rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Compact Container Types Grid */
.compact-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 2rem;
}

.type-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(49, 53, 135, 0.08);
    border-radius: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(49, 53, 135, 0.02);
}

.type-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-blue);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(49, 53, 135, 0.06);
}

.type-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.type-card-icon {
    font-size: 1.35rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
}

.type-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
}

.type-card-link {
    color: #c7c7c7;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.type-card:hover .type-card-link {
    transform: translateX(3px);
    color: #cca400;
}

/* Certificações */
.certificacoes-section {
    padding: 80px 0;
    position: relative;
    background-color: var(--light-bg-2);
}

.cert-card {
    padding: 2.25rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(49, 53, 135, 0.08);
}

.cert-icon {
    font-size: 2.75rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.cert-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--text-main);
}

.cert-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg-1);
}

.custom-accordion .accordion-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(49, 53, 135, 0.08);
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(49, 53, 135, 0.02);
    transition: var(--transition-smooth);
}

.custom-accordion .accordion-item:hover {
    border-color: rgba(49, 53, 135, 0.15);
}

.custom-accordion .accordion-header {
    margin: 0;
}

.custom-accordion .accordion-button {
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: rgba(49, 53, 137, 0.04);
    color: var(--primary-blue);
}

.custom-accordion .accordion-button::after {
    filter: brightness(0.2);
    /* Seta preta por padrão */
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(15%) sepia(95%) saturate(2335%) hue-rotate(227deg) brightness(87%) contrast(92%);
    /* Seta azul quando aberto */
}

.custom-accordion .accordion-body {
    background: #ffffff;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(49, 53, 135, 0.05);
}

/* Contato & Formulário */
.contato-section {
    padding: 80px 0 100px;
    position: relative;
    background-color: var(--light-bg-2);
}

.form-control,
.form-select {
    background: #ffffff;
    border: 1px solid rgba(49, 53, 135, 0.15);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus {
    background: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 12px rgba(49, 53, 135, 0.1);
    color: var(--text-main);
}

.form-label {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-select option {
    background-color: #ffffff;
    color: var(--text-main);
}

.map-placeholder {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(49, 53, 135, 0.1);
    background: var(--light-bg-3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(49, 53, 135, 0.02);
    transition: var(--transition-smooth);
}

.map-placeholder:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(49, 53, 135, 0.05);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* Footer Section */
.footer-section {
    background: linear-gradient(180deg, var(--blue-dark-2) 0%, #05060d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.footer-section .footer-heading {
    color: #ffffff;
}

.footer-logo {
    max-height: 45px;
}

.footer-heading {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: var(--primary-yellow);
    border-radius: 1.5px;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #b1b4d2;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.footer-links a i {
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-yellow);
    padding-left: 4px;
}

.footer-links a:hover i {
    color: var(--primary-yellow);
}

.footer-contacts li {
    font-size: 0.95rem;
}

.footer-contacts a {
    color: #b1b4d2;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.hover-yellow:hover {
    color: var(--primary-yellow) !important;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.qube-signature a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.qube-signature a:hover {
    color: var(--primary-yellow);
    text-decoration: underline;
}

/* WhatsApp Floating Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.pulse-ring {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #25D366;
    left: 0;
    top: 0;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* CTA Wrapper buttons */
.cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.5rem;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-section {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero-card-stack {
        min-height: 300px;
        margin-top: 3rem;
    }

    .hero-product-card,
    .hero-product-card-dark {
        width: 230px;
    }

    .hero-product-card.card-1,
    .hero-product-card-dark.card-1 {
        left: 0;
    }

    .hero-product-card.card-2,
    .hero-product-card-dark.card-2 {
        right: 0;
    }

    .hero-product-card.card-3,
    .hero-product-card-dark.card-3 {
        left: 15%;
    }

    .features-section {
        margin-top: 0;
        padding-top: 40px;
    }

    .sobre-visual {
        min-height: 300px;
        margin-bottom: 2rem;
    }

    .sobre-section.sobre-dark {
        background-image: linear-gradient(180deg, rgba(10, 11, 28, 0.4) 0%, rgba(10, 11, 28, 0.8) 50%, var(--blue-dark-1) 100%), url('../img/aplicacao.jpg');
        background-position: center top;
        background-size: cover;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        border-radius: 12px;
        padding: 1.5rem;
        margin-top: 1rem;
        border: 1px solid rgba(49, 53, 135, 0.1);
        box-shadow: 0 8px 32px rgba(49, 53, 135, 0.08);
    }

    .navbar-nav {
        gap: 8px;
    }

    .btn-whatsapp-header {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.85rem;
    }

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

    .hero-card-stack {
        display: none;
    }

    .hero-section {
        padding-bottom: 30px;
    }
}