div#container
{
   width: 1317px;
   position: relative;
   margin: 0 auto 0 auto;
   text-align: left;
}
body
{
   background-color: #ACACAC;
   background-image: url('images/background2.jpg');
   background-attachment: fixed;
   background-position: center top;
   background-repeat: no-repeat;
   background-size: 100% 100%;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 13px;
   line-height: 1.1875;
   margin: 0;
   text-align: center;
}
#main_header
{
   background-color: transparent;
   background-image: url('images/cabecalho_site4.png');
   background-repeat: no-repeat;
   background-position: left top;
   background-size: 100% 100%;
   border-radius: 0px;
   box-sizing: border-box;
}
#Picture1
{
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#wb_Image2
{
   vertical-align: top;
}
#Image2
{
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#Shape1
{
   border-width: 0;
   vertical-align: top;
}
#TabMenu1
{
   text-align: left;
   float: left;
   margin: 0;
   width: 100%;
   font-family: Calibri;
   font-weight: bold;
   font-size: 16px;
   font-style: normal;
   list-style-type: none;
   padding: 14px 0 4px 10px;
   overflow: hidden;
}
#TabMenu1 li
{
   float: left;
}
#TabMenu1 li a.active, #TabMenu1 li a:hover.active
{
   position: relative;
   font-weight: bold;
   font-style: normal;
   text-decoration: none;
   z-index: 2;
}
#TabMenu1 li a
{
   padding: 5px 14px 7px 14px;
   margin-right: 3px;
   text-decoration: none;
   border-bottom: none;
   position: relative;
   top: 0;
   transition: 200ms all linear;
}
#TabMenu1 li a:hover
{
   font-weight: bold;
   font-style: normal;
   text-decoration: none;
   top: -3px;
}
#TabMenu1
{
}
#TabMenu1 li a.active, #TabMenu1 li a:hover.active
{
   background-color: #070A18;
   color: #46FF00;
}
#TabMenu1 li a
{
   border: 0px solid #C5C5C5;
   border-top-left-radius: 5px;
   border-top-right-radius: 5px;
   background-color: rgba(246,246,246,0.00);
   color: #FFFFFF;
}
#TabMenu1 li a:hover
{
   background-color: #070A18;
   color: #46FF00;
}
#wb_Icon1
{
   background-color: transparent;
   background-image: none;
   border: 0px solid #245580;
   border-radius: 0px;
   text-align: center;
   margin: 0;
   padding: 0;
   vertical-align: top;
}
#wb_Icon1 a::after
{
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 1;
   pointer-events: auto;
   content: "";
}
#Icon1
{
   height: 29px;
   width: 42px;
}
#Icon1 i
{
   color: #FFFFFF;
   display: inline-block;
   font-size: 29px;
   line-height: 29px;
   vertical-align: middle;
   width: 28px;
}
#wb_Icon1:hover #Icon1 i
{
   color: #FF4200;
}
#wb_Icon2
{
   background-color: transparent;
   background-image: none;
   border: 0px solid #245580;
   border-radius: 0px;
   text-align: center;
   margin: 0;
   padding: 0;
   vertical-align: top;
}
#wb_Icon2 a::after
{
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 1;
   pointer-events: auto;
   content: "";
}
#Icon2
{
   height: 30px;
   width: 42px;
}
#Icon2 i
{
   color: #FFFFFF;
   display: inline-block;
   font-size: 30px;
   line-height: 30px;
   vertical-align: middle;
   width: 29px;
}
#wb_Icon2:hover #Icon2 i
{
   color: #46FF00;
}
#wb_Icon3
{
   background-color: transparent;
   background-image: none;
   border: 0px solid #245580;
   border-radius: 0px;
   text-align: center;
   margin: 0;
   padding: 0;
   vertical-align: top;
}
#wb_Icon3 a::after
{
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 1;
   pointer-events: auto;
   content: "";
}
#Icon3
{
   height: 31px;
   width: 39px;
}
.Icon3
{
   position: relative;
   left: 0;
   top: 0;
   display: inline-block;
   font-family: "Material Icons";
   font-style: normal;
   font-weight: normal;
   line-height: 1;
}
.Icon3:before
{
   content: "\e0be";
}
#Icon3 i
{
   color: #FFFFFF;
   display: inline-block;
   font-size: 31px;
   line-height: 31px;
   vertical-align: middle;
   width: 30px;
}
#wb_Icon3:hover #Icon3 i
{
   color: #FFC000;
}
#wb_Image1
{
   vertical-align: top;
}
#Image1
{
   border: 0px solid #000000;
   border-radius: 0px;
   padding: 0;
   margin: 0;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
}
#wb_Icon4
{
   background-color: transparent;
   background-image: none;
   border: 0px solid #245580;
   border-radius: 0px;
   text-align: center;
   margin: 0;
   padding: 0;
   vertical-align: top;
}
#wb_Icon4 a::after
{
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 1;
   pointer-events: auto;
   content: "";
}
#Icon4
{
   height: 29px;
   width: 42px;
}
#Icon4 i
{
   color: #FFFFFF;
   display: inline-block;
   font-size: 29px;
   line-height: 29px;
   vertical-align: middle;
   width: 28px;
}
#wb_Icon4:hover #Icon4 i
{
   color: #00CCFF;
}
#Shape1
{
   border-width: 0;
   vertical-align: top;
}
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #111827;
}

.box {
    max-width: 1100px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
}

/* CABEÇALHO */
.header {
    background: linear-gradient(90deg, #ff9800, #f57c00);
    padding: 22px 30px;
    color: #fff;
}

.header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: white;
}

/* FORM */
form {
    padding: 30px;
    border-bottom: 1px solid #e5e7eb;
}

label {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

input {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}

input:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255,152,0,.25);
}

