:root {
    /* Elegance & Wealth Palette */
    --bg-light: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0A1128; /* Deep elegant navy */
    
    --primary: #D4AF37; /* Metallic Gold */
    --primary-hover: #C5A030;
    --primary-light: rgba(212, 175, 55, 0.1);
    
    --secondary: #0A1128; /* Deep Navy */
    
    --text-body: #475569;
    --text-heading: #0A1128;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    
    --border-color: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-light);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 800px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-outline-full {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-outline-full:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-full {
    width: 100%;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    font-size: 1rem;
}

.btn-whatsapp:hover {
    background: #1ebc5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.02em;
    cursor: default;
}

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

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    border-left: 1px solid var(--border-color);
    padding-left: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
}

@media (min-width: 768px) {
    .logo-sub { display: block; }
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-links a:not(.btn-outline):hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
}

/* Sections */
section {
    padding: 120px 0;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: var(--text-heading);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1rem; }
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 17, 40, 0.92) 0%, rgba(10, 17, 40, 0.8) 100%);
    z-index: 1;
}

@media (max-width: 768px) {
    .hero { background-attachment: scroll; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero .badge {
    display: inline-block;
    padding: 8px 24px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 3.8rem;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 50px;
    max-width: 700px;
    margin-inline: auto;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero .badge { font-size: 0.7rem; }
}

/* Sobre */
.sobre {
    background-color: var(--bg-light);
}

.sobre-grid {
    background: var(--bg-light);
}

/* Serviços */
.servicos {
    background-color: var(--bg-alt);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary);
    font-size: 32px;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

/* Pricing */
.planos {
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

@media (max-width: 900px) {
    .pricing-grid {
        align-items: stretch;
    }
}

.pricing-card {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    position: relative;
}

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

.pricing-card.popular {
    transform: scale(1.03);
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular h3,
.pricing-card.popular .period,
.pricing-card.popular .features li,
.pricing-card.popular .section-subtitle {
    color: #cbd5e1;
}

.pricing-card.popular .amount {
    color: white;
}

@media (max-width: 900px) {
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card.popular .pricing-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: var(--text-heading);
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    margin-right: 5px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.period {
    color: var(--text-muted);
    margin-left: 5px;
    font-weight: 500;
}

.features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-body);
}

.features li i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Contato */
.contato {
    background-color: var(--bg-alt);
}

.contact-box {
    background: var(--bg-light);
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-box p {
    color: var(--text-body);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0;
}

footer p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Animation utilities */
.observe {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.observed {
    opacity: 1;
    transform: translateY(0);
}
