@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --primary-blue: #3030ff;
    --accent-cyan: #21c5ff;
    --accent-yellow: #FFF000;
    --neutral-medium: #6c757d;
    --neutral-dark: #1a1a1a;
    --neutral-light: #f0f2f5; /* Fundo da página mais suave */
    --white: #FFFFFF;
    --font-family: 'Raleway', sans-serif;
    --border-radius: 12px;
    --border-radius-hero: 40px; /* Borda arredondada para a hero */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-dark: 0 8px 25px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- ATUALIZAÇÃO PRINCIPAL --- */
body {
    font-family: var(--font-family);
    background-color: var(--neutral-light); /* Fundo da página agora é cinza claro */
    color: #343a40;
    line-height: 1.7;
    font-weight: 400;
}

main {
    background-color: var(--white); /* O conteúdo principal (abaixo da hero) fica em um card branco */
}
/* --- FIM DA ATUALIZAÇÃO --- */

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white); /* Header sempre branco para consistência */
    padding: 15px 0;
    position: sticky; /* Fica fixo no topo ao rolar */
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e9ecef;
    box-shadow: var(--shadow-light);
}

.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 35px; }
.nav-desktop ul { list-style: none; display: flex; gap: 35px; }
.nav-desktop a { text-decoration: none; color: var(--neutral-dark); font-weight: 500; font-size: 16px; transition: color 0.3s; padding-bottom: 5px; position: relative; }
.nav-desktop a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--primary-blue); transition: width 0.3s; }
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a:hover { color: var(--primary-blue); }
.btn-primary { background-color: var(--primary-blue); color: var(--white); border: none; padding: 12px 24px; border-radius: var(--border-radius); cursor: pointer; font-weight: 700; transition: all 0.3s ease; font-size: 15px; }
.btn-primary:hover { background-color: #1f1fa0; transform: translateY(-3px); box-shadow: 0 4px 10px rgba(48, 48, 255, 0.3); }
.mobile-menu-icon { display: none; background: none; border: none; font-size: 30px; cursor: pointer; }
.nav-mobile { display: none; }


/* --- HERO SECTION ATUALIZADA --- */
.hero {
    padding: 80px 40px;
    margin: 20px; /* Margem para mostrar o fundo cinza da página e as bordas arredondadas */
    color: var(--white);
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-background.jpg') no-repeat center center/cover;
    border-radius: var(--border-radius-hero); /* Cantos arredondados */
}

.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.hero-content { flex: 1; max-width: 520px; }
.hero-content h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; color: var(--white); font-weight: 800; }
.hero-content p { font-size: 18px; margin-bottom: 40px; color: rgba(255, 255, 255, 0.9); }
.hero-image { flex: 1; display: flex; justify-content: center; align-items: center; border-radius: var(--border-radius); }
.hero-image img { max-width: 100%; height: auto; }
/* --- FIM DA ATUALIZAÇÃO --- */