button {
    margin-top: 22px;
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    background: linear-gradient(90deg, #ff9800, #f57c00);
    color: #fff;
    cursor: pointer;
}

button:hover {
    opacity: .92;
}

/* ERRO */
.erro {
    background: #fee2e2;
    color: #991b1b;
    padding: 14px 18px;
    margin: 20px;
    border-radius: 10px;
    font-weight: 600;
}

/* COMPROVANTE */
.comprovante {
    padding: 30px;
    background: #f9fafb;
}

.comprovante h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    border-left: 6px solid #ff9800;
    padding-left: 12px;
}

.grid-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grid-view div {
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.grid-view span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.grid-view .full {
    grid-column: 1 / -1;
}

/* BOTÃO PRINT */
.btn-print {
    margin-top: 26px;
    background: #111827;
}

/* IMPRESSÃO */
@media print {
    body {
        background: #fff;
    }
    .no-print {
        display: none;
    }
    .box {
        box-shadow: none;
        margin: 0;
    }
}

.grid-consulta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

/* Responsivo */
@media (max-width: 768px) {
    .grid-consulta {
        grid-template-columns: 1fr;
    }
}

/* === FORM SPLIT === */
.form-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    padding: 0;
}

/* IMAGEM LATERAL */
.form-image {
    position: relative;
    background-image: url('../permit/images/permit_box_img.png');
    background-size: cover;
    background-position: center;
}

/* DEGRADÊ DE TRANSIÇÃO */
.form-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0) 0%,
        rgba(255,255,255,1) 100%
    );
}

/* CAMPOS */
.form-fields {
    padding: 40px 36px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* BOTÕES EMPILHADOS */
.buttons-stack {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* BOTÃO SECUNDÁRIO */
.btn-secondary {
    background: #374151;
    color: #ffffff;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #1f2937;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .form-split {
        grid-template-columns: 1fr;
    }

    .form-image {
        height: 260px;
    }

    .form-image::after {
        display: none;
    }
}

/* ===== CARD FORMULÁRIO ===== */
.form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 30px;
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
    border: 1px solid #e5e7eb;
}

/* TÍTULO DA SEÇÃO */
.form-card-header {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 22px;
    padding-left: 14px;
    border-left: 6px solid #ff9800;
}

/* BOTÃO PRINCIPAL */
.btn-primary {
    background: linear-gradient(90deg, #ff9800, #f57c00);
    color: #ffffff;
    padding: 15px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    letter-spacing: .3px;
}

.btn-primary:hover {
    opacity: .95;
}

/* BOTÕES */
.buttons-stack {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== FOOTER ISOLADO FSAT ===== */
.fsat-footer-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0; /* evita espaços indesejados */
}

.fsat-footer-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: cover;
}
