﻿/* Variáveis CSS para consistência no design */
:root {
    /* Cores principais */
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    /* Cinza institucional do chevron escuro do logo SIMO (#424242) */
    --logo-black: #424242;
    --heading-color: var(--logo-black);
    --text-muted: #64748b;
    --primary-color: #e63328;
    --primary-color-rgb: 230, 51, 40;
    --primary-dark: #cc2518;
    --secondary-color: #38B87C;
    --secondary-color-rgb: 56, 184, 124;
    --card-bg: #ffffff;
    --border-color: #eef1f5;
    --shadow-color: rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 14px rgba(0, 0, 0, 0.07);
    --shadow-strong: 0 8px 22px rgba(0, 0, 0, 0.09);
    --success-color: #38B87C;
    --info-color-rgb: 52, 152, 219;
    --text-light: #0a0a0a;
    --error-color: #ff3d3d;
    
    /* Interação */
    --hover-overlay: rgba(0, 0, 0, 0.05);
    --active-overlay: rgba(0, 0, 0, 0.08);
    --focus-ring: 0 0 0 3px rgba(var(--primary-color-rgb), 0.35);
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #e63328 0%, #cc2518 100%);
    --gradient-green: linear-gradient(135deg, #38B87C 0%, #2d9d63 100%);
    --gradient-blue: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    
    /* Espaçamento e ritmo */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --section-padding: clamp(1.5rem, 4vw, 3rem);
    
    /* Bordas e raios — mais suaves */
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --radius-pill: 50px;

    /* Offset do header sticky (âncoras / skip-link) */
    --header-offset: 5.5rem;
    
    /* Transições */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset e estilos base otimizados */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--primary-color-rgb), 0.45) transparent;
    /* clip no eixo X (não hidden): não promove overflow-y a auto.
       overflow-y:auto no html = único scrollport do documento. */
    overflow-x: clip;
    overflow-y: auto;
}

html::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-color-rgb), 0.35);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-color-rgb), 0.55);
    background-clip: padding-box;
    border: 2px solid transparent;
}

/* UX: anel de foco visível para teclado e acessibilidade */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

[tabindex="-1"]:focus {
    outline: none;
}

/* Respeitar preferência de movimento reduzido (acessibilidade) */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Aplicar transições apenas onde necessário */
.transition-all {
    transition: background-color 0.3s ease-in-out,
                color 0.3s ease-in-out,
                border-color 0.3s ease-in-out,
                transform 0.3s ease,
                box-shadow 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    /* Sem height:100% nem overflow no body — evita 2.º scrollport */
    min-height: 100%;
}

/* Tipografia */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--heading-color);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Utilidade: acento de cor */
.text-accent {
    color: var(--primary-color);
}

/* Barra de acento institucional — paleta dos 4 chevrons do logótipo SIMO */
.header-accent {
    height: 3px;
    background: linear-gradient(
        90deg,
        #f2c531 0%,
        #4CAF50 33%,
        #6b6b6b 66%,
        var(--primary-color) 100%
    );
}

/* Header — tom escuro institucional, destacado do corpo branco do site */
header {
    background: rgba(30, 31, 33, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    transition:
        box-shadow 0.3s var(--ease-out),
        background-color 0.3s var(--ease-out),
        border-color 0.3s var(--ease-out);
}

header.is-scrolled {
    background: rgba(24, 25, 27, 0.99);
    border-bottom-color: rgba(0, 0, 0, 0.45);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

header.is-scrolled .header-content {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.7rem clamp(1.25rem, 3vw, 2.5rem);
    min-height: 4.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: padding 0.3s var(--ease-out);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
    cursor: pointer;
    padding: 0.15rem 0;
}

.logo-container .logo {
    pointer-events: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    line-height: 1.1;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease-out);
}

.logo-container:hover .logo {
    transform: scale(1.04);
}

.logo-container h1 {
    font-size: 1.45rem;
    margin: 0;
    color: #ff4438;
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1;
    text-transform: uppercase;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "case" 1;
}

.logo-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: block;
    margin: 0;
    line-height: 1.25;
    max-width: 15.5rem;
    opacity: 1;
}

nav {
    margin-left: auto;
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

#main-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.1rem;
}

#main-menu li {
    display: block;
}

#main-menu li[hidden],
.footer-links li[hidden] {
    display: none !important;
}

#main-menu a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 550;
    padding: 0.5rem 0.7rem;
    display: block;
    position: relative;
    transition: color 0.2s var(--ease-out);
    letter-spacing: 0.01em;
    text-align: center;
    border-radius: 0;
    white-space: nowrap;
}

#main-menu a:hover {
    color: #ffffff;
    background-color: transparent;
}

#main-menu a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 4px;
}

#main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0.2rem;
    left: 0.7rem;
    right: 0.7rem;
    width: auto;
    height: 2px;
    background: #ff4438;
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.22s var(--ease-out);
}

#main-menu a:hover::after {
    transform: scaleX(1);
    width: auto;
}

#main-menu a.active {
    color: #ffffff;
    font-weight: 650;
    background-color: transparent;
}

#main-menu a.active:hover {
    color: #ffffff;
    background-color: transparent;
}

#main-menu a.active::after {
    transform: scaleX(1);
    width: auto;
    background: #ff4438;
}

/* Overlay do menu mobile */
.menu-overlay {
    display: none;
}

@media (max-width: 768px) {
    .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(15, 23, 42, 0.48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s var(--ease-out, ease), visibility 0.28s var(--ease-out, ease);
        -webkit-tap-highlight-color: transparent;
    }

    body.menu-open .menu-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Menu hamburguer — telas pequenas */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: transparent;
    border: 1px solid transparent;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    outline: none;
    border-radius: var(--border-radius);
    flex-shrink: 0;
    transition:
        background-color 0.2s var(--ease-out),
        border-color 0.2s var(--ease-out);
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.hamburguer-icon {
    display: block;
    width: 1.35rem;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    position: relative;
    transition: background-color 0.2s var(--ease-out);
}

.hamburguer-icon::before,
.hamburguer-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.25s var(--ease-out), top 0.25s var(--ease-out);
}

.hamburguer-icon::before {
    top: -6px;
}

.hamburguer-icon::after {
    top: 6px;
}

.menu-open .hamburguer-icon {
    background-color: transparent;
}

.menu-open .hamburguer-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-open .hamburguer-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Desktop médio: nav mais compacta com 7 itens */
@media (max-width: 1199px) and (min-width: 769px) {
    .header-content {
        gap: 1rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .logo-desc {
        max-width: 11.5rem;
    }

    #main-menu {
        gap: 0;
    }

    #main-menu a {
        padding: 0.45rem 0.5rem;
        font-size: 0.78rem;
    }

    #main-menu a::after {
        left: 0.5rem;
        right: 0.5rem;
    }

}

