/* Reset e fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: white;
    background: linear-gradient(160deg, #0f2027, #203a43, #2c5364);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav .logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #00f5d4, #00c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

nav .menu a {
    margin-left: 25px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: 0.3s;
}

nav .menu a:hover {
    color: #00f5d4;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Hero */
.hero {
    text-align: center;
    padding: 180px 20px 120px 20px;
}

.main-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(90deg, #00f5d4, #00c2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(0,245,212,0.3);
}

.subtitle {
    font-size: 22px;
    opacity: 0.9;
    margin: 20px 0 40px;
}

.hero-buttons a {
    margin: 10px;
    padding: 14px 35px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: 0.4s ease;
}

.primary-btn {
    background: linear-gradient(90deg, #00f5d4, #00c2ff);
    color: #0f172a;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,245,212,0.4);
}

.secondary-btn {
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.15);
}

/* Seções */
section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

/* Títulos das seções */
section h2 {
    font-size: 28px;
    color: #00f5d4;
    text-align: center;
    margin: 60px 0 40px; /* espaço acima e abaixo */
}

/* Textos das seções */
section p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.6;
}

/* Cards de serviços */
.services .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: linear-gradient(145deg, rgba(0,245,212,0.15), rgba(0,194,255,0.15));
    padding: 25px;
    border-radius: 20px;
    width: 280px;
    transition: 0.5s;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #00f5d4;
}

.card p {
    font-size: 16px;
    line-height: 1.5;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,245,212,0.3);
}

/* Gráfico */
.chart-section canvas {
    max-width: 1000px;
    width: 90%;
    margin: auto;
    border-radius: 15px;
    background: rgba(0,0,0,0.15);
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,245,212,0.25);
}

/* Contato */
.contact .whatsapp-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 25px;
    border-radius: 35px;
    background: #00f5d4;
    color: #0f172a;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.contact .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,245,212,0.5);
}

/* Responsivo */
@media (max-width: 900px) {
    .services .cards { flex-direction: column; align-items: center; }
    nav .menu { display: none; }
    .menu-toggle { display: block; }
    .menu.active { display: flex; flex-direction: column; position: fixed; top: 70px; right: 20px; background: rgba(0,0,0,0.9); padding: 20px; border-radius: 15px; }
    .menu.active a { margin: 10px 0; }
}
/* Rodapé */
.footer {
    background: rgba(0,0,0,0.7);
    padding: 20px 10px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    margin-top: 50px;
}

.footer .footer-cnpj {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.footer .footer-copyright {
    font-size: 14px;
    font-weight: 500;
    color: #00f5d4;
}
/* Para telemóveis (celulares) */
@media (max-width: 768px) {
    /* 1. Faz as colunas ficarem uma por baixo da outra */
    .container, .row, .flex-parent { 
        display: flex;
        flex-direction: column !important;
        width: 100% !important;
        padding: 10px;
    }

    /* 2. Garante que as imagens não "explodam" para fora do ecrã */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* 3. Ajusta textos que podem estar gigantes */
    h1 { font-size: 24px !important; }
    p { font-size: 16px !important; }

    /* 4. Remove larguras fixas de qualquer elemento */
    div, section, header, footer {
        width: auto !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}@media (max-width: 480px) {
    /* Faz os botões ficarem um embaixo do outro */
    .hero-buttons {
        display: flex;
        flex-direction: column; 
        align-items: center;
        gap: 15px; /* Dá um espaço entre o de cima e o de baixo */
        width: 100%;
    }

    /* Faz os botões ocuparem quase a largura toda para facilitar o clique */
    .primary-btn, .secondary-btn {
        width: 90%; 
        text-align: center;
        margin: 0 !important; /* Remove margens laterais que jogam o botão pro lado */
    }

    /* Ajusta os textos do Hero para não quebrarem estranho */
    .main-title {
        font-size: 1.8rem !important; /* Diminui um pouco o título principal */
        line-height: 1.2;
        padding: 0 10px;
    }

    .subtitle {
        font-size: 1rem !important;
        padding: 0 20px;
    }
}