/* General Section Styles */
.section-light, .section-dark, .section-gradient { padding: 100px 0; }
.section-light { background-color: var(--white); }
.section-dark { background-color: var(--neutral-dark); color: var(--white); }
.section-gradient { background: linear-gradient(135deg, var(--primary-blue), #1a1ad6); color: var(--white); }
.content-section { max-width: 750px; text-align: center; margin: 0 auto; }
.content-section h2 { font-size: 42px; margin-bottom: 20px; font-weight: 700; }
.content-section p { font-size: 18px; color: var(--neutral-medium); margin-bottom: 30px; }
.section-dark .content-section p, .section-gradient .content-section p { color: rgba(255, 255, 255, 0.8); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 42px; margin-bottom: 15px; font-weight: 700; }
.section-title p { font-size: 18px; color: var(--neutral-medium); max-width: 600px; margin: 0 auto; }
.section-dark .section-title p { color: rgba(255, 255, 255, 0.8); }
.cards-container { display: flex; gap: 30px; justify-content: center; }
.card { background-color: #2c2c2e; padding: 40px; border-radius: var(--border-radius); border: 1px solid #444; flex: 1; max-width: 450px; transition: transform 0.3s, border-color 0.3s; }
.card:hover { transform: translateY(-8px); border-color: var(--accent-yellow); }
.card h3 { color: var(--accent-yellow); margin-bottom: 25px; font-size: 24px; font-weight: 700; }
.card ul { list-style: none; }
.card li { margin-bottom: 15px; font-size: 17px; color: #d1d1d6; }
.product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1140px; margin: 0 auto; }
.product-item { background-color: var(--white); padding: 30px; border-radius: var(--border-radius); border: 1px solid #e9ecef; box-shadow: var(--shadow-light); transition: transform 0.3s, box-shadow 0.3s; border-top: 4px solid var(--primary-blue); }
.product-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-dark); }
.product-item h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--neutral-dark); }
.product-item p { font-size: 16px; color: var(--neutral-medium); }
.btn-secondary { background-color: var(--accent-cyan); color: var(--neutral-dark); border: none; padding: 15px 30px; border-radius: var(--border-radius); cursor: pointer; font-weight: 700; font-size: 16px; transition: all 0.3s ease; }
.btn-secondary:hover { background-color: #1ac0f3; transform: translateY(-3px); box-shadow: 0 4px 10px rgba(33, 197, 255, 0.3); }
.features-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; text-align: center; }
.feature h4 { color: var(--accent-cyan); margin-bottom: 15px; font-size: 22px; font-weight: 700; }
.feature p { color: rgba(255, 255, 255, 0.8); }
.footer { background-color: var(--neutral-dark); color: var(--white); padding: 80px 0 30px 0; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-logo img { height: 40px; margin-bottom: 20px; }
.footer-logo p { max-width: 300px; color: var(--neutral-medium); }
.footer h4 { margin-bottom: 20px; font-size: 18px; color: var(--white); font-weight: 700; }
.footer p, .footer a { color: var(--neutral-medium); text-decoration: none; transition: color 0.3s; }
.footer-legal ul { list-style: none; padding: 0; }
.footer-legal li, .footer-social a { margin-bottom: 12px; display: inline-block; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #333; padding-top: 30px; text-align: center; color: var(--neutral-medium); font-size: 14px; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero { margin: 10px; padding: 60px 20px; }
    
    /* --- ATUALIZAÇÃO AQUI --- */
    .hero-container {
        flex-direction: column; /* Ordem normal: primeiro o texto, depois a imagem */
        text-align: center;
    }
    .hero-image {
        margin-top: 40px; /* Adiciona espaço entre o texto e a imagem */
        max-width: 400px; /* Limita o tamanho da imagem no mobile */
        width: 100%;
    }
    .hero-content {
        margin-top: 0; /* Remove a margem que existia antes */
    }
    /* --- FIM DA ATUALIZAÇÃO --- */

    .footer-content { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    body { font-size: 16px; }
    .header { position: static; /* Header não fica mais fixo no mobile para simplicidade */ }
    .nav-desktop, .header .btn-primary { display: none; }
    .mobile-menu-icon { display: block; }
    .nav-mobile { background-color: white; position: absolute; top: 68px; left: 0; width: 100%; box-shadow: var(--shadow-light); padding: 10px 0 20px; }
    .nav-mobile ul { list-style: none; }
    .nav-mobile li { margin-bottom: 15px; }
    .nav-mobile a { display: block; padding: 10px 20px; text-decoration: none; color: var(--neutral-dark); font-weight: 700; }
    .btn-primary-mobile { display: block; margin: 15px 20px 0; background-color: var(--primary-blue); color: var(--white); padding: 15px; border-radius: var(--border-radius); text-align: center; font-weight: 700; text-decoration: none; }
    .hero { margin: 10px; border-radius: var(--border-radius); /* Borda um pouco menor no mobile */ }
    .hero-content h1, .section-title h2, .content-section h2 { font-size: 32px; }
    .cards-container { flex-direction: column; gap: 20px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-logo p { margin: 0 auto 20px; }
}