@media (max-width: 768px) {
    .header-content {
        padding: 0.6rem 1.1rem;
        gap: 0.75rem;
        min-height: 3.85rem;
    }

    header.is-scrolled .header-content {
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .logo-container {
        gap: 0.6rem;
    }

    .logo-text {
        padding-left: 0.65rem;
    }

    .logo-container h1 {
        font-size: 1.2rem;
        letter-spacing: 0.04em;
    }

    .logo-desc {
        font-size: 0.62rem;
        font-weight: 500;
        max-width: 11rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .menu-toggle {
        display: inline-flex;
    }
    
    #main-menu {
        position: static;
        right: 0;
        width: 100%;
        height: auto;
        background-color: transparent;
        flex-direction: column;
        padding: 0;
        box-shadow: none;
        overflow-y: visible;
        display: flex;
    }
    
    .menu-open #main-menu {
        right: 0;
    }
    
    #main-menu li {
        width: 100%;
    }
    
    #main-menu a {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: left;
    }
    
    #main-menu a::after {
        display: none;
    }
    
    #main-menu a.active {
        border-left: 3px solid var(--primary-color);
        padding-left: calc(1.25rem - 3px);
    }
}

/* Menu drawer em mobile — tema claro */
@media (max-width: 768px) {
    body.menu-open #main-menu a,
    .menu-open #main-menu a {
        color: var(--heading-color, #424242) !important;
    }
    body.menu-open #main-menu a:hover,
    .menu-open #main-menu a:hover {
        color: var(--primary-color, #e63328) !important;
        background-color: rgba(230, 51, 40, 0.06);
    }
    body.menu-open #main-menu a.active,
    .menu-open #main-menu a.active {
        color: var(--primary-color, #e63328) !important;
    }
}

/* Hero Banner — cantos suaves no contentor; full-bleed remove radius em responsive */
.hero-banner {
    position: relative;
    margin-bottom: var(--space-2xl);
    overflow: hidden;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.hero-slider {
    margin: 0;
    max-width: 100%;
    border-radius: inherit;
    overflow: hidden;
    box-shadow: none;
    background-color: #f5f8fc;
}

.hero-slider .slider-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.slider-slide {
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slider-slide.active {
    opacity: 1;
}

.slider-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
}

/* Legendas nos slides */
.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem var(--space-xl);
    background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.slider-caption h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    line-height: 1.15;
}

.slider-caption p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-md);
    max-width: 480px;
    line-height: 1.5;
}

/* Adapt to different screen sizes */
@media (max-width: 992px) {
    .hero-slider:not(.slider--informative) .slider-wrapper {
        height: 450px;
    }
    
    .slider-caption h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-slider:not(.slider--informative) .slider-wrapper {
        height: 400px;
    }

    .slider-caption h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .slider-caption p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .slider-caption {
        padding: 1.5rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-slider:not(.slider--informative) .slider-wrapper {
        height: 350px;
    }

    .slider-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .slider-caption {
        padding: 1.2rem;
    }
    
    .slider-caption p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
}

/* Slider hero informativo — faixa Bancomoc (clamp); detalhes em components/slider.css */
.hero-slider.slider--informative .slider-wrapper {
    height: clamp(200px, 36vw, 480px) !important;
    min-height: 200px !important;
    max-height: 480px !important;
    aspect-ratio: auto;
}

@media (max-width: 768px) {
    .hero-slider.slider--informative .slider-wrapper {
        height: clamp(180px, 48vw, 260px) !important;
        min-height: 180px !important;
        max-height: 260px !important;
    }
}

.hero-slider.slider--informative .slider-image,
.hero-slider.slider--informative .slider-slide.active .slider-image {
    object-fit: cover;
    max-width: none;
    max-height: none;
    transform: none;
}

/* Efeito de brilho — desactivado no slider informativo */
.hero-slider:not(.slider--informative) .slider-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 2;
}

/* Cor de borda específica para cada slide */
.hero-slider .slider-slide:nth-child(1) .slider-caption {
    border-top: 3px solid #F44336; /* Vermelho */
}



/* Botões de slide seguem o gradiente principal */



/* Cards e Seções */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.2s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 2;
}

.card:nth-child(2)::before {
    background: var(--gradient-green);
}

.card:nth-child(3)::before {
    background: var(--gradient-blue);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(var(--primary-color-rgb), 0.14);
}

.card:focus-within {
    box-shadow: var(--focus-ring), var(--shadow-medium);
}

.card h3 {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.card:hover h3::after {
    width: 80px;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius);
    background: rgba(var(--primary-color-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    transition: background 0.3s ease, color 0.3s ease;
}

.card:hover .card-icon {
    background: var(--primary-color);
    color: #fff;
}

.card-icon--green {
    background: rgba(var(--secondary-color-rgb), 0.08);
    color: var(--secondary-color);
}

.card:hover .card-icon--green {
    background: var(--secondary-color);
    color: #fff;
}

.card-icon--blue {
    background: rgba(var(--info-color-rgb), 0.08);
    color: #3498db;
}

.card:hover .card-icon--blue {
    background: #3498db;
    color: #fff;
}

/* Botões */
.primary-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), filter 0.2s ease;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(var(--primary-color-rgb), 0.35);
}

.primary-btn:focus-visible {
    box-shadow: var(--focus-ring), 0 4px 14px rgba(var(--primary-color-rgb), 0.35);
}

.primary-btn:active {
    transform: scale(0.98);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
    z-index: -1;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.45);
}

.primary-btn:hover::before {
    left: 100%;
}


.secondary-btn {
    background: var(--gradient-green);
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 15px rgba(var(--secondary-color-rgb), 0.4);
}

.secondary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(var(--secondary-color-rgb), 0.5);
}

/* Formulários */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    background-color: var(--bg-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.12);
}

/* Footer institucional — 3 colunas (marca | links | contacto) */
footer {
    background-color: #111827;
    color: #d1d5db;
    margin-top: var(--space-2xl);
    position: relative;
}

.footer-accent {
    height: 3px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.15fr);
    gap: var(--space-2xl) var(--space-xl);
    align-items: start;
    padding: var(--space-2xl) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col {
    min-width: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: var(--space-md);
}

