@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
 :root {
    --dark-overlay: rgba(0, 0, 0, 0.4); 
    --primary-color: #2AB8EB;
    --accent-color: #89a73f; 
    --dark-text: #1a1a1a;
    --light-text: #f4f4f4;
    --light-bg: #ffffff;
    --secondary-bg: #ffffff;
    --font-family-title:"Cormorant Garamond", sans-serif;
    --font-family-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(  --font-family-title);
    color: var(--dark-text);
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
}
img {
    max-width: 100%; /* Imagens nunca estouram o pai */
    height: auto;
}

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

/* --- HEADER E NAVEGAÇÃO --- */
header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding-right: 40px;
    z-index: 1000;
    background-color: transparent; 
    transition: all 0.4s ease; 
    height: 100px; 
    padding: 0px 20px 0 70px;
}

header.scrolled{
    background-color: #ffff;
}

.header-white{
    background-color: #fff;
}

/* O Quadrado do Logo */
.logo-box {
    height: 200px; 
    background-color: var(--light-bg);;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.4s ease;
}


.logo-box img {
    padding-top: 40px;
    max-width: 100%;
    /* filter: brightness(0) invert(1);  */
    height: 120px;
}

.nav-container {
    display: flex;
    align-items: center;
    padding-top: 30px; 
    gap: 20px;
}

.nav-links{
    display: flex;
    gap: 10px;
    font-family: var(---font-family-title);
}

.nav-links a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.bandeira {
    height: 50px;
    object-fit: cover;
}

.btn-login {
    background-color: var( --primary-color);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
    padding: 0;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color); 
    border-radius: 3px;
    transition: all 0.3s;
}

header.scrolled .mobile-toggle span,
header.header-white .mobile-toggle span {
    background-color: #333;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px; 
    height: 100vh;
    background-color: #000; 
    z-index: 9999; 
    transform: translateX(100%); 
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-menu-overlay.active {
    transform: translateX(0); 
}

.mobile-close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    margin-bottom: 20px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* .mobile-lang img {
    height: 30px;
    margin-bottom: 30px;
} */

.mobile-cta-btn {
    background-color: var(--primary-color); 
    color: #fff;
    text-decoration: none;
    font-family: var(--font-family-body);
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 0;
    width: 100%;
    display: block;
    margin-bottom: 40px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Links de Navegação */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    text-align: left; 
}

.mobile-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 400;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    font-family: var(--font-family-body);
}

.mobile-nav-links .arrow {
    margin-right: 15px;
    font-size: 1.2rem;
    font-weight: 300;
}

.mobile-sub-links {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    text-align: left;
    padding-left: 30px; }

.mobile-sub-links a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-family-body);
    font-size: 1rem;
}


header.scrolled .logo-box,
header.header-white .logo-box {
    padding-top: 0;
    height: 60px; 
    
    
}

/* header.scrolled .logo-box img,
header.header-white .logo-box img{
    max-width: 90%; 
} */

header.scrolled .nav-links a,
header.header-white .nav-links a{
    color: #333333;
}

header.scrolled .nav-links a:hover,
header.header-white .nav-links a:hover{
    color: var(--primary-color);;
}

header.scrolled i,
header.header-white i{
    color: #333333;
}



header.scrolled .btn-login,
header.header-white .btn-login{
    padding: 10px 20px; 
}
       
/*=====hero=====*/

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.hero-video-bg .video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0; 
    transition: opacity 1.5s ease-in-out; 
}
.hero-video-bg .video-slide.active {
    opacity: 1; 
}

.hero-content {
    z-index: 10;
    width: 100%;
    max-width: 900px; 
    padding: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); 
    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 40px 180px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}
.hero-text-area {
    display: flex;
    align-items: center;
    flex-grow: 1; 
}

.hero-text-area h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: white;
    font-weight: 400;
    line-height: 1.2;
}

.hero-text-area h1 em {
    font-style: italic;
}

.hero-search-area {
    width: 100%;
    max-width: 850px;
    margin-bottom: 20px;
}

.search-toggles {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
}

.toggle-btn {
    background: none;
    border: none; 
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    padding-bottom: 8px; 
    position: relative; 
    opacity: 0.7; 
    transition: opacity 0.3s;
}

.toggle-btn:hover {
    opacity: 1;
}

.toggle-btn.active {
    opacity: 1;
}

.toggle-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0; 
    height: 3px; 
    width: 0%; 
    background-color: var(--primary-color); 
    transition: width 0.3s ease-in-out; 
}


.toggle-btn:hover::after {
    width: 100%;
}


.toggle-btn.active::after {
    width: 100%;
}

.hero-search-form {
    width: 100%;
}

