/* Estilos gerais */
:root {
    --primary-color: #484864;
    --secondary-color: #CD4561;
    --accent-color: #CD4561;
    --text-color: #484864;
    --light-text: #6B7280;
    --background: #FFFFFF;
    --light-background: #F9FAFB;
    --border-color: #E5E7EB;
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #b73a52; /* Versão mais escura do secundário */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-text {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    font-size: 1.2rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background-color: var(--background);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    flex: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Menu hambúrguer - oculto por padrão */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    top: 0; /* Zerado o deslocamento */
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 2px;
    transform-origin: center;
}

/* Animação do menu hambúrguer quando ativo */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: var(--secondary-color);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: var(--secondary-color);
}

/* Melhorias no menu de navegação */
.nav-menu {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

/* Ocultar botão mobile no desktop */
.mobile-contact {
    display: none;
}

/* Estilo melhorado para o botão mobile */
.btn-outline-mobile {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-outline-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-outline-mobile:hover::before {
    left: 100%;
}

.btn-outline-mobile:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(205, 69, 97, 0.3);
}

.header-buttons {
    display: flex;
    gap: 1rem;
}

/* Classe para mostrar apenas no desktop */
.desktop-only {
    display: flex;
}

/* Overlay para o menu mobile */
.nav-menu::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-menu.active::before {
    opacity: 1;
    visibility: visible;
}

/* Seção Hero */
.hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
    background-color: var(--light-background);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    max-width: 500px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--light-text);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: relative;
    height: 500px;
    background-image: url('../images/modern-apartment.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* Sobre nós */
.about {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    height: 400px;
    background-image: url('../images/about-img.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

.about-text h3 {
    margin-bottom: 1.5rem;
}

/* Benefícios */
.benefits {
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* Como Funciona */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    position: relative;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 30px;
    width: 2px;
    height: calc(100% + 2rem);
    background-color: var(--border-color);
    z-index: 0;
}

.cta-center {
    text-align: center;
    margin-top: 4rem;
}

/* Números */
.numbers {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.number-card {
    text-align: center;
    padding: 2rem;
}

.number-value {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: var(--secondary-color);
}

.number-value span {
    font-size: 2rem;
    margin-left: 0.25rem;
}

.number-card p {
    color: white;
    opacity: 0.9;
    margin: 0;
}

/* Depoimentos */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 350px;
    background-color: var(--background);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    scroll-snap-align: start;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #E5E7EB;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    margin: 0;
    font-size: 0.875rem;
}

/* Franquia */
.franchise {
    padding: 5rem 0;
}

.franchise .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.franchise-content {
    padding-right: 2rem;
}

.franchise-content h2 {
    margin-bottom: 1.5rem;
}

.franchise-image {
    height: 400px;
    background-image: url('../images/franchise-img.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
}

/* Contato */
.contact {
    padding: 5rem 0;
    background-color: var(--light-background);
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--background);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
}

.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: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: rgba(255, 255, 255, 0.7);
}

.social-icon:hover {
    color: white;
}

/* Menu de navegação móvel */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        position: relative;
        right: 0;
        top: 0; /* Zerado o deslocamento */
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        background-color: rgba(72, 72, 100, 0.05);
        transition: all 0.3s ease;
        z-index: 1002;
        margin-left: auto;
    }
    
    .menu-toggle:hover {
        background-color: rgba(72, 72, 100, 0.1);
        transform: scale(1.05);
    }
    
    .menu-toggle span {
        width: 22px;
        height: 2px;
        background-color: var(--primary-color);
        margin: 2px 0;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        border-radius: 2px;
        transform-origin: center;
        display: block;
    }
    
    /* Animação do menu hambúrguer quando ativo */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: var(--secondary-color);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: var(--secondary-color);
    }
    
    nav ul {
        display: none;
    }
    
    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 100;
    }
} 