.footer-logo img,
.footer-brand-mark {
    width: auto;
    height: 48px;
    max-width: 200px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
    border-radius: 0;
    background: transparent;
    /* Legibilidade do texto escuro do logo sobre o footer escuro */
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.12))
            drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.35));
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.footer-logo h3 {
    font-size: 1.25rem;
    margin: 0;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 0.72rem;
    color: #9ca3af;
    display: block;
    line-height: 1.35;
}

.footer-description {
    font-size: 0.85rem;
    color: #9ca3af;
    line-height: 1.7;
    margin: 0;
    max-width: 28rem;
}

.footer-contact address {
    font-style: normal;
    margin: 0;
}

.footer-contact address p {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 0 0.65rem;
    font-size: 0.85rem;
    color: #d1d5db;
    line-height: 1.45;
}

.footer-contact address p:last-child {
    margin-bottom: 0;
}

.footer-contact address p i {
    color: var(--primary-color);
    width: 1rem;
    flex-shrink: 0;
    text-align: center;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.footer-contact address a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.footer-contact address a:hover {
    color: #fff;
}

footer h4,
.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin: 0 0 var(--space-md);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: block;
    font-size: 0.85rem;
    padding: 0.3rem 0;
    line-height: 1.4;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 0.25rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.28);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.1rem var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 3.25rem;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.75rem;
    margin: 0;
    text-align: center;
    padding-inline: 3rem;
}

.scroll-top {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    color: #9ca3af;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.scroll-top:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
        padding: var(--space-xl);
    }

    .footer-info {
        grid-column: 1 / -1;
        padding-bottom: var(--space-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: var(--space-sm);
    }

    .footer-description {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: var(--space-xl) var(--space-md);
    }

    .footer-info {
        grid-column: auto;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-logo h3 {
        font-size: 1.1rem;
    }

    .footer-bottom {
        padding: 1rem var(--space-md);
    }

    .footer-bottom p {
        padding-inline: 2.75rem;
        font-size: 0.7rem;
    }

    .scroll-top {
        right: 0.85rem;
        width: 32px;
        height: 32px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.55s var(--ease-out),
        transform 0.55s var(--ease-out);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }

    .content-section.route-enter {
        animation: none;
    }
}

/* Layout principal */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.content-section {
    display: none;
    background-color: transparent;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 4vw, 2rem);
    position: relative;
}

.content-section.active {
    display: block;
}

.content-section.route-enter {
    animation: routeSlideIn 0.4s var(--ease-out) both;
}

@keyframes routeSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Cabeçalho de secção uniforme */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: var(--space-sm);
}

.section-header h2 .text-accent {
    color: var(--heading-color);
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-section > h2 {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: 0;
}

@media (max-width: 540px) {
    .dashboard-cards {
        gap: var(--space-md);
    }

    .dashboard-cards .card {
        padding: var(--space-lg);
    }

    .dashboard-cards .card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .dashboard-cards .card p {
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.4;
    }
}

.dashboard-cards .card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

/* (Overrides de cor removidos - design usa variáveis) */

/* Animações para os cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.card h3 {
    font-size: 1.6rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.card p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Estatísticas */
/* =============================================
   Secção Estatísticas - Banner
   ============================================= */
.stats-banner {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    margin-top: var(--space-2xl);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-color-rgb), 0.06), transparent 70%);
    pointer-events: none;
}

.stats-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--secondary-color-rgb), 0.05), transparent 70%);
    pointer-events: none;
}

.stats-banner-bg-pattern,
.stats-banner-accent-line {
    display: none;
}

.stats-banner-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.stats-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 650;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 0.55rem;
    padding: 0;
    background: none;
    border-radius: 0;
    line-height: 1.2;
}

.stats-title {
    margin: 0;
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    font-weight: 750;
    color: var(--logo-black);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.stats-title::after {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    margin: 0.7rem auto 0;
    background: var(--primary-color);
    border-radius: 1px;
}

.stats-banner-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0.85rem 0 0;
    line-height: 1.55;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: border-color 0.3s var(--ease-out),
                transform 0.3s var(--ease-out),
                box-shadow 0.3s var(--ease-out);
    opacity: 1;
    visibility: visible;
}

.stat-card:hover {
    border-color: rgba(var(--primary-color-rgb), 0.16);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--border-radius);
    background: rgba(var(--primary-color-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: transform 0.3s var(--ease-out);
}

.stat-card:hover .stat-card-icon {
    transform: scale(1.08);
}

.stat-card-icon--green {
    background: rgba(var(--secondary-color-rgb), 0.15);
    color: var(--secondary-color);
}

.stat-card-icon--amber {
    background: rgba(234, 179, 8, 0.12);
    color: #ca8a04;
}

.stat-card-icon--slate {
    background: rgba(100, 116, 139, 0.12);
    color: #64748b;
}

.stat-card-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-desc {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0.25rem;
    letter-spacing: 0.01em;
}

/* Responsividade - Estatísticas */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    .stats-banner {
        padding: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .stats-banner {
        padding: var(--space-md);
    }
    .stats-banner-header {
        margin-bottom: var(--space-md);
    }
    .stat-card {
        padding: 0.75rem;
        gap: 0.6rem;
    }
    .stat-card-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.85rem;
    }
    .stat-number {
        font-size: 1.25rem;
    }
    .stat-desc {
        font-size: 0.68rem;
        line-height: 1.25;
    }
}

/* =============================================
   CTA Section (Início)
   ============================================= */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl) var(--space-2xl);
    margin: var(--space-2xl) 0;
}

.cta-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.3rem;
}

.cta-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    max-width: 480px;
}

.cta-btn {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn i {
    transition: transform 0.3s var(--ease-out);
}

.cta-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .cta-section {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md) var(--space-lg);
        margin: var(--space-lg) 0;
        gap: var(--space-md);
    }
    .cta-content h3 {
        font-size: 1rem;
        margin-bottom: 0.15rem;
    }
    .cta-content p {
        max-width: 100%;
        font-size: 0.8rem;
    }
}

/* =============================================
   About - Missão / Visão
   ============================================= */
.about-mv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.about-mv-item {
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    border-top: 3px solid var(--primary-color);
    background: var(--card-bg);
}

.about-mv-item:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.about-mv-item .about-subtitle {
    margin-bottom: var(--space-md);
}

.about-mv-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 768px) {
    .about-mv {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* =============================================
   About - Valores
   ============================================= */
.about-values-section {
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border-color);
}

.about-values-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.about-values-header h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.35rem);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: var(--space-sm);
}

.about-values-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.about-value {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
}

.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    background: rgba(var(--primary-color-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0 auto var(--space-md);
    transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.about-value:hover .about-value-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.08);
}

