/* 
 * Flip Contabilidade - Design System 
 * Concept: "Real-time Construction" / Precision / Tech
 * Theme: Dark Gradient - Professional & Trustworthy
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colors - Dark Tech Palette */
    --primary-color: #0a0f1a;
    /* Extra Deep Navy for header */
    --primary-light: #1e293b;
    --primary-medium: #1e3a5f;
    --secondary-color: #38bdf8;
    /* Cyan/Blue - Tech */
    --accent-color: #10b981;
    /* Emerald - Success */

    /* Text colors for dark theme */
    --text-main: #e2e8f0;
    /* Light gray for readability */
    --text-light: #94a3b8;
    /* Muted light */
    --text-white: #ffffff;
    --text-dark: #0f172a;
    /* For light backgrounds */

    /* Background - Original gradient (restored) */
    --background-dark: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    --background-light: #f8fafc;
    --white: #ffffff;
    --grid-line: rgba(56, 189, 248, 0.08);

    /* Glass effect for cards on dark bg */
    --glass-dark: rgba(30, 41, 59, 0.7);
    --glass-border-dark: rgba(56, 189, 248, 0.2);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    /* Slightly rounded for modern feel */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.2);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #0f172a;
    overscroll-behavior: none;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: #0f172a;
    background-image: linear-gradient(180deg, #0f172a 0%, #162236 40%, #1a2e4a 70%, #0f172a 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    overscroll-behavior: none;
}

/* Dynamic Ocean Light System - Generated by JavaScript */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    contain: layout style paint;
}

/* Base style for marble-like veins */
.ocean-light {
    position: absolute;
    pointer-events: none;
    will-change: transform, opacity;
    mix-blend-mode: screen;
    border-radius: 50% 30% 60% 40% / 40% 50% 30% 60%;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Marble vein - single color, visible effect */
.ocean-light.cyan,
.ocean-light.emerald,
.ocean-light.deep-blue,
.ocean-light.pale {
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(56, 150, 200, 0.2) 15%,
            rgba(56, 150, 200, 0.45) 35%,
            rgba(56, 150, 200, 0.55) 50%,
            rgba(56, 150, 200, 0.45) 65%,
            rgba(56, 150, 200, 0.2) 85%,
            transparent 100%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
    /* Tighter tracking for modern feel */
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--secondary-color);
    /* Cyan - unified icon color */
}

.text-accent {
    color: var(--secondary-color);
    /* Cyan - unified icon color */
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

/* Spacing Utilities */
.mb-3 {
    margin-bottom: var(--spacing-sm);
}

.mb-4 {
    margin-bottom: var(--spacing-md);
}

.mb-5 {
    margin-bottom: var(--spacing-xl);
}

.mt-4 {
    margin-top: var(--spacing-md);
}

.mt-5 {
    margin-top: var(--spacing-xl);
}

/* Text Utilities */
.text-xs {
    font-size: 0.75rem;
    line-height: 1.5;
}

.text-muted {
    color: var(--text-light);
    opacity: 0.8;
}

/* Feature Grid Wide - More horizontal space */
.feature-grid-wide {
    max-width: 1100px;
    margin: 0 auto;
}

.feature-grid-wide .feature-card {
    padding: var(--spacing-lg) var(--spacing-md);
}

.feature-grid-wide .feature-card .text-xs {
    margin-top: var(--spacing-sm);
    text-align: left;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}


/* Flex Utilities */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #10b981 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #059669 100%);
}

/* Secondary Button - Emerald Outline Style */
.btn-secondary {
    background: rgba(16, 185, 129, 0.1);
    color: #ffffff;
    border: 2px solid #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.btn-secondary:hover {
    background: rgba(16, 185, 129, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    border-color: #34d399;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    h1 {
        font-size: 3.5rem;
    }
}

/* Header - Extra Dark Theme */
.header {
    position: sticky;
    top: 0;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: none;
}

.nav-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        gap: var(--spacing-lg);
        align-items: center;
    }

    .nav-toggle {
        display: none;
    }
}

/* Hero Section - Extra Dark Background */
.hero {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, #0a0f1a 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

/* Hero Grid Background - HIDDEN for cleaner look */
.hero-grid {
    display: none;
    /* Grid hidden - using ambient light effect instead */
}

/* Grid lines hidden */
.grid-line {
    display: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

/* Hero Image Frame */
.image-frame {
    position: relative;
    padding: 10px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #1e3a5f 0%, #38bdf8 100%);
    border-radius: var(--border-radius);
    z-index: 0;
    opacity: 0.6;
}

.image-frame img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.corner-bracket {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    z-index: 2;
    opacity: 0;
    /* Animated in */
}

.corner-bracket.top-left {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.corner-bracket.bottom-right {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

/* Feature Cards - Dark Glass Theme */
.feature-card {
    background: var(--glass-dark);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--glass-border-dark);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    will-change: transform;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.2);
    border-color: var(--secondary-color);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

/* Comparison Table - Dark Glass Theme */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--glass-dark);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--glass-border-dark);
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(56, 189, 248, 0.08);
    color: #ffffff;
    position: relative;
}

