/* =================================================================
   Collins Sistemas de Água - Stylesheet Completo
   ================================================================= */

/* =================================================================
   1. Reset e Base
   ================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================================================
   2. 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;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.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); }
}

/* =================================================================
   3. Header & Navigation
   ================================================================= */
.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.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.nav-brand a {
    text-decoration: none;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.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%;
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: none;
    border: 1px solid #0375b3;
    color: #0375b3;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.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;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* =================================================================
   4. Hero Section
   ================================================================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center/cover;
    z-index: -2;
}

.hero-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%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mission and Vision Styles */
.mission-vision-values {
    margin: 3rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-vision-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mission-vision-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.mv-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0375b3 0%, #03a9f4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.mv-content h4 {
    color: #0375b3;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.mv-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.sobre-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .mv-icon {
        margin: 0 auto;
    }
}

/* =================================================================
   5. Page Headers
   ================================================================= */
.page-header {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* =================================================================
   6. 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);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* =================================================================
   7. 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;
}

/* =================================================================
   8. Á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;
    transition: transform 0.3s ease;
}

.area-card:hover .area-icon {
    transform: scale(1.1);
}

.area-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.area-card p {
    color: #666;
    line-height: 1.6;
}

/* =================================================================
   9. Sobre Nós
   ================================================================= */
.sobre-nos {
    padding: 100px 0;
}

.sobre-content {
    display: block;
}

.sobre-text {
    width: 100%;
}

.sobre-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.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;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0375b3;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* =================================================================
   10. Serviços
   ================================================================= */
.servicos-preview {
    padding: 100px 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;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.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: 30px auto 20px;
    color: white;
    font-size: 2rem;
}

.servico-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 30px 15px;
    color: #333;
    text-align: center;
}

.servico-card p {
    color: #666;
    line-height: 1.6;
    margin: 0 30px 20px;
    text-align: center;
}

.servico-card .btn-link {
    margin: 0 30px 30px;
    text-align: center;
    display: block;
}

/* Serviços Detalhados */
.servicos-detalhados {
    padding: 100px 0;
}

.servico-detalhado {
    margin-bottom: 100px;
}

.servico-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.servico-detalhado.reverse .servico-content {
    direction: rtl;
}

.servico-detalhado.reverse .servico-text {
    direction: ltr;
}

.servico-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0375b3, #025a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.servico-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.servico-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.servico-lista {
    margin-bottom: 30px;
}

.servico-lista h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.servico-lista ul {
    list-style: none;
    padding: 0;
}

.servico-lista li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.servico-lista li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0375b3;
    font-weight: bold;
}

.servico-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.servico-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.servico-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #0375b3, #025a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 6rem;
}

