/* ===== VARIÁVEIS ===== */
:root {
    /* Cores - Tema Grande Gatsby */
    --primary-color: #0A0E17;
    --secondary-color: #C5A030;
    --gold-light: #E6C15F;
    --gold-dark: #8B6E2C;
    --light-color: #F8F5EE;
    --dark-color: #0A0A0A;
    --gray-color: #888888;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --bg-light: #FAFAFA;
    --bg-dark: #1A1A1A;
    --success-color: #28a745;
    --error-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease-in-out;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --white: #ffffff;
    --black: #000000;
    
    /* Gradientes */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F9F295 50%, #E6C15F 100%);
    --gold-gradient-horizontal: linear-gradient(90deg, #D4AF37 0%, #F9F295 50%, #E6C15F 100%);
    --overlay-gradient: linear-gradient(135deg, rgba(10, 14, 23, 0.9) 0%, rgba(10, 14, 23, 0.7) 100%);
    
    /* Tipografia */
    --main-font: 'Montserrat', sans-serif;
    --heading-font: 'Playfair Display', serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;  /* 8px */
    --spacing-sm: 1rem;    /* 16px */
    --spacing-md: 2rem;    /* 32px */
    --spacing-lg: 4rem;    /* 64px */
    --spacing-xl: 6rem;    /* 96px */
    
    /* Bordas */
    --border-radius: 4px;
    --border-radius-lg: 8px;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    
    /* Transições */
    --transition: all 0.3s ease;
}

/* ===== RESET E ESTILOS BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

h1 { font-size: 4.8rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 2.8rem; }
h4 { font-size: 2.2rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: #555;
    line-height: 1.8;
}

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

a:hover {
    color: var(--secondary-color);
}

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #D4AF37 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    font-weight: 400;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.bg-light {
    background-color: #f9f9f9;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 1.4rem 3.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(197, 160, 48, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-color);
    border: 2px solid transparent;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary::before {
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
}

.btn-primary:hover {
    color: var(--gold-light);
    box-shadow: 0 8px 25px rgba(197, 160, 48, 0.5);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-shadow:
        0 0 10px rgba(212, 175, 55, 0.5),
        0 0 20px rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        #FFD700 0%,
        #D4AF37 15%,
        #FFD700 30%,
        #B8860B 45%,
        #D4AF37 60%,
        #FFD700 75%,
        #D4AF37 90%,
        #FFD700 100%);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: metallicShine 3s ease-in-out infinite alternate;
}

.btn-outline:hover {
    color: var(--primary-color);
    border-color: transparent;
    box-shadow:
        0 8px 25px rgba(197, 160, 48, 0.6),
        0 0 30px rgba(255, 215, 0, 0.5),
        0 0 50px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1) contrast(1.1);
}

.btn-outline:hover::before {
    opacity: 1;
    background-position: 100% 50%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(212, 175, 55, 0.6);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 1.5rem 0;
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(10, 14, 23, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid rgba(212, 175, 55, 0.8);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    flex-shrink: 0;
    margin-right: auto;
    margin-left: 0;
}

.nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    margin-left: 1rem;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    gap: 7rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(197, 160, 48, 0.3);
}

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

.logo, .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    line-height: 1.2;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 300px;
    transition: all 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer .logo-text {
    font-family: 'Elegant', serif;
    color: var(--secondary-color) !important;
    font-weight: normal !important;
}

.footer .logo-suffix {
    color: #D4AF37 !important;
    opacity: 0.8;
}

/* Botão do Menu Mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 1rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

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

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    background-color: var(--primary-color);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    overflow: hidden;
    box-shadow: inset 0 -60px 100px -30px rgba(0, 0, 0, 0.8);
    animation: fadeIn 1.5s ease-out;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c5a030' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 0;
    animation: patternMove 30s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 14, 23, 0.7);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem var(--spacing-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 7.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg,
        #FFD700 0%,
        #D4AF37 15%,
        #FFD700 30%,
        #B8860B 45%,
        #D4AF37 60%,
        #FFD700 75%,
        #D4AF37 90%,
        #FFD700 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow:
        0 0 20px rgba(212, 175, 55, 0.9),
        0 0 40px rgba(255, 215, 0, 0.8),
        0 0 60px rgba(212, 175, 55, 0.6),
        0 0 80px rgba(184, 134, 11, 0.4),
        2px 2px 8px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    display: inline-block;
    padding-bottom: 2.5rem;
    line-height: 1.1;
    animation: metallicShine 2.5s ease-in-out infinite alternate;
    font-style: italic;
    filter: brightness(1.1) contrast(1.1);
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 200px;
    height: 3px;
    background: var(--gold-gradient);
    animation: lineReveal 1.5s ease-out 1s forwards;
    box-shadow: 0 0 15px rgba(197, 160, 48, 0.7);
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: var(--spacing-lg);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    margin-top: var(--spacing-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

/* Hero Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes metallicShine {
    0% {
        background-position: 0% 50%;
        filter: brightness(1.0) contrast(1.0);
        text-shadow:
            0 0 20px rgba(212, 175, 55, 0.9),
            0 0 40px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(212, 175, 55, 0.6),
            0 0 80px rgba(184, 134, 11, 0.4),
            2px 2px 8px rgba(0, 0, 0, 0.5),
            inset 0 0 20px rgba(255, 215, 0, 0.3);
    }
    25% {
        background-position: 50% 50%;
        filter: brightness(1.2) contrast(1.2);
        text-shadow:
            0 0 25px rgba(255, 215, 0, 1.0),
            0 0 50px rgba(212, 175, 55, 0.9),
            0 0 75px rgba(255, 215, 0, 0.7),
            0 0 100px rgba(184, 134, 11, 0.5),
            2px 2px 8px rgba(0, 0, 0, 0.4),
            inset 0 0 25px rgba(255, 215, 0, 0.4);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.3) contrast(1.3);
        text-shadow:
            0 0 30px rgba(255, 215, 0, 1.0),
            0 0 60px rgba(212, 175, 55, 1.0),
            0 0 90px rgba(255, 215, 0, 0.8),
            0 0 120px rgba(184, 134, 11, 0.6),
            2px 2px 8px rgba(0, 0, 0, 0.3),
            inset 0 0 30px rgba(255, 215, 0, 0.5);
    }
    75% {
        background-position: 150% 50%;
        filter: brightness(1.2) contrast(1.2);
        text-shadow:
            0 0 25px rgba(255, 215, 0, 1.0),
            0 0 50px rgba(212, 175, 55, 0.9),
            0 0 75px rgba(255, 215, 0, 0.7),
            0 0 100px rgba(184, 134, 11, 0.5),
            2px 2px 8px rgba(0, 0, 0, 0.4),
            inset 0 0 25px rgba(255, 215, 0, 0.4);
    }
    100% {
        background-position: 200% 50%;
        filter: brightness(1.0) contrast(1.0);
        text-shadow:
            0 0 20px rgba(212, 175, 55, 0.9),
            0 0 40px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(212, 175, 55, 0.6),
            0 0 80px rgba(184, 134, 11, 0.4),
            2px 2px 8px rgba(0, 0, 0, 0.5),
            inset 0 0 20px rgba(255, 215, 0, 0.3);
    }
}

@keyframes lineReveal {
    0% {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
        padding-bottom: 2rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    /* Fix hero full-width on mobile */
    .hero {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        height: 80vh;
        min-height: 600px;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3.8rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .hero::before {
        animation: patternMove 60s linear infinite;
    }

    /* Further mobile optimizations */
    .hero {
        height: 70vh;
        min-height: 550px;
        background-attachment: scroll; /* Better mobile performance */
    }
}

.hero-subtitle {
    font-size: 2.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.hero-title {
    font-size: 5.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 2.4rem;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s both;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* ===== SEÇÃO SOBRE ===== */
.about-section {
    position: relative;
    background-color: #0A0E17;
    color: #D4AF37;
}

.art-deco-frame {
    display: none; /* Remove the background image */
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
    padding: 4rem 2rem;
}

.about-text h3 {
    font-size: 3.2rem;
    margin-bottom: var(--spacing-md);
    color: #D4AF37;
    text-transform: uppercase;
}

.about-text h4 {
    font-size: 2.4rem;
    margin: 3rem 0 1.5rem;
    color: var(--secondary-color);
    border-bottom: 2px solid rgba(197, 160, 48, 0.3);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.about-text h5 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--gold-dark);
    font-weight: 500;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.neighborhoods-section {
    margin-top: 4rem;
    padding-top: 2rem;
}

.neighborhood {
    margin-bottom: 3rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(197, 160, 48, 0.1);
    transition: var(--transition);
}

.neighborhood:last-child {
    border-bottom: none;
}

.neighborhood:hover {
    transform: translateX(10px);
}

.section-subtitle {
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: italic;
    text-align: center;
    letter-spacing: 2px;
}

.about-description {
    color: #D4AF37;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-title, .feature-text {
    color: #D4AF37 !important;
}

.feature-icon {
    color: #D4AF37;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.2), transparent);
    z-index: 1;
}

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

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

/* ===== SEÇÃO DE VINHOS ===== */
.wines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: var(--spacing-lg);
}

@media (max-width: 1200px) {
    .wines-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

.wine-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
    position: relative;
    border: 1px solid rgba(197, 160, 48, 0.1);
    display: flex;
    flex-direction: column;
}

.wine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    opacity: 0;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    mix-blend-mode: overlay;
}

.wine-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(197, 160, 48, 0.3);
}

