/* ==========================================================================
   1. CORES, VARIÁVEIS E CONFIGURAÇÕES GERAIS TEMA DARK
   ========================================================================== */
:root {
    --bg-dark: #07090c;
    --bg-card: #0f1319;
    --primary-color: #FFB703; /* Amarelo Lira */
    --text-light: #ffffff;
    --text-muted: #8e9aa8;
    --border-color: #1e2530;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.bg-alt { 
    background-color: #0b0d11; 
}

/* ==========================================================================
   2. TELA DE CARREGAMENTO (PRELOADER CINEMÁTICO)
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050608;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preload-logo {
    height: 130px;
    object-fit: contain;
    animation: pulse 1.8s ease-in-out infinite;
}

.preload-bar {
    width: 150px;
    height: 3px;
    background-color: #161c24;
    margin-top: 25px;
    border-radius: 5px;
    overflow: hidden;
}

.preload-bar span {
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    animation: loadingBar 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.04); filter: brightness(1.2); }
}

@keyframes loadingBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==========================================================================
   3. HEADER FIXO
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    background: rgba(7, 9, 12, 0.8);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo img { 
    height: 48px; 
}

.navigation ul { 
    display: flex; 
    list-style: none; 
    align-items: center; 
}

.navigation ul li { 
    margin: 0 18px; 
}

.navigation ul li a { 
    color: var(--text-light); 
    font-weight: 600; 
    font-size: 13px; 
    letter-spacing: 1px; 
    transition: color 0.3s; 
}

.navigation ul li a:hover { 
    color: var(--primary-color); 
}

.nav-btn {
    background-color: var(--primary-color);
    color: #000000 !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700 !important;
    transition: transform 0.3s, background-color 0.3s !important;
}

.nav-btn:hover {
    background-color: #e5a400 !important;
    transform: scale(1.05);
}

/* ==========================================================================
   4. HERO SECTION ALINHADA (BOTÃO REFORMULADO ULTRA PREMIUM)
   ========================================================================== */
.hero-section {
    min-height: 90vh;
    padding: 160px 5% 80px 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, rgba(255, 183, 3, 0.04) 0%, transparent 65%);
}

.hero-content-premium {
    max-width: 850px;
    margin: 0 auto;
}

.main-title-center {
    font-size: 58px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.main-title-center span {
    color: var(--primary-color);
}

.subtitle-center {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 40px;
}

/* 💎 NOVO DESIGN DO BOTÃO CENTRAL (ESTILO ARENA COPA DO MUNDO) */
.btn-primary {
    background: linear-gradient(135deg, #141a24 0%, #07090c 100%);
    color: var(--primary-color);
    padding: 18px 38px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    color: #000000;
    background: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(255, 183, 3, 0.35);
}

.btn-primary:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* ==========================================================================
   5. CONTADORES LOGÍSTICOS
   ========================================================================== */
.counter-section { 
    background: #0b0d11;
    padding: 50px 5%; 
    border-top: 1px solid var(--border-color); 
    border-bottom: 1px solid var(--border-color); 
}

.counter-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-around; 
    text-align: center; 
    flex-wrap: wrap; 
    gap: 30px; 
}

.counter-item h2 { 
    font-size: 46px; 
    font-weight: 900; 
    color: var(--primary-color); 
    margin-bottom: 5px; 
}

.counter-item p { 
    color: var(--text-light); 
    font-size: 14px; 
    font-weight: 500; 
    letter-spacing: 0.5px; 
}

/* ==========================================================================
   6. SEÇÕES DE PÁGINA GERAIS
   ========================================================================== */
.page-section { 
    padding: 100px 5%; 
}

.section-container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

.section-title { 
    font-size: 38px; 
    font-weight: 800; 
    text-align: center; 
    margin-bottom: 60px; 
    letter-spacing: -1px; 
}

.section-title span { 
    color: var(--primary-color); 
}

/* ==========================================================================
   7. SECÇÃO: DIFERENCIAIS TÉCNICOS
   ========================================================================== */
.diferenciais-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 35px; 
}

.dif-card { 
    background: var(--bg-card); 
    padding: 45px 35px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-color); 
    transition: all 0.3s ease; 
}

