:root {
    --navy-900: #0a1628;
    --navy-800: #0f1b33;
    --navy-700: #1a2744;
    --navy-600: #2c3e6b;
    --gold-500: #c9a84c;
    /* Tons escurecidos do dourado para texto sobre fundo claro (WCAG AA) */
    --gold-700: #8a6d20;  /* texto pequeno  - 4.9:1 sobre branco  */
    --gold-600: #a8862c;  /* texto grande   - 3.3:1 sobre branco  */
    --gold-400: #d4b76a;
    --gold-300: #e0c88a;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #686f77;
    --gray-800: #343a40;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 10px 40px -10px rgba(201, 168, 76, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy-900);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-gold { color: var(--gold-500); }
.text-navy { color: var(--navy-800); }
.text-white { color: var(--white); }
.bg-navy { background-color: var(--navy-900); }
.bg-gray { background-color: var(--gray-50); }

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--gold-500);
    color: var(--navy-900);
    border: 2px solid var(--gold-500);
}

.btn-primary:hover {
    background-color: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
}

.btn-dark {
    background-color: var(--navy-800);
    color: var(--white);
    border: 2px solid var(--navy-800);
}

.btn-dark:hover {
    background-color: var(--navy-700);
    border-color: var(--navy-700);
}

.btn-whatsapp {
    background-color: #0c7c43;
    color: var(--white);
    border: 2px solid #0c7c43;
}

.btn-whatsapp:hover {
    background-color: #075e54;
    border-color: #075e54;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px -10px rgba(12, 124, 67, 0.45);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.25rem 0;
}

.header.scrolled {
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-icon {
    width: 48px;
    height: 48px;
    background-color: var(--gold-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-500);
    margin-top: 0.25rem;
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-500);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-quote {
    display: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--navy-900);
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-list {
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu .nav-link {
    font-size: 1.1rem;
}

.mobile-menu .btn-quote {
    display: inline-flex;
    margin-top: 2rem;
    width: 100%;
}

.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--navy-900);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.7) 0%,
        rgba(10, 22, 40, 0.5) 50%,
        rgba(10, 22, 40, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 1.5rem;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-500);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    background-color: rgba(201, 168, 76, 0.05);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--gold-500);
    font-style: italic;
}

.hero-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-700);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--navy-900);
}

.section-text {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

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

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-500);
    border-radius: 4px;
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.25rem;
    color: var(--gray-600);
    line-height: 1.8;
}

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

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-600);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Properties Section */
.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.property-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-300);
}

.property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

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

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--gold-500);
    color: var(--navy-900);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    z-index: 2;
}

.property-body {
    padding: 2rem;
}

.property-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--navy-900);
}

.property-subtitle {
    font-size: 0.875rem;
    color: var(--gold-700);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.property-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.property-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: var(--gray-50);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-value {
    font-weight: 700;
    color: var(--navy-900);
    font-size: 0.95rem;
}

.feature-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.property-footer {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.property-footer .btn {
    flex: 1;
    padding: 0.875rem;
    font-size: 0.75rem;
}

/* Differentiators */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.diff-card {
    background-color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.diff-card:hover {
    border-color: var(--gold-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.diff-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background-color: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    transition: var(--transition);
}

.diff-card:hover .diff-icon {
    background-color: var(--gold-500);
    color: var(--white);
}

.diff-icon svg {
    width: 28px;
    height: 28px;
}

.diff-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--navy-900);
}

.diff-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

/* CTA Section */
.cta {
    position: relative;
    background-color: var(--navy-900);
    padding: 6rem 0;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background-color: rgba(201, 168, 76, 0.03);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--gray-50);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-detail h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--navy-900);
}

.contact-detail p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background-color: var(--gray-50);
    transition: var(--transition);
    color: var(--gray-800);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-500);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: none;
}

.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;
}