.about-value-icon--green {
    background: rgba(var(--secondary-color-rgb), 0.08);
    color: var(--secondary-color);
}
.about-value:hover .about-value-icon--green {
    background: var(--secondary-color);
    color: #fff;
}

.about-value-icon--blue {
    background: rgba(var(--info-color-rgb), 0.08);
    color: #3498db;
}
.about-value:hover .about-value-icon--blue {
    background: #3498db;
    color: #fff;
}

.about-value-icon--amber {
    background: rgba(230, 199, 0, 0.08);
    color: #d4a800;
}
.about-value:hover .about-value-icon--amber {
    background: #d4a800;
    color: #fff;
}

.about-value h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.35rem;
}

.about-value p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 768px) {
    .about-values {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .about-values {
        grid-template-columns: 1fr;
    }

    .about-value {
        padding: var(--space-md);
    }
}

/* =============================================
   Partners - Métricas inline
   ============================================= */
.partners-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding: var(--space-md) 0;
}

.partners-metric {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.partners-metric strong {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-right: 0.25rem;
}

.partners-metric-divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
}

@media (max-width: 480px) {
    .partners-metrics {
        flex-direction: column;
        gap: var(--space-sm);
    }
    .partners-metric-divider { display: none; }
}

/* Seção de Serviços */
/* =============================================
   Serviço Destaque (Featured)
   ============================================= */
.svc-featured {
    display: grid;
    grid-template-columns: minmax(140px, auto) 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s var(--ease-out), border-color 0.3s var(--ease-out);
}

.svc-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(var(--primary-color-rgb), 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 100% 100%, rgba(var(--secondary-color-rgb), 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.svc-featured:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
    border-color: rgba(var(--primary-color-rgb), 0.18);
}

.svc-featured-visual {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    background: linear-gradient(
        160deg,
        rgba(var(--primary-color-rgb), 0.06) 0%,
        rgba(var(--secondary-color-rgb), 0.04) 100%
    );
    border: 1px solid rgba(var(--primary-color-rgb), 0.08);
}

.svc-featured-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(var(--primary-color-rgb), 0.28);
    transition: transform 0.4s var(--ease-out);
}

.svc-featured:hover .svc-featured-icon {
    transform: scale(1.04);
}

.svc-featured-metrics {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
}

.svc-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.45rem 0.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(var(--primary-color-rgb), 0.06);
}

.svc-metric strong {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--heading-color);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.svc-metric span {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.1rem;
}

.svc-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
    background: rgba(var(--primary-color-rgb), 0.08);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-sm);
}

.svc-featured-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svc-featured-header {
    margin-bottom: var(--space-md);
}

.svc-featured-body h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.25;
    margin: 0;
}

.svc-featured-body > p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    max-width: 58ch;
}

.svc-featured-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
}

.svc-highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.45;
    padding: 0.65rem 0.75rem;
    background: rgba(var(--secondary-color-rgb), 0.05);
    border: 1px solid rgba(var(--secondary-color-rgb), 0.1);
    border-radius: var(--border-radius);
    transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.svc-featured:hover .svc-highlight {
    background: rgba(var(--secondary-color-rgb), 0.08);
    border-color: rgba(var(--secondary-color-rgb), 0.15);
}

.svc-highlight i {
    color: var(--secondary-color);
    font-size: 0.82rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .svc-featured {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: var(--space-xl);
    }

    .svc-featured-visual {
        flex-direction: row;
        justify-content: flex-start;
        padding: var(--space-md) var(--space-lg);
    }

    .svc-featured-metrics {
        flex-direction: row;
        flex: 1;
    }

    .svc-metric {
        flex: 1;
    }

    .svc-featured-body > p {
        max-width: none;
    }

    .svc-featured-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .svc-featured-visual {
        flex-direction: column;
        align-items: center;
    }

    .svc-featured-metrics {
        flex-direction: row;
        width: 100%;
    }
}

/* =============================================
   Grid de Serviços (cards numerados)
   ============================================= */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.svc-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    position: relative;
    transition: transform 0.4s var(--ease-out),
                box-shadow 0.4s var(--ease-out),
                border-color 0.3s var(--ease-out);
}

.svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(var(--primary-color-rgb), 0.12);
}

.svc-num {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--border-color);
    letter-spacing: 0.02em;
}

.svc-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius);
    background: rgba(var(--primary-color-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.svc-card:hover .svc-card-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.06);
}

.svc-card-icon--green {
    background: rgba(var(--secondary-color-rgb), 0.08);
    color: var(--secondary-color);
}
.svc-card:hover .svc-card-icon--green {
    background: var(--secondary-color); color: #fff;
}

.svc-card-icon--blue {
    background: rgba(var(--info-color-rgb), 0.08);
    color: #3498db;
}
.svc-card:hover .svc-card-icon--blue {
    background: #3498db; color: #fff;
}

.svc-card-icon--amber {
    background: rgba(230, 199, 0, 0.08);
    color: #d4a800;
}
.svc-card:hover .svc-card-icon--amber {
    background: #d4a800; color: #fff;
}

.svc-card-icon--slate {
    background: rgba(100, 116, 139, 0.08);
    color: #64748b;
}
.svc-card:hover .svc-card-icon--slate {
    background: #64748b; color: #fff;
}

.svc-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: var(--space-sm);
}

.svc-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 992px) {
    .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   Porquê SIMO (diferenciadores)
   ============================================= */
.svc-why {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.svc-why-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.svc-why-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.svc-why-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    white-space: nowrap;
    min-width: 52px;
}

.svc-why-text h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.15rem;
}

.svc-why-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .svc-why {
        grid-template-columns: 1fr;
    }
}

/* Seção de Projetos */
/* Projecto destaque (hero card) */
.project-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-xl);
    transition: box-shadow 0.4s var(--ease-out);
}

.project-featured:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.project-featured-image {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.project-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-featured:hover .project-featured-image img {
    transform: scale(1.04);
}

.project-featured-content {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-featured-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.project-featured-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

.project-year {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.7rem;
    font-weight: 650;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.75rem;
    padding: 0;
    background: none;
    border-radius: 0;
    width: fit-content;
    line-height: 1.2;
}

.project-year-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--secondary-color, #38B87C);
    box-shadow: 0 0 0 3px rgba(var(--secondary-color-rgb, 56, 184, 124), 0.22);
    flex-shrink: 0;
    animation: project-year-pulse 2.2s ease-in-out infinite;
}

@keyframes project-year-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(var(--secondary-color-rgb, 56, 184, 124), 0.22); }
    50% { box-shadow: 0 0 0 5px rgba(var(--secondary-color-rgb, 56, 184, 124), 0.1); }
}

