:root {
    --primary-color: #E63946; /* Vermelho elegante */
    --primary-hover: #D90429;
    --accent-color: #F4A261; /* Dourado suave/âmbar */
    --text-main: #FFFFFF;
    --text-muted: #A8B2C1;
    --text-dark: #1D2029; 
    
    --glass-bg: rgba(18, 20, 26, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    --border-radius: 24px;
    --border-radius-sm: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    font-family: 'Montserrat', sans-serif;
}

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

body {
    background-color: #0A0A0A;
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Effects */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(12px) brightness(0.6);
    transform: scale(1.1); /* hide blur edges */
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.95) 100%);
}

/* Utility Glasses */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    transition: var(--transition);
}

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

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
}

.nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

/* Base Sections */
.glass-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 12rem;
    padding-bottom: 4rem;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #F4A261 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: white;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-cue {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 3.2rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: scrollCueFloat 2.2s ease-in-out infinite;
}

.scroll-cue:hover {
    color: white;
}

.scroll-mouse {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    box-shadow: 0 0 24px rgba(244, 162, 97, 0.2);
}

.scroll-mouse span {
    width: 5px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-color);
    animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollCueFloat {
    0%, 100% { transform: translateY(0); opacity: 0.78; }
    50% { transform: translateY(10px); opacity: 1; }
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 1.1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.5);
}

.btn-whatsapp {
    display: inline-block;
    background: #20c997;
    color: #06140f;
    text-decoration: none;
    padding: 1.1rem 2.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(32, 201, 151, 0.2);
}

.btn-whatsapp:hover {
    background: #17a57c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(32, 201, 151, 0.4);
}

.nav-cta-outline {
    background: transparent !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(230, 57, 70, 0.55) !important;
    box-shadow: none !important;
}

.nav-cta-outline:hover {
    background: rgba(230, 57, 70, 0.1) !important;
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-hero-login {
    display: inline-block;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 1.05rem 2.4rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.btn-hero-login:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* SofIA Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border-top: 1px solid rgba(255,255,255,0.15);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.primary-bg { background: var(--primary-color); color: white; }
.secondary-bg { background: rgba(255, 255, 255, 0.1); color: white; border: 1px solid var(--glass-border); }

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
}

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

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 3rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: scale(1.03);
    border-color: rgba(255,255,255,0.2);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 2.5rem;
    font-size: 5rem;
    color: rgba(244, 162, 97, 0.15); /* accent color */
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-card p {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.author {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* FAQ */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 1.8rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.faq-icon {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    padding: 0 2.5rem;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* enough to show content */
    padding-bottom: 1.8rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Footer */
.glass-footer {
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content .brand-name {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: none;
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.9s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.staggered-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-delay: var(--stagger-delay, 0ms);
}

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

/* Responsive */
@media (max-width: 900px) {
    .hero-title { font-size: 3.2rem; }
    .section-title { font-size: 2.2rem; }
    .nav-links { display: none; /* simple mobile view */ }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .glass-section { padding: 5rem 1.5rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-whatsapp { width: 100%; }
}
