/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #132766;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: #ff9d4d;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #ff7e14;
    transform: translateY(-3px);
}

.destaques .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #ff7e14;
    position: relative;
    font-weight: 700; /* Adiciona peso à fonte */
    text-transform: uppercase; /* Opcional: transforma em maiúsculas */
}

.destaques .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: currentColor; /* Herda a cor do texto */
    margin: 15px auto;
    border-radius: 2px; /* Adiciona bordas arredondadas */
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: #ff7e14;
}

.logo h1 span {
    color: #132766;
}
 .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-img {
    width: 120px;
    height: auto;
    margin-right: 30px; /* Espaçamento aumentado aqui */
        }
        
        .logo-img img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: contain; /* Garante que a imagem não será distorcida */
        }

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #ff7e14;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li.active a {
    color: #132766;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #ff7e14;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/teste.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Destaques */
.destaques {
    padding: 80px 0;
    background: #fff;
}

.destaques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.destaque-item {
    text-align: center;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.destaque-item:hover {
    transform: translateY(-10px);
}

.destaque-item i {
    font-size: 3rem;
    color: #ff7e14;
    margin-bottom: 20px;
}

.destaque-item h3 {
    margin-bottom: 15px;
    color: #132766;
}

/* Sobre Preview */
.sobre-preview {
    padding: 80px 0;
    background: #f1f1f1;
}

.sobre-preview .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-texto h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #132766;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: #132766;
    color: white;
    padding: 10px 0;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: #ff7e14;
    bottom: -10px;
    left: 0;
}

.footer-col p, .footer-col a {
    color: #bdc3c7;
    margin-bottom: 10px;
    display: block;
}

.footer-col a:hover {
    color: #ff7e14;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #ff7e14;
    color: white;
}

.copyright {
    background: #132766;
    padding: 5px 0;
    text-align: center;
    color: #bdc3c7;
    font-size: 14px;

}

/* Páginas Internas */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/teste.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Sobre Nós */
.nossa-historia {
    padding: 80px 0;
}

.nossa-historia .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.historia-texto h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #132766;
}

.historia-imagem img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.valores {
    padding: 80px 0;
    background: #f9f9f9;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.valor-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-10px);
}

.valor-item i {
    font-size: 2.5rem;
    color: #132766;
    margin-bottom: 20px;
}

.valor-item h3 {
    margin-bottom: 15px;
    color: #132766;
}

.equipe {
    padding: 80px 0;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.membro {
    text-align: center;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.membro:hover {
    transform: translateY(-10px);
}

.membro img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.membro h3 {
    margin: 20px 0 5px;
    color: #132766;
}

.membro p {
    color: #7f8c8d;
    padding-bottom: 20px;
}
.valores .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #ff7e14;
    position: relative;
    font-weight: 700; /* Adiciona peso à fonte */
    text-transform: uppercase; /* Opcional: transforma em maiúsculas */
}

.valores .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: currentColor; /* Herda a cor do texto */
    margin: 15px auto;
    border-radius: 2px; /* Adiciona bordas arredondadas */
}
.equipe .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #ff7e14;
    position: relative;
    font-weight: 700; /* Adiciona peso à fonte */
    text-transform: uppercase; /* Opcional: transforma em maiúsculas */
}

.equipe .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: currentColor; /* Herda a cor do texto */
    margin: 15px auto;
    border-radius: 2px; /* Adiciona bordas arredondadas */
}
/* Serviços */
.servicos-detalhados {
    padding: 80px 0;
}

.servico-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.servico-item.reverse {
    direction: rtl;
}

.servico-item.reverse > * {
    direction: ltr;
}

.servico-imagem img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.servico-texto h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #132766;
}

.servico-texto ul {
    margin: 20px 0;
    padding-left: 20px;
}

.servico-texto ul li {
    margin-bottom: 10px;
}

.cta-servicos {
    padding: 60px 0;
    background: #ff7e14;
    color: #fff;
    text-align: center;
}

.cta-servicos h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Projetos */
.filtro-projetos {
    padding: 30px 0;
    text-align: center;
}

.filtro-btn {
    background: none;
    border: 2px solid #ff7e14;
    color: #ff7e14;
    padding: 8px 20px;
    margin: 0 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filtro-btn:hover, .filtro-btn.active {
    background: #ff7e14;
    color: #fff;
}

.galeria-projetos {
    padding: 60px 0;
}

.galeria-projetos .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.projeto-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.projeto-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projeto-item:hover img {
    transform: scale(1.1);
}

.projeto-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #132766;
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.projeto-item:hover .projeto-info {
    transform: translateY(0);
}

.projeto-info h3 {
    margin-bottom: 10px;
}
.btn-projeto {
    display: inline-block;
    background: #ff7e14;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: background 0.3s ease;
}
.btn-projeto:hover {
    background: #ff9d4d;
}
.depoimentos {
    padding: 80px 0;
    background: #f9f9f9;
}
.depoimentos-slider {
    max-width: 800px;
    margin: 0 auto;
}
.depoimento {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0) 
}
/* Estilos para o filtro */
.filtro-projetos {
    margin: 30px 0;
    text-align: center;
}
.filtro-btn {
    background: #f0f0f0;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}
.filtro-btn:hover {
    background: #ddd;
}
.filtro-btn.active {
    background: #ff9d4d;
    color: white;
}
/* Estilos para a galeria */
.galeria-projetos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.projeto-item {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 300px;
    transition: all 0.3s ease;
}
/* ESTILOS GERAIS DO FORMULÁRIO */
.formulario-contato {
    background: #f9f9f9;
    padding: 60px 0;
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                      url('../img/teste.jpg');
    background-size: cover;
    background-position: center;
}
.section-title {
    text-align: center;
    color: #132766;
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #132766;
    margin: 15px auto 0;
    border-radius: 2px;
}
/* FORMULÁRIO MODERNO */
.modern-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    position: relative;
    flex: 1;
    margin-bottom: 15px;
}
.form-group.full-width {
    flex: 0 0 100%;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.custom-select select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}