.input-wrapper {
    background: white;
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.input-wrapper input {
    border: none;
    background: transparent;
    height: 100%;
    width: 100%;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    color: #333;
    outline: none;
}

.btn-search-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-red);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search-icon svg {
    width: 24px;
    height: 24px;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    margin-top: 20px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

/* --- SESSÃO REGIÕES GLOBAIS --- */
.global-reach {
    background-color: #f9f9f9;
    padding: 80px 0;
    font-family: 'Lato', sans-serif;
}



/* Cabeçalho */
.global-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.header-text {
    max-width: 65%;
}

.global-label {
    color: var(--primary-color); 
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 15px;
}

.header-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem; 
    font-style: italic; 
    color: #222;
    font-weight: 400;
    line-height: 1.1;
}

/* Botão */
.btn-red-solid {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: background 0.3s;
    display: inline-block;
}

.btn-red-solid:hover {
    background-color: #166f8f;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    width: 100%;
}

.global-card {
    display: flex;
    flex-direction: column;
    position: relative; 
}

.card-image-box {
    position: relative;
    width: 100%;
    height: 430px; 
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 25px;
    background-color: #f0f0f0;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.card-image-box::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 2;
}

.global-card:hover .card-image-box img {
    transform: scale(1.08);
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-discover {
    color: #555;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.link-discover img {
    /* color: var(--primary-color); */
    font-size: 0.8rem;
    transition: transform 0.3s;
    height: 20px;
}

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

.link-discover:hover img {
    transform: translateX(5px); 
}

/* --- SESSÃO IMÓVEIS EM DESTAQUE --- */
.container-destaques {
    max-width: 95%; 
    margin: 0 auto;
    padding: 0 20px; 
}

.featured-properties {
    padding: 60px 0;
    background-color: #fff;
}

.properties-grid-system {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px; 
    margin-top: 40px;
}

.property-card-item {
    grid-column: span 4; 
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
}

.property-card-item:nth-child(n+4):nth-child(-n+7) {
    grid-column: span 3; 
}

.property-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
}

.property-img-box {
    width: 100%;
    aspect-ratio: 3 / 2; 
    overflow: hidden;
    position: relative;
}

.property-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

.property-card-item:hover .property-img-box img {
    transform: scale(1.1);
}

.img-overlay-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    font-size: 0;
}

.property-info-box {
    padding: 25px 20px; 
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.info-left {
    flex: 1;
}

.info-left h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem; 
    color: #111;
    margin-bottom: 8px;
    line-height: 1.2;
    font-weight: 400;
}

.info-left .location {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.info-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: max-content;
}

.price-main {
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem; 
    margin-bottom: 4px;
}

.price-sec {
    font-size: 0.8rem;
    color: #222;
    font-weight: 700;
}

/* --- SESSÃO SOBRE  --- */
.about-agency {
    background-color: #f9f9f9; 
    padding: 100px 0; 
    font-family: 'Lato', sans-serif;
}

.container-about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* --- COLUNA DE TEXTO --- */
.about-text-col {
    flex: 1; 
    max-width: 550px; 
}

.subtitle-small {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase; 
}

.about-text-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    color: #111;
    margin-bottom: 30px;
    font-weight: 400;
}

.about-text-col h2 em {
    font-style: italic; 
}

.about-text-col p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.about-text-col strong {
    color: #000; 
}

.btn-red-about {
    display: inline-block;
    background-color: var(--primary-color); 
    color: white;
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase; 
    margin-top: 10px;
    transition: background 0.3s ease;
}

.btn-red-about:hover {
    background-color: #166f8f;
}

/* --- COLUNA DE IMG --- */
.about-img-col {
    flex: 1; 
    display: flex;
    justify-content: flex-end; 
}

.about-img-col img{
    width: 100%;
    max-width: 600px; 
    height: auto;
    background-color: #f9f9f9;
}

/* --- Contato--- */
.contact-section {
    width: 100%;
    background-color: #fff;
    position: relative;
}

.contact-split-container {
    display: flex;
    width: 100%;
    min-height: 600px; 
}

.contact-visual {
    width: 45%; 
    position: relative;
    background-image: url('../img/modal.jpg'); 
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6)); 
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

.contact-logo {
    position: absolute;
    top: 60px;
    left: 60px;
}

.visual-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 400;
}

.visual-content h2 em {
    font-style: italic;
}

.visual-content h3 {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    color: white;
    font-weight: 700;
}

.contact-form-wrapper {
    width: 50%;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-row {
    display: flex;
    gap: 40px;
    width: 100%;
}

.form-group {
    width: 100%;
    margin-bottom: 35px;
    position: relative;
}

.form-group label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd; 
    padding: 10px 0;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #000;
    background: transparent;
    outline: none;
    border-radius: 0;
    transition: border-color 0.3s;
}

.form-group textarea {
    resize: none; 
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom: 1px solid #000; 
}

