/* RESET BASE */
html, body {
    overflow-x: hidden;
}
body {
    background: #0d1117;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* HEADER */
.header {
    width: 100%;
    background: #020617;
    border-bottom: 1px solid #1f2937;
}

.header-container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { height: 80px; }

/* MENU DESKTOP */
.fechar {
    display: none;
}

.menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    padding: 8px 12px;
}

.menu a:hover {
    color: #4da6ff;
}

/* TELA INICIAL - FORNECEDORES */

.marca{
    color:#fff;
}
 
.grade-fornecedores{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:30px;
}

.grade-fornecedores a{
    text-decoration:none;
}

.card-fornecedor{
    background:#0f172a;
    border:1px solid #1e293b;
    border-radius:12px;
    overflow:hidden;
    transition:.3s;
    cursor:pointer;
}

.card-fornecedor:hover{
    transform:translateY(-5px);
    border-color:#4da6ff;
    box-shadow:0 10px 25px rgba(0,0,0,.4);
}

.card-fornecedor img{
    width:100%;
    display:block;
}

.card-body{
    padding:20px;
}

.card-body h3{
    margin:0 0 10px;
    color:#fff;
}

.card-body p{
    color:#9ca3af;
    font-size:14px;
}

/* BOTÃO WHATSAPP */
.contato a,
.btn-whatsapp {
    background: #22c55e;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff !important;
    display: inline-block;
}

.btn-whatsapp:hover {
    background: #16a34a;
    color: #fff !important;
}