.wine-card:hover::before {
    opacity: 0.1;
}

.wine-card:hover .wine-type {
    background: var(--gold-gradient);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(197, 160, 48, 0.4);
}

.wine-card:hover .wine-price {
    color: var(--gold-light);
}

.wine-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

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

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

/* Mobile optimizations for wine images */
@media (max-width: 768px) {
    .wine-image {
        height: 380px; /* Increased from 320px for much better visibility */
    }

    .wine-image img {
        object-fit: contain;
        object-position: center center;
        background-color: #f8f8f8; /* Light background for letterboxing */
        padding: 1.5rem; /* More generous padding */
    }

    .wine-info {
        padding: 2rem;
    }

    .wine-info h3 {
        font-size: 1.8rem;
    }

    .wine-description {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .wine-image {
        height: 320px; /* Increased from 260px for much better mobile visibility */
    }
    
    .wine-image img {
        object-fit: contain;
        object-position: center center;
        background-color: #f8f8f8;
        padding: 1.2rem; /* More generous padding for smaller screens */
    }

    .wine-info {
        padding: 1.5rem;
    }

    .wine-info h3 {
        font-size: 1.6rem;
    }

    .wine-description {
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .wine-type {
        font-size: 1rem;
        padding: 0.4rem 1.5rem;
    }
}

.wine-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.wine-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.wine-type {
    display: inline-block;
    background: var(--primary-color);
    color: var(--gold-light);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1.8rem;
    border-radius: 20px;
    margin: 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wine-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wine-card:hover .wine-type::before {
    opacity: 1;
}

.wine-card:hover .wine-type {
    color: var(--primary-color);
    font-weight: 700;
}

.wine-description {
    color: var(--gray-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex-grow: 1; /* Faz a descrição ocupar o espaço disponível */
}

.wine-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.5rem 0;
    text-align: center;
}

.wine-region,
.wine-volume {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gray-color);
}

.wine-region i,
.wine-volume i {
    color: var(--gold-light);
    font-size: 1.6rem;
    width: 2rem;
    text-align: center;
}

/* Mobile responsive adjustments for wine details */
@media (max-width: 768px) {
    .wine-details {
        gap: 0.6rem;
        margin: 1.2rem 0;
        text-align: center;
    }

    .wine-region,
    .wine-volume {
        font-size: 1.3rem;
        gap: 0.6rem;
        justify-content: center;
    }

    .wine-region i,
    .wine-volume i {
        font-size: 1.5rem;
        width: 1.8rem;
    }
}

@media (max-width: 576px) {
    .wine-details {
        gap: 0.5rem;
        margin: 1rem 0;
        text-align: center;
    }

    .wine-region,
    .wine-volume {
        font-size: 1.2rem;
        gap: 0.5rem;
        justify-content: center;
    }

    .wine-region i,
    .wine-volume i {
        font-size: 1.4rem;
        width: 1.6rem;
    }
}

/* ===== SEÇÃO DE CONTATO ===== */
.contact-section {
    background: linear-gradient(135deg, #0A0E17 0%, #1A1F2E 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c5a030' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-text {
    font-size: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    font-weight: 300;
}

.contact-section .btn-primary {
    background: var(--gold-gradient);
    color: var(--primary-color);
    font-weight: 700;
    padding: 1.6rem 4rem;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(197, 160, 48, 0.4);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 48, 0.6);
    color: var(--primary-color);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-section .section-title::after {
    background-color: var(--secondary-color);
}

.contact-text {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0A0E17 0%, #141A29 100%);
    color: #D4AF37;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
    text-align: center; /* Center all text content */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
}

.footer-content {
    margin-bottom: var(--spacing-lg);
}

/* Ensure the logo container is centered and stacked */
.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.footer .footer-about-text {
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.8;
    opacity: 0.9;
}

.footer .footer-contact-info {
    margin-bottom: var(--spacing-lg);
}

.footer a {
    color: #D4AF37;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-copyright,
.footer-legal,
.footer-credit {
    margin-bottom: 0.8rem;
}

.footer-legal a {
    margin: 0 1rem;
}

.footer-legal .divider {
    margin: 0 0.5rem;
}

.footer-credit {
    font-size: 1.3rem;
    opacity: 0.7;
    margin-top: var(--spacing-sm);
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background: var(--gold-gradient);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 999;
    box-shadow: 0 5px 25px rgba(197, 160, 48, 0.4);
    border: none;
    cursor: pointer;
    outline: none;
    transform: scale(0.8);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(197, 160, 48, 0.6);
    color: var(--primary-color);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.98);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .wines-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56.25%; /* 9px */
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    /* Menu Mobile */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -120%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--primary-color);
        padding: 10rem 2rem 2rem;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav.active {
        right: -20%;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.6rem;
    }
    
    /* Center header logo on mobile */
    .header-container {
        justify-content: center;
        position: relative;
    }

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

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Increase header height for mobile */
    .header {
        padding: 4rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 50%; /* 8px */
    }
    
    .hero-title {
        font-size: 3.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .wines-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
        text-align: left;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== PRELOADER E LOADING ===== */
body.loading {
    overflow: hidden;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

body:not(.loading) .preloader {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.preloader-spinner-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.preloader-spinner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold-gradient);
    position: absolute;
    animation: preloader-bounce 1.4s ease-in-out infinite both;
}

.preloader-spinner-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.preloader-spinner-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes preloader-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