.form-checkbox {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.form-checkbox input {
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

.form-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-submit {
    text-align: right; 
}

.btn-text-arrow {
    background: none;
    border: none;
    color: black; 
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s;
}

.btn-text-arrow:hover {
    gap: 15px; 
}

.btn-text-arrow img {
    width: 16px;
    height: 16px;
    fill: var(--primary-color);
}

/* --- SEÇÃO EQUIPE --- */
.about-team {
    padding: 80px 0;
    background-color: #fff;
}

.section-header-left h2 {
    font-family: var(--font-family-title);
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 400;
}
.section-header-left h2 em {
    font-style: italic;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member-card {
    display: flex;
    flex-direction: column;
}

.member-image {
    width: 100%;
    aspect-ratio: 3/4; 
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info h3 {
    font-family: var(--font-family-title);
    font-size: 1.4rem;
    color: #000;
    margin-bottom: 5px;
    font-weight: 400;
}

.member-info h3 em {
    font-style: italic;
}

.member-role {
    display: block;
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.member-phone, .member-license {
    font-family: var(--font-family-body);
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 3px;
}

.member-license {
    margin-bottom: 20px;
}

.btn-email-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase; 
    transition: all 0.3s ease;
}

.btn-email-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}


/* --- ESTILOS GERAIS DO FOOTER --- */
footer {
    width: 100%;
    font-family: 'Lato', sans-serif;
}

.footer-top {
    background-color: #f9f9f9; 
    padding: 80px 0;
    color: #000;
    font-family: var(--font-family-body);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr 2fr; 
    gap: 40px;
}

.footer-logo-box {
    background-color: var(--primary-color); 
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.footer-logo-box img {
    max-width: 100%;
    filter: brightness(0) invert(1); 
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: #111;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #111;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

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

/* --- BLOCO CONTATO E SOCIAL --- */
.contact-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 30px;
    transition: gap 0.3s;
}

.contact-link-arrow:hover {
    color: var(--primary-color);
    gap: 15px;
}

.social-block {
    margin-bottom: 40px;
    border-top: 1px solid #ddd; 
    padding-top: 20px;
}

.social-label {
    font-size: 0.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a img { 
    height: 50px;
    border-radius: 50%;
    padding: 8px; 
    transition: transform 0.3s;
}

.footer-bottom {
    background-color: #000; 
    color: #fff;
    padding: 60px 0 30px 0;
    font-size: 0.75rem; 
}

.legal-links-top {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    text-align: center;
    font-family: var(--font-family-body);
}

.legal-links-top a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    transition: color 0.3s;
}

.legal-links-top a:hover {
    color: #ccc;
}

.legal-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    color: #aaa;
    line-height: 1.6;
    font-weight: 600;
    font-family: var(--font-family-body);
}

.legal-column p {
    margin-bottom: 10px;
}

.copyright-line {
    justify-content: space-between;
    display: flex;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #999;
    line-height: 1.5;
    font-weight: 600;
    font-size: 1em;
    font-family: var(--font-family-body);
}

.copyright-line a{
    text-decoration: none;
    color: #999;  
}

.nav-links a, 
.legal-links-top a,
.footer-links a {
    position: relative; 
    text-decoration: none; 
    display: inline-block; 
}

.nav-links a::after, 
.legal-links-top a::after,
.footer-links a::after {
    content: '';
    position: absolute;
    width: 0%; 
    height: 2px; 
    bottom: -5px; 
    left: 0;
    background-color: var(--primary-color); 
    transition: width 0.3s ease-in-out; 
}

.nav-links a:hover::after, 
.legal-links-top a:hover::after,
.footer-links a:hover::after {
    width: 100%; 
}

.nav-links a.active::after {
    width: 100%;
}
/*==== WhatsApp ====*/
.whatsapp-float {
    position: fixed; 
    width: 60px; 
    height: 60px; 
    bottom: 40px; 
    right: 40px; 
    border-radius: 50px; 
    text-align: center; 
    font-size: 30px; 
    z-index: 1000; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    text-decoration: none; 
}

.whatsapp-float img.whatsapp-icon {
    height: 50px; 
    vertical-align: middle; 
    border: none; 
    margin-top: 2px; 
}


.whatsapp-float:hover .whatsapp-badge {
    opacity: 1; 
    visibility: visible; 
    transform: translateX(0); 
}

/*  Hero Section */
.sell-hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center; 
    padding: 0 5%;
    background: url('../img/casa.jpg') no-repeat center center/cover; 
    color: var(--light-text);
}
.sell-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3); 
}
.sell-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
}
.sell-hero h1 {
    font-family: var(--font-family-title);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    max-width: 800px;
}

/* Intro Section */
.sell-intro {
    padding: 80px 20px;
    background-color: var(--light-bg);
    text-align: center; 
}
.sell-intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-family-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-text);
    font-weight: 300;
}

