/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #1a5490;
    --secondary-color: #2c7ac4;
    --accent-color: #f39c12;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #ddd;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-primary: 'Poppins','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.logo img {
    width: 260px;
    height: 80px;
    display: block;
}

.logo-subtitle {
    text-align: center;
    margin: 0;
}

/* Nav Content - agrupa menu + botão */
.nav-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Menu Links */
.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color:  #001328;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 5px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 8px;
}

/* Remover background hover dos links normais */
.nav-link:hover,
.nav-link.active {
    color: #0C65C3;
    background: transparent;
}

/* Sublinhado no active */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background:#0C65C3;
    border-radius: 2px;
}

/* Sublinhado no hover */
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    opacity: 0.5;
}

/* Botão Contacto - estilo especial */
.btn-contacto {
    padding: 10px 30px;
    background: transparent;
    color: #4A9FFF;
    border: 2px solid #4A9FFF;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.btn-contacto:hover {
    background: #4A9FFF;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 159, 255, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #001328;
    border-radius: 3px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: linear-gradient(135deg, #0A2540 0%, #1e5a8e 100%);*/
    background-image: url('../img/Rectangle41.png');
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom center no-repeat;
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3,34,74,0.8);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: var(--spacing-lg) var(--spacing-md);
}

/* Texto "Bem Vindo à" */
.hero-welcome {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    opacity: 0.95;
}

/* Título "SA CONTAS" */
.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 3px;
    line-height: 1;
}

/* Subtítulo "Consultoria & Auditoria" */
.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    letter-spacing: 2px;
}

/* Linha divisória */
.hero-divider {
    width: 600px;
    max-width: 90%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    margin: var(--spacing-md) auto;
}

/* Descrição */
.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description strong {
    font-weight: 700;
}

/* Botões */
.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 1s ease-out 0.8s both;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: #4A9FFF;
    color: var(--white);
    border-color: #4A9FFF;
}

.btn-primary:hover {
    background: #3a8eef;
    border-color: #3a8eef;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 159, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: #0A2540;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-block {
    width: 100%;
}
/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    color: #0A5596;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    letter-spacing: 1px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: #0A5596;
    margin: 0 auto var(--spacing-md);
    border-radius: 2px;
}

.section-description {    font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto;
}

/* ===================================
   SOBRE NÓS SECTION
   =================================== */
.sobre {
    background: #F5F5F5;
    padding: var(--spacing-xl) 0;
}
   .sobre .container .section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: #F5F5F5;
}
.sobre .container .section-title {
    font-size: 2.5rem;
    color: #0A5596;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    letter-spacing: 1px;
}

.sobre .container .section-divider {
    width: 80px;
    height: 4px;
    background: #0A5596;
    margin: 0 auto var(--spacing-md);
    border-radius: 2px;
}
/* Texto de Apresentação */
.sobre-intro {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.sobre-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: var(--spacing-md);
    text-align: left;
}

/* Grid Missão, Visão, Valores (3 colunas) */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.mvv-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: #0A5596;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.mvv-icon i {
    font-size: 2rem;
    color: var(--white);
}

.mvv-card h3 {
    font-size: 1.5rem;
    color: #0A5596;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.mvv-card p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Lista de Valores */
.valores-list {
    text-align: left;
    list-style: none;
    padding: 0;
}

.valores-list li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.valores-list .bullet {
    color: #FFA500;
    font-size: 0.7rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.valores-list strong {
    color: #333;
}

/* Grid Profissionalismo e Inteligência (2 colunas) */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.extra-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;  /* Adicionar centralização */
}

.extra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Ícone dos cards extras */
.extra-icon {
    width: 70px;
    height: 70px;
    background: #0A5596;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.extra-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.extra-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.extra-card p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}


/* ===================================
   SERVIÇOS SECTION
   =================================== */
   
   .servicos .container .section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--white);
}
.servicos .container .section-title {
    font-size: 2.5rem;
    color: #0A5596;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    letter-spacing: 1px;
}

.servicos .container .section-divider {
    width: 80px;
    height: 4px;
    background: #0A5596;
    margin: 0 auto var(--spacing-md);
    border-radius: 2px;
}
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.servico-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: var(--spacing-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.servico-card:hover::before {
    transform: scaleX(1);
}

.servico-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.servico-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: var(--transition);
}

.servico-card:hover .servico-icon {
    background: var(--primary-color);
}

.servico-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.servico-card:hover .servico-icon i {
    color: var(--white);
}

.servico-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: var(--spacing-sm);
}

.servico-card > p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.servico-items {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
}

.servico-items li {
    padding: var(--spacing-xs) 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.servico-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===================================
   PORQUÊ SECTION
   =================================== */
.porque {
    background: linear-gradient(135deg, #2471B8 0%, #1B5A9E 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
}
.porque .section-header{
    background: linear-gradient(135deg, #2471B8 0%, #1B5A9E 100%);
}
.porque .section-title {
    color: var(--white);
}

.porque .section-divider {
    background: var(--white);
}

.porque-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.porque-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.25);
    transition: var(--transition);
    text-align: center;
}

.porque-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.4);
}

