/*
  NOVA PALETA DE CORES - HAUSE (Baseado no Manual da Marca)
  - Cor Primária (Laranja): #e07a27
  - Cor Secundária (Amarelo): #edde59
  - Cor de Destaque (Azul): #2f5cd2
  - Cor de Texto (Escuro): #4c4b4a
  - Cor de Texto (Claro): #ffffff
  - Fundo (Claro): #f8f9fa
  - Fundo (Escuro): #4c4b4a
*/

:root {
    --primary-color: #e07a27;   /* Laranja Médio */
    --secondary-color: #edde59; /* Amarelo Médio */
    --accent-color: #2f5cd2;    /* Azul Médio */
    --text-dark: #4c4b4a;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #4c4b4a;
    --font-family: "Montserrat", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    font-size: 16px;
    position: relative;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    height: 90px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--accent-color);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid --secondary-color
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    width: auto;
    height: 70px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

header nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

nav a {
    color: var(--background-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--background-light);
    font-weight: 700;
}

.whatsapp-link i {
    font-size: 24px;
}

.whatsapp-link span {
    font-size: 18px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 30px;
    background-color: var(--background-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Scroll Margins */
section[id] {
    scroll-margin-top: 90px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: var(--text-light);
    position: relative;
    background-image: url('background-hause2.png');
    background-position: center;
    background-size: cover;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.btn {
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 30px;
    border: none;
    color: var(--text-light);
    background-color: var(--primary-color);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}


.services-section,
.prices-section,
.purpose-section,
.address-section {
    padding: 80px 30px;
    text-align: center;
}

.services-section h2,
.prices-section h2,
.purpose-section h2,
.address-section h2,
.contact-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

/* Services Section */
.services-section {
    background-color: var(--background-light);
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 15px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 30px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Prices Section */
.prices-section {
    background-color: #ffffff;
}

.prices-section p {
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #666;
}

/* Version 1: Image Styles */
.prices-container-img {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.titulo-unidade-bela-vista{
    color: #3fc94c;
}

.titulo-unidade-consolacao{
    color: var(--primary-color);
}

.price-unit-img {
    max-width: 500px;
    width: 100%;
}


.price-unit-img h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-unit-img img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}




/* About Us Section */
.about-us-section {
    padding: 80px 30px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.about-us-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-us-logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.about-us-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Purpose Section */
.purpose-section {
    background-color: var(--accent-color);
}

.purpose-section h2 {
    color: white;
}

.purpose-section p {
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
}

.purpose-cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.purpose-card {
    background-color: #ffffff;
    border: 1px solid #eee;
    width: 100%;
    max-width: 320px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.purpose-card:hover {
    transform: translateY(-5px);
}

.purpose-card-content {
    padding: 35px 30px;
    text-align: center;
}

.purpose-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.purpose-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.purpose-description {
    font-size: 1rem;
    line-height: 1.6;
    
}

.purpose-description-p {
    color: #666;
}

/* Address Section */
.address-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}
.address-unit {
    max-width: 600px;
    width: 100%;
    margin-bottom: 30px;
}

.address-unit h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.address-unit a {
    display: inline-block;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.address-unit a:hover {
    color: var(--accent-color);
}

.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 350px;
    border-radius: 15px;
    border: 1px solid #ddd;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 30px;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--text-light);
}

.contact-section h2 {
    color: var(--text-light);
}

.contact-section p {
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.contact-cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    width: 100%;
    max-width: 340px;
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-card h3 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.contact-card p {
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 1rem;
    color: var(--text-dark);
}

.contact-card .btn {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.contact-card .btn:hover {
    background-color: #d8ca4e;
}

/* Social Bar */
.social-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    color: var(--text-light);
    font-size: 35px;
    text-decoration: none;
    background-color: var(--accent-color);
    border-radius: 50%;
    background-color: #25D366;
    transition: all 0.3s ease;
}

.social-bar a:hover {
    background-color: #1EBE57;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

footer p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}


/* Legal Pages */
.legal-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 20px 50px 20px;
}

.legal-page-content h1 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.legal-page-content>p:first-of-type {
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
}

.legal-page-content h2 {
    font-size: 1.9rem;
    margin-top: 45px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-page-content p,
.legal-page-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #343a40;
    margin-bottom: 1.2em;
}

.legal-page-content strong {
    color: var(--primary-color);
}

.legal-page-content a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Consent Banner */
#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 20px;
    z-index: 2000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}

#consent-banner.hidden {
    transform: translateY(150%);
}

.consent-text {
    font-size: 0.9rem;
}

.consent-text a {
    color: var(--secondary-color);
    text-decoration: underline;
}

#accept-consent-btn {
    flex-shrink: 0;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 992px) {
    .price-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    header {
        height: 70px;
        padding: 0 20px;
    }

    .logo {
        height: 50px;
    }

    header nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px 0;
    }

    header.open {
        background-color: var(--accent-color);
    }

    header.open nav {
        display: block;
        background-color: var(--accent-color);
    }

    header nav ul {
        flex-direction: column;
        gap: 0;
    }

    header nav ul li {
        width: 100%;
        text-align: center;
    }

    header nav ul li a {
        display: block;
        padding: 15px 0;
    }

    .whatsapp-link {
        padding: 15px 0;
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
    }

    header.open .menu-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    header.open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    header.open .menu-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    section[id] {
        scroll-margin-top: 70px;
    }

    .hero-content {
        margin-top: -15%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .services-section h2,
    .prices-section h2,
    .about-us-section h2,
    .purpose-section h2,
    .address-section h2,
    .contact-section h2 {
        font-size: 2.2rem;
    }

    .services-container,
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card, .contact-card {
        width: 90%;
        max-width: 400px;
    }

    footer {
        padding-bottom: 80px;
    }

    #consent-banner {
        flex-direction: column;
        text-align: center;
    }

    .consent-text {
        margin-bottom: 15px;
    }

    .price-table th, .price-table td {
        padding: 8px;
        font-size: 0.9rem;
    }
}