.dif-card:hover { 
    background: #141a24; 
    transform: translateY(-4px); 
}

.dif-icon { 
    font-size: 32px; 
    color: var(--primary-color); 
    margin-bottom: 20px; 
}

.dif-card h3 { 
    font-size: 20px; 
    font-weight: 700; 
    margin-bottom: 12px; 
}

.dif-card p { 
    color: var(--text-muted); 
    font-size: 14px; 
    line-height: 1.6; 
}

/* ==========================================================================
   8. SOLUÇÕES E CARROSSEL DINÂMICO (ALTURA AMPLIADA PREMIUM)
   ========================================================================== */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 35px; 
}

.service-card { 
    background-color: var(--bg-card); 
    padding: 45px 35px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color); 
    transition: all 0.3s ease; 
}

.service-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--primary-color); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.5); 
}

.card-icon { 
    font-size: 36px; 
    color: var(--primary-color); 
    margin-bottom: 25px; 
}

.service-card h3 { 
    font-size: 20px; 
    margin-bottom: 15px; 
    font-weight: 700; 
}

.service-card p { 
    color: var(--text-muted); 
    font-size: 14px; 
    line-height: 1.6; 
}

.sub-section-title { 
    font-size: 24px; 
    text-align: center; 
    margin: 60px 0 30px 0; 
    font-weight: 700; 
}

.sub-section-title span { 
    color: var(--primary-color); 
}

/* 📸 AJUSTE DE ALTURA MÁXIMA DA MOLDURA DO CARROSSEL (FOTO INTEIRA SEM CORTAR) */
.carousel-wrapper { 
    position: relative; 
    max-width: 900px; /* Alargado ligeiramente */
    margin: 50px auto 0 auto; 
    overflow: hidden; 
    border-radius: 14px; 
    border: 1px solid var(--border-color); 
    background: var(--bg-card); 
    box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}

.carousel-slides { 
    display: flex; 
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}

.carousel-slide { 
    min-width: 100%; 
    position: relative; 
    /* Mudança de aspect-ratio fixo para max-height flexível para conter fotos verticais e horizontais */
    height: 580px; 
    background-color: #050608;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* ALTERADO PARA CONTAIN: Garante visualização de 100% da foto original sem cortes nas bordas */
}

.empty-gallery { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background: #090c10; 
    padding: 60px 20px; 
    text-align: center; 
    height: 400px;
}

.empty-box i { 
    font-size: 48px; 
    color: #1e2530; 
    margin-bottom: 15px; 
    display: block; 
}

.empty-box p { 
    color: var(--text-muted); 
    max-width: 450px; 
    font-size: 14px; 
    line-height: 1.6; 
}

.slide-caption { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: linear-gradient(transparent, rgba(0,0,0,0.95)); 
    padding: 30px 25px 25px 25px; 
    font-weight: 600; 
    text-align: center; 
    font-size: 15px; 
    letter-spacing: 0.5px;
}

.carousel-controls span { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(7, 9, 12, 0.85); 
    backdrop-filter: blur(5px); 
    color: white; 
    padding: 18px; 
    cursor: pointer; 
    font-size: 18px; 
    transition: all 0.2s; 
    z-index: 10; 
    border: 1px solid rgba(255,255,255,0.05);
}

.carousel-controls span:hover { 
    background: var(--primary-color); 
    color: #000; 
}

.prev-slide { left: 0; border-radius: 0 8px 8px 0; }
.next-slide { right: 0; border-radius: 8px 0 0 8px; }

/* ==========================================================================
   9. SECÇÃO: FROTA INTELIGENTE
   ========================================================================== */
.fleet-premium-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 50px;
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.fleet-text-full h3 {
    font-size: 26px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.fleet-text-full p {
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 30px;
}

.fleet-features-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 35px;
}

.f-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.f-feature i {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 3px;
}

.f-feature span {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.f-feature strong {
    color: var(--text-light);
}

.fleet-highlight {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    font-style: italic;
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* ==========================================================================
   10. SECÇÃO: DEPOIMENTOS DE CLIENTES (PROVA SOCIAL)
   ========================================================================== */
.depoimentos-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px; 
}

.depoimento-card { 
    background-color: var(--bg-card); 
    padding: 35px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color); 
}