.sell-valuation {
    padding: 60px 20px 100px 20px;
    background-color: #fafafa; 
    text-align: center;
}
.sell-valuation h2 {
    font-family: var(--font-family-title);
    font-size: 2.8rem;
    font-style: italic; 
    color: var(--dark-text);
    margin-bottom: 30px;
}
.sell-valuation p {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-family: var(--font-family-body);
    color: #555;
    line-height: 1.6;
}
.btn-agency-red {
    background-color: var(--primary-color); 
    color: #fff;
    padding: 15px 40px;
    font-family: var(--font-family-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border: none;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-agency-red:hover {
    background-color: var(--accent-color); 
}

.sell-pillars {
    padding: 80px 20px;
    background-color: var(--light-bg);
    text-align: center;
}
.sell-pillars-title {
    font-family: var(--font-family-title);
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 60px;
    color: var(--dark-text);
}
.pillars-grid-agency {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.agency-pillar h3 {
    font-family: var(--font-family-body); 
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-text);
}
.agency-pillar p {
    font-family: var(--font-family-body);
    font-weight: 300;
    color: #666;
    line-height: 1.6;
}

.sell-form-section {
    padding: 100px 20px;
    background-color: var(--light-bg);
    max-width: 900px;
    margin: 0 auto;
}
.form-title-agency {
    text-align: center;
    font-family: var(--font-family-title);
    font-size: 3rem;
    color: var(--primary-color); 
    margin-bottom: 10px;
}
.form-title-agency span {
    font-style: italic;
    color: var(--dark-text); 
}
.form-subtitle-agency {
    text-align: center;
    font-family: var(--font-family-body);
    color: #666;
    margin-bottom: 60px;
}

.agency-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.form-row-agency {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.agency-input-group {
    display: flex;
    flex-direction: column;
}
.agency-input-group label {
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 5px;
    font-weight: 700;
}
.agency-input, .agency-select, .agency-textarea {
    border: none;
    border-bottom: 1px solid #ccc; 
    padding: 10px 0;
    font-family: var(--font-family-body);
    font-size: 1rem;
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
}
.agency-input:focus, .agency-select:focus, .agency-textarea:focus {
    border-bottom-color: var(--primary-color);
}
.agency-select {
    cursor: pointer;
    color: #555;
}
.agency-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.80rem;
    color: #2e2e2e;
    line-height: 1.4;
    margin-top: 10px;
}
.agency-consent input {
    margin-top: 3px;
}
.agency-consent a {
    color: var(--primary-color);
    text-decoration: none;
}

.btn-connect {
    background: none;
    border: none;
    color: var(--primary-color); 
    font-family: var(--font-family-body);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end; 
    transition: gap 0.3s;
}
.btn-connect:hover {
    gap: 15px; 
    color: var(--accent-color);
}

/* ---  CORRETORES  --- */
.agents-intro {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
    background-color: #f4f4f4;
    margin-bottom: 30px;
}
.agents-title-wrapper {
    margin-bottom: 20px;
}
.agents-title {
    font-size: 3.5rem;
    line-height: 1;
    text-transform: uppercase;
    font-family: var(--font-family-body); 
    font-weight: 300;
    letter-spacing: 2px;
}

.agents-title .outline-text {
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color); 
    margin-right: 10px;
}

.agents-title .filled-text {
    color: var(--primary-color);
    font-weight: 400;
}

.agents-subtitle {
    font-family: var(--font-family-title); 
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.agents-text {
    font-family: var(--font-family-body);
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.agents-search-section {
    padding-bottom: 40px;
}
.agents-search-box {
    background-color: #f4f4f4; 
    padding: 30px;
    margin-bottom: 20px;
}
.search-grid-agents {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
    
}
.agent-input-group {
    position: relative;
}
.agent-input-group input,
.agent-input-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 0; 
    font-family: var(--font-family-body);
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    outline: none;
}
.agent-input-group .search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
}

.agents-count-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #333;
    padding-bottom: 40px;
}
.sort-dropdown {
    cursor: pointer;
    font-weight: 600;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.agent-card {
    background: #fff;
    transition: transform 0.3s ease;
}

.agent-photo {
    width: 100%;
    aspect-ratio: 1 / 1.1; 
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #eee;
}
.agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.agent-card:hover .agent-photo img {
    transform: scale(1.03);
}

.agent-info {
    text-align: left;
}
.agent-info h3 {
    font-size: 1.4rem;
    color: var(--dark-text);
    margin-bottom: 5px;
    font-family: var(--font-family-body);
    font-weight: 400;
}
.agent-info h3 .serif-italic {
    font-family: var(--font-family-title);
    font-style: italic;
    font-weight: 400;
}

.agent-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.agent-phone, .agent-license {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}
.agent-license {
    margin-bottom: 20px;
}

.btn-agent-email {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--primary-color); 
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s;
    background: transparent;
}
.btn-agent-email:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Paginação */
.pagination-wrapper {
    width: 100%;
    display: flex;
    justify-content: center; 
    padding: 40px 0 80px 0;
}

.pagination ul {
    display: flex; 
    flex-direction: row;
    list-style: none; 
    padding: 0;
    margin: 0;
    gap: 10px; 
    align-items: center;
}

