:root {
    --vermelho: #fe0000;
    --preto: #020202;
    --preto-suave: #121212;
    --cinza: #f4f4f4;
    --branco: #ffffff;
    --whatsapp: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--branco);
    color: var(--preto);
    line-height: 1.6;
    overflow-x: hidden;
}

/* HEADER */
header {
    /* background: var(--preto); */
    background-color: #c4c1c1;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--vermelho);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

/* LOGO */
img {
    max-width: 20%;
    /* border: 1px solid black; */
}

a {
    text-decoration: none;
    color: var(--branco);
}

.logo-area {
    color: var(--branco);
    font-size: 1.5rem;
    font-weight: 900;
}

.logo-area span {
    color: var(--vermelho);
}

.nav-links a {
    color: var(--branco);
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    transition: 0.3s;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--vermelho);
}

/* CARROSSEL HERO */
.carousel-container {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background: var(--preto);
    padding-top: 80px;
}

.carousel-track {
    display: flex;
    width: 200%;
    /* Para 2 slides */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    width: 50%;
    /* Metade do track de 200% */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--branco);
    padding: 0 5%;
}

.slide-1 {
    background: linear-gradient(rgba(2, 2, 2, 0.7), rgba(2, 2, 2, 0.9)), url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?auto=format&fit=crop&q=80&w=1470');
}

.slide-2 {
    background: linear-gradient(rgba(2, 2, 2, 0.85), rgba(2, 2, 2, 0.95)), url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&q=80&w=1470');
}

.slide h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
}

.slide h1 span {
    color: var(--vermelho);
}

.slide p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-main {
    background: var(--vermelho);
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: 900;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
}

.btn-main:hover {
    background: white;
    color: var(--vermelho);
    transform: scale(1.05);
}

.mini-services-slide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.mini-item {
    border: 1px solid var(--vermelho);
    padding: 10px;
    border-radius: 5px;
    background: rgba(254, 0, 0, 0.1);
}

.mini-item i {
    color: var(--vermelho);
    font-size: 1.2rem;
}

.mini-item p {
    font-size: 0.8rem !important;
    margin: 5px 0 0 !important;
    font-weight: bold;
    color: white;
}

.carousel-btn {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    background: rgba(254, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* SEÇÃO DE SERVIÇOS */
.section-padding {
    padding: 80px 5%;
}

.title-center {
    text-align: center;
    margin-bottom: 50px;
}

.title-center h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
}

.title-center .bar {
    width: 80px;
    height: 5px;
    background: var(--vermelho);
    margin: 10px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--cinza);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    border-color: var(--vermelho);
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--vermelho);
    margin-bottom: 20px;
}

/* SEÇÃO DICAS */
.tips-section {
    background: var(--preto);
    color: var(--branco);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tip-item {
    background: var(--preto-suave);
    padding: 30px;
    border-left: 5px solid var(--vermelho);
    transition: 0.3s;
}

.tip-item:hover {
    background: #1a1a1a;
}

.tip-item h4 {
    color: var(--vermelho);
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* SOBRE E FAQ */
.about-faq {
    background: var(--cinza);
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 80px 5%;
}

.about-box,
.faq-box {
    flex: 1;
    min-width: 320px;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid var(--vermelho);
}

.faq-item strong {
    display: block;
    color: var(--vermelho);
    margin-bottom: 5px;
}

/* FOOTER */
footer {
    background: var(--preto);
    color: white;
    padding: 60px 5% 20px;
    border-top: 5px solid var(--vermelho);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-grid h4 {
    color: var(--vermelho);
    margin-bottom: 15px;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    z-index: 2000;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
/* MOBILE */
@media (max-width: 768px) {
    .slide h1 {
        font-size: 2rem;
    }

    header {
        /* background: var(--preto); */
        background-color: #c4c1c1;
        padding: 15px 5%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        border-bottom: 3px solid var(--vermelho);
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    img {
        max-width: 50%;
        /* border: 1px solid black; */
    }

    .nav-links {
        display: none;
    }

    .mini-services-slide {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-btn {
        display: none;
    }
}