@media (prefers-reduced-motion: reduce) {
    .project-year-dot {
        animation: none;
    }
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-tag {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.25rem 0.65rem;
    background: #f1f5f9;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
}

/* Grid de projectos (3 colunas) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: stretch;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.project-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 160px;
    max-height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--border-color) 0%, var(--card-bg) 100%);
}

.project-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.06);
}

.project-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.35));
    pointer-events: none;
}

.project-year-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: rgba(26, 26, 26, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    line-height: 1;
}

.project-year-badge::before {
    content: '';
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.28);
    flex-shrink: 0;
}

.project-card-body {
    flex: 1;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
}

.project-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.4rem;
}

.project-card-body p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Responsividade - Projectos */
@media (max-width: 992px) {
    .project-featured {
        grid-template-columns: 1fr;
    }
    .project-featured-image {
        min-height: 240px;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .project-card-image {
        min-height: 140px;
        max-height: 200px;
    }
    .project-featured-content {
        padding: var(--space-xl);
    }
}

/* ============================================
   Secção de Parceiros - Design completo
   ============================================ */

/* (partners-hero/stats removidos - substituídos por section-header + partners-metrics) */

/* (partners-stat estilos antigos removidos) */

.partners-category {
    margin-bottom: var(--space-2xl);
}

.partners-category-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.partners-category-header > i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-color-rgb), 0.08);
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.partners-category-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
    min-width: 0;
}

.partners-category-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    margin-left: auto;
    min-width: 0;
}

/* Grid de parceiros */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: var(--space-lg);
    align-items: stretch;
}

.partners-grid--tech {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .partners-grid--tech {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-grid--tech {
        grid-template-columns: 1fr;
    }
}

/* Card de parceiro — forma uniforme na grelha */
.partner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    min-height: 168px;
    padding: var(--space-md);
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s var(--ease-out),
                box-shadow 0.4s var(--ease-out),
                border-color 0.4s var(--ease-out);
    overflow: hidden;
}

.partner-card--tech {
    min-height: 220px;
    padding: var(--space-lg) var(--space-md);
}

/* Barra de cor no topo do card */
.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.partner-card:focus-within {
    box-shadow: var(--focus-ring);
}

/* Tech cards - barra azul */
.partner-card--tech::before {
    background: var(--gradient-blue);
}

/* Moldura do logo — retângulo fixo 2:1 em todos os cards */
.partner-logo {
    width: 100%;
    aspect-ratio: 2 / 1;
    min-height: 72px;
    max-height: 88px;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.85rem;
    margin-bottom: var(--space-sm);
    border-radius: var(--border-radius);
    background: #ffffff;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    overflow: hidden;
}

.partner-logo img {
    display: block;
    max-width: calc(100% - 0.25rem);
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: none;
    opacity: 1;
    transition: transform 0.4s var(--ease-out);
}

.partner-card:hover .partner-logo {
    border-color: rgba(var(--primary-color-rgb), 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.partner-card:hover .partner-logo img {
    transform: scale(1.04);
}

/* Carteiras móveis — mesma proporção retangular */
.partner-logo--mobile {
    aspect-ratio: 2 / 1;
    min-height: 72px;
    max-height: 88px;
    background: #ffffff;
}

/* Tech — moldura um pouco mais alta */
.partner-logo--tech {
    aspect-ratio: 5 / 3;
    max-height: 96px;
    background: #ffffff;
    border-color: rgba(var(--info-color-rgb), 0.12);
}

.partner-card--tech:hover .partner-logo--tech {
    border-color: rgba(var(--info-color-rgb), 0.2);
}

/* Fallback: ícone circular (compatibilidade) */
.partner-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--primary-color-rgb), 0.05) 100%);
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
    transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.partner-card:hover .partner-icon {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.08);
}

.partner-icon--tech {
    background: linear-gradient(135deg, rgba(var(--info-color-rgb), 0.12) 0%, rgba(var(--info-color-rgb), 0.04) 100%);
    color: #3498db;
}

.partner-card--tech:hover .partner-icon--tech {
    background: var(--gradient-blue);
    color: #fff;
}

/* Texto do card */
.partner-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.2rem;
    transition: color 0.3s var(--ease-out);
}

.partner-card:hover h4 {
    color: var(--primary-color);
}

.partner-card--tech:hover h4 {
    color: #2980b9;
}

.partner-card p {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge "Membro Fundador" / "Membro" */
.partner-badge {
    display: inline-block;
    margin-top: auto;
    padding-top: var(--space-sm);
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    margin-top: var(--space-sm);
    padding: 0.3em 0.85em;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-pill);
    background: rgba(var(--primary-color-rgb), 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(var(--primary-color-rgb), 0.15);
    transition: background 0.3s var(--ease-out),
                border-color 0.3s var(--ease-out);
}

.partner-card:hover .partner-badge {
    background: rgba(var(--primary-color-rgb), 0.14);
    border-color: rgba(var(--primary-color-rgb), 0.25);
}

.partners-cta {
    margin-top: var(--space-2xl);
    padding: var(--space-2xl) var(--space-xl);
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.partners-cta-content h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.partners-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 560px;
    margin: 0 auto var(--space-lg);
    font-size: 1rem;
    line-height: 1.6;
}

.partners-cta .primary-btn {
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partners-cta .primary-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .partners-category-header p {
        margin-left: 0;
        flex-basis: 100%;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--space-md);
    }

    .partners-grid--tech {
        grid-template-columns: 1fr;
    }

    .partner-card {
        min-height: 152px;
        padding: var(--space-sm) var(--space-md);
    }

    .partner-card--tech {
        min-height: 200px;
    }

    .partner-card::before {
        height: 2px;
    }

    .partner-logo,
    .partner-logo--mobile {
        min-height: 64px;
        max-height: 76px;
        padding: 0.5rem 0.65rem;
    }

    .partner-logo--tech {
        max-height: 84px;
    }

    .partner-logo img {
        filter: none;
        opacity: 1;
    }

    .partner-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .partner-badge {
        font-size: 0.6rem;
        padding: 0.25em 0.6em;
    }
}

/* Seção Sobre */
.about-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    align-items: stretch;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    height: 100%;
    min-height: 280px;
    background: var(--border-color);
    box-shadow: var(--shadow-medium);
    margin: 0;
}

.about-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s var(--ease-out);
}

.about-image:hover .about-img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    pointer-events: none;
}

.image-overlay h3,
.about-image-caption {
    margin: 0;
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    opacity: 1;
    visibility: visible;
}

.established {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    opacity: 1;
    visibility: visible;
}

.about-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.about-content p,
.about-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

