/* ===========================
   LIGHT PREMIUM – GLOBAL CSS
   Paleta: #FF6600, #FFA55A, #000000, #A6A6A6, #FFFFFF
   Tipografia: Montserrat (bold p/ títulos, regular p/ texto)
   =========================== */

/* Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* ---------------------------
   Variáveis de tema
--------------------------- */
:root {
    --brand: #FF6600;
    --brand-2: #FFA55A;
    --text: #000000;
    --text-muted: #7A7A7A;
    --muted: #A6A6A6;
    --bg: #FFFFFF;
    --bg-soft: #FCFCFC;
    --border: #EDEDED;
    --border-2: #F2F2F2;
    --focus-ring: rgba(255,102,0,.15);
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ff6600;
    --footer-h: 56px;
}

/* ---------------------------
   Base / Reset leve
--------------------------- */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: 'Montserrat', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: var(--footer-h);
}

.wrap {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 16px;
}

/* ---------------------------
   Navbar (clara, premium)
--------------------------- */
.navbar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    color: #000 !important;
}

    .navbar .navbar-brand {
        font-weight: 700;
        letter-spacing: -0.2px;
        color: #FF6600;
    }

    .navbar .nav-link {
        color: #FF6600;
        font-weight: 600;
        white-space: nowrap;
    }

        .navbar .nav-link:hover,
        .navbar .nav-link:focus {
            color: black;
        }

    .navbar .dropdown-menu {
        border: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0,0,0,.06);
        white-space: nowrap;
        color: #000 !important;
    }
    .navbar .dropdown-submenu {
        color: #000 !important;
    }
.bi bi-building {
    color: #000 !important;
}
/* ---------------------------
   Títulos / Texto
--------------------------- */
.lp-title {
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.3px;
    margin: 0 0 6px;
    color: var(--text);
}

.lp-subtitle {
    color: var(--text-muted);
    margin: 0 0 18px;
    font-size: .95rem;
}

/* ---------------------------
   Cards / Containers
--------------------------- */
.lp-container {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 14px rgba(0,0,0,.04);
}

.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
}

    .card.shadow-sm {
        box-shadow: 0 4px 10px rgba(0,0,0,.04);
    }

/* ---------------------------
   Formulários
--------------------------- */
.form-label {
    font-weight: 600;
}

.form-control,
.form-select {
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    padding: 10px 12px;
    font-size: .98rem;
}

    .form-control::placeholder {
        color: var(--muted);
    }

    .form-control:focus,
    .form-select:focus {
        border-color: var(--brand);
        box-shadow: 0 0 0 3px var(--focus-ring);
        outline: none;
    }

/* Estado inválido padrão (opcional) */
.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(220,53,69,.12);
}

.invalid-feedback {
    font-size: .85rem;
}

input[type="date"].form-control {
    line-height: 1.1;
}

/* ---------------------------
   Botões
--------------------------- */
.lp-btn {
    background: var(--brand);
    border: none;
    color: #FFF;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 16px;
    transition: all .25s ease;
}

    .lp-btn:hover {
        background: #E65C00;
        box-shadow: 0 6px 18px rgba(255,102,0,.25);
    }

    .lp-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px var(--focus-ring);
    }

.lp-btn-secondary {
    background: #111;
    color: #fff;
}

.lp-btn-outline {
    background: transparent;
    border: 1px solid var(--brand);
    color: var(--brand);
}

    .lp-btn-outline:hover {
        background: var(--brand);
        color: #fff;
    }

/* ---------------------------
   Tabelas
--------------------------- */
.table {
    --bs-table-bg: var(--bg);
    --bs-table-accent-bg: var(--bg-soft);
    --bs-table-striped-bg: var(--bg-soft);
    color: var(--text);
    border-color: var(--border);
}

    .table thead th {
        background: var(--bg-soft);
        border-bottom: 1px solid var(--border);
        font-weight: 700;
    }

    .table tbody tr:hover {
        background: #fafafa;
    }

/* ---------------------------
   Rodapé
--------------------------- */
.footer-custom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--footer-h);
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 1000;
    background: var(--bg);
    border-top: 1px solid var(--border);
    font-size: .95rem;
}

    .footer-custom .footer-link {
        color: var(--text-muted);
        text-decoration: none;
        margin: 0 8px;
        font-weight: 600;
        transition: color .2s ease;
    }

        .footer-custom .footer-link:hover {
            color: var(--brand);
        }

/* ---------------------------
   Utilitários
--------------------------- */
.text-muted-2 {
    color: var(--text-muted);
}

.badge {
    font-size: .85rem;
    padding: 6px 10px;
    border-radius: 8px;
}

/* ---------------------------
   Formulários dinâmicos (IMPORTANTE)
   Use com sua view: cada bloco tem class="formulario"
   e o JS adiciona/remove a classe .mostrar
--------------------------- */
.formulario {
    display: none;
}

    .formulario.mostrar {
        display: block !important;
    }

    /* Espaçamento entre blocos dinâmicos */
    .formulario + .formulario {
        margin-top: 16px;
    }

/* ---------------------------
   Helpers de layout
--------------------------- */
.section {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

hr.soft {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

/* ---------------------------
   Estados/cores
--------------------------- */
.text-brand {
    color: var(--brand);
}

.bg-soft {
    background: var(--bg-soft);
}

.border-soft {
    border: 1px solid var(--border);
}

a:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
}

/* ===========================
   Estilo Responsivo
   =========================== */

/* Título principal */
.ti_solucoes {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    margin: 1px 1px 1px 0px;
    font-size: 1.2rem;
    display: inline-block;
}

/* Botão sair */
.btn_sair {
    color: #ff6600;
    background-color: #fff;
    border: 1px solid #ff6600;
    margin-top: 5px;
    padding: 5px 20px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none
}

    .btn_sair:hover {
        background-color: #ff6600;
        color: #fff;
    }

/* Logo */
.logo {
    width: 40px;
    height: 40px;
    margin: 1px 1px 1px 1px;
}

/* ===========================
   Responsividade
   =========================== */

/* Telas até 1024px (tablets e notebooks menores) */
@media (max-width: 1024px) {
    .ti_solucoes {
        margin: 1px 1px 1px 0px;
        font-size: 1.1rem;
    }

    .btn_sair {
        padding: 5px 15px;
    }

    .logo {
        width: 35px;
        height: 35px;
    }
}

/* Telas até 768px (tablets em modo retrato e celulares grandes) */
@media (max-width: 768px) {
    .ti_solucoes {
        margin: 5px 0;
        font-size: 1rem;
        text-align: center;
        display: block;
    }

    .btn_sair {
        width: 100%;
        margin-top: 10px;
    }

    .logo {
        width: 30px;
        height: 30px;
        display: block;
        margin: 0 auto;
    }
}

/* Telas até 480px (celulares pequenos) */
@media (max-width: 480px) {
    .ti_solucoes {
        font-size: 0.95rem;
    }

    .btn_sair {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .logo {
        width: 28px;
        height: 28px;
    }
}

.btn abrir_home {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
    background-color: #FF6600;
    color: white;
}

/*footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}*/

.tisolucoes_rodape {
    color: #ff6600;
    font: Montserrat;
    font-weight: bold;
    text-decoration: none;
    margin: 1px;
    height: 10%;
    width: 20%
}

/* Estilo para submenus abrirem à direita */
.dropdown-submenu {
    position: relative;
    color: black;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: 0.1rem;
        margin-right: 0.1rem;
    }