/* ==========================================================================
   PALETA OFICIAL DO PDF E VARIÁVEIS
   ========================================================================== */
:root {
  --bg-black: #050505; 
  --bg-card: #1f2532; 
  --bg-light: #e5e7eb; 
  --brand-orange: #ea8124; 
  --text-white: #ffffff;
  --text-gray: #9ca3af;
  --text-dark: #111827;
  --font-main: 'Montserrat', sans-serif;
}

/* ==========================================================================
   ANTI-HORIZONTAL SCROLL (Trava a tela no Mobile)
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden; /* Impede o site de balançar para os lados */
    scroll-behavior: smooth; 
    font-family: var(--font-main); 
    background-color: var(--bg-black); 
    color: var(--text-white); 
}

/* UTILITÁRIOS GERAIS */
.container { max-width: 1150px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 10; }
.text-center { text-align: center; }
.text-white { color: var(--text-white); }
.text-gray { color: var(--text-gray); }
.text-dark { color: var(--text-dark); }
.text-dark-gray { color: #4b5563; }
.text-orange { color: var(--brand-orange); }
.text-sm { font-size: 0.85rem; line-height: 1.5; }
.tracking-widest { letter-spacing: 4px; }
.text-uppercase { text-transform: uppercase; }
.mx-auto { margin-left: auto; margin-right: auto; }
.font-600 { font-weight: 600; }

.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; } .mb-5 { margin-bottom: 4rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.pt-5 { padding-top: 4rem; } .pb-5 { padding-bottom: 4rem; }
.pt-large { padding-top: 6rem; } .pb-large { padding-bottom: 6rem; }

/* GRIDS */
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.grid-3-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-2-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }

/* ESTRUTURAS DE SEÇÃO */
.section-light { background-color: var(--bg-light); color: var(--text-dark); }
.section-dark { background-color: var(--bg-black); color: var(--text-white); }
.relative { position: relative; }
.orange-line { width: 40px; height: 4px; background-color: var(--brand-orange); }

.section-title-dark { font-size: 2.2rem; font-weight: 900; letter-spacing: 1px; color: var(--text-dark); text-transform: uppercase; }
.section-title-white { font-size: 2.2rem; font-weight: 900; letter-spacing: 1px; color: var(--text-white); text-transform: uppercase; }

/* CORTES GEOMÉTRICOS */
.v-cut-orange-top { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 100px solid transparent; border-right: 100px solid transparent; border-top: 60px solid var(--brand-orange); z-index: 10; }
.border-top-orange { border-top: 4px solid var(--brand-orange); }

/* ==========================================================================
   NAVBAR (Correção da Logo Cortada)
   ========================================================================== */
.navbar { position: fixed; top: 0; width: 100%; padding: 1rem 0; z-index: 1000; transition: all 0.3s; background: rgba(5,5,5,0.98); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* Adicionado margin-left para salvar a ponta do losango laranja */
.logo-img-menu { height: 45px; width: auto; display: block; object-fit: contain; margin-left: 10px; }

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; margin: 0; }
.nav-links a { color: var(--text-white); text-decoration: none; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover { color: var(--brand-orange); }

.btn-nav { background: transparent; border: 1px solid var(--brand-orange); padding: 10px 24px; color: var(--brand-orange) !important; border-radius: 2px;}
.btn-nav:hover { background: var(--brand-orange); color: var(--bg-black) !important; }

.btn-login-menu { color: var(--brand-orange) !important; font-weight: 700 !important; background: rgba(234, 129, 36, 0.1); padding: 8px 15px; border-radius: 4px; border: 1px solid rgba(234, 129, 36, 0.3); }
.btn-login-menu:hover { background: var(--brand-orange) !important; color: #000 !important; }

.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; cursor: pointer; z-index: 1001; }
.menu-toggle .bar { width: 100%; height: 3px; background-color: var(--brand-orange); border-radius: 3px; transition: all 0.3s ease-in-out; }

/* ==========================================================================
   HERO SECTION 
   ========================================================================== */
.hero-pdf { 
    position: relative; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}

.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: rgba(5, 5, 5, 0.85); z-index: 1; }