.about-subtitle {
    color: var(--heading-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.about-subtitle::before {
    content: '';
    display: block;
    width: 3px;
    height: 1.1em;
    background: var(--primary-color);
    border-radius: 2px;
    flex-shrink: 0;
}

.about-mv-item:nth-child(2) .about-subtitle::before {
    background: var(--secondary-color);
}

.about-cta {
    align-self: flex-start;
    margin-top: var(--space-sm);
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: space-between;
}

/* (Estilos duplicados de stat-item removidos) */

@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        align-items: stretch;
    }

    .about-image {
        max-width: 560px;
        margin-inline: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        min-height: 0;
    }

    .image-overlay {
        padding: var(--space-lg) var(--space-md) var(--space-md);
    }

    .image-overlay h3,
    .about-image-caption {
        font-size: 0.95rem;
    }

    .about-cta {
        align-self: stretch;
        justify-content: center;
    }
}

/* ============================================
   Secção Contacto — Redesign
   ============================================ */

/* Hero */
.contact-hero {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.contact-hero h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: var(--space-sm);
}

.contact-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Cards de contacto rápido */
.contact-quick-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.contact-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s var(--ease-out),
                box-shadow 0.4s var(--ease-out),
                border-color 0.4s var(--ease-out);
    overflow: hidden;
    position: relative;
}

.contact-quick-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.contact-quick-card:hover::before { transform: scaleX(1); }

.contact-quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.contact-quick-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    transition: background 0.3s var(--ease-out),
                color 0.3s var(--ease-out),
                transform 0.3s var(--ease-out);
}

.contact-quick-card:hover .contact-quick-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.contact-quick-icon--blue {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}
.contact-quick-card:hover .contact-quick-icon--blue {
    background: #3498db;
    color: #fff;
}

.contact-quick-icon--green {
    background: rgba(56, 184, 124, 0.1);
    color: var(--secondary-color);
}
.contact-quick-card:hover .contact-quick-icon--green {
    background: var(--secondary-color);
    color: #fff;
}

.contact-quick-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.contact-quick-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Layout: Localização */
.contact-container {
    max-width: 960px;
    margin: 0 auto;
}

.contact-map-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    background: var(--card-bg);
}

.map-placeholder {
    position: relative;
    min-height: 440px;
    height: 100%;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 51, 51, 0.08), transparent 42%),
        linear-gradient(160deg, #f7f8fa 0%, #eef1f5 55%, #e8ecf1 100%),
        url('../img/map-background.svg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
    max-width: 20rem;
    animation: map-preview-in 0.45s var(--ease-out, ease) both;
}

@keyframes map-preview-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.map-preview-pin {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.25rem;
    background: var(--primary-color, #e53935);
    box-shadow:
        0 0 0 8px rgba(229, 57, 53, 0.12),
        0 8px 20px rgba(229, 57, 53, 0.28);
    animation: map-pin-pulse 2.4s ease-in-out infinite;
}

@keyframes map-pin-pulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(229, 57, 53, 0.12), 0 8px 20px rgba(229, 57, 53, 0.28); }
    50% { box-shadow: 0 0 0 14px rgba(229, 57, 53, 0.06), 0 10px 24px rgba(229, 57, 53, 0.32); }
}

.map-preview-body h4 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading-color, #222);
}

.map-preview-body p {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-muted, #666);
}

.map-preview-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--gradient-primary, linear-gradient(135deg, #e53935, #c62828));
    color: #fff;
    border: none;
    border-radius: var(--border-radius, 8px);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s var(--ease-out, ease),
                box-shadow 0.25s var(--ease-out, ease);
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.map-btn:focus-visible {
    outline: 2px solid var(--primary-color, #e53935);
    outline-offset: 3px;
}

.map-link-external {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--heading-color, #333);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.map-link-external:hover {
    color: var(--primary-color, #e53935);
}

.map-placeholder.map-loading-state,
.map-placeholder.map-loaded {
    background: #e9eef3;
}

.map-placeholder.map-loaded {
    min-height: 440px;
}

.map-placeholder.map-loaded iframe,
.map-iframe {
    display: block;
    width: 100%;
    height: 440px;
    border: 0;
    background: #e9eef3;
}

.map-loading--overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    justify-content: center;
    background: rgba(233, 238, 243, 0.88);
    transition: opacity 0.2s ease;
}

.map-loading--overlay.map-loading--done {
    opacity: 0;
    pointer-events: none;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(20, 24, 28, 0.78) 55%);
    padding: 2.25rem 1rem 0.9rem;
    pointer-events: none;
}

.map-info {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    pointer-events: auto;
}

.map-info-text h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem;
}

.map-info-text p {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.35;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary-color, #e53935);
    padding: 0.45rem 0.85rem;
    border-radius: var(--border-radius, 8px);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-directions:hover {
    background: var(--primary-dark, #c62828);
    transform: translateY(-1px);
}

.map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted, #666);
    font-size: 0.88rem;
}

.map-loading-spinner {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 3px solid rgba(229, 57, 53, 0.18);
    border-top-color: var(--primary-color, #e53935);
    animation: map-spin 0.75s linear infinite;
}

@keyframes map-spin {
    to { transform: rotate(360deg); }
}

.map-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-color, #333);
    font-size: 0.88rem;
}

.map-error-icon {
    color: var(--error-color, #e53935);
    font-size: 1.4rem;
}

.map-error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.contact-social-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.contact-social-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-md);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

/* Responsividade — Contacto */
@media (max-width: 900px) {
    .contact-quick-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-quick-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-quick-cards {
        grid-template-columns: 1fr;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* (duplicado removido) */

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
}

.timeline-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.timeline-item.left {
    margin-right: 50%;
    border-right: 4px solid var(--primary-color);
}

.timeline-item.right {
    margin-left: 50%;
    border-left: 4px solid var(--warning-color);
}

.timeline-item:hover .timeline-year {
    background-color: var(--warning-color);
}

/* Botões com efeito de hover melhorado */
.primary-btn {
    background-color: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-dark);
    transition: all 0.3s;
    z-index: -1;
}

.primary-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover:after {
    height: 100%;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    z-index: 9999;
    transition: opacity 0.28s ease-out, visibility 0.28s ease-out;
}

#preloader .preloader-logo,
#preloader img {
    display: none;
}

#preloader.fadeOut {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Esconder conteúdo sob o preloader (evita 2º logo do header) */
body:not(.loaded) > header,
body:not(.loaded) > main,
body:not(.loaded) > footer,
body:not(.loaded) > .menu-overlay,
body:not(.loaded) > .skip-link {
    visibility: hidden;
}

