/* ========================================
   WEBMESTRE - Innovation Solutions
   Cores da Marca
======================================== */

:root {
    --primary-blue: #1581FF;
    --secondary-blue: #0065DD;
    --light-blue: #81B2EB;
    --text-primary: #091416;
    --text-secondary: #63696B;
    --background-light: #D4DFEC;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background-color: var(--white);
    line-height: 1.6;
}


/* ========================================
   HEADER PROFISSIONAL
======================================== */

header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-logo img {
    height: 45px;
    width: auto;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 45px;
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-nav ul li a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.header-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.header-nav ul li a:hover {
    color: var(--primary-blue);
}

.header-nav ul li a:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Selector */
.header-lang {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-lang a {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.header-lang a.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.header-lang a:not(.active) {
    background-color: var(--background-light);
    color: var(--text-primary);
}

.header-lang a:not(.active):hover {
    background-color: var(--light-blue);
    color: var(--white);
}

/* Login Icon */
.header-login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--background-light);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-login i {
    font-size: 16px;
    color: var(--primary-blue);
}

.header-login:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.header-login:hover i {
    color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 8px;
}

/* ========================================
   RESPONSIVE MOBILE
======================================== */

@media (max-width: 1024px) {
    .header-nav ul {
        gap: 25px;
    }
    
    .header-nav ul li a {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 12px 20px;
    }
    
    .header-logo img {
        height: 40px;
    }
    
    /* Hide desktop menu */
    .header-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        gap: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .header-nav.active {
        left: 0;
    }
    
    .header-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .header-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--background-light);
    }
    
    .header-nav ul li a {
        display: block;
        padding: 18px 0;
        font-size: 15px;
    }
    
    .header-nav ul li a::after {
        display: none;
    }
    
    /* Show mobile toggle */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Mobile actions */
    .header-actions {
        gap: 12px;
    }
    
    .header-lang a {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .header-login span {
        display: none;
    }
    
    .header-login {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 10px 15px;
    }
    
    .header-logo img {
        height: 35px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .header-lang {
        gap: 5px;
    }
    
    .header-lang a {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .header-login {
        padding: 8px 10px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
}

/* Títulos */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
}

/* Links */
a {
    color: var(--primary-blue);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-blue);
}




/* ========================================
   Botão Flutuante WhatsApp
======================================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: var(--white);
}

/* ========================================
   Seções Gerais
======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.hero-section h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--white);
}

.hero-section p {
    font-size: 18px;
    color: var(--background-light);
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

/* ========================================
   Cards de Portfólio
======================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.portfolio-card-content {
    padding: 20px;
}

.portfolio-card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 20px;
}

.portfolio-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

/* ========================================
   Formulário de Contacto
======================================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--background-light);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   Grid de Informações
======================================== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.info-card i {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 20px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 14px;
}







