/* 
 * Arco Arquitetura - Estilos Principais
 * Versão: 2.0
 * Atualizado em: 2025-04-24
 * Cache-control: no-cache
 */

/* Reset Universal - Consolidado para evitar duplicações */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100% !important;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* Correção para dispositivos móveis que garantirá que não haja overflow horizontal */
body * {
    max-width: 100%;
    word-wrap: break-word;
}

/* Normalize containers e rows */
.container, .row {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Container padrão */
.container {
    box-sizing: border-box;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Remover duplicações de col-md-6 que já têm box-sizing */
.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.header.transparent {
    background-color: transparent;
}

.header.solid {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.solid .nav-link {
    color: #5F3119;
}

.header.transparent .nav-link {
    color: #5F3119;
}

.header.transparent .logo-text {
    color: #5F3119;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-logo {
    max-width: 150px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Logo texto no lugar da imagem */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #5F3119;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.logo-text::before {
    content: '//';
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #B68D79;
    font-weight: 400;
}

.logo-text:hover {
    color: #B68D79;
}

.logo-text:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #B68D79;
    transition: width 0.3s ease;
}

.logo-text:hover:after {
    width: 100%;
}

.nav-list {
    display: flex;
    gap: 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    color: #5F3119;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #B68D79;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #B68D79;
}

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

/* Banner Section - Novo Design */
.banner {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.banner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235F3119' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
    z-index: 1;
}

.banner-overlay {
    display: none;
}

.banner-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    padding: 0 2rem;
    color: #333;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banner-title, .banner-description, .banner-btns, .banner-geometric {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.banner-title.animate, .banner-description.animate, .banner-btns.animate, .banner-geometric.animate {
    opacity: 1;
    transform: translateY(0);
}

.banner-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    color: #5F3119;
    position: relative;
    display: inline-block;
}

.banner-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #B68D79, #5F3119);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.banner-description {
    font-size: 1.4rem;
    margin: 2.5rem auto;
    line-height: 1.6;
    color: #555;
    max-width: 700px;
    position: relative;
}

.banner-description::before,
.banner-description::after {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: rgba(182, 141, 121, 0.3);
    position: absolute;
}

.banner-description::before {
    top: -20px;
    left: -15px;
}

.banner-description::after {
    bottom: -40px;
    right: -15px;
}

.banner-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    transition: all 0.3s ease;
    width: 100%;
}

.banner-geometric {
    position: absolute;
    z-index: 1;
}