/* BOTÃO HAMBÚRGUER */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* TOPO */
.topo {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.info { flex: 1; }

.info h2 { color: #4da6ff; font-size: 32px;}

.subtitulo{
    color:#9ca3af;
    margin-top:-10px;
    margin-bottom:30px;
}

.info .marca {
        color: #fff;
    }

.info p {
    color: #ccc;
    line-height: 1.5;
}

.info .descri {
    text-align: justify;
}

/* INFO GRID */
.info-box {
    margin-top: 20px;
    background: #0f172a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #1e293b;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-grid strong {
    font-size: 12px;
    color: #9ca3af;
}

.info-grid p {
    margin: 5px 0 0;
    font-weight: bold;
}

/* IMAGEM */
.ambiente {
    flex: 1;
}

.ambiente-box {
    position: relative;
    margin-top: 80px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

.ambiente-box > img {
    display: block;
    width: 100%;
}

#imagemPrincipal {
    width: 100%;
    display: block;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

#imagemPrincipal.fade {
    opacity: 0;
}

.nome-ativo {
    margin-top: 15px;
    font-size: 18px;
    color: #4da6ff;
    font-weight: bold;
}

/*****************************************/
/* CTA ORÇAMENTO */
/*****************************************/

.cta-orcamento{
    margin-top:16px;
    background:#141A24;
    border:1px solid #27364D;
    border-radius:10px;
    padding:14px 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}

.cta-info{
    display:flex;
    align-items:center;
    gap:14px;
    flex:1;
}

.cta-info div{
    text-align:left;
}

.cta-info .icone{

    font-size:34px;

    line-height:1;

}

.cta-info strong{

    display:block;

    color:#FFFFFF;

    font-size:17px;

    font-weight:600;

    margin-bottom:3px;

}

.cta-info small{

    display:block;

    color:#B8C2D0;

    font-size:13px;

    line-height:1.4;

}

.cta-whatsapp{

    width:42px;
    height:42px;

    flex-shrink:0;

}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.piso {
    cursor: pointer;
    text-align: center;
}

.piso img {
    width: 100%;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: 0.2s;
}

.piso img:hover {
    border: 2px solid #4da6ff;
    transform: scale(1.05);
}

.piso.ativo img {
    border: 2px solid #4da6ff;
}

.nome {
    font-size: 12px;
    margin-top: 5px;
}

/* ==========================
   FOOTER
========================== */

.footer{
    background:#020617;
    color:#fff;
    margin-top:60px;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    padding:25px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

/* LOGO */

.footer-logo img{
    max-width:280px;
    height:auto;
}

/* MARCAS */

.footer-marcas{
    display:flex;
    gap:60px;
}

.footer-marcas a{
    color:#fff;
    text-decoration:none;
    font-size:1.1rem;
    font-weight:500;
    transition:.3s;
}

.footer-marcas a:hover{
    color:#0ea5e9;
}

/* CONTATO */

.footer-contato{
    text-align:right;
}

.footer-contato .fone{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:10px;
    color:#fff;
    text-decoration:none;
    font-size:1.9rem;
    font-weight:700;
    margin-bottom:8px;
}

.footer-contato .fone img{
    width:34px;
    height:34px;
}

.footer-contato .email{
    display:block;
    color:#fff;
    text-decoration:none;
    margin-bottom:8px;
    font-size:1rem;
}

.footer-contato p{
    margin:0;
    line-height:1.4;
    font-size:1rem;
}

/* COPYRIGHT */

.footer-copy{
    background:#0b0b0b;
    text-align:center;
    padding:12px;
    font-size:.9rem;
    color:#ddd;
}
.footer a {
    color: #4DA6FF;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease;
}

.footer a:hover {
    color: #D3EDFE;
}

/*****************************************/
/* OVERLAY DO AMBIENTE */
/*****************************************/

.ambiente-box{
    position:relative;
}

.overlay-topo{
    position:absolute;
    top:0;
    left:15px;
    background:rgba(0,0,0,.38);
    color:#fff;
    padding:12px 22px;
    border-radius:0 0 10px 10px;
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
    z-index:10;
}

.overlay-topo span{
    color:#15A8FF;
}

.overlay-logo{
    position:absolute;
    top:15px;
    right:15px;
    z-index:20;
}

.overlay-logo img{
    width:100px;
    opacity:.90;
    display:block;
    margin-top:0 !important;
}

.overlay-piso{
    position:absolute;
    max-width:280px;
    left:18px;
    bottom:12px;
    background:rgba(0,0,0,.38);
    border-left:2px solid #0480EA;
    padding:5px 12px 5px 8px;
    border-radius:8px;
    color:#fff;
    z-index:10;
}

.overlay-piso small{
    display:block;
    color:rgba(255,255,255,.75);
    font-size:10px;
    font-weight:400;
    letter-spacing:.3px;
    margin-bottom:1px;
}

.overlay-piso strong{
    display:block;
    color:#63B8FF;
    font-size:11px;
    font-weight:600;
    margin-bottom:1px;
    line-height:1.1;
}

#overlayNomePiso{
    font-size:11px;
    font-weight:600;
    line-height:1.1;
    word-break:normal;
    overflow-wrap:break-word;
}

/******************/
/* PAINEL LATERAL */
/******************/
.overlay-sidepanel{
    position:absolute;
    top:0;
    right:0;
    width:28%;
    max-width:215px;
    min-width:180px;
    height:100%;
    padding:5px;
    box-sizing:border-box;
    background:rgba(12,18,28,.28);
    backdrop-filter:blur(2px);
    border-left:1px solid rgba(255,255,255,.08);
    border-bottom-left-radius:10px;
    border-bottom-right-radius:10px;
    overflow:hidden;
    z-index:15;
    display:flex;
    flex-direction:column;
}

.overlay-topo{
    position:absolute;
    top:0;
    left:10px;
    background:rgba(0,0,0,.38);
    color:#fff;
    padding:12px 18px;
    border-radius:0 0 10px 10px;
    font-size:12px;
    font-weight:400;
    letter-spacing:1px;
    z-index:10;
}

.osp-topo{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
}

.osp-logo{
    text-align:center;
    margin-top:0px;
}

.osp-logo img{
    width:115px;
    height:auto;
}

.osp-fone img{
    width:42px;
    height:auto;
}

.osp-fone{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    margin:0;
}

.osp-fone span{
    font-size:13px;
    font-weight:300;
    letter-spacing:.2px;
}

.osp-endereco{
    text-align:center;
    font-size:11px;
    line-height:1.25;
    margin-top:2px;
}

.osp-endereco strong{
    display:block;
    margin-bottom:8px;
    font-size:16px;
}

.osp-cta{
    text-align:center;
    width:80%;
    padding:16px 10px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:8px;
    /*background:rgba(0,0,0,.12);*/
    background: rgba(255,255,255,.06);
}

.osp-cta-texto{
    font-size:13px;
    font-weight:600;
    margin-bottom:6px;
}

.btn-orcamento{
    display:inline-block;
    background:#22C55E;
    color:#FFFFFF;
    font-size:12px;
    font-weight:400;
    text-decoration:none;
    padding:6px 12px;
    border-radius:6px;
    transition:.25s;
    white-space:nowrap;
}

.btn-orcamento:hover{
    background:#16A34A;
    transform:translateY(-1px);
}

.osp-site{
    width:100%;
    margin-top:0;
    padding:10px 0;
    text-align:center;
    background:#0B5FAF;
    color:#FFF;
    font-size:13px;
}

.osp-divisor-a{
    width:100%;
    height:1px;
    background:rgba(255,255,255,.2);
    margin:4px 0;
}

.osp-divisor-b{
    width:100%;
    height:1px;
    background:rgba(255,255,255,.2);
    margin:4px 0;
}

.osp-rodape{
    margin-top:auto;

    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    padding-bottom:8px;
}

/**********************************************/
/* ANIMAÇÃO DAS OVERLAY                       */
/**********************************************/

/* Estado inicial */
.overlay-topo,
.overlay-sidepanel{
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .6s ease,
        transform .6s ease,
        visibility 0s linear .6s;
}

/* Barra superior */
.overlay-topo{
    transform: translateY(-20px);
}

/* Painel lateral */
.overlay-sidepanel{
    transform: translateX(30px);
}

/* Estado visível */
.overlay-topo.mostrar,
.overlay-sidepanel.mostrar{
    opacity: 1;
    visibility: visible;
    transform: translate(0,0);
    transition:
        opacity .6s ease,
        transform .6s ease;
}

/**********************************************/
/* ================= MOBILE ================= */
@media (max-width: 768px) {

    /* PAINEL LATERAL */
    .overlay-sidepanel{
        position:absolute;
        top:0;
        right:0;
        width:28%;
        max-width:200px;
        min-width:110px;
        height:100%;
        padding:8px 5px 5px;
        box-sizing:border-box;
        background:rgba(12,18,28,.28);
        backdrop-filter:blur(2px);
        border-left:1px solid rgba(255,255,255,.08);
        border-bottom-left-radius:10px;
        border-bottom-right-radius:10px;
        overflow:hidden;
        z-index:15;
        display:flex;
        flex-direction:column;
    }

.osp-divisor-b{
    width:100%;
    height:1px;
    background:rgba(255,255,255,0);
    margin:2px 0;
}
    
.osp-topo{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-top: 2px;
    gap:2px;
}

.overlay-topo{
    position:absolute;
    top:0;
    left:0px;
    background:rgba(0,0,0,.38);
    color:#fff;
    padding:8px 14px;
    border-radius:0 0 10px 10px;
    font-size:9px;
    font-weight:400;
    letter-spacing:0.8px;
    z-index:10;
}

.osp-logo{
    text-align:center;
    margin-top:0px;
}

.osp-logo img{
    width:70px;
    height:auto;
}

/*.osp-fone img{
    width:32px;
    height:auto;
}*/

.osp-fone img{
    display:none;
}

.osp-fone{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:2px;
    margin:0;
}

.osp-fone span{
    font-size:12px;
    font-weight:600;
    line-height:1.2;
}

.osp-endereco{
    text-align:center;
    font-size:10px;
    line-height:1.15;
    margin-top:1px;
}

.osp-site{
    display: none;
}

.osp-cta{
    text-align:center;
    width:100%;
    padding:8px 6px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:6px;
    /*background:rgba(0,0,0,.12);*/
    background: rgba(255,255,255,.06);
}

.osp-cta-texto{
    font-size:11px;
    line-height:1.25;
    margin-bottom:4px;
}

.btn-orcamento{
    display:block;
    width:100%;
    box-sizing:border-box;

    background:#22C55E;
    color:#FFF;

    font-size:11px;
    font-weight:600;
    text-align:center;
    text-decoration:none;

    padding:7px 4px;
    border-radius:6px;

    white-space:normal;
}

    .fechar {
        display: block;
    }

    /* HEADER CORRETO */
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    /* MOSTRA HAMBÚRGUER */
    .menu-toggle {
        display: block;
    }

    .info-box{
        padding:10px;
    }

    .info-grid{
        gap:8px 10px;
    }

    .info h2 { 
        font-size: 20px;
        text-align: center; 
    }

    .info .descri {
        text-align: justify;
        font-size:13px;
        line-height:1.35;
    }

    /* ESCONDE MENU NORMAL */
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 40%;
        height: 100%;
        background: #0f172a;
        display: flex;
        flex-direction: column;
        padding: 40px 30px;
        gap: 15px;
        transition: right 0.35s ease;
        z-index: 999;
    }

    /* MENU ABERTO */
    .menu.ativo {
        right: 0;
    }

    .menu a {
        margin: 0;
        font-size: 16px;
        padding: 8px 0;
    }

    .menu a:hover {
        color: #4da6ff;
    }

    .btn-whatsapp {
        width: 100%;
        text-align: center;
        font-weight: bold;
    }

    .btn-whatsapp:hover {
        color: #fff;
        background: #0D5501;
    }

    /* TOPO */
    .topo {
        flex-direction: column;
    }

    /* IMAGEM */
    .ambiente img {
        margin-top: 1px;
    }

    .ambiente-box {
    margin-top: 0;
    }

    /* GRID MOBILE */
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fechar {
        font-size: 28px;
        cursor: pointer;
        align-self: flex-end;
        margin-bottom: 20px;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: 0.35s;
        z-index: 998;
    }

    .overlay.ativo {
        opacity: 1;
        visibility: visible;
    }

    .footer-container{
        flex-direction:column;
        text-align:center;
    }

    .footer-marcas{
        flex-wrap:wrap;
        justify-content:center;
        gap:25px;
    }

    .footer-contato{
        text-align:center;
    }

    .footer-contato .fone{
        justify-content:center;
        font-size:1.5rem;
    }

}