/* ===================================
   AR Motors - CSS Principal Unificado
   Todos os estilos em um único arquivo
   =================================== */

/* ===================================
   VARIÁVEIS DE CORES
   =================================== */
:root {
    --primary-color: #3B82C8;
    --primary-dark: #2563A5;
    --primary-light: #60A5FA;
    --secondary-color: #8B8B8B;
    --dark-color: #1F2937;
    --light-color: #F9FAFB;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
}

/* ===================================
   RESET E BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: auto !important;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    overflow-y: auto !important;
    margin: 0;
    padding: 0;
}

/* Garantir que sections não bloqueiem o scroll */
section {
    overflow: visible;
    position: relative;
}

.container,
.container-fluid,
.row {
    overflow: visible;
}

.hero-logo {
    display: flex;
    justify-content: center;
}

.logo {
    width: 300px; 
    height: 115px; 
    background-image: url('../images/logo.png');
    background-size: contain; 
    background-position: center;
    background-repeat: no-repeat;
}

/* ===================================
   CORES PRIMÁRIAS
   =================================== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #93C5FD !important;
}

.nav-link.active {
    color: #60A5FA !important;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(180deg, 
        rgba(37, 99, 165, 0.6) 0%, 
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.85) 100%) !important;
    z-index: 1 !important;
}

.hero-content {
    position: relative;
    z-index: 3 !important;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Ondas SVG apenas no tema light */
.hero-section::after {
    content: '';
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 46px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2600 131.1' preserveAspectRatio='none'%3E%3Cpath fill='%23f9fafb' d='M2600 131.1L0 131.1 0 62 2600 131.1z'/%3E%3Cpath fill='%23f9fafb' style='opacity:0.5' d='M2600 131.1L0 131.1 0 62 2600 62z'/%3E%3Cpath fill='%23f9fafb' style='opacity:0.25' d='M0 131.1L2600 131.1 2600 1 0 62z'/%3E%3C/svg%3E");
    background-size: 100% 46px;
    background-position: bottom center;
    background-repeat: no-repeat;
    z-index: 2 !important;
    pointer-events: none;
}

/* ===================================
   OWL CAROUSEL - HERO SLIDES
   =================================== */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: visible !important;
}

.hero-slide {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: visible;
}

/* Overlay igual para light e dark */
.hero-slide::before {
    content: '';
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(180deg, 
        rgba(37, 99, 165, 0.6) 0%, 
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.85) 100%) !important;
    z-index: 1 !important;
    pointer-events: none;
}

/* Ondas apenas no light */
.hero-slide::after {
    content: '';
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 46px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2600 131.1' preserveAspectRatio='none'%3E%3Cpath fill='%23f9fafb' d='M2600 131.1L0 131.1 0 62 2600 131.1z'/%3E%3Cpath fill='%23f9fafb' style='opacity:0.5' d='M2600 131.1L0 131.1 0 62 2600 62z'/%3E%3Cpath fill='%23f9fafb' style='opacity:0.25' d='M0 131.1L2600 131.1 2600 1 0 62z'/%3E%3C/svg%3E");
    background-size: 100% 46px;
    background-position: bottom center;
    background-repeat: no-repeat;
    z-index: 2 !important;
    pointer-events: none;
}

.hero-slide .container,
.hero-slide .hero-content {
    position: relative;
    z-index: 3 !important;
}

.hero-carousel .owl-stage-outer {
    overflow: visible !important;
}

/* Owl Carousel Custom */
.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2) !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px !important;
    color: white !important;
    transition: all 0.3s;
}

.owl-carousel .owl-nav button:hover {
    background: rgba(255,255,255,0.4) !important;
}

.owl-carousel .owl-nav .owl-prev {
    left: 20px;
}

.owl-carousel .owl-nav .owl-next {
    right: 20px;
}

.owl-dots {
    display: none;
}

.owl-theme .owl-nav {
    margin-top: 0px !important;
}

/* ===================================
   PARALLAX BANNER - ESTRUTURA BÁSICA
   =================================== */
.parallax-banner {
    /* Altura fixa */
    height: 500px;
    min-height: 500px;
    
    /* CHAVE DO PARALLAX: background-attachment fixed */
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
    /* Posicionamento */
    position: relative;
    
    /* Layout flexbox para centralizar conteúdo */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Largura total */
    width: 100%;
    
    /* Espaçamento */
    margin: 0;
    padding: 0;
    
    /* CRÍTICO: Permitir overflow para não bloquear */
    overflow: visible;
    
    /* Z-index baixo */
    z-index: 1;
}

/* Overlay escuro sobre a imagem de fundo */
.parallax-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
    pointer-events: none;
}

