:root {
    font-size: 10px;
    --main-color: #d3ad7f;
    --black: #131313;
    --bg: #010103;
    --border: 0.1rem solid rgba(255, 255, 255, 0.3);
}

html {
    font-size: 10px;
    scroll-behavior: smooth; /* Animação nativa */
}

section[id] {
    scroll-margin-top: 9rem; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}

.caixa-video {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.caixa-video video {
    min-height: 100%;
    min-width: 100%;
    position: fixed;
    top: 0;
}

.mascara {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    background: linear-gradient(109deg, rgba(10,12,16,0.7) 50%, rgba(10,12,16,0.99)85%);
}

section {
    max-width: 1200px;
    padding: 3rem 2rem;
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: var(--bg);
    border-bottom: var(--border);
    width: 100vw;
}

.header section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    padding: 1.5rem 0;
    position: relative;
}

.header section a img {
    height: 6rem;
}

.header section nav a {
    margin: 0 1rem;
    font-size: 1.8rem;
    color: #fff;
    transition: 0.4s linear;
} 

.header section nav a:hover {
    color: var(--main-color);
    border-bottom: 0.1rem solid var(--main-color);
    padding-bottom: 0.5rem;
}

.caixa-principal {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.caixa-principal div {
    max-width: 60rem;
}

.caixa-principal div h3 {
    color: #fff;
    font-size: 6rem;
    text-transform: uppercase;
}

.caixa-principal div p {
    font-size: 2rem;
    color: #fff;
    font-weight: lighter;
    padding: 1rem 0;
    line-height: 1.8;
}

.botao-link {
    background-color: var(--main-color);
    cursor: pointer;
    margin-top: 2rem;
    display: inline-block;
    font-size: 1.7rem;
    color: #fff;
    padding: 1rem 3rem;
    border: none;
    transition: 0.3s linear;
}

.caixa-principal div a:hover {
    letter-spacing: 0.1rem;
    background-color: green;
}

.caixa-sobre{
    padding-bottom: 30;
}

.caixa-sobre h2 {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.caixa-sobre h2 span {
    color: var(--main-color);
}

.caixa-sobre .sobre-container {
    display: flex;
    align-items: center;
    background-color: var(--black);
    gap: 1.5rem;
    flex-wrap: wrap;
}

.caixa-sobre .sobre-container .sobre-imagem {
    flex: 1 1 45rem;
}

.caixa-sobre .sobre-container .sobre-imagem img{
    width: 100%;
}

.caixa-sobre .sobre-container .sobre-texto{
    flex: 1 1 45rem;
    padding: 2rem;
}

.caixa-sobre .sobre-container .sobre-texto h3{
    font-size: 3rem;
    color: #fff;
}

.caixa-sobre .sobre-container .sobre-texto p{
    font-size: 1.5rem;
    font-weight: lighter;
    color: #fff;
    line-height: 1.8;
    padding: 1rem 0;
}

/* --- SEÇÃO DE SERVIÇOS (CARDS COM IMAGEM) --- */

.caixa-servicos {
    background-color: var(--black);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.caixa-servicos h2 {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size: 4rem;
}

.caixa-servicos h2 span {
    color: var(--main-color);
}

.servicos-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.servico-card {
    flex: 1 1 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}

/* * DEFINIÇÃO DAS IMAGENS DE FUNDO (Ajuste os caminhos conforme sua estrutura) */
.servico-card.preventiva {
    background-image: url('./img/servico-preventiva.jpg'); 
}

.servico-card.corretiva {
    background-image: url('./img/servico-corretiva.jpg');
}

.servico-card.chamados {
    background-image: url('./img/servico-chamado.jpg');
}

.servico-card:hover {
    transform: translateY(-5px);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    text-align: left;
    transition: background 0.3s ease-in-out;
}

.servico-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.card-overlay h3 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--main-color);
    text-transform: uppercase;
}

.card-overlay p {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-weight: lighter;
}

.card-overlay .botao-link {
    margin-top: 0; 
    align-self: flex-start; 
}


/* --- SEÇÃO DO CARROSSEL DE LOGOTIPOS (Com tema PRETO e Flexbox) --- */

.logo-carousel-section {
    padding: 40px 0; 
    background-color: var(--bg); 
    text-align: center;
}

.logo-carousel-section h2 {
    margin-bottom: 30px;
    font-size: 4rem; 
    color: #ffffff; 
}

.logo-carousel-container {
    overflow: hidden; 
    width: 100%;
}

.logo-carousel-track {
    display: flex;
    flex-wrap: nowrap; 
    width: fit-content; 
    animation: scroll-left 30s linear infinite; 
}

.logo-slide {
    flex-shrink: 0; 
    width: 150px; 
    margin: 0 30px; 
    padding: 10px;
    height: 100px; 
    box-sizing: border-box;
    display: flex; 
    align-items: center;
    justify-content: center;
    background-color: var(--black); 
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1); 
}