/* Footer */
.footer {
    background-color: var(--navy-900);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .brand-name {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: #0c7c43;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(12, 124, 67, 0.45);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(12, 124, 67, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(12, 124, 67, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(12, 124, 67, 0); }
    100% { box-shadow: 0 0 0 0 rgba(12, 124, 67, 0); }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background-color: rgba(10, 22, 40, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.lightbox-close:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Responsive */
@media (min-width: 768px) {
    .nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .btn-quote {
        display: inline-flex;
    }

    .hero-buttons {
        flex-direction: row;
    }

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

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

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

    .gallery-item:first-child {
        grid-column: span 2;
    }

    .cta-buttons {
        flex-direction: row;
    }

    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

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

    .section-padding {
        padding: 8rem 0;
    }
}

/* Loading State */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gray-300);
    border-top-color: var(--gold-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--navy-800);
}

/* ==========================================================================
   Acessibilidade
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 5000;
    background-color: var(--gold-500);
    color: var(--navy-900);
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 3px;
    border-radius: 2px;
}

.header a:focus-visible,
.footer a:focus-visible,
.cta a:focus-visible,
.hero a:focus-visible {
    outline-color: var(--gold-400);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Sem JavaScript o conteudo permanece visivel */
.no-js .fade-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Cabecalho de paginas internas
   ========================================================================== */

.page-hero {
    position: relative;
    padding: 11rem 0 5rem;
    background-color: var(--navy-900);
    background-image: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.14) 0%, transparent 65%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.page-hero .section-label {
    color: var(--gold-400);
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 1.25rem;
}

.page-hero h1 span {
    color: var(--gold-500);
    font-style: italic;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.0625rem;
    line-height: 1.8;
    max-width: 70ch;
}

.breadcrumb {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb a:hover {
    color: var(--gold-400);
}

.breadcrumb [aria-current] {
    color: var(--gold-400);
}

/* ==========================================================================
   Blocos de conteudo reutilizaveis
   ========================================================================== */

.prose {
    max-width: 72ch;
}

.prose p {
    margin-bottom: 1.25rem;
    color: var(--gray-600);
    line-height: 1.85;
}

.prose p strong {
    color: var(--navy-800);
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.content-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 0.875rem;
    margin: 1.75rem 0;
}

.check-list li {
    position: relative;
    padding-left: 2.25rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(201, 168, 76, 0.14);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
}

.solution-grid {
    display: grid;
    gap: 1.75rem;
    margin-top: 3.5rem;
}

.solution-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--gold-500);
    border-radius: 4px;
    padding: 2.25rem 2rem;
    transition: var(--transition);
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.solution-card .diff-icon {
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
}

.solution-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* Passos do processo */
.steps {
    display: grid;
    gap: 2rem;
    margin-top: 3.5rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 2rem 1.75rem 2rem 2rem;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gold-500);
    line-height: 1;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
}

.step p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Bloco de exemplo / citacao */
.example-block {
    background-color: var(--navy-900);
    background-image: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    border-left: 4px solid var(--gold-500);
    border-radius: 4px;
    padding: 3rem 2.25rem;
    margin: 3.5rem 0;
    text-align: center;
}

.example-block .quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--white);
    line-height: 1.5;
    max-width: 40ch;
    margin: 0 auto 1.5rem;
}

.example-block .quote::before,
.example-block .quote::after {
    content: '"';
    color: var(--gold-500);
}

.example-block p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    max-width: 62ch;
    margin: 0 auto;
    line-height: 1.8;
}

/* Faixa de destaque na home */
.teaser {
    position: relative;
    background-color: var(--navy-800);
    background-image: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-600) 100%);
    padding: 5.5rem 0;
    overflow: hidden;
}

.teaser::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 55%;
    height: 170%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.16) 0%, transparent 65%);
    pointer-events: none;
}

.teaser-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.teaser .section-label {
    color: var(--gold-400);
}

.teaser h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.25rem;
}

.teaser h2 span {
    color: var(--gold-500);
    font-style: italic;
}

.teaser p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.teaser .highlight {
    color: var(--gold-300);
    font-weight: 500;
}

.teaser-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* Cartoes de parceiros */
.partner-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.partner-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    padding: 1.75rem;
    transition: var(--transition);
}

.partner-card:hover {
    border-color: var(--gold-300);
    box-shadow: var(--shadow-md);
}

.partner-card .feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
}

.partner-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
}

.partner-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Nav: item ativo */
.nav-link.active {
    color: var(--gold-500);
}