/* Subtle vertical separators using pseudo-element */
.comparison-table th:not(:last-child)::after,
.comparison-table td:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.15), transparent);
}

.comparison-table th {
    background: #0a1628;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.comparison-table tr:hover td {
    background: rgba(56, 189, 248, 0.03);
}

/* Footer - Solid background to block light effect */
.footer {
    background: linear-gradient(180deg, #0a0f1a 0%, #0f172a 100%);
    color: var(--text-main);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xxl);
    border-top: 1px solid var(--glass-border-dark);
    position: relative;
    z-index: 2;
}

.footer a {
    color: var(--text-light);
}

.footer a:hover {
    color: var(--secondary-color);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ========================================
   MODERN UI ENHANCEMENTS - DARK THEME
   ======================================== */

/* Enhanced Color Variables - Dark Theme Optimized */
:root {
    --glow-primary: rgba(56, 189, 248, 0.3);
    --glow-accent: rgba(16, 185, 129, 0.3);
    --gradient-tech: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #38bdf8 100%);
    /* Ambient light glow - soft aurora effect for trust & professionalism */
    --ambient-glow:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(56, 189, 248, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(30, 58, 95, 0.4) 0%, transparent 70%);
}

/* Feature Cards - REMOVED: Using dark glass from earlier definition */

/* Feature Card Text Colors for Dark Theme */
.feature-card h3 {
    color: var(--text-white);
}

.feature-card p {
    color: var(--text-light);
}

.feature-card::after {
    background: var(--gradient-accent);
}

/* Enhanced Button Styling - Emerald Green */
.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #10b981 100%) !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #059669 100%) !important;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6),
        0 0 20px rgba(16, 185, 129, 0.3);
}

/* Hero Background - Inherits from body, transparent to show ambient light */
.hero {
    background: transparent;
}

/* Accent Icons Glow Effect - All icons use cyan */
.text-accent,
.text-primary,
.text-secondary {
    color: var(--secondary-color);
    filter: drop-shadow(0 0 8px var(--glow-primary));
}

/* Enhanced Header Glassmorphism - Dark Theme Integrated */
.header {
    background: rgba(10, 15, 26, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

/* Comparison Table Modern Styling */
.comparison-table th {
    background: #0a1628 !important;
}

.comparison-table tr:hover td {
    background: rgba(56, 189, 248, 0.03);
}

/* Image Frame Modern Effects */
.image-frame::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--mesh-gradient);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.6;
}

.corner-bracket {
    border-color: var(--secondary-color);
    filter: drop-shadow(0 0 6px var(--glow-primary));
}

/* Footer Gradient */
.footer {
    background: var(--gradient-tech);
}

/* Floating CTA Enhanced */
.floating-cta {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4),
        0 0 20px rgba(37, 211, 102, 0.2);
}

/* Smooth Section Transitions */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.2), transparent);
}

/* Modern Link Hover Effects */
.nav-menu a:not(.btn):hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px var(--glow-primary);
}

/* Breathing Animation for Important Elements */
@keyframes subtle-glow {

    0%,
    100% {
        box-shadow: 0 0 15px var(--glow-accent);
    }

    50% {
        box-shadow: 0 0 25px var(--glow-accent);
    }
}

.btn-primary.btn-lg {
    animation: subtle-glow 3s ease-in-out infinite;
}

/* Highlight Reform Text - Curved Underline + Subtle Pulse */
.highlight-reform {
    position: relative;
    display: inline-block;
    animation: text-pulse 4s ease-in-out infinite;
}

.highlight-reform::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #10b981 15%, #10b981 85%, transparent 100%);
    border-radius: 50% 50% 50% 50% / 100% 100% 0% 0%;
    transform: scaleX(0.95);
}

