/* =========================================================
   VARIÁVEIS
========================================================= */
:root {
    --primary-color: #1a3a8f;
    --secondary-color: #ff6b35;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
}

/* =========================================================
   RESET / BASE
========================================================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Smooch Sans", sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* =========================================================
   NAVBAR
========================================================= */
.fixed-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: #0E0C05;
    transition: background 0.3s ease;
    padding: 0.5rem 0;
}

.fixed-navbar.scrolled {
    background: rgba(46, 36, 1, 0.8);
}

.nav-link {
    color: #fff!important;
    font-size: 18px;
}

.nav-link:hover { 
    text-decoration: underline;
}

.navbar-expand-lg {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9999;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.navbar-logo {
    width: 60px;
    margin-right: 10px;
}

.nav-link {
    color: #fff;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #0E0C05;
}

/* =========================================================
   VIDEO BACKGROUND (FALLBACK BANNER)
========================================================= */
.video-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url(images/banner.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}
/* =========================================================
   VIDEO.JS — CORREÇÕES DEFINITIVAS
========================================================= */

/* Remove QUALQUER fundo azul / cinza */
.video-js,
.video-js *,
.video-js .vjs-tech {
    background: transparent !important;
}

/* Ocupa 100% do container */
.video-js {
    width: 100% !important;
    height: 100% !important;
}

/* Ajuste do vídeo */
.video-js video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* REMOVE POSTER INJETADO (imagem errada / Unsplash) */
.video-js .vjs-poster,
.video-js .vjs-poster picture,
.video-js .vjs-poster img {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Remove spinner, dialogs e overlays internos */
.video-js .vjs-loading-spinner,
.video-js .vjs-modal-dialog,
.video-js .vjs-error-display {
    display: none !important;
}

/* Remove controles */
.video-js .vjs-control-bar,
.video-js .vjs-big-play-button {
    display: none !important;
}

/* =========================================================
   OVERLAY ESCURO
========================================================= */
.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0,0,0,0.35);
}

/* =========================================================
   CONTEÚDO HERO
========================================================= */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #fff;
    top: 25vh;
    left: 8%
}

.hero-title {
    font-size: 68px;
    line-height: 68px;
    margin: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 20px;
    opacity: 0.9;
}

.f-title {
    opacity: 0.6;
}

.hero-btn {
    margin-top: 30px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    background-color: var(--secondary-color);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #ff8535;
    transform: translateY(-3px);
}

/* =========================================================
   SOUND CONTROL (SE USAR)
========================================================= */
.sound-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.sound-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3D Viewer Section */
.viewer-section {
    padding: 60px 0;
    background-color: #ffffff;
    margin: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.viewer-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
}