.geometric-1 {
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    border: 15px solid rgba(182, 141, 121, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.geometric-2 {
    bottom: 15%;
    right: 5%;
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(95, 49, 25, 0.05);
    animation: morph 10s linear infinite alternate;
}

.geometric-3 {
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: rgba(182, 141, 121, 0.1);
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.geometric-4 {
    bottom: 20%;
    left: 10%;
    width: 120px;
    height: 120px;
    border-radius: 30% 70% 50% 50% / 50% 50% 70% 30%;
    border: 10px solid rgba(95, 49, 25, 0.05);
    animation: morph 8s linear infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(45deg); }
    100% { transform: translateY(0) rotate(45deg); }
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Sistema unificado de botões e contêineres */
.btn-container,
.button-container,
.banner-btns,
.about-btns,
.project-btns,
.contact-links,
.services-cta,
.projects-more {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Alinhamentos específicos por contêiner */
.banner-btns {
    justify-content: center;
    margin: 30px auto 0;
    max-width: 600px;
}

.btn-container,
.button-container,
.about-btns,
.project-btns,
.contact-links,
.services-cta,
.projects-more {
    justify-content: center;
}

/* Botões principais */
.btn-primary, 
.btn-secondary,
.services-cta .btn,
button[type="submit"],
.contact-form button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    min-width: 160px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: break-word;
}

/* Estilos específicos para os botões do banner */
.banner-btns .btn-primary,
.banner-btns .btn-secondary {
    min-width: 200px;
    width: calc(50% - 10px);
    max-width: 240px;
    text-align: center;
    margin: 0;
    padding: 1.1rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 576px) {
    .banner-btns .btn-primary,
    .banner-btns .btn-secondary {
        width: 100%;
        max-width: 280px;
        margin: 5px auto;
    }
}

.btn-primary {
    background: linear-gradient(45deg, #5F3119, #B68D79);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(95, 49, 25, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #5F3119, #5F3119);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(95, 49, 25, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #5F3119;
    border: 2px solid #B68D79;
}

.btn-secondary:hover {
    background-color: rgba(182, 141, 121, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Estilos específicos para botões em contexto */
.services-cta .btn {
    background-color: white;
    color: #5F3119;
    border: none;
}

.services-cta .btn:hover {
    background-color: #F6F5EC;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
    background-color: #B68D79;
    color: white;
    border: none;
    border-radius: 4px;
}

.contact-form button:hover {
    background-color: #5F3119;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Sobre */
.about {
    padding: 8rem 0;
    background-color: #F6F5EC;
    position: relative;
    overflow: hidden;
    margin-top: -2px; /* Para evitar gap entre seções */
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1535957998253-26ae1ef29506?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=872&q=80') no-repeat;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.about .row {
    position: relative;
    z-index: 1;
    align-items: center;
}

.about-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    padding: 3rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(95, 49, 25, 0.08);
    border-left: 5px solid #5F3119;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto; /* Centralizar horizontalmente */
    max-width: 100%;
}

.about-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(95, 49, 25, 0.12);
}

.about-logo {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.about-logo-container:hover .about-logo {
    opacity: 0.9;
}

.about-content {
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    margin: 0 auto; /* Centralizar horizontalmente */
    max-width: 100%;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #5F3119, #B68D79);
}

.section-subtitle,
.services-subtitle {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #B68D79;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-subtitle:after,
.services-subtitle:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #B68D79;
    left: 0;
    bottom: -5px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #5F3119;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem;
    background-color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid #B68D79;
}

.feature i {
    color: #B68D79;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.feature:hover i {
    transform: scale(1.2);
    color: #5F3119;
}

.feature span {
    font-weight: 500;
    color: #333;
}

/* Estatísticas no "Sobre" */
.about-stats {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    width: 100%;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
    padding: 1rem;
    margin: 0.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #5F3119, #B68D79);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.counter {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #5F3119;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

/* Correções específicas para iOS */
@supports (-webkit-touch-callout: none) {
    html, body {
        height: -webkit-fill-available;
        overflow-x: hidden !important;
    }
    
    section {
        overflow-x: hidden;
    }
    
    /* Evita problemas de layout com o teclado virtual */
    input, select, textarea {
        font-size: 16px !important; /* Evita zoom em iOS */
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    .banner {
        min-height: 85vh;
        height: auto;
    }
    
    .container, section, .row {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }
    
    .banner-content, .banner-btns {
        padding-left: var(--safe-area-inset-left);
        padding-right: var(--safe-area-inset-right);
    }
}

/* Fix para dispositivos Android */
@supports (padding: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: env(safe-area-inset-bottom);
        padding-top: env(safe-area-inset-top);
    }
    
    .header {
        padding-top: max(0.5rem, env(safe-area-inset-top));
    }
}

/* Estilos para a seção de Serviços */
.services {
    padding: 8rem 0;
    background-color: #fff;
    position: relative;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.services-intro {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid #B68D79;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(95, 49, 25, 0.05) 0%, rgba(182, 141, 121, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: #B68D79;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.service-card:hover .service-icon {
    color: #5F3119;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5F3119;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #B68D79;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #5F3119;
}

.service-link:hover i {
    transform: translateX(5px);
}

.services-cta {
    background: linear-gradient(135deg, #5F3119 0%, #B68D79 100%);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(95, 49, 25, 0.15);
    margin-top: 4rem;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 60%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.services-cta:hover::before {
    opacity: 1;
}

.services-cta p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.shine-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    pointer-events: none;
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    20%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* Estilos para a seção de Projetos */
.projects {
    padding: 8rem 0;
    background-color: #F6F5EC;
    position: relative;
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: transparent;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #5F3119;
    color: white;
    box-shadow: 0 5px 15px rgba(95, 49, 25, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #5F3119;
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: #B68D79;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: #5F3119;
}

.project-link:hover i {
    transform: translateX(5px);
}

/* Estilos para a seção de Contato */
.contact {
    padding: 8rem 0;
    background-color: #fff;
    position: relative;
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2.5rem;
}

.contact-info {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-item i {
    background-color: #F6F5EC;
    color: #B68D79;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background-color: #5F3119;
    color: white;
    transform: scale(1.1);
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5F3119;
    margin-bottom: 0.3rem;
}

.contact-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

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

.social-link:hover {
    background-color: #5F3119;
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    background-color: #F6F5EC;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #5F3119;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #B68D79;
    outline: none;
}

/* Estilos para o Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-logo {
    grid-column: 1 / 3;
}

.footer-logo .logo-text {
    color: #fff;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-logo p {
    color: #b0b0b0;
    max-width: 80%;
}

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

.footer-links ul, 
.footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a, 
.footer-services a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover, 
.footer-services a:hover {
    color: #B68D79;
}

.footer-contact p {
    color: #b0b0b0;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: #B68D79;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    color: #B68D79;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #5F3119;
    transition: all 0.3s ease;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.solicite-orcamento-btn {
    display: inline-block;
    background: linear-gradient(45deg, #5F3119, #B68D79);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(95, 49, 25, 0.2);
    text-align: center;
}

.solicite-orcamento-btn:hover {
    background: linear-gradient(45deg, #5F3119, #5F3119);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(95, 49, 25, 0.3);
}

/* ======= SISTEMA UNIFICADO DE MEDIA QUERIES ======= */
/* Desktops e telas grandes */
@media (min-width: 1200px) {
    /* Layout específico de 3x2 para serviços em desktop */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Layout específico de 3x2 para projetos em desktop */
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tablets grandes e notebooks pequenos */
@media (max-width: 1199px) and (min-width: 1025px) {
    /* Layout para telas médias - ainda 3 colunas mas mais próximas */
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .banner-title {
        font-size: 3.5rem;
    }
    
    /* Ajustando para 2 colunas em tablets */
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 992px) {
    /* Fix específico para conteúdo de largura total */
    html, body, .container, .row {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }
    
    .banner-btns {
        justify-content: center;
        max-width: 520px;
        gap: 10px;
    }
    
    .banner-btns .btn-primary,
    .banner-btns .btn-secondary {
        min-width: 180px;
        font-size: 0.95rem;
    }
    
    .banner-title {
        font-size: 3rem;
        word-break: break-word;
        max-width: 100%;
    }
    
    .banner-description {
        font-size: 1.2rem;
        max-width: 100%;
    }
    
    .geometric-1, .geometric-2, .geometric-3, .geometric-4 {
        display: none;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about .row {
        flex-direction: column;
    }
    
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-logo-container {
        margin-bottom: 2rem;
    }
}

/* Smartphones */
@media (max-width: 576px) {
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .banner-btns {
        flex-direction: column;
        max-width: 280px;
    }
}

/* Smartphones pequenos */
@media (max-width: 400px) {
    .banner-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-primary, 
    .btn-secondary,
    .services-cta .btn,
    .contact-form button {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .banner-btns {
        max-width: 100%;
        width: 100%;
    }
    
    .banner-btns .btn-primary,
    .banner-btns .btn-secondary {
        max-width: 100%;
        width: 100%;
        margin: 5px 0;
    }
    
    .container {
        padding-left: 12px;
        padding-right: 12px;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }
    
    html, body {
        font-size: 14px;
        overflow-x: hidden;
    }
    
    section {
        padding: 3rem 0;
        overflow-x: hidden;
    }
    
    input, select, textarea {
        font-size: 14px;
        padding: 8px;
    }
    
    .banner {
        min-height: 80vh;
    }
    
    .container, section, .row {
        max-width: 100vw;
        width: 100vw;
        overflow-x: hidden;
    }
    
    .banner-content, .banner-btns {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    body {
        line-height: 1.5;
    }
    
    .header {
        padding: 10px 0;
    }
}

/* Correções específicas para iOS */
@supports (-webkit-touch-callout: none) {
    html, body {
        height: -webkit-fill-available;
        overflow-x: hidden !important;
    }
    
    section {
        overflow-x: hidden;
    }
    
    /* Evita problemas de layout com o teclado virtual */
    input, select, textarea {
        font-size: 16px !important; /* Evita zoom em iOS */
        -webkit-appearance: none;
        border-radius: 0;
    }
    
    .banner {
        min-height: 85vh;
        height: auto;
    }
    
    .container, section, .row {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }
    
    .banner-content, .banner-btns {
        padding-left: var(--safe-area-inset-left);
        padding-right: var(--safe-area-inset-right);
    }
}

/* Fix para dispositivos Android */
@supports (padding: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: env(safe-area-inset-bottom);
        padding-top: env(safe-area-inset-top);
    }
    
    .header {
        padding-top: max(0.5rem, env(safe-area-inset-top));
    }
}

/* PARTE 3: Correção de conflitos e duplicidades no CSS do carrossel */
.projects-grid.carousel-container .project-item {
    aspect-ratio: 4/3 !important;
    height: auto !important;
    min-height: 180px !important;
    max-height: 400px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.projects-grid.carousel-container .project-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.projects-grid.carousel-container .project-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.projects-grid.carousel-container .project-overlay {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(0deg, rgba(95,49,25,0.9) 0%, rgba(95,49,25,0.7) 50%, rgba(95,49,25,0) 100%) !important;
    color: #fff !important;
    padding: 30px 15px 15px 15px !important;
    z-index: 2 !important;
}

.projects-grid.carousel-container .project-category {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #ffd9b3 !important;
    margin-bottom: 5px !important;
}

.projects-grid.carousel-container .project-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.projects-grid.carousel-container .project-link {
    color: #fff !important;
    display: inline-block !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    transition: color 0.2s !important;
    border-bottom: 1px solid rgba(255,255,255,0.3) !important;
    padding-bottom: 2px !important;
}

.projects-grid.carousel-container .project-link:hover {
    color: #ffd9b3 !important;
    border-bottom-color: #ffd9b3 !important;
}

.projects-grid.carousel-container .project-link i {
    margin-left: 5px !important;
    transition: transform 0.2s !important;
}

.projects-grid.carousel-container .project-link:hover i {
    transform: translateX(3px) !important;
}

.carousel-button {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    background: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
}

.prev-button { left: -25px !important; }
.next-button { right: -25px !important; }

.carousel-button:hover {
    background: #5F3119 !important;
    box-shadow: 0 5px 15px rgba(95,49,25,0.4) !important;
}

.carousel-button:hover svg path {
    stroke: #fff !important;
}

/* Responsivo para mobile */
@media (max-width: 767px) {
    .projects-grid.carousel-container .project-overlay {
        padding: 20px 12px 12px 12px !important;
    }
    
    .projects-grid.carousel-container .project-title {
        font-size: 16px !important;
        margin-bottom: 6px !important;
    }
    
    .projects-grid.carousel-container .project-category {
        font-size: 11px !important;
    }
    
    .carousel-button {
        width: 40px !important;
        height: 40px !important;
    }
    
    .prev-button { left: -15px !important; }
    .next-button { right: -15px !important; }
}

.carousel-slide .slide-grid {
    display: grid !important;
    gap: 20px !important;
    width: 100% !important;
    height: 100% !important;
}

@media (min-width: 992px) {
    .carousel-slide .slide-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .carousel-slide .slide-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
    }
}

@media (max-width: 575px) {
    .carousel-slide .slide-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(3, 1fr) !important;
    }
}

/* Reset de estilos conflitantes */
.projects-grid.carousel-container .project-title,
.projects-grid.carousel-container .project-description,
.projects-grid.carousel-container .project-category {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

/* Estilos do carrossel de projetos */
.carousel-container {
    position: relative;
    margin: 40px 0;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 600px; /* Altura fixa para o carrossel */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.slide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas */
    grid-template-rows: repeat(2, 1fr); /* 2 linhas */
    gap: 20px;
    height: 100%;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
}

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

.project-item:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transition: all 0.3s ease;
}

.project-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.project-category {
    font-size: 14px;
    opacity: 0.8;
    display: block;
    margin-bottom: 5px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-button:hover {
    background: #5F3119;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.prev-button {
    left: 10px !important;
}

.next-button {
    right: 10px !important;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
}

.carousel-indicator.active {
    background-color: #5F3119;
}

/* Responsividade do carrossel */
@media (max-width: 768px) {
    .carousel-wrapper {
        height: 500px;
    }
}

@media (max-width: 576px) {
    .carousel-wrapper {
        height: 400px;
    }
} 