/* ========== RESET & VARIÁVEIS ========== */
:root {
    --primary: #D4A574;
    --primary-dark: #C49A6C;
    --primary-light: #E8C9A8;
    --gold: #D4A574;
    --brand-red: #D62828;
    --dark: #0A0A0A;
    --dark-card: #141414;
    --dark-light: #1A1A1A;
    --white: #FFFFFF;
    --gray: #888888;
    --text: #E0E0E0;
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    --shadow: 0 4px 30px rgba(0,0,0,0.3);
    --shadow-hover: 0 8px 50px rgba(0,0,0,0.5);
    --radius: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text);
    background: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

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

.section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.05);
}

.section:last-of-type {
    border-bottom: none;
}

/* ========== SECTION TITLES ========== */
.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.5rem;
    height: 2px;
    background: var(--gold);
    transform: translateY(-50%);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.section-title .highlight {
    color: var(--gold);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold);
    opacity: 0.3;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.06);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.12);
}

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

.nav__logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--brand-red);
}

.nav__menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav__menu a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.8rem;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
    padding: 0.3rem 0;
}

.nav__menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--brand-red);
    transition: var(--transition);
}

.nav__menu a:hover,
.nav__menu a.active {
    color: var(--brand-red);
}

.nav__menu a:hover::after,
.nav__menu a.active::after {
    width: 100%;
}

.nav__social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.nav__social a {
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.nav__social a:hover {
    color: var(--brand-red);
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    display: block;
    border-radius: 2px;
}

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

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

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

/* ========== BOTÕES ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(212, 165, 116, 0.2);
}

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

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 1rem;
}

/* ========== CHAT POP-UP ========== */
.chat-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
    transition: var(--transition);
}

.chat-toggle:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.4);
}

.chat-toggle i {
    font-size: 1.3rem;
}

.chat-popup {
    position: absolute;
    bottom: 4.5rem;
    left: 0;
    width: 360px;
    max-width: 90vw;
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 165, 116, 0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    display: none;
    animation: slideUp 0.3s ease;
}

.chat-popup.active {
    display: block;
}

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

.chat-popup__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--dark);
    border-bottom: 1px solid rgba(212, 165, 116, 0.05);
}

.chat-popup__header-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--white);
}

.chat-popup__header-info i {
    font-size: 1.2rem;
}

.chat-popup__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.chat-popup__close:hover {
    color: var(--white);
}

.chat-popup__body {
    padding: 1.5rem;
    min-height: 180px;
    max-height: 300px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 1rem;
}

.chat-message.system {
    display: flex;
    justify-content: flex-start;
}

.chat-message.system p {
    background: var(--dark);
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 165, 116, 0.05);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    max-width: 85%;
    line-height: 1.5;
}

.chat-popup__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(212, 165, 116, 0.05);
}

.chat-popup__footer form {
    display: flex;
    gap: 0.5rem;
}

.chat-popup__footer input {
    flex: 1;
    padding: 0.7rem 1rem;
    background: var(--dark);
    border: 1px solid rgba(212, 165, 116, 0.08);
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    outline: none;
    transition: var(--transition);
}

.chat-popup__footer input:focus {
    border-color: var(--gold);
}

.chat-popup__footer input::placeholder {
    color: rgba(255,255,255,0.2);
}

.chat-popup__footer button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-popup__footer button:hover {
    transform: scale(1.05);
}

.chat-popup__footer-note {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.2);
    text-align: center;
    margin-top: 0.5rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(212, 165, 116, 0.06);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2rem;
    color: var(--brand-red);

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer__logo span:first-child {
    color: var(--brand-red);
}

.footer__brand p {
    max-width: 300px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer__social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--brand-red);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer__links h4,
.footer__contact h4 {
    color: var(--white);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer__links ul {
    list-style: none;
}

.footer__links ul li {
    margin-bottom: 0.4rem;
}

.footer__links ul a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer__links ul a:hover {
    color: var(--brand-red);
}

.footer__contact p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.3rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.2);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.15);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.25);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .nav__menu {
        gap: 1rem;
    }
    .nav__menu a {
        font-size: 0.75rem;
    }
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transition: var(--transition);
        padding: 2rem;
        border-left: 1px solid rgba(212, 165, 116, 0.08);
    }
    
    .nav__menu.active {
        right: 0;
    }
    
    .nav__social {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu a {
        font-size: 1rem;
        color: rgba(255,255,255,0.6);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .chat-container {
        left: 1rem;
        bottom: 1.5rem;
    }
    
    .chat-toggle span {
        display: none;
    }
    
    .chat-toggle {
        padding: 0.7rem 1rem;
    }
    
    .chat-popup {
        width: calc(100vw - 2rem);
        bottom: 4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}