/* style.css - Design da ALTUM */
:root {
    --primary-color: #003366; /* Azul Escuro */
    --secondary-color: #f4f4f4;
    --text-color: #333;
    --light-text: #fff;
    --font-family: 'Montserrat', sans-serif;
}

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

body { font-family: var(--font-family); line-height: 1.6; color: var(--text-color); background-color: #fff; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }

/* Tipografia e Botões */
h1, h2, h3, h4 { font-weight: 700; color: var(--primary-color); margin-bottom: 15px; }
h2 { font-size: 2.5em; }
h3 { font-size: 2em; text-align: center; margin-bottom: 40px; }

.btn { display: inline-block; padding: 12px 30px; border-radius: 4px; text-decoration: none; font-weight: 600; text-transform: uppercase; transition: 0.3s; border: 2px solid transparent; cursor: pointer;}
.primary-btn { background-color: var(--primary-color); color: var(--light-text); }
.primary-btn:hover { background-color: #002244; transform: translateY(-2px); }
.secondary-btn { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.secondary-btn:hover { background: var(--primary-color); color: white; }

/* Header */
.main-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; padding: 10px 0; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
nav ul { list-style: none; display: flex; }
nav ul li a { text-decoration: none; color: var(--text-color); font-weight: 600; padding: 10px 15px; transition: 0.3s; }
nav ul li a:hover { color: var(--primary-color); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5em; color: var(--primary-color); cursor: pointer; }

/* Hero Section */
.hero-section {
    background: url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    color: white; text-align: center; padding: 150px 0; position: relative;
}
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 51, 102, 0.7); z-index: 1; }
.hero-section .container { position: relative; z-index: 2; }
.hero-section h2 { color: white; font-size: 3.5em; }
.hero-section p { font-size: 1.3em; margin-bottom: 30px; color: #e0e0e0; }

/* Serviços */
.services-section { background: var(--secondary-color); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-item { background: white; padding: 30px; border-radius: 8px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.service-item:hover { transform: translateY(-5px); }
.service-item i { font-size: 3em; color: var(--primary-color); margin-bottom: 20px; }

/* Sobre Nós (Moderno/Digital) */
.about-section {
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1000&auto=format&fit=crop') no-repeat center center/cover;
    position: relative; color: white; text-align: center;
}
.about-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 51, 102, 0.85); z-index: 1; }
.about-section .container { position: relative; z-index: 2; }
.about-section h3 { color: white; }
.about-section p { margin-bottom: 20px; color: #e6e6e6; font-size: 1.1em; max-width: 800px; margin-left: auto; margin-right: auto;}

/* Contactos */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; text-align: left; }
.contact-info, .contact-form-container { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.info-item { display: flex; align-items: center; margin-bottom: 15px; }
.info-item i { color: var(--primary-color); margin-right: 15px; width: 20px; }
.info-item a { text-decoration: none; color: var(--text-color); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.hidden { display: none; }
.success { color: green; margin-top: 10px; }
.error { color: red; margin-top: 10px; }

/* Footer */
footer { background: var(--primary-color); color: #ccc; text-align: center; padding: 20px; margin-top: auto; }

/* Mobile */
@media (max-width: 768px) {
    .main-header .container { flex-wrap: wrap; }
    nav { width: 100%; display: none; margin-top: 15px; }
    nav.active { display: block; }
    nav ul { flex-direction: column; text-align: center; }
    .menu-toggle { display: block; }
    .contact-layout { grid-template-columns: 1fr; }
    .hero-section h2 { font-size: 2.2em; }
}
