/* Design System & Root Tokens (Default Light Theme) */
:root {
    --bg-base: #f1f6f3; /* Fresh green-tinted white background */
    --bg-surface: #ffffff; /* Crisp white card background */
    --bg-surface-hover: #e8f0eb; /* Light eucalyptus green hover surface */
    --border-color: rgba(15, 46, 36, 0.08); /* Minimal green borders */
    --border-focus: #1b4d3e; /* Elegant forest green border focus */
    --bg-player: rgba(255, 255, 255, 0.85); /* Transparent player base */
    
    --primary: #0f2e24; /* Deep Pine Green */
    --primary-medium: #1b4d3e; /* Rich Forest Green */
    --primary-light: #2d6a4f; /* Eucalyptus Green */
    --accent-green: #52b788; /* Fresh Mint Green */
    --sage-light: #d8f3dc; /* Soft olive sage green for backgrounds/badges */
    --primary-glow: rgba(45, 106, 79, 0.15);
    
    --text-primary: #1f2937; /* Dark charcoal for clean contrast */
    --text-secondary: #4b5563; /* Slate grey for body elements */
    --text-muted: #8b96a5;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

[data-theme="light"] {
    --bg-base: #f1f6f3; 
    --bg-surface: #ffffff; 
    --bg-surface-hover: #e8f0eb; 
    --border-color: rgba(15, 46, 36, 0.08); 
    --border-focus: #1b4d3e; 
    --bg-player: rgba(255, 255, 255, 0.85);
    
    --primary: #0f2e24; 
    --primary-medium: #1b4d3e; 
    --primary-light: #2d6a4f; 
    --accent-green: #52b788; 
    --sage-light: #d8f3dc; 
    --primary-glow: rgba(45, 106, 79, 0.15);
    
    --text-primary: #1f2937; 
    --text-secondary: #4b5563; 
    --text-muted: #8b96a5;
}

/* Explicit Manual Dark Theme (Premium dark pine & eucalyptus, high contrast) */
[data-theme="dark"] {
    --bg-base: #0a110e; /* Deep pine black/green, extremely dark background */
    --bg-surface: #101c18; /* Rich deep forest dark green, high contrast */
    --bg-surface-hover: #172a23; 
    --border-color: rgba(255, 255, 255, 0.1);
    --border-focus: #52b788;
    --bg-player: rgba(16, 28, 24, 0.85); /* Deep translucent dark green background */
    
    --primary: #52b788; /* Fresh light green for active links/buttons */
    --primary-medium: #74c69d; 
    --primary-light: #95d5b2; 
    --accent-green: #52b788; 
    --sage-light: #1b4d3e; 
    --primary-glow: rgba(82, 183, 136, 0.25);
    
    --text-primary: #ffffff; /* pure white for max contrast */
    --text-secondary: #cbd5e1; /* slate-200 for clean readable text */
    --text-muted: #94a3b8; /* slate-400 */
}

/* CSS Reset & Global Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #c3d0c9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Grid & Layout Containers */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 24px;
}

.section-container-full {
    width: 100%;
    padding: 90px 0;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

.section-badge {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    background: rgba(27, 77, 62, 0.06);
    padding: 4px 12px;
    border-radius: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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

/* Premium Audio Player Floating UI */
.audio-player-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-player);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    padding: 8px 16px 8px 8px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(27, 77, 62, 0.1);
    transition: var(--transition-smooth);
}

.audio-player-container:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.audio-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    transition: var(--transition-smooth);
}

.audio-toggle-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

.audio-toggle-btn i {
    width: 16px;
    height: 16px;
    transition: var(--transition-smooth);
}

.audio-player-container .icon-pause {
    display: none !important;
}

.audio-player-container.playing .icon-pause {
    display: block !important;
}

.audio-player-container.playing .icon-play {
    display: none !important;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary);
    top: 0;
    left: 0;
    animation: pulsate 2s infinite ease-out;
    pointer-events: none;
    opacity: 0;
}

.audio-player-container.playing .pulse-ring {
    opacity: 1;
}

@keyframes pulsate {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.audio-info {
    display: flex;
    flex-direction: column;
}

.audio-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.audio-status {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* Main Header */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.header-logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
    display: block;
}


.header-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    outline: none;
}

.theme-toggle-btn:hover {
    border-color: var(--border-focus);
    background: var(--bg-surface-hover);
    transform: translateY(-1px);
}

