/* ================= RESET E VARIÁVEIS ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    --primary-color: #2c3e50;
    /* Cinza/Azul escuro sofisticado */
    --accent-color: #c0a062;
    /* Dourado/Madeira suave */
    --accent-hover: #a88b54;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
}

body {
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #fff;
}

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

/* Efeitos de Rolagem JS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= CABEÇALHO (HEADER) ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.logo img {
    height: 100px;
    object-fit: contain;
    /* Aumenta a logo visualmente sem afetar a altura do menu */
    transform: scale(1.4); 
    transform-origin: left center;
}

.contact-info {
    color: var(--text-dark);
    font-size: 0.9rem;
    text-align: right;
}

.header-zap {
    color: #25d366;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    transition: color 0.3s;
}

.header-zap:hover {
    color: #128c7e;
}

/* ================= HERO SLIDER ================= */
.hero-slider-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.6) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
}

.hero-list {
    list-style: none;
    margin-bottom: 35px;
}

.hero-list li {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hero-list li i {
    color: var(--accent-color);
    margin-top: 5px;
}

.cta-btn {
    display: inline-block;
    background-color: var(--accent-color);
    padding: 0;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    padding: 18px 35px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.cta-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

/* ================= NECESSIDADES (FEATURES) ================= */
.features {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--bg-light);
}

.section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #555;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.feature-img-container {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.feature-item:hover .feature-img-container img {
    transform: scale(1.05);
}

.feature-item p {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================= AVALIAÇÃO (SERVICE) CTA MEIO ================= */
.service {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 5%;
    min-height: 500px;
    background-color: #fff;
}

.service-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/ATENDIMENTO\ ARQUITETO.png');
    background-size: cover;
    background-position: center 40%;
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5); /* Fundo quase sólido para legibilidade */
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.service-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.service-content p {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ================= QUEM SOMOS (ABOUT) ================= */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.text-left {
    text-align: left;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Imagens Duplas no Quem Somos */
.double-image {
    display: flex;
    gap: 15px;
    box-shadow: none;
    border-radius: 0;
}

.double-image img {
    width: 50%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ================= CARROSSEL ANTES E DEPOIS ================= */
.before-after-section {
    padding: 60px 0 100px 0;
    background-color: var(--bg-light);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 20px;
}

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

.carousel-slide {
    min-width: 100%;
    display: flex;
    gap: 20px;
}

.ba-card {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.ba-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.ba-card:hover img {
    transform: scale(1.03);
}

.ba-label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.label-antes {
    background: #e74c3c;
}

.label-depois {
    background: #2ecc71;
}

.carousel-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    position: absolute;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* ================= FOOTER / CONTATO ================= */
.footer-contact {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-item {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.address-item strong {
    color: #fff;
    font-size: 1.05rem;
}

.address-item small {
    color: #ccc;
}

.contact-highlight {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.contact-highlight h3 {
    justify-content: center;
}

.contact-highlight p {
    margin-bottom: 20px;
    color: #ccc;
}

.whatsapp-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25d366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.whatsapp-btn-large:hover {
    background-color: #128c7e;
    transform: scale(1.05);
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 10px;
    transition: color 0.3s;
}

.instagram-link:hover {
    color: var(--accent-color);
}

.instagram-link i {
    font-size: 1.8rem;
    background: -webkit-linear-gradient(#f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-bottom {
    background-color: #1a252f;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

/* ================= WHATSAPP FIXO ================= */
.whatsapp-fixo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-fixo:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 992px) {
    .features-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo img {
        transform-origin: center center;
        transform: scale(1.2); /* Reduz levemente a escala no celular para não transbordar na lateral */
    }

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

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-list li {
        font-size: 1rem;
    }

    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Nova Separação da Section Service no Mobile */
    .service {
        flex-direction: column-reverse; /* Traz a imagem para cima e o card para baixo */
        padding: 0;
        min-height: auto;
    }

    .service-bg-image {
        position: relative; /* Remove o absolute para separar na estrutura */
        height: 350px; /* Altura fixa da imagem de topo */
    }

    .service-content {
        padding: 50px 5%;
        border-radius: 0;
        box-shadow: none;
        background: #fff;
    }

    .double-image {
        flex-direction: column;
    }

    .double-image img {
        width: 100%;
    }

    .carousel-slide {
        flex-direction: column;
        gap: 10px;
    }

    .ba-card img {
        height: 250px;
    }

    .prev-btn {
        left: -15px;
    }

    .next-btn {
        right: -15px;
    }

    .contact-highlight {
        padding: 20px 10px;
    }

    .whatsapp-btn-large {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
}