/* Process Icons with Shine Effect */
.process-icon {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.process-icon i {
    position: relative;
    z-index: 1;
}

/* Shine effect passing through */
.process-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: icon-shine 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes icon-shine {

    0%,
    70% {
        left: -100%;
    }

    85%,
    100% {
        left: 100%;
    }
}

@keyframes text-pulse {

    0%,
    100% {
        color: #e2e8f0;
    }

    50% {
        color: #38bdf8;
    }
}

/* Highlight ECONOMIA - Special emphasis */
.highlight-economia {
    color: #10b981;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5), 0 0 40px rgba(16, 185, 129, 0.3);
    font-size: 1.1em;
    letter-spacing: 0.02em;
}

/* ========================================
   MOBILE-ONLY RESPONSIVE OPTIMIZATIONS
   Desktop remains 100% unchanged
   ======================================== */

@media (max-width: 767px) {

    /* === HERO SECTION COMPACT === */
    .hero {
        padding: 1.5rem 0 2rem;
    }

    h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero-subheadline {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero-cta-group .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-image {
        display: none;
        /* Hide on mobile to save space */
    }

    /* === SECTIONS COMPACT === */
    .section {
        padding: 2rem 0;
    }

    h2 {
        font-size: 1.4rem;
        margin-bottom: var(--spacing-sm);
    }

    .mb-5 {
        margin-bottom: var(--spacing-md);
    }

    /* === FEATURE CARDS - HORIZONTAL ROW ON MOBILE === */
    .section>.container>.grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .feature-card {
        padding: 0.75rem 0.5rem;
        text-align: center;
        min-height: auto;
    }

    .feature-card i.fa-2x {
        font-size: 1.3em;
        margin-bottom: 0.4rem !important;
    }

    .feature-card h3 {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }

    .feature-card p {
        display: none;
    }

    .feature-card .text-xs {
        display: none;
        /* Hide extra details on mobile */
    }

    /* === GRID SPACING COMPACT === */
    .grid {
        gap: var(--spacing-sm);
    }

    /* === BENEFITS SECTION COMPACT === */
    #beneficios .grid-2>div:last-child {
        display: none;
        /* Hide image on mobile */
    }

    .fa-ul li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem !important;
    }

    .fa-ul li strong {
        display: block;
        margin-bottom: 0.25rem;
    }

    /* === COMPARISON TABLE COMPACT === */
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.5rem;
        font-size: 0.75rem;
    }

    .comparison-table th {
        font-size: 0.65rem;
    }

    /* === PROCESS STEPS - MODERN HORIZONTAL TIMELINE === */
    #como-funciona {
        padding: 1.5rem 0;
    }

    #como-funciona h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    #como-funciona .grid-4 {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        position: relative;
        background: rgba(15, 23, 42, 0.85);
        border-radius: 16px;
        padding: 1rem 0.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(56, 189, 248, 0.1);
    }

    /* Timeline connecting line - passes through center of icon circles */
    #como-funciona .grid-4::before {
        content: '';
        position: absolute;
        top: calc(1rem + 0.5rem + 18px);
        /* container padding + div padding + half of icon circle */
        left: 12.5%;
        right: 12.5%;
        height: 3px;
        background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
        z-index: 0;
        opacity: 0.5;
        border-radius: 2px;
    }

    #como-funciona .grid-4>div {
        width: 25%;
        padding: 0.5rem 0.25rem;
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Remove the extra circle pseudo-element */
    #como-funciona .grid-4>div::before {
        display: none;
    }

    #como-funciona .grid-4>div .mb-3 {
        width: 36px;
        height: 36px;
        background: linear-gradient(135deg, rgba(56, 189, 248, 0.7), rgba(16, 185, 129, 0.6));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.4rem !important;
        box-shadow: 0 3px 10px rgba(56, 189, 248, 0.2);
    }

    #como-funciona i.fa-3x {
        font-size: 0.9em !important;
        color: white !important;
    }

    #como-funciona h4 {
        font-size: 0.65rem;
        margin-bottom: 0;
        font-weight: 600;
        text-align: center;
        line-height: 1.2;
        color: var(--secondary-color);
    }

    #como-funciona .grid-4>div p {
        display: none;
        /* Hide descriptions for compact view */
    }

    /* Hide the button on mobile process section */
    #como-funciona .text-center.mt-5 {
        margin-top: 1rem !important;
    }

    #como-funciona .text-center.mt-5 .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }

    /* === TARGET AUDIENCE COMPACT === */
    .section .grid-3 .text-center i.fa-2x {
        font-size: 1.4em;
        margin-bottom: 0.5rem !important;
    }

    .section .grid-3 .text-center h4 {
        font-size: 0.95rem;
    }

    .section .grid-3 .text-center p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    /* === FAQ SECTION COMPACT === */
    #faq h4 {
        font-size: 0.95rem;
    }

    #faq p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    #faq .mb-4 {
        margin-bottom: 1rem !important;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* === FOOTER COMPACT === */
    .footer {
        padding: 1.5rem 0;
        margin-top: var(--spacing-lg);
    }

    .footer .grid-3 {
        gap: 1rem;
    }

    .footer h3,
    .footer h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem !important;
    }

    .footer .text-sm {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .footer .mt-5.pt-4 {
        margin-top: 1rem !important;
        padding-top: 1rem !important;
    }

    /* === FLOATING CTA COMPACT === */
    .floating-cta {
        padding: 0.75rem 1rem;
        bottom: 15px;
        right: 15px;
        font-size: 0.8rem;
    }

    .floating-cta i.fa-2x {
        font-size: 1.4em;
    }

    /* === HEADER COMPACT === */
    :root {
        --header-height: 60px;
    }

    .logo {
        font-size: 1.1rem;
    }

    /* === UTILITY OVERRIDES === */
    .text-sm {
        font-size: 0.8rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    /* === BUTTON ADJUSTMENTS === */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.85rem 1.5rem;
    }

    /* === HERO CTA BUTTONS SIDE BY SIDE === */
    .hero-cta-group .mt-4.flex {
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
    }

    .hero-cta-group .mt-4 .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .hero-cta-group .mt-4 .btn i {
        font-size: 0.9em;
    }
}