/* ==========================================================================
    ESTILO DE CONTROLE VISUAL K2 CARGO
   ========================================================================== */
:root {
    --k2-navy: #0A1B33;       
    --k2-blue-accent: #15325B; 
    --k2-blue-light: #2B6CB0;  
    --k2-text-dark: #1A202C;   
    --k2-text-body: #4A5568;   
    --k2-bg-light: #F7FAFC;    
    --k2-border: #E2E8F0;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--k2-text-body); background-color: #FFFFFF; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.text-center { text-align: center; }
.bg-white { background-color: #FFFFFF; }
.bg-light { background-color: var(--k2-bg-light); }
.bg-navy-metrics { background-color: var(--k2-navy); color: #FFFFFF; }
.ui-line { width: 50px; height: 3px; background-color: var(--k2-blue-light); margin: 15px 0 25px 0; }
.ui-line.center { margin: 15px auto 25px auto; }

/* Engine Scroll Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }

.section-subtitle { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--k2-blue-light); display: block; margin-bottom: 8px; }
.section-main-title { font-family: var(--font-heading); font-size: 26px; font-weight: 700; color: var(--k2-navy); letter-spacing: -0.5px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    position: fixed;
    top: 15px; left: 5%; width: 90%;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(10, 27, 51, 0.85) 0%, rgba(21, 50, 91, 0.75) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 30px;
    border-radius: 50px;
    transition: var(--transition);
}

header.scrolled {
    top: 0; left: 0; width: 100%;
    border-radius: 0;
    background: var(--k2-navy);
    padding: 12px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar { display: flex; justify-content: space-between; align-items: center; }
#site-logo { height: 56px; width: auto; display: block; filter: brightness(0) invert(1) !important; transition: var(--transition); }
header.scrolled #site-logo { height: 48px; }

.nav-menu ul { display: flex; list-style: none; gap: 24px; }
.nav-menu a { font-family: var(--font-heading); font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,0.85); text-decoration: none; text-transform: uppercase; transition: var(--transition); }
.nav-menu a:hover, .nav-menu a.active { color: #FFFFFF; border-bottom: 2px solid #FFFFFF; padding-bottom: 4px; }

.nav-actions { display: flex; align-items: center; gap: 25px; }
.nav-socials a { color: #FFFFFF; font-size: 15px; margin-right: 12px; opacity: 0.8; transition: var(--transition); }
.nav-socials a:hover { opacity: 1; transform: translateY(-1px); }

.lang-selector { display: flex; gap: 12px; border-left: 1px solid rgba(255,255,255,0.15); padding-left: 15px; }
.flag-btn { background: transparent; border: none; font-size: 20px; cursor: pointer; opacity: 0.4; transition: var(--transition); }
.flag-btn.active, .flag-btn:hover { opacity: 1; transform: scale(1.15); }

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section { position: relative; height: 90vh; display: flex; align-items: center; color: #FFFFFF; overflow: hidden; }
.hero-video-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; transform: translate(-50%, -50%); object-fit: cover; }
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(135deg, rgba(10,27,51,0.92) 0%, rgba(10,27,51,0.5) 100%); z-index: -1; }
.hero-content { max-width: 700px; padding-top: 60px; }
.hero-content h1 { font-family: var(--font-heading); font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.text-blue-light { color: #63B3ED; }
.hero-content p { font-size: 16px; opacity: 0.85; margin-bottom: 35px; font-weight: 300; }

.btn-hero-cta { 
    background-color: var(--k2-blue-light); 
    color: #FFFFFF !important; 
    font-family: var(--font-heading); 
    font-size: 13px; 
    font-weight: 700; 
    padding: 16px 36px; 
    text-decoration: none; 
    border-radius: 4px; 
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition); 
}
.btn-hero-cta:hover { 
    background-color: #FFFFFF; 
    color: var(--k2-navy) !important; 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.about-section { padding: 100px 0; }
.about-main-img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }

/* ==========================================================================
   SOLUÇÕES
   ========================================================================== */
.services-section { padding: 100px 0; }
.services-msl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }

.service-block-card { 
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 40px 35px; 
    border-radius: 6px; 
    cursor: pointer; 
    transition: var(--transition); 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end;
    height: 290px; 
    overflow: hidden;
    border: 1px solid var(--k2-border);
}
.service-block-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(10,27,51,0.15); }

.card-inner-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(rgba(10, 27, 51, 0.3) 0%, rgba(10, 27, 51, 0.88) 100%); 
    z-index: 1; 
}