/* Container dentro do parallax */
.parallax-banner .container {
    position: relative;
    z-index: 2;
}

/* Conteúdo do parallax */
.parallax-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.parallax-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    color: white;
}

.parallax-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    color: white;
}

.parallax-content .btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.parallax-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* ===================================
   DARK MODE - MANTER PARALLAX
   =================================== */
[data-theme="dark"] .parallax-banner {
    background-attachment: fixed;
}

[data-theme="dark"] .parallax-banner::before {
    background: rgba(0, 0, 0, 0.75);
}

/* ===================================
   RESPONSIVO
   =================================== */

/* Tablets e desktops pequenos */
@media (max-width: 1024px) {
    .parallax-banner {
        height: 450px;
        min-height: 450px;
        background-attachment: fixed; /* Manter fixed */
    }
    
    .parallax-content h2 {
        font-size: 2.5rem;
    }
    
    .parallax-content p {
        font-size: 1.2rem;
    }
    
    .parallax-content .btn {
        padding: 12px 35px;
        font-size: 1.1rem;
    }
}

/* Mobile - AQUI É ONDE MUDA */
@media (max-width: 768px) {
    .parallax-banner {
        height: 400px;
        min-height: 400px;
        /* Em mobile, background-attachment: fixed não funciona bem no iOS */
        /* Usar scroll para melhor compatibilidade */
        background-attachment: scroll;
        background-position: center center;
    }
    
    .parallax-content {
        padding: 40px 15px;
    }
    
    .parallax-content h2 {
        font-size: 2rem;
    }
    
    .parallax-content p {
        font-size: 1rem;
    }
    
    .parallax-content .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Mobile muito pequeno */
@media (max-width: 480px) {
    .parallax-banner {
        height: 350px;
        min-height: 350px;
    }
    
    .parallax-content h2 {
        font-size: 1.75rem;
    }
}

/* ===================================
   FIX PARA iOS SAFARI
   =================================== */
@supports (-webkit-overflow-scrolling: touch) {
    /* iOS não suporta background-attachment: fixed */
    /* Mas vamos tentar manter em iPads */
    @media (min-width: 768px) {
        .parallax-banner {
            background-attachment: fixed;
        }
    }
}

/* ===================================
   REMOVER ONDAS SVG (se existirem)
   =================================== */
.parallax-banner::after {
    display: none !important;
    content: none !important;
}

/* ===================================
   GARANTIR QUE NÃO HÁ CONFLITOS
   =================================== */

/* Remover qualquer transform que possa interferir */
.parallax-banner {
    transform: none !important;
    will-change: auto !important;
}

/* Garantir que o parallax não seja afetado por outros elementos */
.parallax-banner * {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ===================================
   FALLBACK PARA NAVEGADORES ANTIGOS
   =================================== */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ */
    .parallax-banner {
        background-attachment: scroll;
    }
}

/* ===================================
   PERFORMANCE BOOST
   =================================== */
.parallax-banner {
    /* Usar aceleração de hardware */
    perspective: 1px;
    -webkit-perspective: 1px;
}

.parallax-content {
    /* Garantir renderização suave */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ===================================
   SEÇÕES
   =================================== */
.section {
    padding: 5rem 0;
    overflow: visible !important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: #666;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
}

/* ===================================
   CARDS DE VEÍCULOS
   =================================== */
.vehicle-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.vehicle-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover img {
    transform: scale(1.1);
}

.vehicle-card .card-body {
    padding: 1.5rem;
}

.vehicle-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 1;
}

.vehicle-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.vehicle-spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.vehicle-spec i {
    color: var(--primary-color);
}

/* ===================================
   CARDS MODERNOS COM ANIMAÇÕES
   =================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    overflow: visible !important;
}

.info-card {
    background-color: #ffffff;
    box-shadow: 
        0px 3px 6px rgba(0, 0, 0, 0.05),
        0px 8px 15px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.06);
    padding: 50px 24px 24px 24px;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.info-card .icon {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card .icon::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 200, 0.1), rgba(96, 165, 250, 0.05));
    border: 2px solid rgba(59, 130, 200, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card .icon i {
    position: relative;
    z-index: 1;
    font-size: 32px;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card h4 {
    z-index: 2;
    position: relative;
    margin: 0 0 12px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1F2937;
    transition: color 0.3s;
}

.info-card p {
    z-index: 2;
    position: relative;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6B7280;
    transition: color 0.3s;
}

.info-card .shine {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.info-card .shine::before {
    content: '';
    width: 150%;
    padding-bottom: 150%;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    bottom: 55%;
    filter: blur(50px);
    opacity: 0.4;
    transform: translateX(-50%);
    background: conic-gradient(
        from 205deg at 50% 50%,
        rgba(59, 130, 200, 0) 0deg,
        #3B82C8 25deg,
        rgba(96, 165, 250, 0.3) 295deg,
        rgba(59, 130, 200, 0) 360deg
    );
}

.info-card .background {
    border-radius: inherit;
    position: absolute;
    inset: 0;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
    mask-image: radial-gradient(circle at 60% 5%, black 0%, black 15%, transparent 60%);
}

.info-card .tiles {
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card .tile {
    position: absolute;
    background-color: rgba(59, 130, 200, 0.08);
    animation-duration: 8s;
    animation-iteration-count: infinite;
    opacity: 0;
}

@keyframes tile {
    0%, 12.5%, 100% { opacity: 1; }
    25%, 82.5% { opacity: 0; }
}

.tile-1 { top: 0; left: 0; height: 10%; width: 22.5%; }
.tile-2 { top: 0; left: 22.5%; height: 10%; width: 27.5%; animation-delay: -6s; }
.tile-3 { top: 0; left: 50%; height: 10%; width: 27.5%; animation-delay: -4s; }
.tile-4 { top: 0; left: 77.5%; height: 10%; width: 22.5%; animation-delay: -2s; }
.tile-5 { top: 10%; left: 0; height: 22.5%; width: 22.5%; animation-delay: -4s; }
.tile-6 { top: 10%; left: 22.5%; height: 22.5%; width: 27.5%; animation-delay: -2s; }
.tile-7 { top: 10%; left: 50%; height: 22.5%; width: 27.5%; }
.tile-8 { top: 10%; left: 77.5%; height: 22.5%; width: 22.5%; animation-delay: -4s; }
.tile-9 { top: 32.5%; left: 50%; height: 22.5%; width: 27.5%; animation-delay: -6s; }
.tile-10 { top: 32.5%; left: 77.5%; height: 22.5%; width: 22.5%; animation-delay: -2s; }

.info-card .line {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card .line::before,
.info-card .line::after {
    content: '';
    position: absolute;
    background-color: rgba(59, 130, 200, 0.15);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card .line::before {
    left: 0;
    right: 0;
    height: 1px;
    transform-origin: 0 50%;
    transform: scaleX(0);
}

.info-card .line::after {
    top: 0;
    bottom: 0;
    width: 1px;
    transform-origin: 50% 0;
    transform: scaleY(0);
}

.line-1::before { top: 10%; }
.line-1::after { left: 22.5%; }
.line-1::before, .line-1::after { transition-delay: 0.3s; }

.line-2::before { top: 32.5%; }
.line-2::after { left: 50%; }
.line-2::before, .line-2::after { transition-delay: 0.15s; }

.line-3::before { top: 55%; }
.line-3::after { right: 22.5%; }

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0px 5px 10px rgba(59, 130, 200, 0.15),
        0px 15px 30px rgba(59, 130, 200, 0.25),
        0 0 0 1px rgba(59, 130, 200, 0.3);
}

.info-card:hover .icon::after {
    background: linear-gradient(135deg, rgba(59, 130, 200, 0.2), rgba(96, 165, 250, 0.15));
    border-color: rgba(59, 130, 200, 0.4);
    transform: scale(1.1);
}

.info-card:hover .icon i {
    color: var(--primary-dark);
    transform: scale(1.1) rotate(5deg);
}

.info-card:hover .shine {
    opacity: 1;
}

.info-card:hover .tiles {
    opacity: 1;
    transition-delay: 0.25s;
}

.info-card:hover .tile {
    animation-name: tile;
}

.info-card:hover .line {
    opacity: 1;
}

.info-card:hover .line::before {
    transform: scaleX(1);
}

.info-card:hover .line::after {
    transform: scaleY(1);
}

.info-card:hover .line-1::before,
.info-card:hover .line-1::after {
    transition-delay: 0s;
}

.info-card:hover .line-2::before,
.info-card:hover .line-2::after {
    transition-delay: 0.15s;
}

.info-card:hover .line-3::before,
.info-card:hover .line-3::after {
    transition-delay: 0.3s;
}

/* ===================================
   DEPOIMENTOS
   =================================== */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-card .stars {
    color: #FDB022;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card .client-name {
    font-weight: 600;
    color: var(--primary-color);
}

/* ===================================
   BLOG CARDS
   =================================== */
.blog-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-body {
    padding: 1.5rem;
}

.category-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(59, 130, 200, 0.1);
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background-color: var(--primary-color);
    color: white;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: #999;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.blog-card .card-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .card-title a:hover {
    color: var(--primary-color);
}