.stars { 
    color: var(--primary-color); 
    font-size: 13px; 
    margin-bottom: 15px; 
}

.comment { 
    font-size: 14.5px; 
    color: #cbd5e1; 
    font-style: italic; 
    line-height: 1.7; 
    margin-bottom: 25px; 
    min-height: 80px; 
}

.client-name { 
    font-size: 16px; 
    font-weight: 700; 
}

.client-location { 
    font-size: 12px; color: var(--primary-color); font-weight: 600; display: block; margin-top: 3px; }

/* ==========================================================================
   11. SECÇÃO: SOBRE NÓS PREMIUM STUDIO
   ========================================================================== */
.about-premium-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-premium-center .section-title {
    margin-bottom: 30px;
}

.about-p-large {
    font-size: 19px;
    line-height: 1.8;
    color: #f8fafc;
    margin-bottom: 25px;
    font-weight: 500;
}

.about-p-sub {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ==========================================================================
   12. ECOSSISTEMA FLUTUANTE EXCLUSIVO (HORIZONTAL COMPACTO)
   ========================================================================== */
.floating-actions-bar {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 19, 25, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.action-bar-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: white;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-bar-btn:hover {
    transform: scale(1.1) translateY(-2px);
}

.insta-color { background-color: #e1306c; }
.whats-color { background-color: #25d366; }

.chat-color {
    background-color: var(--primary-color);
    color: #000000 !important;
    width: auto;
    padding: 0 22px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    gap: 8px;
}

.chat-color:hover {
    background-color: #e5a400;
}

/* ==========================================================================
   13. PIPELINE POPUP DO CHATBOT POPUP
   ========================================================================== */
.chat-popup {
    position: fixed;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 400px;
    max-width: 92vw;
    height: 480px;
    background-color: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 2010;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.chat-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.chat-header { background-color: #0b0d11; padding: 15px 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.chat-bot-info { display: flex; align-items: center; gap: 12px; }
.bot-avatar { width: 38px; height: 38px; border-radius: 6px; background-color: #000; padding: 2px; }
.chat-bot-info h4 { font-size: 14.5px; font-weight: 600; }
.chat-bot-info p { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.online-dot { width: 7px; height: 7px; background-color: #2ec4b6; border-radius: 50%; display: inline-block; }
.close-chat { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; opacity: 0.6; }
.close-chat:hover { opacity: 1; }

.chat-box { height: 100%; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; background-color: #07090c; }
.message { max-width: 85%; padding: 12px 16px; border-radius: 10px; font-size: 13.5px; line-height: 1.5; }
.bot-message { background-color: var(--bg-card); color: var(--text-light); align-self: flex-start; border-bottom-left-radius: 2px; border: 1px solid var(--border-color); }
.user-message { background-color: var(--primary-color); color: #000000; font-weight: 600; align-self: flex-end; border-bottom-right-radius: 2px; }

.chat-input-area { padding: 15px; background-color: #0b0d11; display: flex; gap: 10px; border-top: 1px solid var(--border-color); }
.chat-input-area input { flex: 1; background-color: #141a24; border: 1px solid var(--border-color); padding: 12px 15px; color: white; border-radius: 6px; outline: none; font-size: 13.5px; }
.chat-input-area input:focus { border-color: var(--primary-color); }
.chat-input-area button { background-color: var(--primary-color); border: none; color: black; width: 45px; border-radius: 6px; cursor: pointer; font-size: 15px; }

/* ==========================================================================
   14. FOOTER & MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
.main-footer { text-align: center; padding: 40px 5% 100px 5%; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 13px; }

@media (max-width: 900px) {
    .main-title-center { font-size: 38px; letter-spacing: -1px; }
    .navigation { display: none; }
    .fleet-premium-box { padding: 30px 20px; }
    .fleet-text-full h3 { font-size: 22px; }
    .fleet-text-full p { font-size: 15px; }
    .depoimentos-grid { grid-template-columns: 1fr; }
    .about-p-large { font-size: 16px; }
    .carousel-slide { height: 350px; } /* Altura reduzida para celulares para manter proporção */
}