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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Header e Navegação */
header {
    background: linear-gradient(135deg, #1F2C44 0%, #2a3f5f 50%, #E6692A 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 85px;
    width: auto;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

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

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

.nav-menu a:hover {
    color: #E6692A;
}

.btn-contato {
    background: linear-gradient(135deg, #E6692A 0%, #ff7a3d 100%);
    color: #fff;
    padding: 0.85rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 105, 42, 0.3);
}

.btn-contato:hover {
    background: linear-gradient(135deg, #ff7a3d 0%, #E6692A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 105, 42, 0.4);
}

/* Dropdown Menu (Desktop) */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1F2C44; /* Cor de fundo do header */
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 100;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    font-weight: 400;
}

.dropdown-menu li a:hover {
    background-color: #2a3f5f;
    color: #E6692A;
}

.dropdown-menu li a::after {
    content: none; /* Remove o sublinhado do hover do link principal */
}

/* Menu Hambúrguer */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border: 2px solid #E6692A;
    border-radius: 8px;
    background: rgba(230, 105, 42, 0.1);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(230, 105, 42, 0.2);
    border-color: #ff7a3d;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #E6692A;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Banner Principal */
.banner-principal {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 44, 68, 0.4) 0%, rgba(31, 44, 68, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px; /* Adiciona padding para evitar que o conteúdo toque as bordas em telas pequenas */
}

.banner-overlay h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    letter-spacing: -1px;
    max-width: 800px; /* Limita a largura do título */
    margin-left: auto;
    margin-right: auto;
}

.banner-overlay p {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 700px; /* Limita a largura do parágrafo */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem; /* Espaço entre o texto e o botão */
}

/* Blocos Principais */
.blocos-principais {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.bloco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.bloco {
    background: linear-gradient(135deg, #1F2C44 0%, #2a3f5f 50%, #E6692A 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    text-align: center;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.bloco::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bloco:hover::before {
    opacity: 1;
}

.bloco:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(230, 105, 42, 0.3);
    border-color: #fff;
}

.bloco h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.bloco p {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn-acao {
    display: inline-block;
    background: #fff;
    color: #1F2C44;
    padding: 1.2rem 2.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.btn-acao:hover {
    background: #E6692A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.4);
}

/* Seção Sobre Nós */
.sobre-nos {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(31, 44, 68, 0.95) 0%, rgba(42, 63, 95, 0.95) 100%), url('sobre_nos_background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}

.sobre-nos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 44, 68, 0.9) 0%, rgba(230, 105, 42, 0.1) 100%);
}

.sobre-nos .container {
    position: relative;
    z-index: 1;
}

.sobre-nos-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.sobre-nos h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.sobre-nos p {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.95);
}

.btn-fale-conosco {
    display: inline-block;
    background: linear-gradient(135deg, #E6692A 0%, #ff7a3d 100%);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(230, 105, 42, 0.4);
}

.btn-fale-conosco:hover {
    background: #fff;
    color: #1F2C44;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

/* Responsável Técnico */
.responsavel-tecnico {
    padding: 5rem 0;
    background: #fff;
}

.responsavel-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 3rem;
    border: 2px solid #E6692A;
    position: relative;
    overflow: hidden;
}

.responsavel-card::before {
    content: '🏗️';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
    opacity: 0.3;
}

.responsavel-foto {
    flex-shrink: 0;
}

.responsavel-foto img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid #1F2C44;
    object-fit: cover;
    object-position: top; /* Ajuste para focar no rosto */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.responsavel-info {
    flex: 1;
}

.responsavel-info h3 {
    color: #1F2C44;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.responsavel-info .cargo {
    color: #E6692A;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.responsavel-info .crea {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.responsavel-info .frase {
    color: #555;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    border-left: 4px solid #E6692A;
    padding-left: 1.5rem;
}

/* Por que escolher */
.por-que-escolher {
    padding: 5rem 0;
    background: #fff;
}

.section-title {
    text-align: center;
    color: #1F2C44;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #E6692A 0%, #1F2C44 100%);
    border-radius: 2px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.beneficio {
    text-align: center;
    padding: 1.8rem 1.2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.beneficio:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(230, 105, 42, 0.15);
    border-color: #E6692A;
}

.icone {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icone img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.beneficio h3 {
    color: #1F2C44;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Conteúdo do Serviço Específico */
.conteudo-servico {
    padding: 4rem 0;
    background: #fff;
}

.servico-detalhe {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.servico-detalhe h2 {
    color: #1F2C44;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #E6692A;
    padding-bottom: 0.5rem;
}

.servico-detalhe h3 {
    color: #E6692A;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.servico-detalhe p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.servico-detalhe ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.servico-detalhe ul li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #333;
    border-bottom: 1px dashed #ddd;
}

.servico-detalhe ul li::before {
    content: '✅';
    margin-right: 10px;
    color: #1F2C44;
}

/* CTA para Engenharia (Link) */
.cta-engenharia-link {
    padding: 3rem 0;
    background: #1F2C44;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    border: 2px solid #E6692A;
    border-radius: 10px;
}

.cta-box h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    background: #E6692A;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ff7a3d;
    transform: translateY(-2px);
}

/* CTA de Serviços (Final) */
.cta-servicos {
    padding: 5rem 0;
    background: #E6692A;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn-cta-large {
    display: inline-block;
    background: #1F2C44;
    color: #fff;
    padding: 1.5rem 3.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-cta-large:hover {
    background: #2a3f5f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Serviços */
.servicos {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.servicos-lista {
    max-width: 900px;
    margin: 0 auto;
}

.servico-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 1.4rem 2rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: #1F2C44;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    cursor: pointer;
}

.servico-item:hover {
    background: linear-gradient(135deg, #E6692A 0%, #ff7a3d 100%);
    color: #fff;
    transform: translateX(10px);
    box-shadow: 0 6px 25px rgba(230, 105, 42, 0.25);
    border-left-color: #1F2C44;
}

.servico-item .seta {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.servico-item:hover .seta {
    transform: translateX(8px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1F2C44 0%, #2a3f5f 100%);
    color: #fff;
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-logo p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contato h4 {
    margin-bottom: 1.5rem;
    color: #E6692A;
    font-weight: 600;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #E6692A;
    padding-left: 5px;
}

.footer-contato p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Responsividade */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background: linear-gradient(135deg, #1F2C44 0%, #2a3f5f 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.2);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .btn-contato {
        display: none;
    }

    .bloco-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .banner-principal {
        height: 450px;
    }
    
    .banner-overlay h1 {
        font-size: 2.2rem;
        text-align: center; /* Garante o alinhamento central */
        margin-bottom: 10px; /* Reduz o espaçamento para o parágrafo */
    }
    
    .banner-overlay p {
        font-size: 1.2rem;
        text-align: center; /* Garante o alinhamento central */
        margin-bottom: 20px; /* Espaçamento para o botão */
    }

    .btn-hero {
        display: inline-block; /* Garante que o botão seja exibido */
        padding: 1rem 2.5rem; /* Reduz o padding */
        font-size: 1rem; /* Reduz o tamanho da fonte */
        margin-top: 0; /* Remove a margem superior desnecessária */
        text-align: center; /* Garante que o texto do botão esteja centralizado */
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .logo img {
        height: 70px;
    }

    .responsavel-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .responsavel-info .frase {
        border-left: none;
        border-top: 4px solid #E6692A;
        padding-left: 0;
        padding-top: 1rem;
    }

    .sobre-nos h2 {
        font-size: 2.2rem;
    }

    .sobre-nos p {
        font-size: 1.1rem;
    }

    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .icone {
        width: 70px;
        height: 70px;
    }

    .beneficio h3 {
        font-size: 0.95rem;
    }
}


/* Hub de Serviços (Nova Seção) */
.hub-servicos {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef3 100%);
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hub-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #E6692A 0%, #1F2C44 100%);
}

.hub-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(230, 105, 42, 0.2);
    border-color: #E6692A;
}

.hub-card h3 {
    color: #1F2C44;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.hub-card p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-hub {
    display: inline-block;
    background: linear-gradient(135deg, #E6692A 0%, #ff7a3d 100%);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 105, 42, 0.3);
}

.btn-hub:hover {
    background: linear-gradient(135deg, #1F2C44 0%, #2a3f5f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 44, 68, 0.4);
}

/* Botão Hero (para banner) */
.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, #E6692A 0%, #ff7a3d 100%);
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(230, 105, 42, 0.4);
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .banner-overlay h1 {
        font-size: 2.5rem;
    }
    .banner-overlay p {
        font-size: 1.2rem;
        text-align: center; /* Garante o alinhamento central */
        margin-bottom: 20px; /* Espaçamento para o botão */
    }
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

.btn-hero:hover {
    background: #fff;
    color: #1F2C44;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.5);
}

/* Páginas de Engenharia e Serviços */
.banner-engenharia,
.banner-servicos {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.intro-engenharia,
.intro-servicos {
    padding: 2rem 0; /* Reduzido o padding para se adequar ao layout da imagem */
    background: #fff;
}

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

.intro-content h2 {
    color: #333; /* Cor padrão do corpo para se adequar à imagem */
    font-size: 1.5rem; /* Ajustado o tamanho da fonte para se adequar à imagem */
    margin-bottom: 0.5rem; /* Ajustado o espaçamento */
    font-weight: 700;
}

.intro-content p {
    color: #333; /* Cor padrão do corpo para se adequar à imagem */
    font-size: 1rem; /* Ajustado o tamanho da fonte para se adequar à imagem */
    line-height: 1.6;
    margin-bottom: 1rem; /* Ajustado o espaçamento */
}

/* Serviços de Engenharia */
.servicos-engenharia,
.servicos-tecnicos {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.servico-engenharia {
    border-left: 4px solid #E6692A;
}

.servico-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.servico-titulo {
    font-size: 1.2rem;
    font-weight: 600;
}

.servico-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    font-weight: 400;
}

/* Diferenciais */
.diferenciais-engenharia,
.diferenciais-servicos {
    padding: 5rem 0;
    background: #fff;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.diferencial {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.diferencial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(230, 105, 42, 0.15);
    border-color: #E6692A;
}

.diferencial-icone {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diferencial-icone img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.diferencial h3 {
    color: #1F2C44;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.diferencial p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* CTA Sections */
.cta-engenharia,
.cta-servicos {
    padding: 5rem 0; /* Adicionado padding */
    background: linear-gradient(135deg, #1F2C44 0%, #2a3f5f 100%); /* Fundo escuro */
    text-align: center; /* Centralizado */
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.cta-content h2 {
    color: #fff; /* Cor branca */
    font-size: 2.5rem; /* Aumentado o tamanho da fonte */
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    color: rgba(255,255,255,0.9); /* Cor branca sutil */
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn-cta-large {
    display: inline-block;
    background: #fff; /* Botão branco */
    color: #1F2C44; /* Cor principal */
    padding: 1.3rem 3.5rem;
    border-radius: 30px;
    text-decoration: none; /* Removido sublinhado */
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-cta-large:hover {
    background: #E6692A; /* Cor laranja no hover */
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 105, 42, 0.5);
}

/* Link para Engenharia na página de Serviços */
.cta-engenharia-link {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); /* Fundo mais claro */
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem; /* Adicionado padding */
    border-radius: 15px; /* Adicionado border-radius */
    text-align: center; /* Centralizado */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Adicionado sombra */
    border: 2px solid #1F2C44; /* Borda sutil */
}

.cta-box h3 {
    color: #1F2C44; /* Cor principal */
    font-size: 2rem; /* Aumentado o tamanho da fonte */
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-box p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.btn-secondary {
    display: inline-block;
    background: linear-gradient(135deg, #E6692A 0%, #ff7a3d 100%); /* Botão laranja */
    color: #fff;
    padding: 1.1rem 2.8rem;
    border-radius: 30px;
    text-decoration: none; /* Removido sublinhado */
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 105, 42, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff7a3d 0%, #E6692A 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 105, 42, 0.4);
}

/* Responsividade para novas seções */
@media (max-width: 768px) {
    .hub-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hub-card h3 {
        font-size: 1.5rem;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .banner-engenharia,
    .banner-servicos {
        height: 400px;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .intro-content p {
        font-size: 1.1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .servico-content {
        gap: 0.5rem;
    }

    .servico-titulo {
        font-size: 1.1rem;
    }

    .servico-desc {
        font-size: 0.9rem;
    }
}


/* Botão de chamada de ação do banner laranja */
.btn-hero.laranja {
    background: linear-gradient(135deg, #E6692A 0%, #ff7a3d 100%);
    color: #fff;
}

.btn-hero.laranja:hover {
    background: linear-gradient(135deg, #ff7a3d 0%, #E6692A 100%);
    color: #fff;
}

/* Estilos para o Menu Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1F2C44; /* Cor de fundo do header */
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    padding: 10px 0;
    border-radius: 0 0 8px 8px;
    z-index: 1001;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
    font-weight: 400;
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background: #2a3f5f;
    color: #E6692A;
}

/* Estilo para o Botão de Destaque (Orçamento Grátis) */
.btn-destaque {
    background: linear-gradient(135deg, #E6692A 0%, #ff7a3d 100%);
    color: #fff !important;
    font-weight: 700 !important;
    padding: 0.85rem 1.8rem !important;
    border-radius: 30px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 105, 42, 0.5) !important;
}

.btn-destaque:hover {
    background: linear-gradient(135deg, #ff7a3d 0%, #E6692A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 105, 42, 0.6) !important;
}

/* Ajuste para o menu mobile */
@media (max-width: 992px) {
    .nav-menu {
        /* Outros estilos do menu mobile */
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li a {
        padding: 15px 0;
        display: block;
    }

    .dropdown-menu {
        position: static; /* Ocupa o espaço abaixo no mobile */
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: #1F2C44;
        padding: 0;
    }

    .dropdown-menu li a {
        padding: 10px 0;
        background: #2a3f5f; /* Cor de fundo diferente para sub-itens */
    }
}

/* Página de Agradecimento */
.pagina-obrigado {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.obrigado-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 2px solid #E6692A;
}

.obrigado-icone {
    font-size: 4rem;
    color: #E6692A;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(230, 105, 42, 0.1);
}

.obrigado-content h1 {
    color: #1F2C44;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.obrigado-titulo {
    color: #E6692A;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.obrigado-descricao {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.obrigado-tempo {
    background: rgba(230, 105, 42, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    color: #333;
    font-size: 1rem;
    margin-bottom: 2rem;
    border-left: 4px solid #E6692A;
}

.obrigado-proximos-passos {
    text-align: left;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.obrigado-proximos-passos h3 {
    color: #1F2C44;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.obrigado-proximos-passos ul {
    list-style: none;
    padding: 0;
}

.obrigado-proximos-passos li {
    color: #555;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.obrigado-proximos-passos li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #E6692A;
    font-weight: 700;
    font-size: 1.2rem;
}

.obrigado-acoes {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.obrigado-acoes a {
    display: inline-block;
}

.btn-secondary {
    background: #f0f0f0;
    color: #1F2C44;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #E6692A;
}

.btn-secondary:hover {
    background: #E6692A;
    color: #fff;
    transform: translateY(-2px);
}

.obrigado-contato {
    color: #333;
    font-size: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.obrigado-contato a {
    color: #E6692A;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.obrigado-contato a:hover {
    color: #1F2C44;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .obrigado-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .obrigado-content h1 {
        font-size: 2rem;
    }

    .obrigado-titulo {
        font-size: 1.2rem;
    }

    .obrigado-acoes {
        flex-direction: column;
    }

    .obrigado-acoes a {
        width: 100%;
    }
}

/* Media Query para Responsividade */
@media (max-width: 992px) {
    /* Ajustes para o menu de navegação mobile */
    .nav-menu {
        /* O menu principal já deve estar com display: none por padrão no CSS original,
           mas vamos garantir que o dropdown não atrapalhe a visualização mobile */
    }

    /* No mobile, o dropdown deve ser oculto por padrão e exibido apenas quando a classe .active-dropdown for adicionada */
    .dropdown-menu {
        display: none; /* Oculta o submenu por padrão no mobile */
        position: static; /* Garante que ele se comporte como um item de lista */
        background: #2a3f5f; /* Cor de fundo ligeiramente diferente para o submenu */
        width: 100%;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .dropdown.active-dropdown .dropdown-menu {
        display: block; /* Exibe o submenu quando a classe é ativada */
    }

    .dropdown-menu li a {
        padding: 8px 0;
        font-size: 1rem;
        font-weight: 300;
    }

    .dropdown-menu li a:hover {
        background-color: #1F2C44;
    }

    /* Ajustes para o banner principal */
    .banner-principal {
        height: 500px; /* Altura menor no mobile */
    }

    .banner-overlay h1 {
        font-size: 2.5rem;
    }

    .banner-overlay p {
        font-size: 1.2rem;
        text-align: center; /* Garante o alinhamento central */
        margin-bottom: 20px; /* Espaçamento para o botão */
    }

    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Ajustes para a seção de blocos */
    .bloco-grid {
        grid-template-columns: 1fr; /* Coluna única no mobile */
    }

    .bloco {
        padding: 3rem 2rem;
    }

    /* Ajustes para a seção Responsável Técnico */
    .responsavel-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .responsavel-foto {
        margin-bottom: 1rem;
    }

    .responsavel-info {
        text-align: center;
    }

    .responsavel-info .frase {
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #E6692A;
        padding-top: 1rem;
        margin-top: 1rem;
    }

    /* Ajustes para a seção Por que escolher */
    .beneficios-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no mobile */
    }

    /* Ajustes para o Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links, .footer-contato {
        text-align: center;
    }

    .footer-links ul {
        padding: 0;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }

    .beneficios-grid {
        grid-template-columns: 1fr; /* 1 coluna em telas muito pequenas */
    }
}