.porque-number {
    width: 80px;
    height: 80px;
    background: #001F3F; /* Círculo preto/azul escuro */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2rem;
    font-weight: 700;
    color: #4A9FFF; /* Número em azul claro */
}

.porque-item h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.porque-item p {
    line-height: 1.8;
    opacity: 0.95;
    font-size: 0.95rem;
}



/* ===================================
   CONTACTO SECTION
   =================================== */
.contacto {
    background: var(--light-color);
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}
.contacto .container .section-header .section-description{
    font-size: 1.1rem;
    color: var(--light-color);
    max-width: 600px;
    margin: 0 auto;
}
.contacto-info {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.contacto-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.contacto-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.contacto-item:last-of-type {
    border-bottom: none;
}

.contacto-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.contacto-item h4 {
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.contacto-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.contacto-form-wrapper {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background:#001328;
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: #0C65C3;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul li {
    padding: var(--spacing-xs) 0;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-section ul li:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-section ul li a {
    color: var(--white);
}

.footer-section ul li i {
    color: #0C65C3;
    margin-right: var(--spacing-xs);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* ===================================
   NOSSA EQUIPA SECTION
   =================================== */

.section-header {
    padding: 120px 60px 120px; /* Padding uniforme */
    position: relative;
    z-index: 0;
    margin-bottom: 0;
    background: #0A5596;
    text-align: center;
}

.section-header .section-title {
    color: var(--white);
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-header .section-divider {
    background: var(--white);
    width: 100px;
    height: 4px;
    margin: 0 auto;
    border-radius: 2px;
}

.equipa {
    padding: 0 0 80px;
    background: #F5F5F5; /* Fundo cinza claro */
    position: relative;
    margin-top: -50px; /* Sobreposição */
    z-index: 1;
}

/* WRAPPER BRANCO - Container dos cards */
.equipa-wrapper {
    background: #FFFFFF;
    padding: 3rem 3rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 8px; /* Adiciona bordas arredondadas suaves */
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.equipa-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    max-width: 100%;
}

.equipa-card {
    background: #FFFFFF;
    border-radius: 0;
    overflow: hidden; /* Mudei para hidden */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.equipa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.equipa-foto {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 0;
}

.equipa-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

.equipa-card:hover .equipa-foto img {
    transform: scale(1.05);
}

.equipa-info {
    padding: 1.5rem 1.5rem 2rem;
    text-align: left;
    background: #FFFFFF;
}

.equipa-info h3 {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 0.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.equipa-funcao {
    font-size: 0.75rem;
    color: #0A5596;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.equipa-descricao {
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.6;
    text-align: left;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-welcome {
        font-size: 1.2rem;
    }
    
    .contacto-wrapper {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid,
    .sobre-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .mvv-grid {
        grid-template-columns: 1fr;
    }
    
    .extras-grid {
        grid-template-columns: 1fr;
    }
     .porque-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .porque-item {
        padding: var(--spacing-md);
    }
    
    .porque-number {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
   .section-header {
        padding: 100px 40px;
    }
    
    .equipa {
        margin-top: -40px;
    }
    
    .equipa-wrapper {
        padding: 2.5rem 2rem 3rem;
        max-width: 95%;
    }
    
    .equipa-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }
    
    .equipa-foto {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-content {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: var(--spacing-md);
    }
    
    .nav-content.active {left: 0; }
    .nav-menu { flex-direction: column; width: 100%;  }
    .nav-link { width: 100%; text-align: center; padding: var(--spacing-md); border-bottom: 1px solid rgba(255,255,255,0.1); }
    .btn-contacto {width: 100%; text-align: center; }
    .hero {min-height: 80vh; margin-top: 70px; }
    .hero-title { font-size: 2.5rem; letter-spacing: 1px; }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-welcome {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-divider {
        width: 300px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .sobre-intro p {
        font-size: 0.95rem;
    }
    
    .mvv-card,
    .extra-card {
        padding: var(--spacing-md);
    }
    
    .servicos-grid,
    .sobre-grid,
    .porque-grid {
        grid-template-columns: 1fr;
    }
    
    .porque-item {
        padding: var(--spacing-md);
    }
    
    .porque-number {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .porque-item h3 {
        font-size: 1.1rem;
    }
    
    .porque-item p {
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .section-header {
        padding: 80px 30px;
    }
    
    .equipa {
        margin-top: -30px;
        padding: 0 0 60px;
    }
    
    .equipa-wrapper {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }
    
    .equipa-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .equipa-foto {
        height: 300px;
    }
    
    .section-header .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
  .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
      .section-title {
        font-size: 1.7rem;
    }
    
    .mvv-icon {
        width: 60px;
        height: 60px;
    }
    
    .mvv-icon i {
        font-size: 1.5rem;
    }
    .porque-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .porque-item h3 {
        font-size: 1rem;
    }
    
    .porque-item p {
        font-size: 0.85rem;
    }
    .section-header {
        padding: 60px 20px;
    }
    
    .equipa {
        margin-top: -20px;
    }
    
    .equipa-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .equipa-foto {
        height: 280px;
    }
    
    .equipa-info {
        padding: 1.2rem 1rem 1.5rem;
    }
    
    .equipa-info h3 {
        font-size: 0.95rem;
    }
    
    .equipa-descricao {
        font-size: 0.78rem;
    }
}
