:root {
    /* Color Palette */
    --primary-bg: #0b1120; /* Dark Navy */
    --secondary-bg: #1e293b; /* Slate */
    --light-bg: #f8fafc;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --text-dark-muted: #475569;
    --accent-gold: #cfa864; /* Sophisticated Gold */
    --accent-gold-hover: #b59253;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --border-radius: 4px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography Utils */
.section-dark {
    background-color: var(--primary-bg);
    color: var(--text-main);
}

.section-light {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 1.5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(207, 168, 100, 0.3);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.1);
    color: var(--text-main);
    border: 2px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-main);
    letter-spacing: 1px;
}

.logo-title {
    font-size: 0.7rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

.desktop-nav ul li a {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.desktop-nav ul li a:hover {
    color: var(--accent-gold);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11,17,32,0.95) 0%, rgba(11,17,32,0.8) 50%, rgba(11,17,32,0.4) 100%);
}

.hero-content {
    width: 100%;
}

.hero-text {
    max-width: 650px;
}

.hero-tag {
    display: inline-block;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
    margin-bottom: 1.5rem;
    background-color: rgba(207, 168, 100, 0.08);
}

.hero-text h1 {
    color: var(--text-main);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-main);
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-style: italic;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

/* Problema Section */
#problema {
    padding: var(--spacing-lg) 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
}

.section-header .divider {
    margin: 1.5rem auto;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.card {
    background-color: var(--secondary-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border-top: 3px solid transparent;
    transition: all 0.3s ease;
}

.card:hover {
    border-top-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-icon {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(207, 168, 100, 0.2);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Metodologia Section */
#metodologia {
    padding: var(--spacing-lg) 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-text h2 {
    font-size: 2.5rem;
}

.split-text > p {
    color: var(--text-dark-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.method-list {
    margin-bottom: 2.5rem;
}

.method-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.method-list li::before {
    content: "■";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

.method-list li strong {
    color: var(--text-dark);
}

.split-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.split-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: auto;
}

.image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent-gold);
}

/* Autoavaliação Section */
.section-accent {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
}

.cta-card {
    background-color: var(--secondary-bg);
    border-radius: var(--border-radius);
    padding: 4rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(207, 168, 100, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(207, 168, 100, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.cta-card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.tag-white {
    display: inline-block;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.cta-card h2 {
    font-size: 2.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.cta-card-content > p {
    color: #ffffff;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.steps-path {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 4rem;
}

.step-item {
    flex: 1;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-item h4 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.step-arrow {
    color: var(--accent-gold);
    font-size: 2rem;
    padding-top: 10px;
    opacity: 0.5;
}

.cta-actions {
    margin-top: 2rem;
}

.cta-note {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.7;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-lg) 0;
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item[open] {
    border-color: rgba(207, 168, 100, 0.5);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.faq-item summary {
    cursor: pointer;
    padding: 1.5rem 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
    list-style: none;
    position: relative;
    padding-right: 3.5rem;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: 1.6rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item summary:hover {
    color: var(--accent-gold);
}

.faq-item p {
    padding: 0 1.75rem 1.5rem;
    color: var(--text-dark-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Especialista Section */
#especialista {
    padding: var(--spacing-lg) 0;
}

.specialist-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: center;
}

.specialist-image {
    position: relative;
}

.specialist-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
    display: block;
}

.specialist-image:hover img {
    filter: grayscale(0%);
}

.photo-border {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold);
    border-radius: var(--border-radius);
    z-index: 1;
}

.tag {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.specialist-text h2 {
    font-size: 2.8rem;
    margin-bottom: 0.2rem;
}

.credentials {
    font-family: var(--font-serif);
    color: var(--text-muted);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0.3rem;
}

.specialist-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.specialist-bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.specialist-bullets span {
    background-color: var(--secondary-bg);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    border: 1px solid rgba(207, 168, 100, 0.3);
}

/* Footer / CTA */
.footer {
    background-color: #05080f;
    color: var(--text-main);
    padding: var(--spacing-lg) 0 2rem;
    text-align: center;
}

.footer-cta {
    max-width: 800px;
    margin: 0 auto 5rem;
}

.footer-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.footer-cta p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-info {
    text-align: left;
}

.footer-info .logo-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-disclaimer {
    max-width: 400px;
    text-align: right;
}

.footer-disclaimer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .split-layout, .specialist-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* simple mobile nav override for now */
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-ctas, .cta-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-info, .footer-disclaimer {
        text-align: center;
    }
    
    .section-header h2, .split-text h2, .specialist-text h2, .footer-cta h2, .cta-card h2 {
        font-size: 2rem;
    }
    
    .steps-path {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-arrow {
        display: none;
    }
    
    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .faq-item summary {
        padding: 1.2rem 1.25rem;
        padding-right: 3rem;
        font-size: 0.98rem;
    }

    .faq-item summary::after {
        right: 1.25rem;
    }

    .faq-item p {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
}