/* Preloader: bloquear scroll no html e body até .loaded.
   Depois do load, scroll único no html; body sem overflow próprio. */
html:not(.loaded) {
    overflow: hidden;
}

html.loaded {
    overflow-x: clip;
    overflow-y: auto;
}

body:not(.loaded) {
    overflow: hidden;
}

body.loaded {
    overflow: visible;
}

.spinner {
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
    display: flex;
    justify-content: center;
    gap: 3px;
}

.spinner > div {
    background-color: var(--primary-color);
    height: 100%;
    width: 6px;
    display: inline-block;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 { animation-delay: -1.1s; }
.spinner .rect3 { animation-delay: -1.0s; }
.spinner .rect4 { animation-delay: -0.9s; }
.spinner .rect5 { animation-delay: -0.8s; }

@keyframes sk-stretchdelay {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1.0); }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
    box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--primary-color-rgb), 0.4);
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.alert-warning {
    background-color: var(--warning-color);
}

.alert-success {
    background-color: var(--success-color);
}

.alert-info {
    background-color: var(--info-color);
}

.text-light {
    color: var(--text-light) !important;
}

/* Classes utilitárias para interação */
.hover-effect {
    transition: var(--transition);
}

.hover-effect:hover {
    background-color: var(--hover-overlay);
    box-shadow: var(--hover-shadow);
}

.active-effect:active {
    background-color: var(--active-overlay);
}

.focus-effect:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
}

/* Gradientes */
.gradient-primary {
    background: var(--gradient-primary);
}

.gradient-dark {
    background: var(--gradient-dark);
}

/* Alto Contraste */
.high-contrast {
    color: var(--high-contrast-text) !important;
    background-color: var(--high-contrast-bg) !important;
}

/* Animações */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Visibilidade garantida para secção de estatísticas */
.stat-card {
    opacity: 1;
    visibility: visible;
}

/* Melhorias de acessibilidade */
.skip-link {
    position: absolute;
    top: -3rem;
    left: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 9999;
    transition: top 0.2s var(--ease-out);
    border-radius: var(--border-radius);
    text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
    top: var(--space-md);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8);
}

/* =============================================
   Smartphone (≤ 480px) — ajustes globais
   ============================================= */
@media (max-width: 480px) {

    /* Secções: menos padding lateral */
    .content-section {
        padding: 1.25rem 0.75rem;
    }

    /* Section headers */
    .section-header {
        margin-bottom: var(--space-xl);
    }
    .section-header h2 {
        font-size: 1.4rem;
    }
    .section-header p {
        font-size: 0.88rem;
    }

    /* Cards genéricos */
    .card {
        padding: var(--space-lg);
    }
    .card h3 {
        font-size: 1rem;
    }
    .card p {
        font-size: 0.82rem;
    }
    .card-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    /* Dashboard cards — 2 colunas compactas */
    .dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    /* CTA */
    .cta-section {
        padding: var(--space-md) var(--space-lg);
        margin: var(--space-lg) 0;
        gap: var(--space-sm);
    }
    .cta-content h3 {
        font-size: 0.95rem;
    }
    .cta-content p {
        font-size: 0.78rem;
    }
    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
    }

    /* Stats banner — 2×2 apertado */
    .stats-banner {
        padding: var(--space-md);
        margin-top: var(--space-lg);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .stat-card {
        padding: 0.75rem;
        gap: 0.55rem;
    }
    .stat-card-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 0.85rem;
    }
    .stat-number {
        font-size: 1.2rem;
    }
    .stat-desc {
        font-size: 0.65rem;
    }
    .stats-label {
        font-size: 0.65rem;
        letter-spacing: 0.12em;
    }
    .stats-title {
        font-size: 1.15rem;
    }
    .stats-banner-header {
        margin-bottom: var(--space-md);
        max-width: 100%;
    }
    .stats-banner-header p {
        font-size: 0.8rem;
    }

    /* Serviços featured */
    .svc-featured {
        padding: var(--space-lg);
    }
    .svc-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    .svc-card {
        padding: var(--space-lg);
    }

    /* Serviços Why */
    .svc-why {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    /* Projectos */
    .project-featured {
        grid-template-columns: 1fr;
        border-radius: var(--border-radius);
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    /* Parceiros */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    .partners-grid--tech {
        grid-template-columns: 1fr;
    }
    .partners-metrics {
        flex-direction: column;
        gap: var(--space-sm);
    }
    .partners-metric-divider {
        display: none;
    }

    /* Sobre */
    .about-container {
        gap: var(--space-lg);
    }
    .about-values-section {
        margin-top: var(--space-xl);
        padding-top: var(--space-xl);
    }
    .about-values {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    .about-mv-item {
        padding: var(--space-lg) var(--space-md);
    }

    /* Contacto */
    .contact-quick-cards {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    .contact-container {
        gap: var(--space-lg);
    }

    /* Mapa */
    .map-placeholder,
    .map-placeholder.map-loaded iframe {
        min-height: 260px;
        height: 260px;
    }

    .map-overlay {
        padding: 1.75rem 0.85rem 0.75rem;
    }

    .map-info {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Slider */
    .hero-slider:not(.slider--informative) .slider-wrapper {
        height: 280px;
    }
    .hero-slider .slider-caption h2 {
        font-size: 1.3rem;
    }
    .hero-slider .slider-caption p {
        font-size: 0.85rem;
    }
    .hero-slider .slider-caption {
        padding: 1rem;
    }
}

/* =============================================
   Smartphone pequeno (≤ 360px) — iPhone SE, etc.
   ============================================= */
@media (max-width: 360px) {
    .content-section {
        padding: 1rem 0.5rem;
    }

    .card {
        padding: var(--space-md);
    }

    .stat-card {
        gap: var(--space-sm);
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .hero-slider:not(.slider--informative) .slider-wrapper {
        height: 220px;
    }

    .hero-slider .slider-caption h2 {
        font-size: 1.1rem;
    }
}

/* Melhorias de carregar imagem com loading */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-image.loaded {
    opacity: 1;
}

/* Animação de botões com feedback visual */
.primary-btn:active {
    transform: scale(0.98);
}

/* Classes para acessibilidade */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Cores de estado para alertas */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--success-color);
    color: #155724;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid var(--error-color);
    color: #721c24;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--warning-color);
    color: #856404;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border-left: 4px solid var(--info-color);
    color: #0c5460;
}

/* Dark mode para alertas */

    .alert-error {
        background-color: rgba(220, 53, 69, 0.15);
        color: #f8c9ce;
    }
    
    .alert-warning {
        background-color: rgba(255, 193, 7, 0.15);
        color: #ffecaf;
    }
    
    .alert-info {
        background-color: rgba(23, 162, 184, 0.15);
        color: #abe8f3;
    }


/* Ajuste específico para o item "Sobre Nós" no menu */
nav a[data-section="sobre"] {
    white-space: nowrap;
}

/* (Duplicados de stat-icon/cores removidos) */


/* Título da seção de estatísticas centralizado */
.text-center {
    text-align: center;
    width: 100%;
    display: block;
}

/* Botão de alternância de tema */

/* Aplicar tema escuro por padrão */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Slider de imagens informativas */
.slider-container {
    margin: 3rem auto;
    position: relative;
    max-width: 1000px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.slider-wrapper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: scale(1.05);
    z-index: 1;
}

.slider-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slider-caption {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2.5rem 2rem;
    max-width: 600px;
    left: 5vw;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 12px;
}

.slider-caption h2,
.slider-caption h3,
.slider-caption p {
    margin-bottom: 0.5rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.slider-caption h2,
.slider-caption h3 {
    font-size: 1.8rem;
}

.slider-caption p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: #f0f0f0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.slider-caption .primary-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s;
}

.slider-slide.active .slider-caption h2,
.slider-slide.active .slider-caption h3,
.slider-slide.active .slider-caption p,
.slider-slide.active .slider-caption .primary-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Controles do hero slider — ver css/components/slider.css */
.slider-container:not(.hero-slider) .slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 5.5rem;
    left: 0;
    width: 100%;
    padding: 0 1rem;
    z-index: 3;
}

.slider-container:not(.hero-slider) .slider-prev,
.slider-container:not(.hero-slider) .slider-next {
    background: rgba(0,0,0,0.45);
    border: none;
    width: 56px;
    height: 56px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.2s;
}

.slider-container:not(.hero-slider) .slider-prev:hover,
.slider-container:not(.hero-slider) .slider-next:hover {
    background: rgba(255,255,255,0.18);
    color: var(--primary-color);
    transform: scale(1.12);
}

.slider-container:not(.hero-slider) .slider-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.slider-container:not(.hero-slider) .slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-container:not(.hero-slider) .slider-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsividade do slider (não hero informativo — esse usa clamp Bancomoc) */
@media (max-width: 768px) {
    .slider-container:not(.hero-slider) .slider-wrapper,
    .hero-slider:not(.slider--informative) .slider-wrapper {
        height: 300px;
    }
    
    .slider-caption h2,
    .slider-caption h3 {
        font-size: 1.4rem;
    }
    
    .slider-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-container:not(.hero-slider) .slider-wrapper,
    .hero-slider:not(.slider--informative) .slider-wrapper {
        height: 250px;
    }
    
    .slider-caption {
        padding: 1rem;
    }
    
    .slider-caption h2,
    .slider-caption h3 {
        font-size: 1.2rem;
    }
    
    .slider-container:not(.hero-slider) .slider-controls {
        bottom: 4.5rem;
    }
}

/* (duplicados de layout removidos) */

/* Cores da bandeira de Moçambique nos elementos decorativos */
.mz-colors {
    display: flex;
    width: 100%;
    height: 5px;
}

.mz-colors .green,
.mz-colors .black,
.mz-colors .yellow,
.mz-colors .red {
    height: 100%;
    flex: 1;
}

.mz-colors .green {
    background-color: #4CAF50;
}

.mz-colors .black {
    background-color: #444444;
}

.mz-colors .yellow {
    background-color: #ffbc00;
}

.mz-colors .red {
    background-color: var(--primary-color);
}

.footer-bottom .mz-colors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

/* Classes para texto colorido */
.text-green {
    color: var(--primary-color);
    font-weight: 600;
}

.text-red,
.text-accent {
    color: var(--primary-color);
    letter-spacing: -0.3px;
}

/* Botão de Contato Aprimorado */
.contact-btn {
    display: inline-flex;
    align-items: center;
        justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), #fd6b6b);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
    transform: translateZ(0);
}

.contact-btn i {
    font-size: 1.2rem;
    transition: transform 0.5s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
    background: linear-gradient(135deg, #fd6b6b, var(--primary-color));
}

.contact-btn:hover i {
    transform: rotate(15deg);
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.3), rgba(255,255,255,0));
    transform: translateX(-100%);
    animation: btnShine 3s infinite;
}