.cta-servicos {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.cta-servicos h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.cta-servicos p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =================================================================
   11. Projectos
   ================================================================= */
.projectos-preview,
.projects-grid-section {
    padding: 100px 0;
}

.projectos-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.projeto-card,
.project-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,
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.projeto-image,
.project-image {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #0375b3, #025a8a);
}

.projeto-image img,
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projeto-card:hover .projeto-image img,
.project-card:hover .project-image img {
    transform: scale(1.1);
}

.projeto-icon,
.project-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.project-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.project-category {
    background: rgba(255, 255, 255, 0.9);
    color: #0375b3;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.projeto-content,
.project-content {
    padding: 30px;
}

.projeto-content h3,
.project-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.projeto-content p,
.project-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.project-location {
    color: #666;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.project-status.completed,
.project-status.concluido {
    color: #28a745;
}

.project-status.em_execucao {
    color: #ffc107;
}

.project-status.planning,
.project-status.planeamento {
    color: #17a2b8;
}

.project-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.highlight {
    background: #f8f9fa;
    color: #0375b3;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Projects Filter */
.projects-filter,
.blog-filter {
    padding: 40px 0;
    background: #f8f9fa;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-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;
}

.filter-btn.active,
.filter-btn:hover {
    background: #0375b3;
    color: white;
}

.cta-projects {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-projects h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-projects p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-projects .btn-primary {
    background: white;
    color: #0375b3;
}

.cta-projects .btn-primary:hover {
    background: #f8f9fa;
}

.cta-projects .btn-secondary {
    border-color: white;
    color: white;
}

.cta-projects .btn-secondary:hover {
    background: white;
    color: #0375b3;
}

/* =================================================================
   12. Blog
   ================================================================= */
.blog-preview {
    padding: 100px 0;
}

.blog-grid-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.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: 220px;
    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;
    flex-wrap: wrap;
}

.blog-date,
.blog-read-time {
    font-size: 0.85rem;
    color: #666;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 15px;
}

.blog-category {
    font-size: 0.85rem;
    background: #0375b3;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
}

.blog-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: #f8f9fa;
    color: #0375b3;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    background: white;
    border: 2px solid #0375b3;
    color: #0375b3;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.pagination-btn.active,
.pagination-btn:hover {
    background: #0375b3;
    color: white;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form-large {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 15px;
}

.newsletter-form-large input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form-large button {
    padding: 15px 30px;
    white-space: nowrap;
}

/* =================================================================
   13. 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;
}

.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); 
    }
}

/* =================================================================
   14. Contact Page
   ================================================================= */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.contact-form-container p {
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0375b3;
    box-shadow: 0 0 0 3px rgba(3, 117, 179, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card,
.social-card,
.emergency-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-card h3,
.social-card h3,
.emergency-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0375b3, #025a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.contact-details p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.contact-details a {
    color: #0375b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #025a8a;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link-large.linkedin {
    background: #f8f9fa;
    color: #0077b5;
    border: 2px solid #e9ecef;
}

.social-link-large.linkedin:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-2px);
}

.emergency-card {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    text-align: center;
}

.emergency-card h3 {
    color: white;
}

.emergency-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.emergency-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.emergency-phone:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.emergency-card small {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    background: white;
    padding: 80px 40px;
    text-align: center;
    border: 2px dashed #ddd;
}

.map-placeholder i {
    font-size: 4rem;
    color: #0375b3;
    margin-bottom: 20px;
}

.map-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.map-placeholder p {
    color: #666;
    margin-bottom: 30px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #0375b3;
}

.faq-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* =================================================================
   15. CTA Final
   ================================================================= */
.cta-final {
    padding: 100px 0;
    background: linear-gradient(135deg, #0375b3 0%, #025a8a 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-contact .btn-primary {
    background: white;
    color: #0375b3;
}

.cta-contact .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.cta-contact .btn-secondary {
    border-color: white;
    color: white;
}

.cta-contact .btn-secondary:hover {
    background: white;
    color: #0375b3;
}

/* =================================================================
   16. 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;
}

/* =================================================================
   17. Utility Classes
   ================================================================= */
.text-center {
    text-align: center;
}

.animate-in {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.3) !important;
}

/* =================================================================
   18. Responsive Design
   ================================================================= */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .nav-menu a {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    /* Grids */
    .areas-grid,
    .servicos-grid,
    .projectos-grid,
    .blog-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-content,
    .servico-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .servico-detalhado.reverse .servico-content {
        direction: ltr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Stats */
    .sobre-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* CTA */
    .cta-contact {
        flex-direction: column;
        align-items: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form-large {
        flex-direction: column;
        max-width: 300px;
    }
    
    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .map-placeholder {
        padding: 60px 20px;
    }
    
    /* Misc */
    .depoimento-author {
        flex-direction: column;
        text-align: center;
    }
    
    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 2rem;
    }
    
    .loading-logo {
        font-size: 2.5rem;
    }
    
    .loading-slogan {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .servico-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-content h2,
    .cta-projects h2,
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    /* Cards & Content */
    .area-card,
    .servico-card,
    .stat-card {
        padding: 30px 20px;
    }
    
    .projeto-content,
    .blog-content,
    .project-content {
        padding: 20px;
    }
    
    .depoimento-card {
        padding: 30px 20px;
    }
    
    /* Stats */
    .sobre-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* =================================================================
   19. Print Styles
   ================================================================= */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle,
    .language-switcher,
    .social-links,
    .newsletter,
    .cta-final,
    #loading-screen {
        display: none !important;
    }
    
    body {
        color: #000;
        background: white;
    }
    
    .container {
        max-width: 100%;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}