body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

/* HEADER */
header {
    position: fixed;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.logo span {
    color: red;
}

/* MENU */
nav {
    display: flex;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: red;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

nav a:hover {
    color: red;
}

nav a:hover::after {
    width: 100%;
}

/* MENU MOBILE */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* SLIDER */
.slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.content h2 {
    color: #ff3b3b;
    font-size: 40px;
}

.content p {
    font-size: 18px;
}

.btn {
    background: red;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
}

/* SETAS DO SLIDER */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.prev, .next {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* SERVIÇOS */
.servicos {
    padding: 100px 5%;
    background: #22364d;
    color: white;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
}

.card {
    background: white;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.card img {
    width: 60px;
    margin-bottom: 10px;
}

/* HOVER DOS CARDS (AGORA SÓ NO HOVER) */
.card:hover {
    transform: translateY(-10px) scale(1.03);
    background: red;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ÍCONE FICA BRANCO NO HOVER */
.card:hover img {
    filter: brightness(0) invert(1);
}

/* REMOVE DESTAQUE FIXO */
.destaque {
    background: white;
    color: #333;
}

/* SOBRE */
.empresa {
    padding: 80px 5%;
    text-align: center;
}

.diferenciais {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.box {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
}

/* FORM */
.form-background {
    background-color: #ff3b3b;
    padding: 50px 5%;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background: red;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
}

/* WHATSAPP FIXO */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.whatsapp img {
    width: 35px;
}

/* MOBILE */
@media(max-width:768px){

.menu-toggle {
    display: block;
}

nav {
    position: absolute;
    right: 0;
    top: 70px;
    background: white;
    display: none;
    flex-direction: column;
}

nav.active {
    display: flex;
}

.slider {
    height: 60vh;
}

.content h2 {
    font-size: 24px;
}

.content p {
    font-size: 14px;
}

}