/* =========================================
   1. CONFIGURAÇÕES GERAIS E VARIÁVEIS
   ========================================= */
:root {
    --primary: #0a2540;   /* Azul Sóbrio - Confiança */
    --accent: #00d4ff;    /* Azul Tecnológico - Inovação */
    --text: #425466;      /* Cinza para leitura */
    --light: #f6f9fc;     /* Fundo claro */
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
}

.container { 
    width: 90%; 
    max-width: 1100px; 
    margin: auto; 
}

/* =========================================
   2. CABEÇALHO E NAVEGAÇÃO
   ========================================= */
header {
    background: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--primary); 
}

.logo span { 
    color: var(--accent); 
}

.nav-links { 
    display: flex; 
    list-style: none; 
    align-items: center; 
}

.nav-links li a { 
    text-decoration: none; 
    color: var(--primary); 
    margin-left: 30px; 
    font-weight: 600; 
    transition: var(--transition); 
}

.nav-links li a:hover { 
    color: var(--accent); 
}

.btn-nav { 
    background: var(--primary); 
    color: white !important; 
    padding: 10px 22px; 
    border-radius: 5px; 
}

/* =========================================
   3. SECÇÃO HERO (PRINCIPAL)
   ========================================= */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #0a2540 0%, #1a3a5a 100%);
    color: white;
}

.hero h1 { 
    font-size: 3.2rem; 
    margin-bottom: 20px; 
    line-height: 1.2; 
}

.hero p { 
    font-size: 1.25rem; 
    margin-bottom: 35px; 
    opacity: 0.9; 
    max-width: 650px; 
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn-primary { 
    background: var(--accent); 
    color: var(--primary); 
    padding: 15px 32px; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: 700; 
    border: none; 
    cursor: pointer; 
    transition: var(--transition);
}

.btn-primary:hover {
    background: #00b8e6;
    transform: translateY(-2px);
}

.btn-secondary { 
    color: white; 
    border: 1px solid white; 
    padding: 15px 32px; 
    text-decoration: none; 
    border-radius: 5px; 
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* =========================================
   4. SECÇÃO EMPRESA (LAYOUT EM COLUNAS)
   ========================================= */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: flex; /* Usamos flex para melhor alinhamento */
    gap: 60px;
    align-items: center;
    flex-wrap: wrap; /* Para funcionar bem no telemóvel */
}

.about-text {
    flex: 1.2; /* Texto ocupa mais espaço */
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--accent);
    margin-top: 10px;
}

.about-stats {
    flex: 0.8; /* Cartões ocupam menos espaço */
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 300px;
}

/* ESTILO DOS CARTÕES DE NÚMEROS */
.stat-card {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
    border-left: 6px solid var(--accent); /* A barra azul vertical */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateX(10px); /* Efeito ao passar o rato */
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* =========================================
   5. SECÇÃO SERVIÇOS
   ========================================= */
.services {
    padding: 100px 0;
    background-color: var(--light);
}
.section-title { 
    text-align: center; 
    margin-bottom: 60px; 
    font-size: 2.4rem; 
    color: var(--primary); 
}
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -40px auto 50px;
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.8;
}
/* Melhoria nos Ícones */
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1); /* Fundo suave azul */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.8rem !important;
    margin-bottom: 0 !important;
}
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
}
/* Pequena etiqueta de benefício */
.benefit {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #2ecc71; /* Verde sucesso */
    background: rgba(46, 204, 113, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}
.service-box { 
    padding: 45px; 
    background: var(--white); 
    border-radius: 12px; 
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.service-box:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-box i { 
    font-size: 2.5rem; 
    color: var(--accent); 
    margin-bottom: 25px; 
}

.service-box h3 { 
    margin-bottom: 15px; 
    color: var(--primary); 
}

/* =========================================
   6. CONTACTO E FORMULÁRIO
   ========================================= */
.contact {
    padding: 100px 0;
}

.contact-card { 
    background: var(--primary); 
    color: white; 
    padding: 60px; 
    border-radius: 20px; 
    text-align: center; 
    max-width: 800px; 
    margin: auto; 
}

#contact-form { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-top: 35px; 
}

#contact-form input, #contact-form textarea { 
    padding: 15px; 
    border-radius: 8px; 
    border: none; 
    font-size: 1rem;
    font-family: inherit;
}

/* =========================================
   7. RODAPÉ E RESPONSIVIDADE
   ========================================= */
footer { 
    padding: 50px 0; 
    border-top: 1px solid #eee; 
    text-align: center; 
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-text h2::after { margin: 15px auto; }
    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 140px 0 80px; }
    .hero-btns { flex-direction: column; }
    .btn-secondary { margin-left: 0; margin-top: 10px; }
}