* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
    height: 100%;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    height: 80px;
}

body {
    background-color: white;
    min-height: 100vh;
    position: relative;
    font-family: 'Roboto';
    min-height: 100vh;
    position: relative;
}

/* FUNDO FIXO TRANSPARENTE */
body::before {
    content: "";
    position: fixed;
    inset: 0; /* substitui top, left, width, height */
    width: 100%;
    height: 100%;

    background-image:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url("cookies.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -1;
    pointer-events: none;
}

main {
    margin-top: 80px; /* altura do menu */
}

/* celular (padrão) */

/* tablet */
@media (min-width: 768px) {

}

/* desktop */
@media (min-width: 1024px) {

}

/* UP */

.up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1.5s ease;
}

.up.active {
  opacity: 1;
  transform: translateY(0);
}

.up:nth-child(1) { transition-delay: 0.1s; }
.up:nth-child(2) { transition-delay: 0.2s; }
.up:nth-child(3) { transition-delay: 0.3s; }
/* SCROOL */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #ffc5c5;
}

::-webkit-scrollbar-thumb {
    background: #e60000;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff1e1e;
}

/* FOOTER */

footer {
    display: grid;
    width: 100%;
    min-height: 300px;
    height: auto;
    padding: 40px 16px;
    padding-top: 80px;
    align-items: center;
    justify-items: start;

    background-image: url("footer.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    footer {
        padding: 80px;
    }
}

.container {
    width: 100%;         /* ocupa tudo */
    max-width: 1200px;   /* limita */
    margin: 0 auto;      /* centraliza */
    min-height: 120px;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    border-bottom: 1px solid #ffffff52;
}

@media (min-width: 768px) {
    .container {
        grid-template-columns: 1fr 1fr;
    }
}

.servico-produtos {
    display: inline-block;
    color: #ffffff;
    font-family: "Poppins", "Roboto";
}

.ts {
    font-family: "Roboto";
    display: inline-block;
    border-bottom: 1px solid #ffffff;
    margin-bottom: 10px;
}

.servico-produtos p {
    color: #ffffffbe;
}

.contatar {
    display: inline-block;
    color: #ffffff;
    font-family: "Poppins", "Roboto";
    margin-bottom: 10px;
}

.tc {
    font-family: "Roboto";
    display: inline-block;
    border-bottom: 1px solid #ffffff;
    margin-bottom: 10px;
}

.contatar a {
    display: block;
    color: #ffffffbe;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contatar a:hover {
    color: #fffffffa;
}

.container-end {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1200px;
    gap: 10px;
}

@media (min-width: 768px) {
    .container-end {
        grid-template-columns: 1fr 1fr;
        max-width: 1200px;
        margin: 0 auto;
    }
}

.final {
    grid-column: 1;
    text-align: center;
}

.local {
    grid-column: 2;
    text-align: center;
}

.local p {
    color: #ffffff;
    font-family: "Poppins";
}

.final p {
    color: #ffffff;
    font-family: "Poppins";
}

.servico-produtos,
.contatar {
    text-align: center;
}

@media (min-width: 768px) {
    .servico-produtos {
        text-align: left;
    }

    .contatar {
        text-align: left;
    }
}

/* whatsapp */