.pagination li {
    margin: 0;
    padding: 0;
}
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;  
    height: 40px; 
    text-decoration: none;
    color: #555;
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: transparent;
    border: 1px solid transparent; 
}
.page-link:hover:not(.current) {
    color: var(--primary-color);
    background-color: #f9f9f9;
    border-color: #eee;
}
.page-link.current {
    background-color: var(--primary-color); 
    color: #ffffff;
    font-weight: 600;
    cursor: default; 
}
.page-link.next {
    font-size: 1.4rem;
    padding-bottom: 4px; 
    color: #999;
}
.page-link.next:hover {
    color: var(--primary-color);
    background: none;
    border-color: transparent;
}

.agent-input-group {
    position: relative;
    display: flex; 
}
.search-icon-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;  
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, transform 0.2s;
    z-index: 2; 
}

.search-icon-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1); 
}

.agent-input-group input {
    padding-right: 45px; 
}

/* --- PÁGINA REGIÕES --- */
.regions-intro {
    padding-top: 140px; 
    padding-bottom: 60px;
    text-align: center;
    background-color: #fff;
}

.regions-title-wrapper {
    margin-bottom: 15px;
}

.regions-title {
    font-size: 3.5rem;
    line-height: 1;
    text-transform: uppercase;
    font-family: var(--font-family-body);
    font-weight: 300;
    letter-spacing: 3px;
}

.regions-title .outline-text {
    -webkit-text-stroke: 1px var(--primary-color);
    color: transparent;
    margin-right: 10px;
}

.regions-title .filled-text {
    color: var(--primary-color);
    font-weight: 400;
}

.regions-subtitle {
    font-family: var(--font-family-title); 
    font-size: 2rem;
    color: var(--dark-text);
    margin-top: 10px;
}

.regions-map-section {
    position: relative;
    width: 100%;
    height: 650px; 
    background-color: #e5e5e5;
    overflow: hidden; 
}

.global-map-container {
    width: 100%;
    height: 100%;
    z-index: 1; 
}
.map-controls-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1000; 
    background: #fff;
    display: flex;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    border-radius: 0; 
}

.map-toggle-btn {
    border: none;
    background: #fff;
    padding: 12px 25px;
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    border-right: 1px solid #eee;
}

.map-toggle-btn:last-child {
    border-right: none;
}

.map-toggle-btn:hover {
    background-color: #f9f9f9;
    color: #333;
}

.map-toggle-btn.active {
    background-color: #333; 
    color: #fff;
}

.leaflet-popup-tip-container {
    display: none;
}

.leaflet-popup-content-wrapper {
    border-radius: 0; 
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: #fff;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 280px !important;
    height: 280px !important; 
}

.leaflet-container a.leaflet-popup-close-button {
    color: #fff;
    font-size: 24px;
    top: 8px;
    right: 8px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}
.leaflet-container a.leaflet-popup-close-button:hover {
    color: #eee;
    background: transparent;
}

.popup-card-overlay {
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.popup-image-container {
    position: relative; 
    width: 100%;
    height: 100%;
}

.popup-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.popup-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; 
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    z-index: 1;
    pointer-events: none;
}

.popup-overlay-title {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    text-align: center; 
    color: #fff;
    font-family: var(--font-family-body); 
    font-weight: 700; 
    font-size: 1.3rem;
    z-index: 2; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
}
.regions-list-section {
    padding: 80px 0 120px 0;
    background-color: var(--light-bg);
}

.regions-list-title {
    font-family: var(--font-family-title);
    font-size: 2rem;
    color: var(--dark-text);
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.region-card {
    display: block;
    text-decoration: none;
    background: transparent;
}

.region-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; 
    overflow: hidden;
    margin-bottom: 15px;
    background-color: #f0f0f0;
}

.region-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.region-card:hover .region-image img {
    transform: scale(1.08);
}

.region-image::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6); 
    pointer-events: none;
    transition: border-color 0.3s;
    z-index: 2;
}

.region-card:hover .region-image::after {
    border-color: rgba(255, 255, 255, 1); 
}

.region-info h4 {
    font-family: var(--font-family-title);
    font-size: 1.4rem;
    color: var(--dark-text);
    margin: 0;
    
    text-transform: uppercase;
}

/* PÁGINA SERVIÇOS */
.services-hero {
    position: relative;
    height: 80vh; 
    background: url('../img/FUNDO-CIDADE.jpg') no-repeat center center/cover; 
    display: flex;
    align-items: center;
    background-color: #333; 
}

.services-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.services-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.services-main-title {
    font-family: var(--font-family-title); 
    font-size: 4.5rem;
    font-style: italic; 
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.services-content-section {
    padding: 100px 0 150px 0;
    background-color: var(--light-bg);
}

.services-intro-section{
    background-color: #f4f4f4;
    padding: 80px;
    text-align: left;
}

.container-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    
}

.services-intro h2 {
    font-family: var(--font-family-title);
    font-size: 3rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    line-height: 1.2;
}

