/* --- VARIÁVEIS E RESET --- */
:root {
    /* Paleta baseada na Logo DWS */
    --bg-dark: #0a0a12;      /* Fundo muito escuro */
    --bg-card: #161625;      /* Fundo dos cartões */
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    
    /* Gradiente da Logo: Ciano -> Azul -> Roxo -> Magenta */
    --color-cyan: #00d2ff;
    --color-blue: #3a7bd5;
    --color-purple: #6a11cb;
    --color-magenta: #fc67fa;
    
    /* O gradiente principal usado em botões e textos */
    --main-gradient: linear-gradient(135deg, var(--color-cyan), var(--color-blue), var(--color-purple), var(--color-magenta));
    
    --font-primary: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    /* Um fundo escuro com um leve toque de azul noturno */
    background: radial-gradient(circle at 50% 10%, #1a1a2e 0%, #0a0a12 80%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- COMPONENTES --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--main-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4); /* Sombra roxa forte */
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(252, 103, 250, 0.6); /* Brilho magenta ao passar o mouse */
}

.btn-outline {
    border: 2px solid var(--color-cyan);
    color: var(--color-cyan);
    margin-left: 10px;
}

.btn-outline:hover {
    background: var(--color-cyan);
    color: var(--bg-dark);
}

.gradient-text {
    background: var(--main-gradient);
    -webkit-background-clip: text; /* Recorta o fundo no formato da letra */
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Deixa a letra transparente para ver o fundo */
    color: transparent; /* Fallback */
    font-weight: 800;
    display: inline-block; /* Garante que o gradiente se aplica corretamente */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* NOVA CLASSE: Efeito de brilho Neon para botões ou cards */
.neon-glow {
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3), 
                0 0 30px rgba(106, 17, 203, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- NAVBAR --- */
.navbar {
    background: rgba(10, 10, 18, 0.95);
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px; 
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-cyan);
}

.highlight-link {
    color: var(--color-magenta) !important;
    font-weight: bold !important;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(58, 123, 213, 0.1) 0%, rgba(10, 10, 18, 1) 70%);
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}



/* --- DELIVERY SECTION --- */

.delivery-section {
    padding: 100px 0 100px 0; 
    background: #0f0f1a;
    position: relative;
}

/* Grade principal */
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start; /* Alinha os cards pelo topo */
}

/* --- ESTILO GERAL DOS CARDS --- */
.compare-card {
    padding: 30px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}


.compare-card ul li {
    display: flex;
    flex-direction: column; /* Garante Título em Cima, Texto em Baixo */
    align-items: center;    /* Centraliza os itens */
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.compare-card ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Estilo dos Títulos (Strong) */
.compare-card strong {
    font-size: 1.1rem;
    margin-bottom: 8px; /* Espaço entre título e texto */
    display: block;
}

/* Estilo dos Textos (P) */
.compare-card p {
    font-size: 0.95rem;
    color: #ddd;
    margin: 0;
    line-height: 1.5;
    max-width: 90%;
}

/* --- ESTILOS ESPECÍFICOS (APENAS CORES) --- */

/* Card Problema (Vermelho) */
.compare-card.problem {
    background: rgba(255, 59, 48, 0.05);
    border-left: 4px solid #ff3b30;
}

.compare-card.problem h3 {
    color: #ff3b30;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.compare-card.problem strong {
    color: #ff3b30; /* Títulos dos itens em vermelho */
}

/* Seta decorativa */
.arrow-down {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin: -10px 0 10px 0;
    opacity: 0.5;
}

/* Card Solução (Marca DWS) */
.compare-card.solution {
    background: rgba(22, 22, 37, 0.8);
    border: 1px solid var(--color-purple);
}

.compare-card.solution h3 {
    color: var(--color-cyan);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.compare-card.solution strong {
    color: var(--color-magenta); /* Títulos dos itens em magenta */
}

.cta-container {
    margin-top: 30px;
    text-align: center;
}

/* --- VISUAL MOCKUP --- */
.delivery-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-box {
    width: 100%;
    height: 500px;
    background: #0f0f1a;
    border-radius: 20px;
    border: 2px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.screen-content {
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-purple);
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .delivery-grid {
        grid-template-columns: 1fr;
    }
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
        width: 100%;
    }
    .btn {
        width: 80%;
        display: block;
        text-align: center;
        margin: 0 auto;
    }
    .btn-outline {
        margin: 0 auto;
    }
}

/* --- PORTFOLIO --- */
.portfolio-section {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-img {
    height: 300px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    color: var(--color-cyan);
    margin-bottom: 10px;
}

.project-info a {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--color-magenta);
}

/* --- SOBRE --- */
.about-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to right, #0a0a12, #11111f);
}

.services-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.service-item {
    border: 1px solid var(--color-purple);
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 0.9rem;
}

/* --- FOOTER --- */
footer {
    padding: 80px 0 40px 0;
    text-align: center;
    background: #050508;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    display: inline-block;
}

.social-links {
    margin-top: 50px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    
    .delivery-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .delivery-info li { justify-content: center; }
    
    .nav-links {
        display: none; /* Esconde menu no mobile por padrão */
        position: absolute;
        right: 0;
        top: 80px;
        background: var(--bg-card);
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px;
        background-color: white;
    }
}


/* --- CARROSSEL DELIVERY --- */

.carousel-container {
    width: 100%;
    height: 350px; 
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #000; /* <--- IMPORTANTE: Garante o fundo preto nas sobras */
    z-index: 2;
    display: flex; /* Ajuda a centralizar o conteúdo */
    align-items: center; /* Centraliza verticalmente */
}

.carousel-track {
    display: flex; /* Coloca as imagens lado a lado */
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out; /* Animação suave */
}

.carousel-slide {
    min-width: 100%; /* Cada slide ocupa 100% da largura do container */
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajusta a imagem inteira dentro da caixa sem cortar */
    background-color: #000; /* Garante que o fundo da imagem seja preto */
}

/* Botões (Setas) */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    border-radius: 5px;
}

.carousel-btn:hover {
    background: var(--color-purple); /* Cor da tua marca */
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Bolinhas de navegação (Opcional) */
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.indicator.active {
    background: var(--color-cyan); /* Cor ativa neon */
    box-shadow: 0 0 10px var(--color-cyan);
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .carousel-container {
        height: 350px; /* Um pouco menor no celular */
    }
}