/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Prevent scroll during loading */
body.loading {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.loading-slogan {
    font-size: 1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.loading-circle {
    position: relative;
    display: inline-block;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dasharray 0.35s;
    transform-origin: 50% 50%;
    stroke-dasharray: 0 326.56;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0 326.56;
    }

    50% {
        stroke-dasharray: 163.28 326.56;
    }

    100% {
        stroke-dasharray: 326.56 326.56;
    }
}

.sector-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.sector-icon {
    position: absolute;
    font-size: 16px;
    color: white;
    animation: rotate 4s linear infinite;
}

.sector-icon.construction {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sector-icon.water {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.sector-icon.sanitation {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sector-icon.energy {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

@keyframes rotate {
    from {
        transform: rotate(0deg) translateX(40px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(40px) rotate(-360deg);
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0375b3;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0375b3;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-menu li.has-dropdown {
    position: relative;
}

.nav-menu li.has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu li.has-dropdown>a .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-menu li.has-dropdown:hover>a .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 320px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px !important;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.nav-menu li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 25px;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.1) 0%, rgba(2, 90, 138, 0.15) 100%);
    border-radius: 8px;
    color: #0375b3;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.05) 0%, rgba(2, 90, 138, 0.08) 100%);
    color: #0375b3;
}

.dropdown-menu li a:hover i {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    color: white;
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: none;
    border: 1px solid #0375b3;
    color: #0375b3;
    padding: 8px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

.lang-btn.active,
.lang-btn:hover {
    background: #0375b3;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 50%, #014c73 100%);
    padding: 120px 0 60px;
    overflow: hidden;
}

/* Hero Slider */
.hero-slider-enabled {
    background: none;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero Overlay - Semi-transparent background for content visibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.4) 0%, rgba(2, 90, 138, 0.45) 50%, rgba(1, 76, 115, 0.5) 100%);
    z-index: 1;
}

/* Hero Slider Navigation Buttons */
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.hero-slider-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
    left: 30px;
}

.hero-slider-next {
    right: 30px;
}


/* Ensure hero content is above overlay */
.hero-slider-enabled .container {
    position: relative;
    z-index: 5;
}

/* =====================================================
   HERO BACKGROUND IMAGE + OVERLAY (ALL PAGES EXCEPT INDEX)
   Philosophy: image behind + blue gradient overlay (75–85%) + content above
   ===================================================== */

/* Page headers (static pages like contactos, servicos, etc.) */
.page-header {
    position: relative !important;
    overflow: hidden !important;
    color: white !important;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 50%, #014c73 100%) !important;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.4) 0%, rgba(2, 90, 138, 0.45) 50%, rgba(1, 76, 115, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Service details hero (generated HTML) */
.service-hero {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 50%, #014c73 100%) !important;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.service-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.4) 0%, rgba(2, 90, 138, 0.45) 50%, rgba(1, 76, 115, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

/* Project hero + article hero (these pages already have bg + overlay DIVs; enforce layering + same gradient) */
.project-hero-bg,
.article-hero-bg {
    z-index: 0 !important;
}

.project-hero-overlay,
.article-hero-overlay {
    z-index: 1 !important;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.75) 0%, rgba(2, 90, 138, 0.8) 50%, rgba(1, 76, 115, 0.85) 100%) !important;
    pointer-events: none;
}

.project-hero .container,
.article-hero .container {
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 30px;
}

/* Hero Logo Large - Index Page */
.hero-logo-large {
    max-width: 350px;
    height: auto;
    margin-bottom: 30px;
}

/* Hero Sectors */
.hero-sectors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sectors span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

.hero-sectors .sector-divider {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.hero-content {
    max-width: 1200px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-title em {
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 45px;
    opacity: 0.9;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Buttons */
.btn-hero-primary {
    background: #0580c4;
    color: white;
    padding: 16px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #0580c4;
}

.btn-hero-primary:hover {
    background: #046a9e;
    border-color: #046a9e;
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: rgba(0, 60, 90, 0.5);
    color: white;
    padding: 16px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-hero-secondary:hover {
    background: rgba(0, 60, 90, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Sobre a Collins Section */
.sobre-collins {
    padding: 80px 0;
    background: #ffffff;
}

.sobre-collins-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
}

.sobre-collins-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 25px;
}

.sobre-collins-content p:last-child {
    margin-bottom: 0;
}

.sobre-collins-content strong {
    color: #0375b3;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #0375b3;
    color: white;
    box-shadow: 0 4px 15px rgba(3, 117, 179, 0.3);
}

.btn-primary:hover {
    background: #025a8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 117, 179, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0375b3;
    transform: translateY(-2px);
}

.btn-link {
    color: #0375b3;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #025a8a;
    transform: translateX(5px);
}

.btn-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-link:hover::after {
    transform: translateX(3px);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #0375b3;
    border-radius: 2px;
}

/* Áreas de Actuação */
.areas-atuacao {
    padding: 100px 0;
    background: #f8f9fa;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.area-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #0375b3;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0375b3, #025a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.area-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.area-card p {
    color: #666;
    line-height: 1.6;
}

/* Sobre Nós */
.sobre-nos {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.sobre-content-modern {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.sobre-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

.sobre-intro-box {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 40px rgba(3, 117, 179, 0.3);
    min-width: 180px;
}

.intro-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.intro-icon i {
    font-size: 2rem;
    color: white;
}

.intro-highlight {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.highlight-label {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-year {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.highlight-location {
    font-size: 0.9rem;
    opacity: 0.9;
}

.sobre-description-main {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
}

.sobre-description-main strong {
    color: #0375b3;
}

.sobre-destaque-texto {
    background: white;
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #0375b3;
    position: relative;
}

.sobre-destaque-texto::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sobre-destaque-texto p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin: 0;
}

.sobre-destaque-texto strong {
    color: #0375b3;
    font-weight: 600;
}

/* Legacy - mantido para compatibilidade */
.sobre-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(3, 117, 179, 0.15);
    border-color: #0375b3;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.1) 0%, rgba(2, 90, 138, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
}

.feature-icon i {
    font-size: 1.5rem;
    color: #0375b3;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.sobre-bottom {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.reconhecimento-titulo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.reconhecimento-titulo::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0375b3, #025a8a);
    border-radius: 2px;
}

.reconhecimento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.reconhecimento-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.reconhecimento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(3, 117, 179, 0.15);
    border-color: #0375b3;
}

.reconhecimento-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.reconhecimento-card:hover .reconhecimento-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(3, 117, 179, 0.4);
}

.reconhecimento-icon i {
    font-size: 1.6rem;
    color: white;
}

.reconhecimento-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.reconhecimento-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Legacy qualidades - mantido para compatibilidade */
.qualidades {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.qualidade-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.08) 0%, rgba(2, 90, 138, 0.12) 100%);
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.qualidade-item:hover {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
}

.qualidade-item i {
    color: #0375b3;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.qualidade-item:hover i {
    color: white;
}

.qualidade-item span {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.qualidade-item:hover span {
    color: white;
}

.sobre-conclusion {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sobre-conclusion strong {
    color: #0375b3;
}

/* Legacy support */
.sobre-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.sobre-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #0375b3;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.timeline-year {
    background: #0375b3;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-year::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #0375b3;
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem;
}

.sobre-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0375b3;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0375b3;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Serviços Preview */
.servicos-preview {
    padding: 60px 0;
    background: #f8f9fa;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.servico-card {
    background: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0375b3, #025a8a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0375b3, #025a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.servico-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.servico-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Projectos Preview */
.projectos-preview {
    padding: 60px 0;
    background: white;
}

.projectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.projeto-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.projeto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.projeto-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.projeto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projeto-card:hover .projeto-image img {
    transform: scale(1.1);
}

.projeto-image-icon {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.projeto-image-icon i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.projeto-card:hover .projeto-image-icon i {
    transform: scale(1.1);
}

.projeto-content {
    padding: 30px;
}

.projeto-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.projeto-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Depoimentos */
.depoimentos {
    padding: 100px 0;
    background: #f8f9fa;
}

.depoimentos-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
}

.depoimento-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.depoimento-card.active {
    display: block;
}

.depoimento-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.depoimento-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.depoimento-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 0.9rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #0375b3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Preview */
.blog-preview {
    padding: 60px 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-date,
.blog-category {
    font-size: 0.85rem;
    color: #666;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 15px;
}

.blog-category {
    background: #0375b3;
    color: white;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}


/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #0375b3;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

.contact-info i {
    color: #0375b3;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0375b3;
    transform: translateY(-2px);
}

.newsletter h5 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: #333;
    color: white;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    padding: 10px 20px;
    background: #0375b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #025a8a;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    /* Dropdown Mobile */
    .nav-menu.active .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        min-width: 100%;
        margin-top: 0;
        padding: 10px 0;
        background: #f8f9fa;
        border-radius: 8px;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .nav-menu.active .dropdown-menu::before {
        display: none;
    }

    .nav-menu.active li.has-dropdown.open .dropdown-menu {
        display: flex;
    }

    .nav-menu.active .dropdown-menu li a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .nav-menu.active .dropdown-menu li a i {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-logo-large {
        max-width: 280px;
    }

    .hero-logo {
        max-width: 320px;
    }

    .hero-sectors {
        gap: 8px;
        max-width: 300px;
    }

    .hero-sectors span {
        font-size: 0.85rem;
    }

    /* Hero Slider Responsive */
    .hero-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-slider-prev {
        left: 15px;
    }

    .hero-slider-next {
        right: 15px;
    }

    .hero-slider-dots {
        bottom: 20px;
    }

    .hero-slider-dot {
        width: 10px;
        height: 10px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 14px 30px;
        width: 100%;
        max-width: 250px;
    }

    .sobre-collins {
        padding: 60px 0;
    }

    .sobre-collins-content p {
        font-size: 1rem;
        text-align: left;
    }

    .section-title {
        font-size: 2rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sobre-intro-box {
        max-width: 200px;
        margin: 0 auto;
    }

    .sobre-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .reconhecimento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .qualidades {
        gap: 15px;
    }

    .qualidade-item {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .sobre-bottom {
        padding: 30px 20px;
    }

    .sobre-stats {
        flex-direction: row;
        justify-content: space-between;
    }

    .stat-card {
        flex: 1;
        margin: 0 5px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .areas-grid,
    .servicos-grid,
    .projectos-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }


    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .depoimento-author {
        flex-direction: column;
        text-align: center;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-year::before {
        left: -32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-logo-large {
        max-width: 200px;
    }

    .hero-logo {
        max-width: 280px;
    }

    .hero-sectors {
        gap: 6px;
        max-width: 250px;
    }

    .hero-sectors span {
        font-size: 0.8rem;
    }

    /* Hero Slider Mobile */
    .hero-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .hero-slider-prev {
        left: 10px;
    }

    .hero-slider-next {
        right: 10px;
    }

    .hero-slider-dots {
        bottom: 15px;
        gap: 8px;
    }

    .hero-slider-dot {
        width: 8px;
        height: 8px;
    }

    .sobre-collins {
        padding: 50px 0;
    }

    .sobre-collins-content p {
        font-size: 0.95rem;
    }

    .loading-logo {
        font-size: 2.5rem;
    }

    .loading-slogan {
        font-size: 0.9rem;
    }

    .area-card,
    .servico-card {
        padding: 30px 20px;
    }

    .projeto-content,
    .blog-content {
        padding: 20px;
    }

    .depoimento-card {
        padding: 30px 20px;
    }


    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Sobre Nós - Mobile */
    .sobre-features {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .reconhecimento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .reconhecimento-card {
        padding: 25px 20px;
    }

    .reconhecimento-icon {
        width: 60px;
        height: 60px;
    }

    .reconhecimento-icon i {
        font-size: 1.4rem;
    }

    .qualidades {
        flex-direction: column;
        align-items: center;
    }

    .qualidade-item {
        width: 100%;
        justify-content: center;
    }

    .sobre-description-main {
        font-size: 1rem;
    }

    .highlight-year {
        font-size: 2rem;
    }
}

/* =====================================================
   PÁGINA SOBRE NÓS
   ===================================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sobre Intro */
.sobre-intro {
    padding: 100px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.intro-text .section-title {
    text-align: left;
    margin-bottom: 40px;
}

.intro-text .section-title::after {
    left: 0;
    transform: none;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.intro-description strong {
    color: #0375b3;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.1) 0%, rgba(2, 90, 138, 0.1) 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #0375b3;
}

.intro-image {
    position: relative;
    height: 100%;
}

.image-frame {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 350px;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(3, 117, 179, 0.4);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Prioridades */
.prioridades {
    padding: 60px 0;
    background: #f8f9fa;
}

.prioridades-box {
    display: flex;
    align-items: center;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.prioridades-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prioridades-icon i {
    font-size: 2rem;
    color: white;
}

.prioridades-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.prioridades-text strong {
    color: #0375b3;
}

/* Missão, Visão e Valores */
.mvv-section {
    padding: 100px 0;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0375b3, #025a8a);
}

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

.mvv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.1) 0%, rgba(2, 90, 138, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.mvv-icon i {
    font-size: 1.8rem;
    color: #0375b3;
}

.mvv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.mvv-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mvv-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.mvv-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #0375b3;
    border-radius: 50%;
}

/* Organograma */
.organograma-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-top: -40px;
    margin-bottom: 60px;
}

/* Organograma Chart */
.organograma-chart {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.org-level {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-cards-row {
    display: flex;
    justify-content: center;
    gap: 80px;
}

/* Cards do Organograma */
.org-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.org-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(3, 117, 179, 0.2);
}

.org-card .card-icon {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    padding: 20px;
    text-align: center;
}

.org-card .card-icon i {
    font-size: 2rem;
    color: white;
}

.org-card .card-content {
    padding: 25px;
    text-align: center;
}

.org-card h4 {
    color: #0375b3;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.org-card .card-members {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.org-card .member {
    display: inline-block;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.1) 0%, rgba(2, 90, 138, 0.1) 100%);
    color: #025a8a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

.org-card .member.pending {
    background: #fff3cd;
    color: #856404;
    font-style: italic;
}

/* Estilos específicos por nível */
.card-admin {
    border: 3px solid #0375b3;
}

.card-admin .card-icon {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
}

.card-direction {
    border: 2px solid #0375b3;
}

.card-direction .card-icon {
    background: linear-gradient(135deg, #0580c4 0%, #0375b3 100%);
}

.card-department {
    border: 2px solid #3498db;
}

.card-department .card-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

/* Conectores verticais */
.org-vertical-line {
    width: 3px;
    height: 50px;
    background: linear-gradient(180deg, #0375b3, #3498db);
    margin: 0 auto;
    border-radius: 2px;
}

/* Conector horizontal para nível 2 */
.org-horizontal-connector {
    position: relative;
    width: 400px;
    height: 30px;
    margin-bottom: 0;
}

.org-horizontal-connector .connector-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0375b3, #3498db, #0375b3);
    border-radius: 2px;
}

.org-horizontal-connector::before,
.org-horizontal-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 3px;
    height: 30px;
    background: #0375b3;
    border-radius: 2px;
}

.org-horizontal-connector::before {
    left: 0;
}

.org-horizontal-connector::after {
    right: 0;
}

/* Conector para departamentos */
.org-branch-connector {
    position: relative;
    width: 400px;
    height: 60px;
    margin: 0 auto;
}

.org-branch-connector .branch-vertical {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 3px;
    height: 30px;
    background: linear-gradient(180deg, #0375b3, #3498db);
    border-radius: 2px;
}

.org-branch-connector .branch-horizontal {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #0375b3, #3498db);
    border-radius: 2px;
}

.org-branch-connector::before,
.org-branch-connector::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 3px;
    height: 30px;
    background: #3498db;
    border-radius: 2px;
}

.org-branch-connector::before {
    left: 0;
}

.org-branch-connector::after {
    right: 0;
}

/* Conector no topo dos cards */
.card-connector-top {
    display: none;
}

/* Responsive - Página Sobre Nós */
@media (max-width: 992px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-text .section-title {
        text-align: center;
    }

    .intro-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .experience-badge {
        right: 20px;
        bottom: -20px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    /* Organograma Responsivo */
    .org-cards-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .org-horizontal-connector,
    .org-branch-connector {
        display: none;
    }

    .org-vertical-line {
        height: 30px;
    }

    .org-card {
        min-width: 280px;
        max-width: 320px;
    }

    .level-2::before,
    .level-3::before {
        content: '';
        display: block;
        width: 3px;
        height: 30px;
        background: linear-gradient(180deg, #0375b3, #3498db);
        margin: 0 auto 20px;
        border-radius: 2px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .prioridades-box {
        flex-direction: column;
        text-align: center;
    }

    .prioridades-text {
        font-size: 1.1rem;
    }

    .org-card {
        min-width: 260px;
        max-width: 300px;
    }

    .org-card .card-icon {
        padding: 15px;
    }

    .org-card .card-icon i {
        font-size: 1.6rem;
    }

    .org-card .card-content {
        padding: 20px;
    }

    .org-card h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .intro-description {
        font-size: 1rem;
    }

    .experience-badge {
        padding: 15px 20px;
        right: 10px;
    }

    .experience-badge .years {
        font-size: 2rem;
    }

    .mvv-card {
        padding: 30px 20px;
    }

    .org-card {
        min-width: 100%;
        max-width: 100%;
    }

    .org-card .member {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

/* =====================================================
   SERVIÇOS COMPACTOS - HOMEPAGE
   ===================================================== */

.servicos-compact {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.servico-card-compact {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.servico-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0375b3, #025a8a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.servico-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(3, 117, 179, 0.15);
}

.servico-card-compact .servico-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0375b3, #025a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.servico-card-compact:hover .servico-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(3, 117, 179, 0.4);
}

.servico-card-compact h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.servico-card-compact .btn-link {
    color: #0375b3;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.1) 0%, rgba(2, 90, 138, 0.1) 100%);
    transition: all 0.3s ease;
}

.servico-card-compact .btn-link::after {
    display: none;
}

.servico-card-compact .btn-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.servico-card-compact .btn-link:hover {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    color: white;
    transform: none;
}

.servico-card-compact .btn-link:hover i {
    transform: translateX(3px);
}

/* Responsive - Serviços Compactos */
@media (max-width: 992px) {
    .servicos-compact {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .servicos-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .servico-card-compact {
        padding: 25px 20px;
    }

    .servico-card-compact .servico-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .servico-card-compact h3 {
        font-size: 1rem;
    }

    .servico-card-compact .btn-link {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .servicos-compact {
        grid-template-columns: 1fr;
    }

    .servico-card-compact {
        flex-direction: row;
        text-align: left;
        padding: 20px;
        gap: 20px;
    }

    .servico-card-compact .servico-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .servico-card-compact h3 {
        font-size: 0.95rem;
        text-align: left;
    }

    .servico-card-compact .btn-link {
        display: none;
    }

    .servico-card-compact {
        cursor: pointer;
    }

    .servico-card-compact::after {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: #0375b3;
        font-size: 0.9rem;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .servico-card-compact:hover::after {
        transform: translateY(-50%) translateX(3px);
    }
}

/* =====================================================
   PÁGINA GALERIA
   ===================================================== */

/* Galeria Section */
.galeria-section {
    padding: 80px 0;
    padding-top: 0;
    background: #f8f9fa;
}

/* Filtros da Galeria - Mesma formatação do blog-filter */
.galeria-filter {
    padding: 40px 0;
    background: #f8f9fa;
}

.galeria-filtros {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filtro-btn {
    background: white;
    border: 2px solid #0375b3;
    color: #0375b3;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filtro-btn.active,
.filtro-btn:hover {
    background: #0375b3;
    color: white;
}

/* Grid da Galeria */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Item da Galeria */
.galeria-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.galeria-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(3, 117, 179, 0.2);
}

.galeria-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.galeria-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria-item:hover .galeria-image img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.8) 0%, rgba(2, 90, 138, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay i {
    font-size: 2.5rem;
    color: white;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.galeria-item:hover .galeria-overlay i {
    transform: scale(1);
}

.galeria-info {
    padding: 20px;
}

.galeria-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.galeria-categoria {
    display: inline-block;
    background: linear-gradient(135deg, rgba(3, 117, 179, 0.1) 0%, rgba(2, 90, 138, 0.1) 100%);
    color: #0375b3;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-caption {
    margin-top: 20px;
    color: white;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.lightbox-caption span {
    font-size: 1rem;
    opacity: 0.7;
}

/* Lightbox Navigation */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Responsive - Galeria */
@media (max-width: 992px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .galeria-filter {
        padding: 30px 0;
    }

    .galeria-section {
        padding: 60px 0;
        padding-top: 0;
    }

    .galeria-filtros {
        gap: 10px;
    }

    .filtro-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .galeria-image {
        height: 180px;
    }

    .galeria-info {
        padding: 15px;
    }

    .galeria-info h3 {
        font-size: 1rem;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-caption h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .galeria-filter {
        padding: 25px 0;
    }

    .galeria-filtros {
        flex-direction: column;
        align-items: center;
    }

    .filtro-btn {
        width: 100%;
        max-width: 200px;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-image {
        height: 200px;
    }

    .galeria-info h3 {
        font-size: 1.05rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* Principais Serviços Section */
.principais-servicos {
    padding: 80px 0;
    background: #ffffff;
}

.servicos-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

@media (min-width: 992px) {
    .servicos-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.servico-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.servico-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0375b3, #025a8a);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
    z-index: 2;
}

.servico-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(3, 117, 179, 0.4);
}

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

.servico-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.servico-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    transition: transform 0.6s ease;
}

.servico-card:hover img {
    transform: scale(1.1);
}

.servico-card h3 {
    padding: 25px 20px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    margin: 0;
    transition: color 0.3s ease;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servico-card:hover h3 {
    color: #0375b3;
}

.hero .servicos-texto p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.hero .highlight-title {
    color: #fff;
    font-size: 1.8rem;
}

.servicos-texto {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.servicos-texto p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.highlight-title {
    font-size: 1.8rem;
    color: #0375b3;
    font-weight: 700;
}

@media (max-width: 768px) {
    .highlight-title {
        font-size: 1.5rem;
    }

    .servicos-texto p {
        font-size: 1.05rem;
    }

    .dropdown-menu li a {
        white-space: normal;
        height: auto;
        line-height: 1.4;
    }

    .mobile-dropdown-link {
        display: flex !important;
    }

    .nav-menu li.has-dropdown .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        padding: 0 0 0 15px;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .nav-menu li.has-dropdown.open-mobile-dropdown .dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
    }

    .nav-menu li.has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-menu li.has-dropdown.open-mobile-dropdown:hover .dropdown-menu {
        display: flex;
    }

    .nav-menu li.has-dropdown>a {
        display: flex;
        justify-content: space-between;
    }
}

@media (min-width: 769px) {
    .mobile-dropdown-link {
        display: none !important;
    }
}

/* Footer contact-info links */
.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}