.nav-link.active::after {
    width: 100%;
}

/* Formulario: erros de validacao */
.form-control[aria-invalid="true"] {
    border-color: #c0392b;
}

.field-error {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8125rem;
    color: #c0392b;
}

.form-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
    text-align: center;
    line-height: 1.6;
}

.form-note a {
    color: var(--navy-700);
    font-weight: 500;
    text-decoration: underline;
}

/* ==========================================================================
   Responsivo (adicoes)
   ========================================================================== */

@media (min-width: 768px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .example-block {
        padding: 4rem 3rem;
    }
    .page-hero {
        padding: 12rem 0 6rem;
    }
}

@media (min-width: 1024px) {
    .content-grid.two-col {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 4.5rem;
    }
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
    .teaser-inner {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
    .teaser {
        padding: 7rem 0;
    }
}

/* Oculta o botao flutuante quando o menu mobile esta aberto */
body:has(.mobile-menu.active) .whatsapp-float {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ==========================================================================
   Classes utilitarias (substituem estilos inline)
   ========================================================================== */

.brand-logo {
    height: 60px;
    width: auto;
}

.footer-brand .brand {
    margin-bottom: 1.25rem;
}

.footer-brand .brand-logo {
    height: 55px;
}

.section-title--left {
    text-align: left;
    margin-bottom: 1.5rem;
}

.check-list--flush {
    margin: 0;
}

.check-list--light li {
    color: rgba(255, 255, 255, 0.85);
}

.mb-2 {
    margin-bottom: 2rem;
}

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

.solution-card--navy {
    border-top-color: var(--navy-700);
}

.contact-form--centered {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* Itens da galeria como botao nativo */
.gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
}

/* ==========================================================================
   Correcao de acessibilidade: menu mobile
   Sem visibility:hidden os links continuavam acessiveis por teclado
   mesmo com o menu fechado (e tambem no desktop).
   ========================================================================== */

.mobile-menu {
    visibility: hidden;
}

.mobile-menu.active {
    visibility: visible;
}

@media (min-width: 768px) {
    .mobile-menu,
    .overlay {
        display: none;
    }
}

/* ==========================================================================
   Topo: dois caminhos (disponivel agora / sob medida)
   ========================================================================== */

.hero {
    height: auto;
    min-height: 100vh;
    padding: 9rem 0 5rem;
}

.hero-content {
    max-width: 1040px;
    width: 100%;
}

.hero-title span {
    display: inline;
}

.hero-text {
    margin-bottom: 3rem;
}

.hero-paths {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.hero-path {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    background-color: rgba(10, 22, 40, 0.55);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.hero-path:hover {
    border-color: var(--gold-500);
    background-color: rgba(10, 22, 40, 0.78);
    transform: translateY(-3px);
}

.hero-path-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-400);
}

.hero-path-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.25;
}

.hero-path-text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

.hero-path-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-500);
}

.hero-path-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hero-path:hover .hero-path-link svg {
    transform: translateX(5px);
}

.hero-whatsapp {
    display: inline-flex;
}

/* ==========================================================================
   Cards de imovel: escopo dos numeros
   ========================================================================== */

.feature-scope {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-700);
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
}

.feature-scope::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--gray-200);
}

.property-badge {
    white-space: nowrap;
}

/* ==========================================================================
   Galeria: item de video
   ========================================================================== */

.gallery-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(10, 22, 40, 0.72);
    border: 2px solid var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
    transition: var(--transition);
    pointer-events: none;
}

.gallery-play svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
}

.gallery-item--video:hover .gallery-play {
    background-color: var(--gold-500);
    color: var(--navy-900);
    transform: translate(-50%, -50%) scale(1.08);
}

#lightboxVideo {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    background-color: #000;
}

#lightboxVideo[hidden] {
    display: none;
}

@media (min-width: 768px) {
    .hero-paths {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .hero-path {
        padding: 2rem 1.875rem;
    }
    .hero {
        padding: 10rem 0 6rem;
    }
}

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

/* Com 6 itens a galeria fecha em grade regular; o destaque do primeiro
   item deixaria o ultimo sozinho na linha. */
.gallery-item:first-child {
    grid-column: auto;
}