.form-group input:focus,
.form-group textarea:focus,
.custom-select select:focus {
    border-color: #132766;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 91, 215, 0.2);
    background-color: white;
}
.form-group i {
    position: absolute;
    left: 15px;
    top: 40px;
    color: #6c757d;
    font-size: 1.1rem;
}
.custom-select {
    position: relative;
}
.custom-select i {
    position: absolute;
    right: 15px;
    top: 40px;
    left: auto;
    pointer-events: none;
}
textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 15px;
}
/* BOTÃO DE ENVIO */
.btn-submit {
    background: #132766;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-submit:hover {
    background: #132766;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 91, 215, 0.3);
}
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.form-note {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}
/* RESPONSIVIDADE */
@media (max-width: 768px) {
}
@media (max-width: 768px) {
    /* Ajustes gerais */
    .container {
        width: 95%;
        padding: 0 10px;
    }
    /* Header */
    header .container {
        flex-direction: row;
        align-items: center;
    }
    .logo-img {
        width: 80px;
        margin-right: 15px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }
    /* Menu mobile */
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }
    nav.active {
        left: 0;
    }
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    nav ul li {
        margin: 15px 0;
    }
    /* Hero Section */
    .hero {
        height: 60vh;
        margin-top: 60px;
    }
    .hero h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 1rem;
    }
    /* Seções */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    .section-title::after {
        width: 60px;
        height: 3px;
        margin: 10px auto;
    }
    /* Destaques */
    .destaques {
        padding: 50px 0;
    }
    .destaques-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* Sobre Preview */
    .sobre-preview .container,
    .nossa-historia .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sobre-imagem img,
    .historia-imagem img {
        order: -1;
    }
    /* Serviços */
    .servico-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .servico-item.reverse {
        direction: ltr;
    }
    /* Valores e Equipe */
    .valores-grid,
    .equipe-grid {
        grid-template-columns: 1fr;
    }
    /* Projetos */
    .galeria-projetos .container {
        grid-template-columns: 1fr;
    }
    .projeto-item {
        min-width: 100%;
    }
    /* Footer */
    footer .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-col {
        margin-bottom: 30px;
    }
    /* Formulário */
    .formulario-contato {
        padding: 40px 0;
    }
    .modern-form {
        padding: 20px;
    }
    .form-group input,
    .form-group textarea,
    .custom-select select {
        padding: 12px 12px 12px 40px;
    }
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Ajustes para telas muito pequenas (até 480px) */
@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    .filtro-btn {
        padding: 6px 12px;
        margin: 0 5px 5px 0;
    }
    .page-header {
        height: 200px;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    /* Melhorias para Mobile */
@media (max-width: 768px) {
    /* Desativar zoom em inputs */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Ajustar header */
    header {
        padding: 10px 0;
    }
    
    .logo-img {
        width: 80px;
        margin-right: 10px;
    }
    
    /* Menu mobile melhorado */
    nav {
        width: 100%;
        left: -100%;
    }
    
    nav.active {
        left: 0;
    }
    
    /* Ajustar hero section */
    .hero {
        height: auto;
        padding: 80px 0;
    }
    
    /* Melhorar toques em botões */
    .btn, .filtro-btn, .btn-projeto {
        padding: 12px 20px;
        min-width: 120px;
    }
    
    /* Formulários mais legíveis */
    .form-group input, 
    .form-group textarea {
        padding: 15px !important;
    }
    
    .form-group i {
        display: none;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    /* Textos mais legíveis */
    body {
        font-size: 15px;
        line-height: 1.5;
    }
    
    /* Espaçamentos reduzidos */
    .container {
        padding: 0 10px;
    }
    
    /* Botões maiores para toque */
    .btn {
        padding: 12px 24px;
        display: block;
        text-align: center;
        margin: 10px 0;
    }
    
    /* Galeria em coluna única */
    .galeria-projetos .container {
        grid-template-columns: 1fr;
    }
}
/* Correção definitiva para mobile */
@media screen and (max-width: 768px) {
    body {
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
        overscroll-behavior-y: contain;
    }
    
    /* Elementos interativos maiores */
    a, button, .btn, input[type="submit"] {
        min-width: 48px;
        min-height: 48px;
    }
}
/* RESET PARA SAFARI */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-text-size-adjust: 100%;
    }
}

@media screen and (max-width: 768px) {
    /* Correção específica para Safari */
    @supports (-webkit-touch-callout: none) {
        /* Menu Mobile */
        nav {
            -webkit-overflow-scrolling: touch; /* Suaviza scroll */
            overflow-y: auto;
        }
        .form-row {
            -webkit-flex-direction: column;
            flex-direction: column;
        }
        .destaque-item:hover {
            -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
        }
    }
    header .container {
        display: -webkit-flex;
        display: flex;
    }
    .hero {
        height: 50vh;
        -webkit-height: 50vh;
    }
    .destaques-grid {
        -webkit-grid-template-columns: 1fr;
        grid-template-columns: 1fr;
    }
    
    /* Menu Toggle - Estilo para Safari */
    .menu-toggle {
        -webkit-appearance: none;
        appearance: none;
    }
}
/* Inputs em iPhones */
@supports (-webkit-touch-callout: none) {
    input, textarea, select {
        font-size: 16px !important; 
    }
    .btn:hover, .btn:active {
        background: #ff7e14;
        -webkit-transform: translateY(-3px);
        transform: translateY(-3px);
    }
}
}
