:root {
    --bg-primary: rgb(225, 225, 225);
    --bg-secondary: rgba(255, 255, 255,0.8);
    --bg-tertiary: #333333;
    --bg-primary-transparent: rgba(255,255,255,0.1);
    --bg-hero: url('../assets/svg/background_01.svg');
    --bg-negocio: url('../assets/svg/background_03dark.svg');
    --bg-iv: url('../assets/svg/background_04.svg');
    --bg-titulo: url('../assets/svg/titulo.svg');
    --text-primary: #1f1f1f;
    --text-secondary: #666666;
    --text-tertiary: #223bc5;
    --text-light: #999999;
    --border-color: #eeeeee;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.8);
    --shadow-light-invert: rgba(255, 255, 255, 0.1);
    --shadow-medium-invert: rgba(255, 255, 255, 0.4);
    --gradient-primary: linear-gradient(135deg, #223bc5 0%, #3515b4 100%);
    --gradient-secondary: linear-gradient(135deg, #223bc5 0%, #3515b4 100%);
    --accent-color: linear-gradient(135deg, #223bc5 0%, #3515b4 100%);
    --accent-hover: linear-gradient(135deg, #223bc5 0%, #3515b4 100%);
    --text-apartamento:      rgb(59, 130, 246);
    --apartamento-color:     rgba(59, 130, 246, 0.9);
    --text-casa:    rgb(245, 158, 11);
    --casa-color:   rgba(245, 158, 11, 0.9);
    --text-lote:    rgb(16, 185, 129);
    --lote-color:   rgba(16, 185, 129, 0.9);
    --text-fazenda:     rgb(78, 63, 46);
    --fazenda-color:    rgba(78, 63, 46, 0.9);
    --text-galpao:  rgb(89, 104, 128);
    --galpao-color: rgb(89, 104, 128, 0.9);
    --text-loja:    rgb(255, 79, 79);
    --loja-color:   rgb(255, 79, 79, 0.9);
}

[data-theme="dark"] {
    --bg-primary: rgb(35, 35, 35);
    --bg-secondary: rgba(15, 15, 15, 0.85);
    --bg-tertiary: #ffffff;
    --bg-primary-transparent: rgba(0,0,0,0.1);
    --bg-hero: url('../assets/svg/background_01dark.svg');
    --bg-negocio: url('../assets/svg/background_03dark.svg');
    --bg-iv: url('../assets/svg/background_04dark.svg');
    --bg-titulo: url('../assets/svg/titulo_dark.svg');
    --text-primary: #fdfdfd;
    --text-secondary: #cccccc;
    --text-tertiary: rgb(59, 130, 246);
    --text-light: #999999;
    --border-color: #444444;
    --shadow-light: rgba(255, 255, 255, 0.1);
    --shadow-medium: rgba(255, 255, 255, 0.15);
    --shadow-light-invert: rgba(0, 0, 0, 0.1);
    --shadow-medium-invert: rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #223bc5 0%, #3515b4 100%);
    --gradient-secondary: linear-gradient(135deg, #223bc5 0%, #3515b4 100%);
    --accent-color: linear-gradient(135deg, #223bc5 0%, #3515b4 100%);
    --accent-hover: linear-gradient(135deg, #223bc5 0%, #3515b4 100%);
    --text-apartamento:      rgb(59, 130, 246);
    --apartamento-color:     rgba(59, 130, 246, 0.5);
    --text-casa:    rgb(245, 158, 11);
    --casa-color:   rgba(245, 158, 11, 0.5);
    --text-lote:    rgb(16, 185, 129);
    --lote-color:   rgba(16, 185, 129, 0.5);
    --text-fazenda:     rgb(180, 145, 104);
    --fazenda-color:    rgba(78, 63, 46, 0.5);
    --text-galpao:  rgb(155, 168, 189);
    --galpao-color: rgb(89, 104, 128, 0.5);
    --text-loja:    rgb(255, 79, 79);
    --loja-color:   rgb(255, 79, 79, 0.5);
}

.text-gradient {
    text-shadow: 0px 0px 4px var(--bg-tertiary);
}

.vignette::before {
  content: '';
  position: absolute;
  inset: 0;
    box-shadow: 
        inset 0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 -4px 12px rgba(0, 0, 0, 0.5);

  pointer-events: none;
  z-index: 1;
}

[data-theme="dark"] .vignette::before {
    box-shadow: 
        inset 0 4px 12px rgba(0, 0, 0, 0.5),
        inset 0 -4px 12px rgba(0, 0, 0, 0.5);
}

.vignette {
  position: relative;
  overflow: hidden;
}

.vignette > * {
  position: relative;
  z-index: 2;
}

.vignette2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 2%),
    linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 2%);
  pointer-events: none;
  z-index: 1;
}

[data-theme="dark"] .vignette2::before {
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 2%),
    linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 2%);
}

.vignette2 {
  position: relative;
  overflow: hidden;
}

.vignette2 > * {
  position: relative;
  z-index: 2;
}

.vignette3 {
  position: relative;
  overflow: hidden;
}

.vignette3 > * {
  position: relative;
  z-index: 2;
}

.vignette2::before {
  background: 
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 2%),
    linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 2%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:focus { outline: none; }

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.theme-toggle:focus-visible,
.hamburger:focus-visible,
.card-action-btn:focus-visible {
    outline: 2px solid rgba(34, 59, 197, 0.85);
    outline-offset: 2px;
}

body.user-is-tabbing button:focus,
body.user-is-tabbing a:focus,
body.user-is-tabbing [role="button"]:focus,
body.user-is-tabbing input:focus,
body.user-is-tabbing select:focus,
body.user-is-tabbing textarea:focus,
body.user-is-tabbing .theme-toggle:focus,
body.user-is-tabbing .hamburger:focus,
body.user-is-tabbing .card-action-btn:focus {
    outline: 2px solid rgba(34, 59, 197, 0.85);
    outline-offset: 2px;
}

a, button { -webkit-tap-highlight-color: transparent; }

button::-moz-focus-inner { border: 0; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.container h2{
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}

.btn-hero{
    width: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0px 10px rgba(32, 25, 250, 1);
}


.btn-secondary {
    background: transparent;
    color: var(--text-primary);
}


.btn-secondary:hover {
    background: transparent;
    color: rgb(255, 58, 58);
}
.btn-terceary {
    background: transparent;
    color: rgb(0, 106, 255);
}

.btn-terceary:hover {
    background: rgb(0, 106, 255);
    color: white;
}
.btn-limpar {
    background: transparent;
    color: var(--bg-tertiary);
}
.btn-limpar:hover {
    background: var(--bg-primary);
    color: var(--bg-tertiary);
}
.btn-whatsapp {
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.header-hidden {
    transform: translateY(-100%);
}

[data-theme="dark"] .header {
    background: rgb(34, 34, 34, 0.6);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand{
    display: flex;
}

.nav-brand .logo {
    height: 50px;
    margin: 5px;
}

.titulo {
    background-image: var(--bg-titulo);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    min-height: 50px;
    min-width: 200px;
}

.nav-links {
    font-size: 19px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: none;
    border: none;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--gradient-primary);
    color: white;
}

.theme-toggle i {
    font-size: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    background-image: var(--bg-hero);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 120px 0 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
 
.hero::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero .hero-content{
    position: relative;
    z-index: 1;
}
.hero-img{
    display: flex;
}

.hero-content {
    color: var(--text-primary);
    text-shadow: 0px 0px 2px var(--bg-tertiary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1{
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.whatsapp-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px 35px;
    border-radius: 12px;
    text-align: center;
}

.whatsapp-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.div_botao{
    text-align: center;
    border-color: #223bc5;
}

.botao{
    padding: 10px;
    width: 30%;
    background: transparent;
    box-shadow: 0 4px 4px var(--bg-tertiary);
    border-radius: 12px;
    color: var(--text-primary);
    margin-top: 15px;
    margin-left: 2%;
    margin-right: 2%;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 16px;
}
.services .botao{
    border: none !important;
    background-clip: padding-box;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.services .botao:focus { outline: none; }

.services .botao:focus-visible {
    outline: 2px solid rgba(34, 59, 197, 0.85);
    outline-offset: 2px;
}
.botao:hover{
    padding: 10px;
    width: 30%;
    background: transparent;
    box-shadow: 0 4px 6px #223bc5;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    color: var(--text-primary);
    margin-top: 15px;
    margin-left: 2%;
    margin-right: 2%;
    font-size: 1rem;
    font-weight: 600;
}

.botao-catalogo{
    border-radius: 12px;
    background: var(--bg-primary-transparent);
    width: 100%;
    min-height: 10px;
    max-height: 50px;
    text-align: center;
    font-size: 20px;
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
    box-shadow: 0px 2px 2px var(--shadow-medium);
    font-weight: bold;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botao-catalogo:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0px 4px 8px var(--shadow-medium);
}

.services {
    padding: 100px 0;
    background-image: url('../assets/svg/background_02.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    gap: 40px;
}
.service-card h4{
    padding: 5px;
    text-align: center;
}
.service-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: justify;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card2 {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: justify;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card h3{
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 45px;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}
.service-icon2 {
    font-size: 45px;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.process {
    padding: 100px 0;
    background-image: var(--bg-iv);
    background-size: cover;
    background-position: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}


.step {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    text-align: justify;
}

.step:hover {
    transform: translateY(-6px);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    
}

@media (max-width: 768px) {
    .step {
        flex-direction: column;
        padding: 18px;
    }
    .step-number {
        width: 48px;
        height: 48px;
    }
}

.step p {
    color: var(--text-primary);
    line-height: 1.7;
}

body:not([data-theme="dark"]) .process-steps .step:nth-child(1) {
    background: rgba(0,0,0,0.02);
    color: var(--text-primary);
}
body:not([data-theme="dark"]) .process-steps .step:nth-child(1) .step-number {
    background: rgba(0,0,0,0.06);
    color: var(--text-primary);
}
body:not([data-theme="dark"]) .process-steps .step:nth-child(1) .step-number {
    background: var(--gradient-primary);
}

body:not([data-theme="dark"]) .process-steps .step:nth-child(2) {
    background: rgba(0,0,0,0.04);
    color: var(--text-primary);
}
body:not([data-theme="dark"]) .process-steps .step:nth-child(2) .step-number {
    background: var(--gradient-primary);
}

body:not([data-theme="dark"]) .process-steps .step:nth-child(3) {
    background: rgba(0,0,0,0.06);
    color: var(--text-primary);
}
body:not([data-theme="dark"]) .process-steps .step:nth-child(3) .step-number {
    background: var(--gradient-primary);
}

body:not([data-theme="dark"]) .process-steps .step:nth-child(4) {
    background: rgba(0,0,0,0.08);
    color: var(--text-primary);
}
body:not([data-theme="dark"]) .process-steps .step:nth-child(4) .step-number {
    background: var(--gradient-primary);
}

body:not([data-theme="dark"]) .process-steps .step:nth-child(5) {
    background: rgba(0,0,0,0.12);
    color: var(--text-primary);
}
body:not([data-theme="dark"]) .process-steps .step:nth-child(5) .step-number {
    background: var(--gradient-primary);
}

body:not([data-theme="dark"]) .process-steps .step:nth-child(6) {
    background: rgba(0,0,0,0.18);
    color: var(--text-primary);

}
body:not([data-theme="dark"]) .process-steps .step:nth-child(6) .step-number {
    background: var(--gradient-secondary);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 40px;
    background: var(--bg-primary);
    border-radius: 12px;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.testimonial-author h4 {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.slider-dots {
    text-align: center;
    margin-top: 30px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 12px;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--gradient-primary);
}

.portfolio {
    padding: 100px 0;
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.portfolio-item {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    color: white;
    font-size: 2rem;
    text-decoration: none;
}

.portfolio-content {
    padding: 30px;
    text-align: justify;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: #f0f0f0;
    color: #666;
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.about {
    padding: 100px 0;
    width: 100%;
    background-image: var(--bg-negocio);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: justify;
}

.about .about-content .btn {
    display: block;
    width: max-content;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.social-program {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.program-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.program-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.program-step {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-primary);
    border-radius: 12px;
}

.program-step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.program-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}
.negociprec{
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    gap: 24px;
    color:rgb(255, 255, 255);
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.carrossel {
    background-image: var(--bg-iv);
    background-size: cover;
    background-position: center;
    padding-top: 30px;
    padding-bottom: 1px;
}
.carrossel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    align-items: start;
}

/* ============= CARROSSEL DE SLIDES ============= */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 60px;
}

.carousel-slides-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slides {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
    background: rgba(34, 59, 197, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
    left: 0;
}

.carousel-arrow-right {
    right: 0;
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator:hover {
    background: rgba(34, 59, 197, 0.5);
    transform: scale(1.1);
}

.carousel-indicator.active {
    background: rgb(34, 59, 197);
    width: 40px;
    border-radius: 6px;
}
.card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease;
    display: none;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
    min-width: 420px;
    max-width: 500px;
    position: relative;
    box-shadow: 0px 4px 8px #000000;
    margin-top: 15px;
    margin-bottom: 15px;
}

a .card {
    cursor: pointer;
}

a:hover .card,
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 4px 12px #000000;
}

.card.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.card[data-tipo="apartamento"] {
  border: 2px #3b82f6;

  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

.card[data-tipo="casa"] {
  border-color: #f59e0b;

  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

.card[data-tipo="lote"] {
  border-color: #10b981;

  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

.card[data-tipo="fazenda"] {
  border-color: rgb(78, 63, 46);

  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

.card[data-tipo="galpao"] {
  border-color: rgb(228, 228, 228);

  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

.card[data-tipo="loja"] {
  border-color: rgb(255, 79, 79);

  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

.card.no-transition,
.card.no-transition .card-sub-title,
.card.no-transition .card-info .info .info-label,
.card.no-transition .card-info .info .info-value,
.card.no-transition .adquirir {
    transition: none !important;
    animation: none !important;
}





.card-actions {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.card.show-actions .card-actions {
    opacity: 1;
    pointer-events: auto;
}

.card-action-btn {
    width: 80%;
    max-width: 260px;
    padding: 10px 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.card-action-btn.primary,
.card-action-btn.secondary {
    background: var(--gradient-primary);
    color: #ffffff;
}

.card-action-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.cards-prev,
.cards-next {
    display: none;
}

.card-images {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--card-bg-6);
}

.card-images .img-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 600ms ease, transform 800ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-images .img-slide img { width: 100%; height: 100%; object-fit: cover; display:block; }
.card-images .img-slide.active { opacity: 1; transform: scale(1); }
.card-title { 
    padding: 16px 16px 4px 16px; 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--text-primary);
    text-align: center; 
}

.card-sub-title {
    padding: 0 16px 12px 16px;
    font-size: 0.75rem; 
    font-weight: 600; 
    color: var(--text-primary);
    text-align: center;
}

.info-image{
    width: auto;
    min-height: 20px;
    margin: 5px;
}

.card-info { 
    display: flex; 
    gap: 20px;
    align-items: center; 
    justify-content: center;
    flex-wrap: wrap;
}

.card-info .info { 
    display: flex; 
    gap: 2px; 
    align-items: center; 
    color: var(--text-primary);
    font-weight: 500;
    flex-direction: column;
    text-align: center;
    min-width: fit-content;
}
.card-info .info svg { 
    color: var(--text-primary);
    flex-shrink: 0;
}

.info img{
    filter: drop-shadow(0 0px 8px rgba(0, 0, 0, 0.3));
}

.card-info .info .info-label {
    font-size: 0.7rem;
    color: var(--text-primary);
}

.card-info .info .info-value { 
    font-size: 1.0rem; 
    color: var(--text-primary);
    font-weight: 700;
    padding-bottom: 25px;
}



.card-info{
    padding-top: 20px;
    padding-bottom: 20px;
}

.info img{
    max-height: 20px;
    max-width: 20px;
}

.adquirir {
    display: flex;
    gap: 16px;
    padding: 20px 16px 0;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
    width: 92%;
    position: relative;
    min-height: 48px;
}

.adquirir::after {
    content: "";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.preco {
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    background-color: linear-gradient(to bottom, transparent, var(--bg-primary));
    box-shadow: 0px 2px 2px var(--shadow-medium);
    border-radius: 12px;
    margin-bottom: 10px;
}

.preco-text {
    font-weight: 700;
    margin-top: 0px;
    font-size: 1rem;
}
.preco-text[data-tipo="apartamento"] {
    color: var(--text-apartamento);
    text-shadow: 0px 0px 5px var(--bg-primary);
}

.preco-text[data-tipo="casa"] {
    color: var(--text-casa);
    text-shadow: 0px 0px 5px var(--bg-primary);
}

.preco-text[data-tipo="lote"] {
    color: var(--text-lote);
    text-shadow: 0px 0px 5px var(--bg-primary);
}

.preco-text[data-tipo="fazenda"] {
    color: var(--text-fazenda);
    text-shadow: 0px 0px 5px var(--bg-primary);
}

.preco-text[data-tipo="galpao"] {
    color: var(--text-galpao);
    text-shadow: 0px 0px 5px var(--bg-primary);
}

.preco-text[data-tipo="loja"] {
    color: var(--text-loja);
    text-shadow: 0px 0px 5px var(--bg-primary);
}

.card.no-transition .adquirir {
    transition: none !important;
    animation: none !important;
}
.card-images::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 10px;
    height: 6px;
    width: 6px;
    border-radius: 12px;
    background: transparent;
}

@media (max-width: 480px) {
    .carrossel { padding: 36px 0; }
    .card-title { font-size: 1rem; }
    
    .card {
        width: 280px;
    }
}

.cta {
    padding: 80px 0;
    color: var(--bg-primary);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.cta .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .cta .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta .cta-buttons .btn {
        width: 100%;
        padding: 12px 16px;
    }
}

.footer {
    background: var(--bg-primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-links,
.footer-contact,
.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-tertiary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--text-tertiary);
    width: 20px;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--text-tertiary);
}

.footer-hours li {
    color: var(--text-secondary);
}

.footer-hours strong {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo .titulo{
    height: 40px;
    margin-bottom: 20px;
}

.titulo {
    background-image: var(--bg-titulo);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .whatsapp-card {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .process-steps,
    .portfolio-grid,
    .program-steps {
        grid-template-columns: 1fr;
    }
    
    .program-header {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .program-header h2 {
        font-size: 2.2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Carrossel mobile */
    .carousel-wrapper {
        padding: 30px 10px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .carousel-arrow-left {
        left: -5px;
    }
    
    .carousel-arrow-right {
        right: -5px;
    }
    
    .carousel-slides-container {
        min-height: 480px;
    }
    
    .card {
        max-width: 100%;
    }

    .about-content {
        text-align: center;
        padding: 0 8px;
    }

    .negociprec {
        flex-direction: column-reverse;
        align-items: center;
        width: 100%;
        gap: 16px;
    }

    .about-image {
        max-width: 700px;
        padding: 12px 0 24px;
        border-radius: 12px;
    }

    .about .about-content .btn {
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2,
    .about h2,
    .program-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonials h2,
    .cta h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .step,
    .program-step {
        padding: 25px 20px;
    }
    
    .testimonial {
        padding: 25px 20px;
    }
    
    .portfolio-content {
        padding: 25px 20px;
    }

}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.step,
.portfolio-item,
.program-step {
    animation: fadeInUp 0.6s ease forwards;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
.about-image {
        max-width: 500px;
        padding: 24px;
        border-radius: 12px;

    }