@keyframes btnShine {
    100% {
        transform: translateX(100%);
    }
}

.contact-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(244, 67, 54, 0.3);
}

/* Modal de Contato */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    width: 100%;
    max-width: 550px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    position: relative;
    animation: slideIn 0.4s ease-out;
        transform: translateY(0);
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), #fd6b6b);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-content h3 {
    margin-top: 0;
    color: var(--heading-color);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.modal-content .form-group {
    margin-bottom: 1.2rem;
}

.modal-content label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #333;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.modal-content input:focus,
.modal-content textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
    outline: none;
}

.modal-content button {
    margin-top: 0.5rem;
    width: 100%;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Versão para dispositivos móveis */
@media (max-width: 600px) {
    .modal-content {
        width: 90%;
        padding: 1.5rem;
    }
    
    .modal-content h3 {
        font-size: 1.4rem;
    }
}

body.modal-open {
    overflow: hidden;
}

/* Adicionando melhorias responsivas */
@media (max-width: 480px) {
    .modal-content {
        padding: 1.2rem;
    }
    
    .modal-content input,
    .modal-content textarea {
        padding: 10px;
    }
}

/* (contact-title removido — novo design usa .contact-hero) */

/* (parceiros-title removido - novo design em .partners-hero / .partners-category-header) */

/* (Overrides antigos removidos - design usa variáveis CSS) */

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slider-slide:nth-child(3) .slider-caption {
    text-align: center;
}

.slider-slide:nth-child(3) h2 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.slider-slide:nth-child(3) p {
    margin: 0 auto;
    max-width: 600px;
    font-size: 1.3rem;
}

.slider-slide:first-child .slider-caption {
    text-align: center;
}

.slider-slide:first-child h2 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.slider-slide:first-child p {
    margin: 0 auto 1.5rem;
    max-width: 600px;
    font-size: 1.3rem;
}

.slider-slide:first-child .primary-btn {
    margin: 0 auto;
    display: block;
    max-width: 200px;
}

.slider-slide:nth-child(2) .slider-caption {
    text-align: center;
}

.slider-slide:nth-child(2) h2 {
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.slider-slide:nth-child(2) p {
    margin: 0 auto;
    max-width: 600px;
    font-size: 1.3rem;
}

/* (Duplicacoes removidas) */
