/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BODY ================= */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
    color: #333;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= HEADER ================= */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* LOGO */
.logo img {
    height: 55px;
}

/* ================= MENU ================= */
.header nav {
    display: flex;
    gap: 30px;
}

.header nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    position: relative;
    padding: 6px 5px;
}

/* ===== LINHA LARANJA ===== */
/* ===== LINHA LARANJA ===== */
.header nav a span {
    position: relative;
}

.header nav a span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #ff6600;
    transform: translateX(-50%);
    transition: 0.3s ease;
}

/* ===== LINHAS AZUIS (CORRIGIDO) ===== */

/* LINHA AZUL 1 */
.header nav a::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 2px;
    background: #2196f3;

    top: 05%;
    left: -10%;

    transform: rotate(25deg) scaleX(0);
    transform-origin: center;
    transition: 0.3s ease;
}

/* LINHA AZUL 2 */
.header nav a::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 2px;
    background: #2196f3;

    top: 100%;
    left: -10%;

    transform: rotate(25deg) scaleX(0);
    transform-origin: center;
    transition: 0.3s ease;
}

/* ===== HOVER ===== */
.header nav a:hover span::after {
    width: 50%;
}

.header nav a:hover::before {
    transform: rotate(25deg) scaleX(1);
}

.header nav a:hover::after {
    transform: rotate(25deg) scaleX(1);
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 1s;
}

.slider img.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
}

.hero-content h1 {
    font-size: 56px;
}

.hero-content p {
    font-size: 18px;
}

/* BOTÃO */
.btn {
    margin-top: 20px;
    background: #ff6600;
    padding: 12px 25px;
    color: #fff;
    border-radius: 5px;
    display: inline-block;
}

/* ================= SERVIÇOS ================= */
.servicos {
    padding: 80px 20px;
    text-align: center;
}

.servicos h2 {
    margin-bottom: 90px;
}

.cards {
    display: flex;
    gap: 20px;
}

.card {
    flex: 1;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* ================= PORTFÓLIO ================= */
.portfolio {
    padding: 80px 20px;
    text-align: center;
}

.grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.grid img {
    max-width: 300px;
    border-radius: 10px;
}

/* ================= GALERIA PROFISSIONAL ================= */

.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* CARD */
.galeria .item {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 20px;
    transition: 0.3s;
}

/* IMAGEM */
.galeria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

/* HOVER */
.galeria .item:hover {
    transform: translateY(-5px);
}

/* ================= FOOTER ================= */
.footer {
    background: #111;
    color: #fff;
    padding: 20px;
    text-align: center;
}

/* ================= RESPONSIVO ================= */

/* TABLET */
@media (max-width: 768px) {

    .header .container {
        flex-direction: column;
    }

    .header nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero {
        height: 65vh;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .cards {
        flex-direction: column;
    }

    .grid {
        flex-direction: column;
        align-items: center;
    }

    .grid img {
        max-width: 100%;
    }

    /* 🔥 CORREÇÃO REAL */
    .header nav a {
        width: auto;
        text-align: center;
    }

    /* 🔥 AJUSTE DAS LINHAS (ESSENCIAL) */
    .header nav a::before,
    .header nav a::after {
        width: 120%;
        left: -10%;
    }

}
/* TEXTO NORMAL (PRETO) */
.card {
    flex: 1;
    padding: 30px;
    background: #f5f5f5;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}

/* TEXTO */
.card {
    color: #333;
}

/* HOVER NO CARD (🔥 IMPORTANTE) */
.card:hover {
    background: #2196f3;
    color: #fff;
}

/* ===== ANIMAÇÃO HERO ===== */
.titulo-animado {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(10px);

    animation: surgir 1.8s ease forwards;
}

@keyframes surgir {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ===== BOTÃO WHATSAPP ANIMADO ===== */
.btn {
    background: #ff6600;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;

    animation: piscar 1.5s infinite;
}

@keyframes piscar {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}