.logo-slide img {
    max-width: 100%;
    max-height: 80%; 
    object-fit: contain; 
}

@keyframes scroll-left {
    0% {
        transform: translateX(0); 
    }
    100% {
        transform: translateX(-50%); 
    }
}


/* --- SEÇÃO DE ORÇAMENTO (CONTATO) --- */

.caixa-orcamento {
    background-color: var(--black);
    padding: 8rem 2rem;
    text-align: center;
}

.orcamento-conteudo {
    max-width: 800px;
    margin: 0 auto;
}

.orcamento-conteudo .fale-conosco {
    color: var(--main-color);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.orcamento-conteudo h2 {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.orcamento-conteudo h2 span {
    color: var(--main-color);
}

.orcamento-botao {
    background-color: #387693; /* Cor azul/ciana destacada para o botão */
    color: #fff;
    padding: 1.2rem 4rem;
    border-radius: 5px;
    font-size: 1.8rem;
    transition: 0.3s;
}

.orcamento-botao:hover {
    letter-spacing: 0.1rem;
    background-color: green;
}


/* --- FOOTER (RODAPÉ) --- */

.footer {
    background-color: var(--bg);
    color: #ccc;
    padding-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-coluna {
    flex: 1 1 200px; /* Garante que as colunas se ajustem */
}

.footer-logo {
    height: 6rem;
    margin-bottom: 1rem;
}

.footer-coluna h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    border-bottom: 0.1rem solid var(--main-color);
    padding-bottom: 0.5rem;
}

.footer-coluna p, 
.footer-coluna ul li {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.footer-coluna ul {
    list-style: none;
    padding: 0;
}

.footer-coluna a {
    color: #ccc;
    transition: 0.3s;
}

.footer-coluna a:hover {
    color: var(--main-color);
}

.voltar-topo {
    background-color: #387693; /* Mesma cor do botão de orçamento */
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.6rem;
    margin-top: 1rem;
    display: inline-block;
    border: none;
}

.voltar-topo:hover {
    background-color: #2e6277;
}

.copyright {
    text-align: center;
    padding: 2rem 2rem;
    font-size: 1.4rem;
    border-top: var(--border);
    color: #888;
}

/* --- SEÇÃO CHECKOUT REVISADA --- */
.caixa-detalhes-checkout {
    background-color: var(--bg);
    padding: 8rem 2rem;
    width: 100%;
}

.caixa-detalhes-checkout h2 {
    text-align: center;
    color: #fff;
    font-size: 4rem;
    text-transform: uppercase;
    margin-bottom: 5rem;
}

.caixa-detalhes-checkout h2 span {
    color: var(--main-color);
}

.checkout-grid-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap; /* Permite quebrar em telas pequenas sem bugar */
    max-width: 1200px;
    margin: 0 auto;
}

.coluna-detalhes {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    min-width: 280px;
}

.detalhe-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(211, 173, 127, 0.2);
    transition: 0.3s ease;
}

.detalhe-card:hover {
    background: rgba(211, 173, 127, 0.1);
    border-color: var(--main-color);
}

.numero-badge {
    background-color: var(--main-color);
    color: #000;
    font-weight: bold;
    font-size: 1.8rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0; /* Impede o número de amassar */
}

.texto-detalhe h3 {
    color: #fff;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.texto-detalhe p {
    color: #ccc;
    font-size: 1.4rem;
    line-height: 1.4;
}

.imagem-esteira-central {
    flex: 1.2;
    text-align: center;
    min-width: 300px;
}

.imagem-esteira-central img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 0 20px rgba(211, 173, 127, 0.3));
}