.viewer-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.viewer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.viewer-controls {
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.response-log {
    background-color: #1e1e1e;
    color: #d4d4d4;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 20px;
}

.log-entry {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.log-time {
    color: #6a9955;
}

.log-message {
    color: #9cdcfe;
}

.log-status {
    color: #b5cea8;
}

.log-error {
    color: #f48771;
}

.connect-section {
    background-color: #0E0C05;
    color: white;
    margin: 0px;
    position: relative;
    padding-bottom: 300px;
    padding-top: 60px;
}

.connect-title {
    font-size: 58px;
    margin-top: 80px;
    line-height: 58px;
    padding-left: 8%;
}

.border-title {
    background: #F2C10E;
    width: 1px;
    height: 80px;
    float: left;
    position: relative;
    margin-right: 30px;
    top: -22px;
}

.title-footer {
    color: #F2C10E;
}

.img-footer {
    position: absolute;
    right: 0;
    bottom: 0;
}

.office-info h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.office-info ul {
    list-style: none;
    padding-left: 0;
    display: inline-flex;
}

.office-info li {
    margin-bottom: 10px;
    position: relative;
}

.brand-sections {
    background: #0E0C05;
    padding-top: 100px;
    padding-bottom: 80px;
}

.ul-brand {
    display: inline-flex;
    list-style: none;
    padding: 20px 0px;
}

.ul-brand li {
    padding: 0px 60px;
}

.ul-social li {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 100%;
    margin-right: 15px;
    position: relative;
}

.img-responsive {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.ul-social li i {
    color: #0E0C05;
    position: absolute;
  top: 50%;
  left: 50%;
  
  /* Prefixos para todos os browsers */
  -webkit-transform: translate(-50%, -50%); /* Chrome, Safari, iOS, Android */
     -moz-transform: translate(-50%, -50%); /* Firefox */
      -ms-transform: translate(-50%, -50%); /* Internet Explorer 9+ */
       -o-transform: translate(-50%, -50%); /* Opera antigo */
          transform: translate(-50%, -50%); /* Padrão moderno */
}

.office-info {
    position: relative;
    top: 123px;
}

.services-section {
    padding-top: 80px;
    padding-bottom: 40px;
}

.services-section .border-title {
    background: #0E0C05;
}

.services-section .title-footer {
    color: #0E0C05;
}

.section-title {
    font-size: 58px;
    margin-top: 80px;
    line-height: 58px;
    padding-left: 5%;
}

.accordion {
    padding: 0px 9%;
}

.accordion p,
.accordion ul li {
    color: #0E0C05;
    font-size: 18px;
}

.accordion .show {
    background: #FFF9F3;
    border-bottom: 2px solid #0E0C05;
}

.accordion-button:not(.collapsed) {
    color: #0E0C05;
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon)!important;
}

.accordion-button {
    color: #0E0C05;
    font-size: 22px;
    font-weight: 600;
    outline: none;
    border-bottom: 1px solid #999895;
}

.accordion-item {
    border: 0px;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
    background-color: transparent;
    border: 0;
}

.accordion-button:focus {
    box-shadow: none;
    background-color: transparent;
    border: 0;
}

.navbar-toggler {
    padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
    font-size: var(--bs-navbar-toggler-font-size);
    line-height: 1;
    color: #fff;
    border-color: #fff;
}

navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

/* =========================================================
   RESPONSIVIDADE - 768px PARA BAIXO
========================================================= */

@media (max-width: 768px) {
    /* =========================================================
       NAVBAR MOBILE
    ========================================================= */
    .navbar-collapse {
        background: rgba(14, 12, 5, 0.95);
        padding: 15px;
        border-radius: 0 0 10px 10px;
        margin-top: 5px;
    }
    
    .navbar-nav {
        text-align: left;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .navbar-logo {
        width: 50px;
    }
    
    /* =========================================================
       HERO SECTION MOBILE
    ========================================================= */
    .hero-section {
        height: 70vh;
        min-height: 400px;
    }
    
    .hero-content {
        top: 15vh;
        left: 5%;
        padding: 15px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 34px;
        text-align: left;
    }
    
    .sound-control {
        bottom: 15px;
        right: 15px;
    }
    
    .sound-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* =========================================================
       BRAND SECTION MOBILE
    ========================================================= */
    .brand-sections {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    
    .ul-brand {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 0;
    }
    
    .ul-brand li {
        padding: 15px 20px;
        width: 50%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .ul-brand img {
        max-width: 120px;
        height: auto;
    }
    
    /* =========================================================
       SERVICES SECTION MOBILE
    ========================================================= */
    .services-section {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    
    .section-title {
        font-size: 32px;
        line-height: 34px;
        margin-top: 60px;
        padding-left: 0;
        text-align: left;
    }
    
 
    
    .services-section .title-footer {
        font-size: 24px;
    }
    
    .accordion {
        padding: 0 15px;
    }
    
    .accordion-button {
        font-size: 18px;
        padding: 15px 10px;
    }
    
    .accordion-body p,
    .accordion-body li {
        font-size: 16px;
    }
    
    .img-responsive {
        margin-bottom: 30px;
    }
    
    /* =========================================================
       3D VIEWER SECTION MOBILE
    ========================================================= */
    .viewer-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .viewer-section .section-title {
        font-size: 28px;
        text-align: left;
    }
    
    .viewer-container {
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .viewer-header {
        padding: 10px 15px;
    }
    
    .viewer-title {
        font-size: 1.2rem;
    }
    
    #productViewer {
        height: 300px;
    }
    
    .viewer-controls {
        padding: 20px;
    }
    
    .color-options {
        justify-content: left;
    }
    
    .color-btn {
        width: 35px;
        height: 35px;
    }
    
    .response-log {
        padding: 15px;
        font-size: 0.8rem;
        max-height: 150px;
    }
    
    /* =========================================================
       CONNECT SECTION MOBILE
    ========================================================= */
    .connect-section {
        padding-bottom: 150px;
        padding-top: 40px;
    }
    
    .connect-title {
        font-size: 32px;
        line-height: 34px;
        margin-top: 60px;
        padding-left: 0;
        text-align: left;
    }
    
    
    .office-info {
        top: 0;
        margin-top: 40px;
        text-align: left;
    }
    
    .f-title {
        margin-top: 25px;
        display: block;
    }
    
    .ul-social {
        justify-content: left;
        margin-top: 15px;
    }
    
    .img-footer {
        width: 100%;
        position: relative;
        margin-top: 40px;
    }
    
    /* =========================================================
       ELEMENTOS GERAIS MOBILE
    ========================================================= */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col-md-7, .col-md-5, .col-lg-7, .col-lg-5 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    h2, h3, h4 {
        text-align: left;
    }
    
    .lead {
        text-align: left;
        font-size: 16px;
    }
}

/* =========================================================
   RESPONSIVIDADE EXTRA PEQUENA - 576px PARA BAIXO
========================================================= */

@media (max-width: 576px) {
    .hero-section {
        height: 60vh;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 30px;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 30px;
    }
    
    .connect-title {
        font-size: 28px;
        line-height: 30px;
    }
    
    .ul-brand li {
        width: 100%;
        padding: 10px 0;
    }
    
    #productViewer {
        height: 250px;
    }
    
    .viewer-controls h4 {
        font-size: 1.2rem;
    }
    
    .btn-lg {
        padding: 10px 15px;
        font-size: 16px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .nav-link {
        font-size: 16px;
    }
}