.hero-content { 
    position: relative;
    z-index: 2; 
    width: 100%; 
    padding-top: 120px; 
    padding-bottom: 220px; 
}

.logo-center { display: flex; flex-direction: column; align-items: center; animation: floatLogo 5s ease-in-out infinite; margin-bottom: 1.5rem; }
.logo-img-hero { height: 90px; width: auto; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }

@keyframes floatLogo {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-subtitle { font-size: 0.95rem; font-weight: 700; display: block; margin-bottom: 1rem;}
.hero-pdf h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero-desc-clean { font-size: 1.15rem; color: #ccc; max-width: 700px; margin: 0 auto; line-height: 1.6; }

.btn-primary { display: inline-block; background: var(--brand-orange); color: #000; padding: 12px 30px; font-weight: 800; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: all 0.3s; margin-top: 2rem;}
.btn-primary:hover { background: #fff; transform: translateY(-3px); }

/* O LOSANGO FIXO NA DIVISA */
.diamond-wrapper { 
    position: absolute; 
    bottom: -125px; 
    left: 50%;
    margin-left: -125px; 
    width: 250px; 
    height: 250px; 
    z-index: 20; 
}
.diamond-crop { width: 100%; height: 100%; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); overflow: hidden; background: var(--bg-black); border: 2px solid rgba(255,255,255,0.1); box-shadow: 0 20px 50px rgba(0,0,0,0.5);}
/* VELOCIDADE DO ZOOM NO LOSANGO AUMENTADA PARA 0.3s */
.diamond-crop img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: transform 0.3s ease-out; }
.diamond-wrapper:hover .diamond-crop img { transform: scale(1.1); filter: grayscale(0%); }

/* ==========================================================================
   SEÇÃO "QUEM SOMOS" 
   ========================================================================== */
#sobre { padding-top: 180px; }
#sobre .v-cut-orange-top { display: none; }

.texto-quem-somos p { color: var(--text-dark-gray); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; font-weight: 500; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-box-white { background: var(--text-white); padding: 2rem 1rem; border-radius: 4px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 4px solid var(--brand-orange); transition: transform 0.3s;}
.stat-box-white:hover { transform: translateY(-5px); }
.stat-icon-orange { font-size: 2rem; margin-bottom: 10px; color: var(--brand-orange); }
.stat-box-white strong { font-size: 2rem; color: var(--text-dark); font-weight: 900;}
.stat-box-white span { font-size: 0.8rem; color: var(--text-dark-gray); text-transform: uppercase; text-align: center; margin-top: 5px; font-weight: 600;}

/* ==========================================================================
   CARDS
   ========================================================================== */
.pdf-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pdf-card { background-color: var(--bg-card); display: flex; align-items: stretch; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.pdf-card:hover { transform: translateX(10px); border-color: var(--brand-orange); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.pdf-icon-box { background-color: var(--brand-orange); min-width: 80px; display: flex; justify-content: center; align-items: center; padding: 1rem; color: #fff; font-size: 2rem;}
.pdf-card-text { padding: 1.5rem; flex-grow: 1; }
.pdf-card-text h4 { color: var(--text-white); font-size: 1.1rem; margin-bottom: 5px; font-weight: 700; }
.pdf-card-text p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.5; }

.img-fluid { width: 100%; height: auto; display: block; object-fit: cover; }
.border-orange-right { border-right: 6px solid var(--brand-orange); }

.pdf-card-list { display: flex; flex-direction: column; gap: 1.5rem; }
.pdf-card-light { background-color: var(--bg-card); display: flex; align-items: stretch; transition: transform 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.pdf-card-light:hover { transform: translateX(-10px); }
.pdf-icon-box-light { border-right: 1px solid rgba(255,255,255,0.1); min-width: 80px; display: flex; justify-content: center; align-items: center; font-size: 2rem; color: var(--brand-orange);}
.pdf-card-text-light { padding: 1.5rem; color: var(--text-white); }
.pdf-card-text-light h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; color: var(--brand-orange); }
.pdf-card-text-light p { font-size: 0.9rem; color: var(--text-gray); }

/* ==========================================================================
   FORMULÁRIO DE ORÇAMENTO INTELIGENTE
   ========================================================================== */
.checklist-pdf-white { display: flex; flex-direction: column; gap: 1rem; }
.check-item-white { background-color: rgba(255,255,255,0.05); color: var(--text-white); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 15px; font-weight: 600; font-size: 0.95rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1);}
.circle-check { color: var(--brand-orange); font-size: 1.2rem; font-weight: bold;}

.form-container { background: var(--bg-card); padding: 2.5rem; border-radius: 4px; border-top: 4px solid var(--brand-orange); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-gray); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px;}
.smart-form input, .smart-form textarea, .smart-form select { width: 100%; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); padding: 12px 15px; color: var(--text-white); font-family: var(--font-main); font-size: 1rem; border-radius: 2px; outline: none; transition: border-color 0.3s; }
.smart-form input:focus, .smart-form textarea:focus, .smart-form select:focus { border-color: var(--brand-orange); }
.custom-select-wrapper { position: relative; }
.custom-select-wrapper::after { content: '▼'; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); color: var(--brand-orange); pointer-events: none; font-size: 0.8rem; }
.smart-form select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.btn-submit { width: 100%; background: var(--brand-orange); color: #fff; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; padding: 1rem; border: none; border-radius: 2px; cursor: pointer; transition: all 0.3s; display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 1rem;}
.btn-submit:hover { background: #fff; color: var(--bg-black); transform: translateY(-3px); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-pdf-final { background-color: #0b0d12; border-top: 1px solid rgba(255,255,255,0.05);}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); background-color: #050505; }

/* ==========================================================================
   ANIMAÇÕES GERAIS DE ENTRADA (SCROLL REVEAL - MAIS RÁPIDAS)
   ========================================================================== */
/* Tempo reduzido de 1s para 0.4s */
.fade-up { opacity: 0; transform: translateY(40px); transition: all 0.4s ease-out; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-right { opacity: 0; transform: translateX(-40px); transition: all 0.4s ease-out; }
.fade-right.is-visible { opacity: 1; transform: translateX(0); }
.fade-left { opacity: 0; transform: translateX(40px); transition: all 0.4s ease-out; }
.fade-left.is-visible { opacity: 1; transform: translateX(0); }

/* ======== CARREGAMENTO IMEDIATO DA PRIMEIRA TELA ======== */
/* Isso força os textos e o botão do topo a aparecerem na hora, sem esperar scroll ou JS */
.hero-pdf .fade-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
}

/* ==========================================================================
   RESPONSIVIDADE E MENU MOBILE
   ========================================================================== */
@media (max-width: 900px) {
    .grid-2-cols, .grid-2-form { grid-template-columns: 1fr; gap: 3rem; }
    .hero-pdf h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    /* Ajustes da Navbar no Mobile */
    .container { padding: 0 1rem; }
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background-color: rgba(5, 5, 5, 0.98); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
        display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: -10px 0 30px rgba(0,0,0,0.5); border-left: 2px solid var(--brand-orange);
    }
    .nav-links.active { right: 0; }

    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--text-white); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--text-white); }
    
    /* ======== CORREÇÕES VISUAIS MOBILE ======== */
    
    /* Esconde logo gigante flutuante no celular */
    .logo-center { display: none; } 
    
    /* Evita que "TRANSFORMANDO CIDADES" vaze a tela */
    .hero-pdf h1 { font-size: 1.7rem; padding: 0 10px; word-wrap: break-word; }
    .hero-subtitle { font-size: 0.75rem; padding: 0 10px; }
    
    /* MUITO MAIS RESPIRO: Empurra o botão pra cima para não encostar no losango */
    .hero-content { 
        padding-top: 100px; 
        padding-bottom: 260px !important; 
    }
    
    /* Diminui um pouco o losango no celular para caber melhor */
    .diamond-wrapper { 
        width: 170px; 
        height: 170px; 
        bottom: -85px; 
        margin-left: -85px; 
    }
    
    #sobre { padding-top: 120px; }
    
    .v-cut-orange-top, .v-cut-light-top { display: none; }
    .pdf-card-grid { grid-template-columns: 1fr; }
    .form-container { padding: 1.5rem; }
}
