/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(215, 25%, 27%);
    --primary: hsl(212, 95%, 48%);
    --primary-foreground: hsl(0, 0%, 100%);
    --secondary: hsl(210, 40%, 96.1%);
    --secondary-foreground: hsl(215, 25%, 27%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215, 20%, 55%);
    --accent: hsl(43, 96%, 56%);
    --accent-foreground: hsl(215, 25%, 27%);
    --border: hsl(214.3, 31.8%, 91.4%);
    --radius: 0.75rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: var(--background);
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    background-image: url('../images/home.png');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    padding-left: 28px;
    background-position: left center;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--foreground);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--foreground);
    transition: all 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link-mobile:hover {
    color: var(--primary);
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--secondary);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    opacity: 0.9;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.arrow-icon {
    transition: transform 0.3s;
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsla(212, 95%, 48%, 0.1) 0%, var(--background) 100%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
    padding: 3rem 0;
    grid-template-columns: 1fr 1fr;
}

.hero-image {
    display: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.text-primary {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.images-col-1,
.images-col-2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.images-col-2 {
    padding-top: 5rem;
}

.hero-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.hero-img-1 {
    height: 18rem;
}

.hero-img-2 {
    height: 14rem;
}

.hero-img-3 {
    height: 20rem;
}

.hero-cities {
    grid-column: 1 / -1; /* ocupa toda a largura da grid */
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cities-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: none; /* Firefox */
    color: var(--primary);
    font-weight: 700;
}

.cities-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}


@media (min-width: 1024px) {

    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 3.75rem;
    }  

}

@media (max-width: 1024px) {

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {    
        display: block;
    }

    .hero-title {
        font-size: 3rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }    

    .hero-buttons {
        justify-content: center;
    }    

    .hero-images {
        /* grid-template-columns: 1fr; */
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

.cities-container {
        flex-wrap: wrap; /* permite quebrar em múltiplas linhas */
        justify-content: center; /* centraliza os itens */
        gap: 8px;
        padding: 0 0.5rem;
    }      

}

@media (max-width: 767px) {

    .hero-section {
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        /* grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem; */
    }

    .cities-container {
        gap: 6px;
        padding: 0 0.25rem;
    }

    .cities-container > * {
        flex: 1 1 45%; /* cada item ocupa metade da largura disponível */
        text-align: center;
    }

}


/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

.subsection {
    margin-bottom: 4rem;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.services-section {
    background-color: hsla(210, 40%, 96.1%, 0.3);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* Cards */
.card {
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 1.5rem;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-description {
    color: var(--muted-foreground);
}

.card-center {
    text-align: center;
}

.icon {
    stroke: currentColor;
    fill: none;
}

.icon-primary {
    color: var(--primary);
}

.icon-small {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: var(--primary);
    fill: none;
}

.icon-circle {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background-color: hsla(212, 95%, 48%, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Property Lists */
.property-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.property-list li {
    display: flex;
    align-items: center;
    color: var(--muted-foreground);
}

.bullet {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* Purpose Items */
.purpose-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Consultoria Section */
.con-section {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(212, 85%, 38%) 100%);
    color: var(--primary-foreground);
}

.con-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.con-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.con-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(212, 85%, 38%) 100%);
    color: var(--primary-foreground);    
}

.cta-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}


/* Team Section */
/*.team-section {
    max-width: 56rem;
    margin: 2rem auto;
}*/

.team-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.team-intro {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* portefolio Section */
.portefolio-section {
  background-color: hsla(210, 40%, 96.1%, 0.3);
  position: relative;
  overflow: hidden;
}

.portefolio-slider {
  position: relative;
}

.slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s ease;
}

.slide {
  width: 33.333%;
  flex-shrink: 0;
}

.portefolio-section .card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.slider-btn {
    /*
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.25rem 0.75rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
  z-index: 2;
*/
    
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 1rem;
    color: var(--primary);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    z-index: 2;
    margin: 5px;
}

.slider-btn:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.slider-btn.prev {
  
}

.slider-btn.next {
  
}

.slider-container-btn {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 999px;
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}

.badge-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

@media (max-width: 1024px) {
  .slide {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .slide {
    width: 100%;
  }
}


/* Testimonials */
.testimonials-section {
    background-color: hsla(210, 40%, 96.1%, 0.3);
}

.testimonial-card .card-content {
    padding-top: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: var(--accent);
}

.testimonial-text {
    color: var(--muted-foreground);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Contact Section */
.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-message {
    display: none;
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card .card-content {
    padding-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background-color: hsla(212, 95%, 48%, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary);
}

.contact-text {
    color: var(--muted-foreground);
}

.card-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.schedule-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.schedule-text {
    opacity: 0.9;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */
.footer {
    background-color: var(--foreground);
    color: var(--background);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    opacity: 0.8;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0.8;
}

.footer-links a {
    color: var(--background);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--background);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--background);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utilities */

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}

.text-muted {
    color: var(--muted-foreground);
}