.blog-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1rem;
}

/* ===================================
   FORMULÁRIO DE CONTATO
   =================================== */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid #E5E7EB;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 200, 0.25);
}

/* ===================================
   BOTÕES
   =================================== */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===================================
   WHATSAPP FLUTUANTE (ESQUERDA)
   =================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px !important;
    right: auto !important;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white !important;
    text-decoration: none !important;
}

.whatsapp-float i {
    color: white !important;
    text-decoration: none !important;
}

/* ===================================
   BOTÃO VOLTAR AO TOPO (DIREITA)
   =================================== */
.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #60A5FA, #3B82C8);
    color: white !important;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.4);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    opacity: 0;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    animation: fadeInUp 0.3s ease;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #93C5FD, #60A5FA);
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(96, 165, 250, 0.6);
}

/* ===================================
   BOX DE INFORMAÇÕES
   =================================== */
.info-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 240px;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.info-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.info-box-contact {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

/* ===================================
   CALL TO ACTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* ===================================
   FOOTER COM EFEITO DE LUZ NO HORIZONTE
   =================================== */
footer {
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

/* ===================================
   FOOTER COM EFEITO DE LUZ NO HORIZONTE
   =================================== */
footer {
    background-color: var(--dark-color);
    position: relative;
    overflow: hidden;
}

/* Efeito de luz no horizonte - Light Mode (Branco/Cinza) */
footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 200px;
    background: radial-gradient(
        ellipse 120% 200px at center bottom,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.10) 20%,
        rgba(229, 231, 235, 0.08) 40%,
        rgba(156, 163, 175, 0.04) 60%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
}

footer * {
    color: white !important;
    position: relative;
    z-index: 1;
}

footer a {
    color: white !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light) !important;
    text-decoration: none !important;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
}