.services-intro p {
    font-family: var(--font-family-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.container-fluid-services {
    width: 94%; 
    max-width: 1800px; 
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px 30px; 
}

.service-card a {
    text-decoration: none;
    display: block;
}

.service-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    margin-bottom: 25px; 
    background-color: #f4f4f4; 
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}


.service-image::after {
    content: '';
    position: absolute;
    top: 12px; left: 12px; right: 12px; bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 2;
}


.service-card h3 {
    font-family: var(--font-family-title); 
    font-size: 1.6rem; 
    font-weight: 400; 
    font-style: italic; 
    color: #1a1a1a;
    margin: 0;
    text-align: center; 
    letter-spacing: 0.5px;
}

/* PÁGINA COMPRAR */
.filters-bar {
    margin-top: 100px; 
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.filter-item {
    position: relative;
}
.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    background-color: #fff;
    cursor: pointer;
}
.filter-search-input {
    width: 300px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-filter-action {
    padding: 8px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}
.btn-clear { background: #f0f0f0; color: #333; }
.btn-save { background: var(--primary-color); color: #fff; }

.view-toggles {
    margin-left: auto; 
    display: flex;
    gap: 5px;
}
.btn-view-toggle {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.btn-view-toggle.active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/*  CONTAINER PRINCIPAL  */
.split-layout-container {
    display: flex;
    flex: 1; 
    height: calc(100vh - 150px); 
    position: relative;
    overflow: hidden;
}

/* Lado Esquerdo: MAPA */
.map-pane {
    width: 50%; 
    height: 100%;
    position: relative;
    transition: width 0.4s ease; 
}
.map-pane.hidden {
    width: 0; 
    overflow: hidden;
}
#realEstateMap {
    width: 100%;
    height: 100%;
    background-color: #e5e5e5;
}

.custom-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000 !important;
}

/* Lado Direito: GRID DE IMÓVEIS */
.list-pane {
    width: 50%; 
    height: 100%;
    overflow-y: auto; 
    padding: 20px;
    background-color: #f9f9f9;
    transition: width 0.4s ease;
}
.list-pane.full-width {
    width: 100%; 
}

.list-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.list-header-info h2 {
    font-size: 1.5rem;
    font-weight: 400;
    font-family: var(--font-family-title);
}

.property-grid-split {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.list-pane.full-width .property-grid-split {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* CARD DE IMÓVEL  */
.prop-card-min {
    background: #fff;
    border: 1px solid #eee;
    transition: box-shadow 0.3s;
}
.prop-card-min:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.prop-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #ddd;
}
.prop-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prop-tag {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(255,255,255,0.9);
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.prop-info {
    padding: 15px;
}
.prop-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}
.prop-features {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}
.prop-address {
    font-size: 1.2rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.prop-agent {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
    text-transform: uppercase;
}

/* --- PÁGINA SOBRE NÓS --- */

.about-hero {
    position: relative;
    height: 100vh; 
    background-image: url('../img/FUNDO-CIDADE.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0, 0, 0); 
}

.about-hero .hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.1;
}

.about-hero h1 em {
    font-style: italic;
}

.about-manifesto {
    padding: 100px 0;
    background-color: #fff;
}

.manifesto-grid {
    display: flex;
   flex-direction: column;
    gap: 60px;
}

.manifesto-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
}

.red-line {
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
}

.manifesto-text p.lead {
    font-size: 1.4rem;
    color: #000;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
}

.manifesto-text p {
    font-family: var(--font-family-body);
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    background-color: #f9f9f9;
    padding: 60px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}


.stat-item:last-child {
    border-right: none;
}

.stat-item .number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item .label {
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    font-weight: 700;
}

/* CEO Section */
.ceo-section {
    padding: 100px 0;
    background-color: #fff;
}

.ceo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 80px;
    align-items: center;
}

.ceo-image {
    position: relative;
}

.ceo-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.5s ease;
}

.ceo-content .ceo-role {
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.ceo-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 30px;
    line-height: 1;
}

.ceo-bio {
    font-family: var(--font-family-body);
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-philosophy {
    background-color: var(--primary-color); 
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.about-philosophy h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}


/*PÁGINA DETALHE DO IMÓVEL  */

.property-page {
    background-color: #fff;
    padding-top: 100px; 
}

.property-toolbar {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: var(--font-family-body);
    font-size: 0.85rem;
    color: #333;
    border-bottom: 1px solid #eee; 
}

.toolbar-left, .toolbar-right {
    display: flex;
    gap: 20px;
}

.property-toolbar a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: color 0.3s;
}

.property-toolbar a:hover {
    color: var(--primary-color);
}

/* --- Título e Preço --- */
.property-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 30px;
    padding-bottom: 30px;
}

.heading-left h1 {
    font-family: var(--font-family-title);
    font-size: 3rem;
    font-weight: 400;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.1;
}

.badges {
    display: flex;
    gap: 10px;
}

.badge {
    border: 1px solid #333;
    padding: 5px 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-family-body);
    letter-spacing: 1px;
}

