/* Paleta de Cores: Azul Marinho e Ciano Tecnológico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f7f6;
    color: #333;
}

/* Cabeçalho e Navegação */
header {
    background: linear-gradient(135deg, #1a2a6c 0%, #203a43 100%);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

header h1 {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

nav a {
    color: #00d2ff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a:hover {
    color: #ffffff;
}

/* Seções Principais */
section {
    padding: 60px 10%;
    max-width: 1200px;
    margin: auto;
}

h2 {
    color: #1a2a6c;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2.2rem;
}

/* Formulário de Contacto */
.contact-container {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 6px solid #00d2ff;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-submit {
    background: #1a2a6c;
    color: white;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #00d2ff;
    color: #1a2a6c;
}

/* Link WhatsApp */
.whatsapp-button {
    display: block;
    width: fit-content;
    margin: 30px auto;
    background: #25d366;
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.05);
}

/* Grid de Projetos */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border-bottom: 5px solid #1a2a6c;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card h3 {
    color: #1a2a6c;
    margin-bottom: 15px;
}

.project-card p {
    color: #666;
    font-size: 0.95rem;
}

.tech-tag {
    display: inline-block;
    margin-top: 15px;
    color: #00d2ff;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 40px;
    color: #777;
    font-size: 0.9rem;
}
.logo-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.logo-img {
    width: 280px; /* Largura ideal para a sua logo */
    height: auto;
    display: block;
}

/* Opcional: esconde o texto h1 se ele ainda estiver lá */
header h1 {
    display: none;
}

/* Estilo do Botão Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 10000; /* Garante que fique acima de tudo */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Efeito de crescer levemente ao passar o rato */
    background-color: #128c7e;
    color: #FFF;
}

/* Ajuste para telemóveis (diminuir um pouco o tamanho) */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}