:root {
    --primary-color: #FFD700; /* Dourado/Amarelo */
    --secondary-color: #212121; /* Preto */
    --accent-color: #FFD700; /* Dourado para links/destaques */
    --background-light: #F5F5F5; /* Cinza claro/Branco */
    --text-color: #333333; /* Cinza escuro para texto */
    --white-color: #FFFFFF; /* Branco */
    --gray-color: #CCCCCC; /* Cinza */
    --whatsapp-green: #25D366;
    --whatsapp-dark-green: #128C7E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header */
.header {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(33, 33, 33, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white-color);
}

.logo img {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 16rem;
    height: 5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Header / Hero Section (Fisiológicas + Segurança - Base da Pirâmide) */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../imagens/houses.jpg'); /* Imagem de fundo */
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white; /* Cor do texto para contrastar com a imagem */
    overflow: hidden;
    padding: 80px 20px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.hero h1 {
    text-align: center;
    font-size: 3em;
    margin-top: 50px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 400;
}

.hero img {
    text-align: center;
    max-height: 40px;
    margin-bottom: 15px;
}

.btn {
    background-color: var(--black);
    border: solid white 1px;
    color: var(--white);
    padding: 15px 30px;
    margin-bottom: 15px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background-color: #d17a15;
    border: #d17a15;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; /* Alinha itens ao centro no eixo cruzado (horizontal) */
    text-align: center; /* Alinha texto e elementos inline ao centro */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--whatsapp-green);
    margin-right: 0.5rem;
}

/* Seção "Viva Sem Preocupações" (Auto-realização - Foco no Futuro) */
.live-worry-free {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--white);
}

.live-worry-free h2 {
    font-size: 2.5em;
    color: var(--text-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.live-worry-free p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background-color: #F5F5F5;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.benefit-item h3 {
    color: var(--text-color);
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-item p {
    font-size: 1em;
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p,
.footer-section a {
    color: var(--gray-color);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #444444;
    padding-top: 1rem;
    text-align: center;
    color: var(--gray-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--whatsapp-green);
    color: var(--white-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* WhatsApp Contact */
.whatsapp-contact {
    background: var(--whatsapp-green);
    color: var(--white-color);
    padding: 2rem 0;
    text-align: center;
}

.whatsapp-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.whatsapp-input {
    flex: 1;
    min-width: 300px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.whatsapp-btn {
    background: var(--whatsapp-dark-green);
    color: var(--white-color);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #0d7377;
    transform: translateY(-2px);
}

/* Formulário de Cotação (Chamada para Ação Final) */
.quote-form-section {
    background-color: var(--light-bg);
    padding: 60px 20px;
    text-align: center;
}

.quote-form-section h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.quote-form-section p.offer-timer {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--red-alert);
    margin-bottom: 10px;
}

.quote-form-section p.promo-count {
    font-size: 1.1em;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.quote-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="tel"] {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Garante que padding não aumente a largura */
}

.form-group input[type="submit"] {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    font-size: 1.1em;
}

.form-group input[type="submit"]:hover {
    background-color: #004494;
}