/* Página Portfólio - Design Melhorado Inspirado na Ocyan */

/* ===== SEÇÃO HERO ===== */
.portfolio-hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8ff 100%);
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, rgba(76, 175, 80, 0.1), rgba(33, 150, 243, 0.1));
    border-radius: 50%;
    transform: rotate(15deg);
}

.portfolio-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(33, 150, 243, 0.08), rgba(76, 175, 80, 0.08));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem;
    color: #1b5e20;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 1.6rem;
    color: #2e7d32;
    margin-bottom: 30px;
    font-weight: 500;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.15rem;
    color: #37474f;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-highlight {
    background: rgba(76, 175, 80, 0.1);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid #4caf50;
}

.hero-highlight p {
    margin: 0;
    font-size: 1.1rem;
    color: #2e7d32;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #546e7a;
    margin-top: 20px;
    font-style: italic;
}

/* ===== SEÇÕES HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h3 {
    font-size: 2.5rem;
    color: #1b5e20;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SEÇÃO PROJETOS PRINCIPAIS ===== */
.projetos-principais {
    padding: 80px 20px;
    background: #ffffff;
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.projeto-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(76, 175, 80, 0.1);
    position: relative;
    overflow: hidden;
}

.projeto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #2196f3);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

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

.projeto-icon {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-circle svg {
    width: 36px;
    height: 36px;
    color: #ffffff;
    z-index: 2;
}

/* Cores específicas para cada tipo de projeto */
.icon-circle.industrial {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.icon-circle.portuario {
    background: linear-gradient(135deg, #2196f3, #1976d2);
}

.icon-circle.submarino {
    background: linear-gradient(135deg, #009688, #00695c);
}

.projeto-card:hover .icon-circle {
    transform: scale(1.1) rotate(-5deg);
}

.projeto-header {
    margin-bottom: 20px;
}

.projeto-header h4 {
    font-size: 1.4rem;
    color: #1b5e20;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.3;
}

.cliente {
    font-size: 0.9rem;
    color: #4caf50;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.servicos {
    margin-bottom: 20px;
}

.servicos h5 {
    font-size: 1rem;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.servicos li {
    font-size: 0.95rem;
    color: #546e7a;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.servicos li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.destaque-tecnico {
    background: rgba(76, 175, 80, 0.05);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid #4caf50;
}

.destaque-tecnico h5 {
    font-size: 1rem;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 600;
}

.destaque-tecnico p {
    font-size: 0.95rem;
    color: #37474f;
    line-height: 1.6;
    margin: 0;
}

/* ===== SEÇÃO OUTROS PROJETOS ===== */
.outros-projetos {
    padding: 80px 20px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.outros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.outro-projeto-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #4caf50;
    position: relative;
}

.outro-projeto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.outro-projeto-card::after {
    content: '📋';
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 1.2rem;
    opacity: 0.3;
}

.projeto-info h4 {
    font-size: 1.2rem;
    color: #1b5e20;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.projeto-info p {
    font-size: 0.95rem;
    color: #546e7a;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cliente-tag {
    display: inline-block;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SEÇÃO CTA ===== */
.portfolio-cta {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circles" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>') repeat;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.btn-portfolio {
    display: inline-block;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-portfolio.primary {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
}

.btn-portfolio.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-portfolio:hover {
    transform: translateY(-2px);
}

.btn-portfolio.primary:hover {
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
}

.btn-portfolio.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #4caf50;
}

.btn-portfolio:hover::before {
    left: 100%;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h3 {
        font-size: 2rem;
    }
    
    .projetos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .outros-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projeto-card {
        padding: 30px 25px;
    }
    
    .icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .icon-circle svg {
        width: 32px;
        height: 32px;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-portfolio {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .portfolio-hero {
        padding: 60px 15px 40px;
    }
    
    .projetos-principais {
        padding: 60px 15px;
    }
    
    .outros-projetos {
        padding: 60px 15px;
    }
    
    .portfolio-cta {
        padding: 60px 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .projeto-header h4 {
        font-size: 1.2rem;
    }
    
    .projeto-info h4 {
        font-size: 1.1rem;
    }
}