.heading-right .price {
    font-family: var(--font-family-title);
    font-size: 2.5rem;
    color: #111;
}

/* --- Galeria --- */
.property-gallery {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    overflow: hidden;
}

.gallery-grid {
    display: flex;
    width: 100%;
    height: 600px; 
    transition: transform 0.5s ease-in-out;
    flex-wrap: nowrap;
}

.gallery-grid img {
    width: 50%; 
    height: 100%;
    object-fit: cover;
    object-fit: cover;
    display: block;
}

.gallery-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.gallery-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.gallery-btn:hover {
    background: #fff;
}

.gallery-btn img{
    height: 10px;
}

.property-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr; 
    gap: 60px;
    padding-bottom: 100px;
}

/* Coluna Esquerda */
.property-main-content {
    font-family: var(--font-family-body);
}

.stats-bar {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    color: #333;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-item img {
    height: 40px;
}

.stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 0.9rem;
}

.stat-text strong {
    font-size: 1.2rem;
    color: #000;
}

.mls-info {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

.mls-info strong {
    font-size: 1.2rem;
    color: #000;
}

.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.section-title-red {
    font-family: var(--font-family-title);
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.property-description p {
    margin-bottom: 15px;
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: #333;
}

.feature-list li::before {
    content: '-';
    position: absolute;
    left: 0;
}

.sidebar-title {
    color: var(--primary-color);
    font-family: var(--font-family-title);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.sidebar-agent-card {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.sidebar-agent-img {
    height: 180px;
    flex-shrink: 0;
}

.sidebar-agent-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-agent-info h4 {
    font-family: var(--font-family-body);
    font-size: 1rem;
    margin-bottom: 2px;
}

.sidebar-agent-info .role {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.sidebar-agent-info .contact-line {
    font-size: 0.85rem;
    color: #333;
    margin-bottom: 2px;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 8px 15px;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-full-width {
    width: 100%;
    padding: 15px;
    font-size: 0.9rem;
}

/* Formulário Sidebar */
.sidebar-form-box h3 {
    font-family: var(--font-family-title);
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #000;
}

/*PAGINA DE BIOGRAFIA*/

.bio-subnav {
    background-color: #f9f9f9;
    padding: 15px 0;
    margin-top: 100px; 
    border-bottom: 1px solid #eee;
}
.bio-subnav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}
.bio-subnav a {
    text-decoration: none;
    color: #666;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--font-family-body);
}
.bio-subnav a.active {
    color: var(--primary-color);
    padding-bottom: 2px;
    font-size: 1.3em;
}

/*  Layout do Perfil */
.agent-profile-section {
    padding: 60px 0 100px 0;
}
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
}

/* Sidebar Esquerda */
.profile-image-box img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.btn-work-with {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 0;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
    font-family: var(--font-family-body);
}
.btn-work-with:hover {
    background-color: var(--accent-color);
}

.profile-languages {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #333;
}

/* Conteúdo Direita */
.agent-name {
    font-family: var(--font-family-title);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 1.1;
    color: #1a1a1a;
}
.agent-title {
    font-family: var(--font-family-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 20px;
}
.agent-contact-info p {
   font-family: var(--font-family-body);
    color: #444;
    margin-bottom: 5px;
    font-size: 1.1em;
}
.agent-bio-text {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}
.agent-bio-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    font-family: var(--font-family-body);
}

.agency-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 9999;
    display: none; 
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.agency-modal-overlay.active { display: flex; }

.agency-modal-box {
    background: #fff;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header-red {
    background-color: var(--primary-color); 
    color: #fff;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-title-row h3 {
    margin: 0;
    font-family: var(--font-family-body);
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.modal-close-x {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 0.5;
}

/* Corpo do Modal */
.modal-body {
    padding: 40px;
}

.form-row-agency {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.input-wrap {
    display: flex;
    flex-direction: column;
}
.input-wrap.full { margin-bottom: 25px; }

.input-wrap label {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
    font-family: var(--font-family-body);
}

.input-wrap input,
.input-wrap textarea {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-size: 1rem;
    font-family: var(--font-family-body);
    outline: none;
    transition: border-color 0.3s;
}
.input-wrap input:focus, .input-wrap textarea:focus {
    border-bottom-color: var(--primary-color);
}

.privacy-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 40px;
}
.privacy-check a { color: var(--primary-color); text-decoration: none; }

/* Botões Rodapé */
.modal-footer-btns {
    display: flex;
    justify-content: flex-end; 
    gap: 20px;
}

.btn-cancel {
    background: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-cancel:hover { background-color: #f9f9f9; }

.btn-submit-red {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 12px 40px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-submit-red:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/*detalhe regiao */
.region-detail-hero {
    position: relative;
    height: 60vh; 
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
 
}

.region-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3); 
}

.region-detail-hero .container {
    position: relative;
    z-index: 2;
}

.region-hero-title {
    font-family: var(--font-family-title);
    font-size: 4.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.region-hero-subtitle {
    font-family: var(--font-family-body);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Intro Text */
.region-intro-text {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-label {
    display: block;
    color: #999;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.intro-content h2 {
    font-family: var(--font-family-title);
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-family: 'Lato', sans-serif;
}

/* Listings */
.region-listings {
    padding: 0 0 100px 0;
    background-color: #f9f9f9;
    padding-top: 60px;
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.listings-header h3 {
    font-family: var(--font-family-title);
    font-size: 1.8rem;
    color: #333;
}

.count-badge {
    background-color: #fff;
    padding: 5px 15px;
    border: 1px solid #ddd;
    font-size: 0.85rem;
    color: #666;
    border-radius: 20px;
    font-family: 'Lato', sans-serif;
}

.no-results {
    text-align: center;
    padding: 60px;
    color: #666;
}

/* Banner Contato Final */
.region-contact-banner {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.region-contact-banner h2 {
    font-family: var(--font-family-title);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.region-contact-banner p {
    margin-bottom: 30px;
    color: #ccc;
    font-size: 1.1rem;
}

/*paginacao */
.agent-card {
    transition: opacity 0.3s ease;
}

.page-link.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}



@media (max-width: 1024px) {

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
   
    .desktop-only { display: none !important; }
    .mobile-toggle { display: flex; }
    
    header {
        background-color: #fff !important; 
        height: 70px;
        padding: 0 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .logo-box img { height: 35px; padding-top: 0; } 
    .mobile-toggle span { background-color: #333; } 

    .filters-bar {
        overflow-x: auto; 
        white-space: nowrap;
        padding: 10px;
        gap: 10px;
        justify-content: flex-start; 
    }

    .filter-search-input { width: 200px; }
    
    .split-layout-container {
        flex-direction: column;
    }
    
    .map-pane {
        display: none; 
        width: 100%;
        height: 40vh; 
    }
    .map-pane.active { display: block; }

    .list-pane {
        width: 100%;
        height: 100%;
        padding: 15px;
    }
    
    .view-toggles {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        background: #333;
        border-radius: 50px;
        padding: 5px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }
    .btn-view-toggle {
        background: transparent;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .btn-view-toggle.active {
        background: #fff;
        color: #333;
        border-radius: 40px;
    }

    .hero-text-area h1 { font-size: 2.8rem; }
    .hero-container { padding: 100px 20px; }

    .desktop-only {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
        color:#333;
    }

    header {
        height: 80px;
        padding: 0 20px;
        background-color: #fff; 
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        
    }
  
    .logo-box {
        height: auto;
        width: auto;
        background: transparent;
        padding: 0;
    }
    .logo-box img {
        padding-top: 0;
        height: 40px; 
    }
}

@media (max-width: 768px) {

    .region-hero-title { font-size: 3rem; }
    .listings-header { flex-direction: column; gap: 10px; align-items: flex-start; }

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

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

    .team-grid {
        grid-template-columns: 1fr;
    }
    .container { padding: 0 15px; }
    
    .property-grid-split {
        grid-template-columns: 1fr; 
    }
    
    .filters-bar {
        height: auto;
        flex-wrap: wrap; 
    }
    .filter-search-input { width: 100%; order: -1; margin-bottom: 10px; }

    .services-grid, .regions-grid {
        grid-template-columns: 1fr; 
    }
    .services-main-title, .regions-title {
        font-size: 2.5rem; 
    }

    .search-grid-agents {
        grid-template-columns: 1fr;
    }
    .agent-input-group { margin-bottom: 10px; }
    
    .footer-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
        text-align: center;
    }
    .footer-logo-box { margin: 0 auto; } 
    .info-right { text-align: left; align-items: flex-start; margin-top: 10px; } 
    
    .form-row, .form-row-agency {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .countries-grid,
    .container-about,
     .properties-grid-system
    {
        display: flex;
        flex-direction: column;
    }

    .contact-split-container {
        flex-direction: column;
    }

    .contact-visual {
        width: 100%;
        height: 400px; 
        min-height: auto;
    }
    
    .visual-content h2 {
        font-size: 2.2rem; 
        margin-top: 20px;
    }
    .contact-form-wrapper {
        width: 100%;
        padding: 50px 20px; 
    }

    .form-row {
        flex-direction: column;
        gap: 0; 
    }

    .contact-logo img{
        display: none;
    }

    .social-icons{
        justify-content: center; 
    }

    .services-intro-section{
        padding-top: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }

     .property-layout {
        grid-template-columns: 1fr; 
        gap: 40px;
    }

    .gallery-grid img {
        width: 100%; 
    }
    
    .gallery-grid img:nth-child(2) {
        display: none; 
    }

    .property-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .property-toolbar {
        display: none; 
    }

    .profile-grid { grid-template-columns: 1fr; gap: 40px; }
    .profile-sidebar { max-width: 300px; margin: 0 auto; text-align: center; }

    .form-row-agency { grid-template-columns: 1fr; gap: 15px; }

}