.theme-toggle-btn i {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

/* Theme icon toggles */
.icon-sun {
    display: none !important;
}

.icon-moon {
    display: block !important;
}

[data-theme="dark"] .icon-sun {
    display: block !important;
}

[data-theme="dark"] .icon-moon {
    display: none !important;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

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

.main-nav a.cta-nav {
    color: #fff;
    background: var(--primary);
    padding: 9px 18px;
    border-radius: 50px;
    font-weight: 600;
}

.main-nav a.cta-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: radial-gradient(circle at 80% 20%, rgba(82, 183, 136, 0.08) 0%, var(--bg-base) 100%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content .badge {
    background: rgba(27, 77, 62, 0.06);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
    border: 1px solid rgba(27, 77, 62, 0.1);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-glow:hover {
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f4f7f5;
    border-color: rgba(27, 77, 62, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

/* Profile card in Hero */
.hero-profile-container {
    display: flex;
    justify-content: center;
}

.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 15px 40px rgba(27, 77, 62, 0.05);
    transition: var(--transition-smooth);
}

.profile-card:hover {
    border-color: rgba(27, 77, 62, 0.2);
}

.profile-image-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    margin-bottom: 16px;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.profile-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.profile-info p {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating-stars i {
    width: 14px;
    height: 14px;
}

.star-filled {
    color: #eab308;
    fill: #eab308;
}

.rating-stars span {
    margin-left: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Diferenciais Section */
.features-section {
    background-color: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.features-section .section-container {
    position: relative;
    z-index: 2;
}

.watermark-bg {
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 600px;
    height: 600px;
    background-image: url('assets/logo_luciano_simbolo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.025; /* Extremely subtle watermark */
    pointer-events: none;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    padding: 36px 28px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(27, 77, 62, 0.18);
    background: var(--bg-surface-hover);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(27, 77, 62, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon-wrapper i {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Antes/Depois Section & Slider */
.portfolio-section {
    background-color: var(--bg-base);
}

.slider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.comparison-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(27, 77, 62, 0.02);
}

.comparison-slider {
    --position: 50%; /* Position custom property managed by JS */
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
}

.image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1; /* Keep bottom image and its label on base layer */
}

.image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2; /* Stack top image and its label on top layer */
    /* Anchored static background: right portion is cut, showing "antes" on the right of the handle and "depois" on the left */
    clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--primary-medium);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    box-shadow: 0 4px 12px rgba(15, 46, 36, 0.25);
    z-index: 5;
    pointer-events: none;
}

.compare-label {
    position: absolute;
    bottom: 12px;
    background: rgba(12, 32, 26, 0.85);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 4;
}

.compare-label.before {
    right: 12px;
}

.compare-label.after {
    left: 12px;
}

.handle-line {
    position: absolute;
    top: -500px;
    bottom: -500px;
    width: 2px;
    background: var(--primary);
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.handle-arrow-left, .handle-arrow-right {
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    position: absolute;
}

.handle-arrow-left {
    border-right: 5px solid #fff;
    left: 10px;
}

.handle-arrow-right {
    border-left: 5px solid #fff;
    right: 10px;
}

.comparison-details {
    padding: 20px;
}

.comparison-details h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.comparison-details p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Simulator Section */
.simulator-section {
    background-color: var(--bg-surface);
}

.simulator-container {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 44px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 12px 36px rgba(27, 77, 62, 0.03);
}

.step-group {
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
}

.step-label {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.selector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.state-selectors {
    grid-template-columns: repeat(3, 1fr);
}

.select-option {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.select-option:hover {
    border-color: rgba(27, 77, 62, 0.25);
    background: var(--bg-surface-hover);
}

.select-option.active {
    background: var(--primary-glow);
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.select-option i {
    width: 22px;
    height: 22px;
    color: var(--primary);
    margin-bottom: 10px;
}

.select-option span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.option-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 3px;
}

.option-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 8px;
    line-height: 1.4;
}

/* Badge for level of state */
.badge-level {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}

.level-low { background: rgba(16, 185, 129, 0.1); color: #047857; }
.level-medium { background: rgba(245, 158, 11, 0.1); color: #b45309; }
.level-high { background: rgba(239, 68, 68, 0.1); color: #b91c1c; }

/* Half Width Bairros */
.half-width {
    max-width: 480px;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    width: 100%;
    padding: 14px 20px 14px 44px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    appearance: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.select-wrapper select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.08);
}

.select-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

/* Dropdown arrow custom styling */
.select-wrapper::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 5px solid var(--text-secondary);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    pointer-events: none;
}

/* Media Box Upload Area */
.media-upload-area {
    border: 2px dashed rgba(27, 77, 62, 0.15);
    background: var(--bg-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.media-upload-area:hover {
    border-color: var(--primary);
    background: var(--bg-surface-hover);
}

.upload-icon {
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.upload-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.upload-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hidden-input {
    display: none;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.preview-thumbnail {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* Form Actions */
.form-action-container {
    margin-top: 40px;
    text-align: center;
}

.submit-disclaimer {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* Testimonials / Feedbacks Infinite Marquee */
.testimonials-section {
    background-color: var(--bg-base);
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    display: flex;
    position: relative;
    padding: 20px 0;
    cursor: grab;
    user-select: none;
}

/* Mask overlay left & right to blur edge cards */
.marquee-container::before, .marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 10;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-base) 0%, transparent 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-base) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
}

.testimonial-card {
    flex-shrink: 0;
    width: 380px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

/* Testimonial hover scaling & focus effect */
.testimonial-card:hover {
    transform: scale(1.04) translateY(-5px);
    border-color: rgba(27, 77, 62, 0.3);
    box-shadow: 0 12px 30px rgba(27, 77, 62, 0.06);
    z-index: 5;
}

.testimonial-card .rating-stars {
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

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

/* Avatar styling */
.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.user-avatar.initials {
    background: rgba(27, 77, 62, 0.08);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.user-meta strong {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.user-meta span {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* Footer Styling */
.main-footer {
    background: #0c201a; /* Very deep dark green footer */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 70px 0 25px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.brand-desc {
    color: #a3b8b0;
    font-size: 0.85rem;
    max-width: 440px;
}

.footer-contacts h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1rem;
    margin-bottom: 12px;
}

.contact-link {
    color: #8bbfae;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    transition: var(--transition-smooth);
}

.contact-link:hover {
    color: #fff;
}

.footer-contacts p {
    color: #a3b8b0;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #a3b8b0;
    font-size: 0.75rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .features-grid, .slider-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .selector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .state-selectors {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-container {
        padding: 50px 16px;
    }
    
    .main-header {
        padding: 16px 0;
    }

    .header-logo-img {
        height: 54px;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .simulator-container {
        padding: 20px 14px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .audio-player-container {
        bottom: 20px;
        right: 20px;
        padding: 5px 10px 5px 5px;
    }
    
    .audio-title {
        font-size: 0.7rem;
    }

    /* Otimização dos Feedbacks/Testemunhos para Telas de Celular */
    .marquee-track {
        gap: 16px;
    }
    
    .testimonial-card {
        width: 290px;
        padding: 18px;
    }
    
    .testimonial-card .rating-stars {
        margin-bottom: 8px;
    }
    
    .testimonial-text {
        font-size: 0.82rem;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .testimonial-user {
        gap: 8px;
    }
    
    .user-avatar {
        width: 36px;
        height: 36px;
    }
}

/* Custom Searchable Select Component */
.searchable-select-container {
    position: relative;
    width: 100%;
}

.searchable-select-container input[type="text"], .text-input-field {
    width: 100%;
    padding: 14px 40px 14px 44px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.searchable-select-container input[type="text"]:focus, .text-input-field:focus {
    outline: none;
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.08);
}

.dropdown-arrow-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.searchable-select-container.open .dropdown-arrow-icon {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 220px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(15, 46, 36, 0.08);
    overflow-y: auto;
    z-index: 100;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.2s, transform 0.2s;
}

.dropdown-results.hidden {
    display: none;
}

.dropdown-item {
    padding: 12px 18px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background: var(--bg-surface-hover);
    color: var(--primary-medium);
}

.dropdown-no-results {
    padding: 12px 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    text-align: left;
}

/* FAQ Accordion Section (SEO/AEO Context) */
.faq-section {
    background-color: var(--bg-base);
}

.faq-accordion-container {
    max-width: 820px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-focus);
    box-shadow: 0 8px 20px rgba(27, 77, 62, 0.04);
}

.faq-question {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    user-select: none;
}

.faq-question span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition-smooth);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-medium);
}

.faq-item.active .faq-question span {
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Sufficient height for text */
    padding: 0 28px 24px 28px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

/* Correção de Layout para Telas Verticais (Monitores em pé / Aspect Ratio < 1/1) */
@media (max-aspect-ratio: 1/1) {
    .hero-section {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 80px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    .hero-profile-container {
        justify-content: center;
    }
}