.card-top-meta { 
    position: absolute; top: 25px; left: 35px; right: 35px; 
    display: flex; justify-content: space-between; align-items: center; 
    z-index: 2; 
}
.icon-circle { 
    width: 44px; height: 44px; background: #FFFFFF; color: var(--k2-navy); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; 
}
.card-num { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: #FFFFFF; opacity: 0.6; }

.service-block-card h3 { 
    position: relative; z-index: 2; font-family: var(--font-heading); 
    font-size: 18px; font-weight: 700; color: #FFFFFF; margin-bottom: 8px; 
}
.btn-card-more { 
    position: relative; z-index: 2; font-family: var(--font-heading); 
    font-size: 11px; font-weight: 700; color: #63B3ED; display: flex; align-items: center; gap: 5px; text-transform: uppercase; 
}

/* Modal Pop-up */
.msl-popup-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 27, 51, 0.85); backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: center; justify-content: center; }
.msl-popup-modal.active { display: flex; }
.modal-window { background: #FFFFFF; width: 90%; max-width: 600px; padding: 45px; border-radius: 6px; position: relative; box-shadow: 0 25px 50px rgba(0,0,0,0.3); transform: scale(0.9); transition: transform 0.3s ease; }
.modal-window h3 { font-family: var(--font-heading); font-size: 22px; color: var(--k2-navy); }
.modal-window p { font-size: 14.5px; margin-bottom: 20px; color: var(--k2-text-body); }
.modal-window ul { list-style: none; }
.modal-window li { font-size: 14px; font-weight: 600; color: var(--k2-navy); padding: 8px 0; border-bottom: 1px solid var(--k2-border); display: flex; align-items: center; gap: 10px; }
.modal-window li i { color: var(--k2-blue-light); }
.modal-close-btn { position: absolute; top: 20px; right: 20px; background: transparent; border: none; font-size: 22px; color: var(--k2-text-body); cursor: pointer; transition: var(--transition); }
.modal-close-btn:hover { color: var(--k2-navy); }

/* Cargas Operadas */
.commodities-section { padding: 100px 0; }
.commodities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.commodity-card { position: relative; border-radius: 4px; overflow: hidden; height: 180px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.commodity-card img { width: 100%; height: 100%; object-fit: cover; }
.commodity-title { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(10,27,51,0.85); color: #FFFFFF; font-family: var(--font-heading); font-size: 11px; font-weight: 700; text-align: center; padding: 12px 5px; letter-spacing: 0.5px; }

/* ==========================================================================
   SUSTENTABILIDADE RECONFIGURADA - 100% LARGURA DA PÁGINA (TELA CHEIA)
   ========================================================================== */
.sust-full-width-section { width: 100%; overflow: hidden; margin: 40px 0 0 0; padding: 0; }
.sust-full-banner-bg { 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    width: 100vw; 
    position: relative; 
    left: 50%; right: 50%; 
    margin-left: -50vw; margin-right: -50vw; 
    padding: 110px 0;
}
.sust-banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 27, 51, 0.78); z-index: 1; }
.sust-banner-container { position: relative; z-index: 2; max-width: 850px; margin: 0 auto; padding: 0 30px; text-align: center; }
.sust-banner-container h3 { font-family: var(--font-heading); font-size: 32px; color: #FFFFFF; margin-bottom: 18px; font-weight: 700; letter-spacing: -0.5px; }
.sust-banner-container p { font-size: 16px; color: rgba(255, 255, 255, 0.9); line-height: 1.8; font-weight: 400; }
.block-badge { font-family: var(--font-heading); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 15px; display: inline-block; background: var(--k2-blue-light); padding: 5px 16px; border-radius: 20px; color: #FFFFFF; }

/* ==========================================================================
   METRICS BAR
   ========================================================================== */
.k2-metrics-bar { 
    padding: 80px 0; 
    width: 100vw; 
    position: relative; 
    left: 50%; right: 50%; 
    margin-left: -50vw; margin-right: -50vw;
}
.metrics-flex-layout { display: flex; justify-content: space-between; align-items: center; max-width: 1240px; margin: 0 auto; padding: 0 30px; }
.metric-counter-item { text-align: center; flex: 1; }
.counter-number-box { display: flex; justify-content: center; align-items: center; font-family: var(--font-heading); font-size: 54px; font-weight: 800; color: #63B3ED; line-height: 1; }
.plus-sign { color: #63B3ED; margin-left: 2px; }
.metric-counter-item p { font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 2px; margin-top: 14px; color: rgba(255,255,255,0.7); text-transform: uppercase; }

/* ==========================================================================
   NOVA SEÇÃO - GRID DE CARDS MISSÃO, VISÃO E VALORES
   ========================================================================== */
.k2-mvv-strip { padding: 35px 0; border-top: 1px solid var(--k2-border); border-bottom: 1px solid var(--k2-border); }
.grid-3-mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mvv-strip-card { background: #FFFFFF; padding: 35px 30px; border-radius: 6px; border: 1px solid var(--k2-border); text-align: center; transition: var(--transition); }
.mvv-strip-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(10,27,51,0.05); }
.mvv-icon-box { width: 50px; height: 50px; background: rgba(43, 108, 176, 0.1); color: var(--k2-blue-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto 15px auto; }
.mvv-strip-card h3 { font-family: var(--font-heading); font-size: 18px; color: var(--k2-navy); margin-bottom: 10px; font-weight: 700; }
.mvv-strip-card p { font-size: 13.5px; color: var(--k2-text-body); line-height: 1.6; }

@media (max-width: 992px) {
    .grid-3-mvv { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   WCA CERTIFICAÇÃO - SEM MOLDURA
   ========================================================================== */
.wca-isolated-section { padding: 90px 0; border-bottom: 1px solid var(--k2-border); }
.wca-flex-container { display: flex; align-items: center; gap: 60px; }
.wca-img-side { flex: 0.7; display: flex; justify-content: center; }
.wca-massive-badge { height: 350px; width: auto; object-fit: contain; background: transparent; padding: 0; border: none; box-shadow: none; }
.wca-text-side { flex: 1.3; }
.wca-mini-tag { font-family: var(--font-heading); font-size: 11px; font-weight: 700; color: var(--k2-blue-light); letter-spacing: 1.5px; display: block; margin-bottom: 8px; }
.wca-text-side h3 { font-family: var(--font-heading); font-size: 24px; color: var(--k2-navy); margin-bottom: 15px; font-weight: 700; }
.wca-text-side p { font-size: 14.5px; color: var(--k2-text-body); line-height: 1.7; }

/* Formulário de Cotação */
.quote-form-section { padding: 100px 0; }
.max-form-container { max-width: 800px; margin: 0 auto; background: var(--k2-bg-light); border: 1px solid var(--k2-border); padding: 50px; border-radius: 6px; }
.k2-corporate-form { display: flex; flex-direction: column; gap: 15px; margin-top: 35px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.k2-corporate-form input, .k2-corporate-form select, .k2-corporate-form textarea { width: 100%; padding: 14px; border: 1px solid var(--k2-border); background: #FFFFFF; font-family: var(--font-body); font-size: 13px; border-radius: 4px; color: var(--k2-navy); }
.full-width-select { width: 100%; padding: 14px; border: 1px solid var(--k2-border); background: #FFFFFF; font-family: var(--font-body); font-size: 13px; border-radius: 4px; color: var(--k2-navy); }
.btn-form-submit { background: var(--k2-navy); color: #FFFFFF; border: none; padding: 15px; font-family: var(--font-heading); font-size: 12px; font-weight: 700; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: var(--transition); }
.btn-form-submit:hover { background: var(--k2-blue-light); }

/* FOOTER */
.contact-section { background-color: var(--k2-navy); color: rgba(255,255,255,0.6); padding: 80px 0 30px 0; border-top: 4px solid var(--k2-blue-light); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-logo-massive { height: 75px; width: auto; filter: brightness(0) invert(1) !important; margin-bottom: 20px; }
.footer-logo-col p { max-width: 420px; font-size: 13.5px; line-height: 1.6; }
.footer-active-socials { display: flex; gap: 15px; margin-top: 20px; }
.footer-active-socials a { color: #FFFFFF; font-size: 18px; transition: var(--transition); opacity: 0.7; }
.footer-active-socials a:hover { opacity: 1; transform: translateY(-2px); }
.footer-contact-col h4 { font-family: var(--font-heading); font-size: 16px; color: #FFFFFF; margin-bottom: 25px; letter-spacing: 0.5px; }
.footer-contact-col p { font-size: 13.5px; margin-bottom: 12px; display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.footer-contact-col i { color: #FFFFFF; margin-top: 4px; }
.footer-bottom { padding-top: 30px; font-size: 11.5px; color: rgba(255,255,255,0.3); }

@media (max-width: 992px) {
    .grid-2, .services-msl-grid, .commodities-grid, .footer-grid, .metrics-flex-layout, .wca-flex-container { grid-template-columns: 1fr !important; flex-direction: column; }
    .nav-menu { display: none; }
    header { width: 95%; left: 2.5%; }
    .metric-counter-item { margin-bottom: 30px; }
}

/* ==========================================================================
   BOTÃO FLUTUANTE DE COTAÇÃO - K2 CARGO
   ========================================================================== */
.k2-floating-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: var(--k2-blue-light);
    color: #FFFFFF !important;
    padding: 15px 22px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(10, 27, 51, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.k2-floating-quote-btn i {
    font-size: 16px;
}

.k2-floating-quote-btn:hover {
    background-color: var(--k2-navy);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(10, 27, 51, 0.4);
}

/* Ajuste fino responsivo para dispositivos móveis */
@media (max-width: 768px) {
    .k2-floating-quote-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px;
        border-radius: 50%; /* Vira um círculo compacto no celular para poupar tela */
    }
    .floating-btn-text {
        display: none; /* Esconde o texto no smartphone, mantendo apenas o ícone técnico */
    }
    .k2-floating-quote-btn i {
        font-size: 18px;
    }
}