/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #71734b;
    --color-secondary: #d8c3b0;
    --color-dark: #384028;
    --color-light: #f8f5f2;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #fefcf9;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

/* ----- Modal PDF (desktop) ----- */
.modal {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fondo oscuro */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    height: 90%;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.modal-content iframe {
    flex: 1;
    width: 100%;
    /* Ocupa todo el espacio */
    border-radius: 8px;
    border: none;
}

/* Botón cerrar */
.fechar {
    color: #333;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.fechar:hover {
    color: red;
}

/* Animación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
    text-decoration: none !important;
    /* Esta línea elimina el subrayado */
    border: none;
    /* Elimina cualquier borde */
    outline: none;
    /* Elimina el outline */

}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    text-decoration: none !important;
    /* También en hover */
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: var(--color-dark);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav a:hover {
    color: var(--color-primary);
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(56, 64, 40, 0.3), rgba(56, 64, 40, 0.5)),
        url('../img/fondomoderno.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(113, 115, 75, 0.2) 0%, rgba(56, 64, 40, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(0, 0, 0, 0.5);
    /* Sombra más pronunciada */
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(0, 0, 0, 0.4);
    /* Misma técnica para el párrafo */
}

.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(113, 115, 75, 0.3);
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 64, 40, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Seções comuns */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    color: var(--color-dark);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Sobre */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.destaques {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.destaque-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.destaque-item i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.destaque-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.sobre-img .img-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}


.sobre-imagen {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 30%;
    /* 30% desde arriba */
    display: block;
    border-radius: 10px;

}

/*.sobre-img .img-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: url('../img/sobre-nos.jpg') no-repeat center center/cover;
    height: 400px;
}*/

/* Overlay sutil con los colores de la marca */
.sobre-img .img-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(113, 115, 75, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(216, 195, 176, 0.1) 0%, transparent 50%),
        linear-gradient(to bottom right, rgba(56, 64, 40, 0.05), transparent);
    z-index: 1;
    pointer-events: none;
    /* Importante para no bloquear la imagen */
}

/* Ajustes de color de la imagen */
.sobre-img .img-frame {
    filter: brightness(0.92) saturate(0.85) contrast(1.1);
}

/* Serviços */
.servicos {
    background-color: var(--color-light);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.servico-item {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.servico-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(113, 115, 75, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.servico-icon i {
    font-size: 2rem;
    color: var(--color-primary);
}

.servico-item h3 {
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.servico-item p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Projetos */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.projeto-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.projeto-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.projeto-img {
    position: relative;
    width: 100%;
    height: 250px;
    /* ajusta la altura */
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    filter: brightness(0.92) saturate(0.85) contrast(1.1);
}

.projeto-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(113, 115, 75, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(216, 195, 176, 0.1) 0%, transparent 50%),
        linear-gradient(to bottom right, rgba(56, 64, 40, 0.05), transparent);
    z-index: 1;
    pointer-events: none;
}



/* Imagen específica para este proyecto */
.img-casa-serra {
    background-image: url('../img/casa1.jpeg');

}

/* Puedes hacer lo mismo para los otros */
.img-chale-montanha {
    background-image: url('../img/casa2.jpeg');
}

.img-casa-praia {
    background-image: url('../img/casa3.jpeg');
}

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 64, 40, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.projeto-item:hover .projeto-overlay {
    opacity: 1;
}

.projeto-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 2px solid white;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.projeto-link:hover {
    background-color: white;
    color: var(--color-dark);
}

.projeto-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--color-dark);
    font-size: 1.2rem;
}

.projeto-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Contato */
.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contato-info h3 {
    margin-bottom: 1rem;
    color: var(--color-dark);
    font-size: 1.5rem;
}

.contato-info>p {
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.info-item h4 {
    color: var(--color-dark);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.info-item p {
    color: var(--color-text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;

}

.social-links a {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-dark);
    transform: translateY(-3px);
}

.contato-form {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contato-form input,
.contato-form textarea {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.contato-form input:focus,
.contato-form textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(113, 115, 75, 0.2);
}

.contato-form button {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.form-status {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
}

/* Mapa */
.mapa {
    padding: 4rem 0 0;
}

.mapa-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    bottom: -8px;
    left: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {

    .servicos-grid,
    .projetos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        transition: var(--transition);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        width: 100%;
        padding: 2rem;
    }

    .nav li {
        margin: 0;
        margin-bottom: 1.5rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
    }

    .servicos-grid,
    .projetos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .destaques {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal {
        padding: 0;
        align-items: flex-start;
    }

    .modal-content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        /* Pantalla completa */
        padding: 50px 15px 15px 15px;
        max-width: none;
        animation: slideUp 0.3s ease;
    }

    .modal-content iframe {
        height: calc(100% - 20px);
        border-radius: 0;
    }

    .fechar {
        top: 15px;
        right: 20px;
        background: rgba(255, 255, 255, 0.9);
        width: 40px;
        height: 40px;
        font-size: 24px;
        z-index: 100001;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

}


@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        width: 95%;
    }
}