.social-links a:hover {
    transform: translateY(-5px);
    text-decoration: none !important;
}
/* ===================================
   POST CONTENT (BLOG)
   =================================== */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-content h2, 
.post-content h3, 
.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.post-content ul, 
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.post-content a:hover {
    color: var(--primary-dark);
}

/* ===================================
   FILTROS
   =================================== */
.filter-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* ===================================
   ANIMAÇÕES
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   LOADER
   =================================== */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   ALERTS
   =================================== */
.alert {
    border-radius: 8px;
    border: none;
}

/* ===================================
   PAGINAÇÃO
   =================================== */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link {
    color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
}

/* ===================================
   BREADCRUMB
   =================================== */
.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

/* ===================================
   RESPONSIVO
   =================================== */
@media (max-width: 768px) {
    /* Hero */
    .hero-section,
    .hero-slide {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Seções */
    .section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    /* ===================================
   PARALLAX BANNER - FUNCIONAL
   =================================== */
    section.parallax-banner {
        height: 500px;
        width: 100%;
        background-attachment: fixed !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        overflow: visible !important;
    }

    .parallax-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7) !important;
        z-index: 1;
    }

    .parallax-content {
        position: relative;
        z-index: 3;
        color: white;
        text-align: center;
        margin: 0 auto;
        max-width: 800px;
        padding: 40px 20px;
    }

    .parallax-content h2 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
        line-height: 1.2;
    }

    .parallax-content p {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        line-height: 1.6;
    }

    .parallax-content .btn {
        padding: 15px 40px;
        font-size: 1.2rem;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .parallax-content .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }
    
    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 40px 20px 20px 20px;
    }
    
    .info-card .icon i {
        font-size: 28px;
    }
    
    .info-card h4 {
        font-size: 1.2rem;
    }
    
    /* Botões flutuantes */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        left: 20px !important;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Owl Carousel */
    .owl-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 24px !important;
    }
    
    .owl-carousel .owl-nav .owl-prev {
        left: 10px;
    }
    
    .owl-carousel .owl-nav .owl-next {
        right: 10px;
    }
}

@media (max-width: 991px) {
    .navbar-nav .nav-link::after {
        bottom: 0;
        left: 0;
        transform: none;
    }
    
    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 40px;
    }
}

/* ===================================
   SCROLLBAR
   =================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3B82C8, #2563A5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #60A5FA, #3B82C8);
}

/* ===================================
   PLACEHOLDERS
   =================================== */
.form-control::placeholder,
.form-select::placeholder,
input::placeholder,
textarea::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

/* ===================================
   TRANSIÇÕES SUAVES
   =================================== */
.theme-transition * {
    transition: background-color 0.3s ease, 
                color 0.3s ease, 
                border-color 0.3s ease !important;
}

/* ===================================
   ACESSIBILIDADE
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