.whats {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-family: "Poppins";

    background-color: #25D366;
    color: white;

    width: 45px;
    height: 45px;
    font-size: 25px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

@media (min-width: 768px) {
    .whats {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 25px;
        right: 25px;
    }
}

.nome {
    position: absolute;
    top: 0;
    font-size: 14px;
    background: #ffffff;
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nome::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: #ffffff;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.whats:hover .nome {
    top: -45px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.whats:hover span {
    text-shadow: 0px -1px 0px rgb(0, 0, 0, 0.1);
}

.whats:hover,
.whats:hover .nome,
.whats:hover .nome::before {
    background: #25D366;
    color: #ffffff;
}

/* INICIO */

.ci {
    background-image:
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url("img_inicio.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center; /* centraliza vertical */

    text-align: start;
    padding: 0 20px 0 100px;
    min-height: 100vh;
    flex: 1;
    position: relative;
}

.ti {
    max-width: 1000px;
    width: 100%;
}
.ci h3 {
    width: fit-content;
    font-family: "Poppins";
    color: #e60000;
    border-bottom: 2px solid #e60000;
}

.ci h1 {
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    font-size: 75px;
    color: #ffffff;
    margin-bottom: 20px;
}

.ci a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px; /* melhor que width fixo */

    border-radius: 5px;
    background: #e60000;
    color: #ffffff;

    text-decoration: none;
    font-family: "Poppins";
    font-weight: 500;

    transition: all 0.3s ease;
}

.ci a:hover {
    background: #eeeeee;
    color: #b60000;
    
}

/* SLIDER */

.slider {
    display: flex;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
}

.slider::-webkit-scrollbar {
    display: none;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.4s ease;
}

.slide {
    min-width: 100%;
    height: 400px;
    position: relative;
    user-select: none;
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.4); /* controla aqui */
    
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide img {
    -webkit-user-drag: none;
    user-select: none;
}

/* texto */
.slide h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 2;
}

/* bolinhas */
.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dots span {
    height: 8px;
    width: 8px;
    margin: 0 5px;
    background: #000000;
    border-radius: 50%;
    display: inline-block;
}

.dots .active {
    background: #ffffff;
}

@media (max-width: 768px) {

    .ci {
        padding: 0 20px; /* tira aquele 100px absurdo */
        text-align: center;
        align-items: center;
    }

    .ti {
        width: 100%;
    }

    .ci h1 {
        font-size: 32px; /* antes era 75 💀 */
        letter-spacing: 1px;
    }

    .ci h3 {
        font-size: 14px;
    }

    .ci a {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* SLIDER */
    .slider-container {
        height: 250px;
    }

    .slide {
        height: 250px;
    }

    .slide h2 {
        font-size: 18px;
        width: 90%;
        text-align: center;
    }

}

@media (max-width: 768px) {
    .ci a {
        width: 100%;
        max-width: 300px;
    }
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    background: rgba(0,0,0,0.5);
    color: white;

    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;

    border-radius: 6px;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.prev:hover,
.next:hover {
    background: rgba(0,0,0,0.8);
}

/* SERVIÇOS */

.ca {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #1a1a1a, #000);
}

.ta {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    max-width: 600px;
    margin: 50px 0 50px 0;
}

.ta h2 {
    margin: 0 auto;
    font-family: 'inter';
    width: fit-content;
    border-bottom: 2px solid #e60000;
    color: #e60000;
}

.ta p {
    color: #ffffff;
}

.tr {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    max-width: 600px;
    margin: 50px 0 50px 0;
}

.tr h2 {
    margin: 0 auto;
    font-family: 'inter';
    width: fit-content;
    border-bottom: 2px solid #e60000;
    color: #e60000;
}

.tr p {
    color: #ffffff;
}

#servicos {
    background-color: #ffffff;
}

.box-img {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-img h3 {
    width: fit-content;
    margin: 0;
}

.imgs1 {
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr 1fr 2fr;
    margin: 0 auto;
    margin-bottom: 50px;
    padding-top: 80px;
    max-width: 1000px;
    gap: 20px;
}

.imgs1 h2 {
    grid-row: 1;
    grid-column: 1 / -1;
    margin: 0 auto;
    width: fit-content;
    font-family: 'inter';
    border-bottom: 2px solid #e60000;
    color: #e60000;
    text-align: center;
    margin-bottom: 20px;
}

.imgs1 h3 {
    grid-column: 2;
    margin: 0 auto;
    font-family: 'inter';
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 20px;
}

.imgs1 img {
    grid-row: 3;
    width: 100%;
    height: clamp(180px, 25vw, 250px);
    object-fit: cover;
    border-radius: 5px;
}

/* posições das imagens */
.aneis {
    grid-column: 1;
}

.cilindro_preto {
    grid-column: 2;
}

.cilindro {
    grid-column: 3;
}

.imgs2 {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    margin-bottom: 50px;
    padding-top: 80px;
    max-width: 1000px;
    gap: 20px;
}

.imgs2 h3 {
    grid-column: 1 / -1;
    margin: 0 auto;
    font-family: 'inter';
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 20px;
}

.imgs2 img {
    grid-row: 2;
    width: 100%;
    height: clamp(180px, 25vw, 250px);
    object-fit: cover;
    border-radius: 5px;
}
.imgs3 {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin: 0 auto;
    margin-bottom: 50px;
    padding-top: 80px;
    max-width: 1000px;
    gap: 20px; /* resolve a linha */
}

.imgs3 h3 {
    grid-row: 1;
    grid-column: 1 / -1;
    text-align: center;
    margin: 0 auto;
    font-family: 'inter';
    width: fit-content;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 20px;
}

.imgs3 img {
    grid-row: 2;
    width: 100%;
    height: clamp(180px, 25vw, 250px);
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.imgs1,
.imgs2,
.imgs3 {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

/* SOBRE */

#sobre {
    padding-top: 80px;
}

.container-sobre {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 100px;
    width: 100%;
    background-color: transparent;
}

.box-sobre {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.box-sobre span {
    margin: 0 auto;
    font-family: 'inter';
    font-size: 30px;
    width: fit-content;
    border-bottom: 2px solid #eeeeee;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;

}

.box-sobre p {
    font-family: 'Poppins';
    color: #ffffff;
    font-size: 17px;
    margin-top: 20px;
}


/* CARDS */

.cards {
    position: relative;
    padding: 60px 0;
    display: flex;
    justify-content: center;
    width: 100%;
    background: linear-gradient(180deg, #0a0a0a, #000);
    gap: 100px;
    flex-wrap: wrap;
    padding-bottom: 50px;
}

.card {
    transform: translateZ(0);
    will-change: transform;
    padding: 20px;
    border-radius: 12px;
    width: 250px;
    height: auto;
    background: linear-gradient(145deg, #1a1a1a, #181818);
    border: 1px solid #b60000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    text-align: start;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(182, 0, 0, 0.35);
    border: 1px solid #ff3333;
}

.card h3 {
    font-family: 'Roboto';
    border-left: 3px solid #b60000;
    padding-left: 8px;
    margin-bottom: 10px;
    color: #e60000;
}

.card span {
    font-size: 13px;
    font-family: 'Poppins';
    color: #ff3333;
}

@media (max-width: 1024px) {

    .box-sobre {
        width: 90%;
    }

    .box-sobre span {
        font-size: 26px;
    }

    .box-sobre p {
        font-size: 15px;
    }

    .cards {
        gap: 40px;
        padding: 40px 20px;
    }

    .card {
        width: 220px;
    }
}

@media (max-width: 768px) {

    .container-sobre {
        padding-bottom: 60px;
    }

    .box-sobre span {
        font-size: 22px;
    }

    .box-sobre p {
        font-size: 14px;
        line-height: 1.5;
    }

    .cards {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .card {
        width: 90%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {

    .box-sobre span {
        font-size: 20px;
    }

    .box-sobre p {
        font-size: 13px;
    }

    .card {
        width: 95%;
    }
}

/* CONTATO */

#contato {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(180deg, #0a0a0a, #000);
    padding-top: 100px;
    padding-bottom: 100px;
}

.titulo-contato {
    text-align: center;
    color: #e60000;
    font-family: "Inter";
    font-size: 32px;

    margin-bottom: 50px;

    border-bottom: 2px solid #b60000;
    display: inline-block;
}

.container-contato {
    display: grid;
    grid-template-columns: 1fr 1fr; /* duas colunas iguais */
    align-items: center; /* centraliza vertical */
    justify-items: center; /* centraliza horizontal */
    width: 100%;
}

.c1 {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 550px;
    gap: 25px;
}

.contatos-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

.contato-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-whats::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;

    width: 0%;
    height: 2px;
    background: #128C7E;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.btn-whats:hover::after {
    width: 100%;
}

.btn-email::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;

    width: 0%;
    height: 2px;
    background: #0056b3;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.btn-email:hover::after {
    width: 100%;
}

.btn-whats, .btn-email {
    position: relative;
    width: fit-content;
    color: #999999;
    text-decoration: none;
    font-family: 'Roboto';
}

.contato-item h2 {
    font-family: 'Poppins';
}

.whatsapp-contato {
    color: #25D366;
    margin-right: 10px;
}

.email-contato {
    color: #007bff;
    margin-right: 10px;
}

.txt-c {
    display: block;
    flex-direction: column;
    grid-row: 1;
}

.txt-c h3 {
    color: #e60000;
    font-family: 'Poppins';
    font-size: 25px;
    width: fit-content;
    border-bottom: 2px solid #b60000;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .txt-c h3 {
        margin: 0 auto;
        text-align: center;
    }
}

.txt-c h1 {
    font-family: 'Inter';
    text-align: start;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 45px;
}

.txt-c span {
    font-family: 'Poppins';
    text-align: start;
    color: #afaeae;
}

.btn-whats {
    width: fit-content;
}

.c1 h2 {
    color: #ffffff;
}

.c2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    grid-column: 2;
}

.form-contato {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;

    width: 100%;
    max-width: 500px;

    padding: 30px;
    padding-top: 15px;
    border-radius: 10px;

    background: linear-gradient(145deg, #111, #0a0a0a);
    border: 1px solid #b60000;
}

/* título */
.titulo-c2 {
    text-align: center;
}

.form-contato h2 {
    color: #e60000;
    font-family: "Inter";
    border-bottom: 2px solid #b60000;
    margin: 0 auto;
    width: fit-content;
}

/* inputs */

.input-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.input-box i {
    color: #999;
    font-size: 20px;
    margin-top: 10px;
}

.input-box input,
.input-box textarea {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    background: #0a0a0a;
    color: white;
}

.form-contato input,
.form-contato textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    outline: none;

    background: #0a0a0a;
    color: white;

    font-family: "Poppins";
    font-size: 14px;
}

/* foco */
.form-contato input:focus,
.form-contato textarea:focus {
    border: 1px solid #e60000;
}

/* textarea */
.form-contato textarea {
    min-height: 100px;
    resize: none;
}

/* botão */
.form-contato button {
    padding: 12px;
    border: none;
    border-radius: 5px;

    background: #e60000;
    color: white;

    font-family: "Poppins";
    font-weight: 500;

    cursor: pointer;
    transition: 0.3s;
}

/* hover */
.form-contato button:hover {
    background: #ff3333;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #0a0a0a inset;
    box-shadow: 0 0 0px 1000px #0a0a0a inset;

    -webkit-text-fill-color: white;
    caret-color: white;
}

input:-webkit-autofill {
    transition: background-color 9999s ease-in-out 0s;
}

@media (max-width: 1024px) {

    .container-contato {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .c1 {
        width: 90%;
        align-items: center;
        text-align: center;
    }

    .txt-c h1 {
        font-size: 36px;
        text-align: center;
    }

    .txt-c span {
        text-align: center;
    }

    .contatos-links {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .c2 {
        grid-column: 1;
    }
}

@media (max-width: 768px) {

    #contato {
        padding: 60px 20px;
    }

    .titulo-contato {
        font-size: 26px;
    }

    .txt-c h1 {
        font-size: 28px;
    }

    .txt-c h3 {
        font-size: 20px;
    }

    .form-contato {
        padding: 20px;
    }
}

@media (max-width: 480px) {

    .txt-c h1 {
        font-size: 24px;
    }

    .txt-c span {
        font-size: 13px;
    }

    .form-contato {
        width: 100%;
    }
}

/* parte do slide */
.slide img {
    pointer-events: none;   /* impede interação */
    user-select: none;      /* não deixa selecionar */
    -webkit-user-drag: none; /* remove drag no Chrome/Safari */
}

.slide h2 {
    pointer-events: none;   /* impede interação */
    user-select: none;      /* não deixa selecionar */
    -webkit-user-drag: none; /* remove drag no Chrome/Safari */
}

.slider {
    display: flex;
    scroll-behavior: smooth;
    cursor: default; /* ou pointer se quiser */
    user-select: none;
}