/* 
   Aesthetic: Premium Boutique
   Primary Colors: Deep Teal (#2F4F4F), Champagne Gold (#D4AF37)
   Background: Off-white/Cream (#FAF9F6)
   Typography: Playfair Display (Headings), Montserrat/Lato (Body)
*/

:root {
    --bg-warm: #FAF9F6;  /* Creamy Off-white */
    --bg-white: #FFFFFF;
    --text-dark: #2C3E50;
    --text-light: #546E7A;
    
    /* Branding Colors */
    --primary-main: #2F4F4F; /* Deep Teal - Trust, Premium */
    --primary-light: #4A6D6D;
    --accent-soft: #E6D7D5; /* Soft Nude/Rose */
    
    /* Action & Highlights */
    --accent-gold: #D4AF37; /* Metallic Gold */
    --accent-gold-hover: #B49020;
    --success-green: #27AE60;
    --error-red: #E74C3C;

    /* Spacing & Radius */
    --radius-soft: 24px;
    --radius-card: 16px;
    
    /* Shadows */
    --shadow-soft: 0 10px 30px -10px rgba(47, 79, 79, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(47, 79, 79, 0.2);
    --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    background-color: var(--bg-warm);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-main);
    line-height: 1.2;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; transition: all 0.3s ease; }

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.center { text-align: center; }

.section-header {
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* Header */
.site-header {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo img { height: 50px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

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

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

.btn-outline:hover {
    background-color: var(--primary-main);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Section (Re-structured) */
.hero {
    padding: 4rem 0 6rem;
    /* Hero Image Restoration with Overlay */
    background: linear-gradient(to right, rgba(250, 249, 246, 0.9) 0%, rgba(250, 249, 246, 0.7) 100%), url('/assets/hero-image.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Text wider, Form tighter */
    gap: 4rem;
    align-items: center;
}

.hero-text {
    padding-right: 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-main);
    text-shadow: 0 2px 0 rgba(255,255,255,0.5); /* Improve legibility just in case */
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #444; /* Slightly darker for contrast against overlay */
    font-weight: 500;
}

/* Hero Form Container - Glassmorphism */
.hero-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: var(--radius-soft);
    box-shadow: 0 25px 50px -12px rgba(47, 79, 79, 0.25); /* Deep shadow */
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px); /* Glass effect */
    position: relative;
    z-index: 10;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.hero-form-wrapper:hover {
    transform: translateY(-5px);
}

.hero-form-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--primary-main);
    border-bottom: 2px solid var(--bg-warm);
    padding-bottom: 1rem;
}

/* Problem vs Solution */
.problem-solution {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.card {
    padding: 3rem;
    border-radius: var(--radius-card);
    transition: transform 0.3s ease;
}

.card-problem {
    background-color: #FFF5F5;
    border: 1px solid #ffecec;
    border-left: 6px solid #E74C3C;
}

.card-solution {
    background-color: #F0FFF4;
    border: 1px solid #e6fffa;
    border-left: 6px solid #27AE60;
    box-shadow: 0 10px 30px rgba(39, 174, 96, 0.1);
}

.check-list { list-style: none; margin-top: 1.5rem; }
.check-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    font-weight: 500;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(39, 174, 96, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Benefits (Cards instead of Table) */
.benefits {
    padding: 6rem 0;
    background-color: var(--accent-soft);
    background: linear-gradient(180deg, #fff 0%, var(--bg-warm) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* Softer, broader shadow */
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15); /* Gold shadow on hover */
    border-color: var(--accent-gold);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.benefit-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-main);
}

.benefit-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Comparison Visual (Bank vs Consortium) */
.comparison-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.comp-box {
    padding: 3rem;
    border-radius: var(--radius-card);
    text-align: center;
    background: #fff;
    transition: transform 0.3s ease;
}

.comp-box.bank {
    background: #f8f9fa;
    color: #95a5a6;
    border: 1px solid #eee;
}
.comp-box.bank ul { opacity: 0.7; }

.comp-box.consortium {
    background: var(--bg-white);
    border: 3px solid var(--accent-gold); /* Stronger Border */
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.25); /* Gold Glow */
    color: var(--primary-main);
    transform: scale(1.05);
    position: relative;
    z-index: 10;
}

.comp-box.consortium::after {
    content: "⭐ Mais Vantajoso";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.comp-list {
    list-style: none;
    margin-top: 2rem;
    text-align: left;
}
.comp-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.comp-list li:last-child { border-bottom: none; }

/* Social Proof (Use Cases) */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-user {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.case-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-soft);
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-main);
}

.case-details strong {
    display: block;
    color: var(--primary-main);
    font-size: 1.1rem;
}

.case-quote {
    font-style: italic;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.case-highlight {
    background: #fdfaf0;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--primary-main);
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Blog Grid (Keep existing but refine) */
.blog-section { padding: 6rem 0; background: var(--bg-white); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
.blog-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background: #fff;
    transition: transform 0.3s ease;
}
.blog-card:hover { transform: translateY(-5px); }

/* Steps (How It Works) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.step-card {
    text-align: center;
    padding: 2rem;
}
.step-number {
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.3); /* Transparent Gold */
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    margin-bottom: -1rem;
    position: relative;
    z-index: 0;
}
.step-card h3 {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-text {
        padding-right: 0;
        text-align: center;
    }
    .comparison-visual, .steps-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.5rem; }
    .btn { width: 100%; text-align: center; }
}

/* Form Styles Override */
#regForm {
    /* Reset backdrop filter from previous inline style if needed */
    background: var(--bg-white) !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

#regForm input, #regForm select {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
}

#regForm input:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Range Input Enhancements */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin-top: -10px;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #eee;
    border-radius: 2px;
}

/* CTA Section Foot */
.section-cta {
    padding: 6rem 0;
    background-color: var(--primary-main);
    color: white;
    text-align: center;
}
.section-cta h2 { color: white; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 10px; }

/* --- RESTORED / FIXED BLOG STYLES --- */

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold-hover);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-main);
    line-height: 1.3;
}

.read-more {
    color: var(--primary-main);
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    display: inline-block;
    margin-top: 1rem;
}

.read-more:hover {
    border-bottom-color: var(--accent-gold);
}

/* Blog Post Detail Page (Fixed Layout) */
.blog-post {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.eyebrow {
    color: var(--accent-gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: inline-block;
    padding-top: 1rem;
}

.blog-post .blog-content p {
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    color: #444;
    line-height: 1.8;
}

.blog-post .blog-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.blog-post .blog-content ul {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.blog-post .blog-content li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #888;
}
.breadcrumb a { color: var(--primary-main); font-weight: 600; }

/* Responsive Adjustments */
@media (max-width: 900px) {
    .container { width: 95%; }
    .hero-split { grid-template-columns: 1fr; gap: 3rem; }
    .hero-text { padding-right: 0; text-align: center; }
    .hero-title { font-size: 2.5rem; }
    .grid-2-col, .comparison-visual, .benefits-grid, .steps-grid { grid-template-columns: 1fr; }
    
    .blog-post { margin: 2rem auto; }
    .blog-header h1 { font-size: 2rem; }
}
