.input-error { border-color: #dc3545 !important; box-shadow: 0 0 0 3px rgba(220,53,69,0.15) !important; }
.error-text { color: #dc3545; font-size: 12px; margin-top: 6px; display: block; }
/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFCA18;
    --secondary-color: #000000;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --border-color: #e5e5e5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #FFCA18 0%, #FFD700 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand-img { height: 64px; width: auto; display: block; }

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.only-mobile { display: none; }
.only-desktop { display: inline-block; }

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link.cta-nav {
    background: var(--gradient);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Botões dentro do menu devem ter o mesmo tamanho do CTA */
.nav-menu .btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23FFCA18" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-title .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient);
    color: var(--secondary-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

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

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.dashboard-mockup {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.dashboard-mockup:hover {
    transform: rotate(-2deg) scale(1.02);
}

.mockup-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.mockup-content {
    display: flex;
    height: 400px;
}

.mockup-sidebar {
    width: 80px;
    background: #000;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.sidebar-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.sidebar-logo-circle {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 14px;
}

.sidebar-logo-text {
    color: white;
    font-size: 8px;
    font-weight: 500;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-item.active {
    background: var(--primary-color);
    color: #000;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-user {
    margin-top: auto;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 12px;
}

.mockup-main {
    flex: 1;
    padding: 30px;
    background: white;
}

.mockup-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-refresh-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.mockup-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
    position: relative;
}

.mockup-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.mockup-card-icon.yellow { background: #ffc107; color: #000; }
.mockup-card-icon.blue { background: #007bff; color: white; }
.mockup-card-icon.green { background: #28a745; color: white; }
.mockup-card-icon.purple { background: #6f42c1; color: white; }
.mockup-card-icon.red { background: #dc3545; color: white; }
.mockup-card-icon.light-blue { background: #17a2b8; color: white; }

.mockup-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 5px;
}

.mockup-card-subtitle {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.mockup-card-value {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mockup-stat-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
}

.mockup-stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.mockup-stat-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.mockup-stat-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
}

.mockup-stat-icon.blue { background: #007bff; }
.mockup-stat-icon.green { background: #28a745; }

.mockup-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mockup-stat-item:last-child {
    border-bottom: none;
}

.mockup-stat-label {
    font-size: 14px;
    color: #666;
}

.mockup-stat-value {
    font-size: 14px;
    font-weight: 600;
}

.mockup-stat-value.blue { color: #007bff; }
.mockup-stat-value.green { color: #28a745; }
.mockup-stat-value.orange { color: #fd7e14; }
.mockup-stat-value.purple { color: #6f42c1; }

.app-mockup {
    position: absolute;
    top: 50px;
    right: -50px;
    z-index: 3;
}

.phone-frame {
    width: 200px;
    height: 400px;
    background: #000;
    border-radius: 25px;
    padding: 8px;
    box-shadow: var(--shadow-hover);
    transform: rotate(15deg);
    transition: transform 0.3s ease;
}

.phone-frame:hover {
    transform: rotate(10deg) scale(1.05);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.phone-status-bar {
    background: #000;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.phone-time {
    color: white;
}

.phone-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
}

.app-header {
    background: #000;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #333;
}

.app-user-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 18px;
}

.app-user-info h3 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.app-user-info p {
    color: #ccc;
    font-size: 12px;
    margin: 0;
}

.app-user-menu {
    margin-left: auto;
    color: white;
    font-size: 18px;
}

.app-quick-actions {
    padding: 20px 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quick-action {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid #333;
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 18px;
    color: white;
}

.quick-action-icon.green { background: #28a745; }
.quick-action-icon.blue { background: #007bff; }

.quick-action-text {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.app-recent-section {
    padding: 0 15px 20px;
}

.app-section-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.app-count-item {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #333;
}

.count-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.count-item-title {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.count-item-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
}

.count-item-status.finished {
    background: #dc3545;
    color: white;
}

.count-item-status.pending {
    background: #6c757d;
    color: white;
}

.count-item-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.count-item-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

.count-item-icon.green { background: #28a745; }

.count-item-text {
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.count-item-date {
    color: white;
    font-size: 12px;
    margin-left: auto;
}

.count-item-details {
    margin-top: 8px;
}

.count-item-nf {
    color: white;
    font-size: 12px;
    margin-bottom: 4px;
}

.count-item-supplier {
    color: white;
    font-size: 11px;
    opacity: 0.8;
}

.phone-nav-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    padding: 8px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #333;
}

.nav-icon {
    color: white;
    font-size: 16px;
    opacity: 0.6;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Como Funciona */
.como-funciona {
    padding: 100px 0;
    background: white;
}

.funcionamento-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.funcionamento-item {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.funcionamento-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.funcionamento-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--secondary-color);
}

.funcionamento-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.funcionamento-item p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.funcionamento-features {
    list-style: none;
    text-align: left;
}

.funcionamento-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.funcionamento-features i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.funcionamento-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(5px); }
}

/* Fluxo do processo */
.fluxo-container {
    margin-top: 60px;
}

.fluxo-steps {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    position: relative;
}

.fluxo-step {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 14px 16px;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fluxo-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.fluxo-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.fluxo-badge.admin {
    background: rgba(0,0,0,0.08);
    color: #000;
    border: 1px solid rgba(0,0,0,0.12);
}

.fluxo-badge.app {
    background: rgba(23,162,184,0.12);
    color: #0d6efd;
    border: 1px solid rgba(13,110,253,0.25);
}

.fluxo-badge.fim {
    background: rgba(40,167,69,0.12);
    color: #28a745;
    border: 1px solid rgba(40,167,69,0.25);
}

.fluxo-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.fluxo-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.fluxo-content p {
    font-size: 12px;
    color: var(--text-light);
}

.fluxo-connector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fluxo-connector span {
    display: block;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary-color), var(--primary-color) 8px, transparent 8px, transparent 16px);
    opacity: 0.6;
    transform: translateY(22px);
}

/* Responsividade do fluxo */
@media (max-width: 1200px) {
    .fluxo-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .fluxo-connector span { transform: translateY(20px); }
}

@media (max-width: 768px) {
    .fluxo-steps {
        grid-template-columns: 1fr;
    }
    .fluxo-connector { display: none; }
}

/* Fluxo circular (SVG) */
.fluxo-circular {
    position: relative;
    max-width: 980px;
    margin: 60px auto 0;
}

.fluxo-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.08));
}

.flow-label {
    position: absolute;
    width: 210px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 12px 14px;
    z-index: 2;
}

.flow-label h4 {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.flow-label p {
    font-size: 12px;
    color: var(--text-light);
}

.flow-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 8px;
}

.flow-badge.admin { background: rgba(0,0,0,0.06); color: #000; border: 1px solid rgba(0,0,0,0.12); }
.flow-badge.app { background: rgba(40,167,69,0.12); color: #28a745; border: 1px solid rgba(40,167,69,0.25); }
.flow-badge.fim { background: rgba(40,167,69,0.12); color: #28a745; border: 1px solid rgba(40,167,69,0.25); }

/* Posições ao redor do círculo (aproximadas) */
.fluxo-circular { --cx: 50%; --cy: 50%; }
.flow-label.pos1 { top: 2%; left: calc(50% - 105px); }
.flow-label.pos2 { top: 15%; right: 4%; }
.flow-label.pos3 { top: 41%; right: 0; }
.flow-label.pos4 { bottom: 6%; right: 12%; }
.flow-label.pos5 { bottom: 2%; left: calc(50% - 105px); }
.flow-label.pos6 { bottom: 10%; left: 8%; }
.flow-label.pos7 { top: 35%; left: 0; }

/* Conectores dos quadros até as setas do círculo */
.flow-label::after {
    content: "";
    position: absolute;
    background: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255,202,24,0.15);
}

/* pos1: topo -> conector para baixo */
.flow-label.pos1::after {
    left: 50%;
    top: 100%;
    width: 2px;
    height: 40px;
    transform: translateX(-1px);
}

/* pos2: superior direita -> conector em diagonal para baixo/esquerda */
.flow-label.pos2::after {
    right: -8px;
    top: 70%;
    width: 2px;
    height: 50px;
    transform: rotate(135deg);
    transform-origin: top center;
}

/* pos3: direita -> conector horizontal para esquerda */
.flow-label.pos3::after {
    right: 100%;
    top: 50%;
    width: 40px;
    height: 2px;
    transform: translateY(-1px);
}

/* pos4: inferior direita -> conector em diagonal para cima/esquerda */
.flow-label.pos4::after {
    right: 10px;
    bottom: -8px;
    width: 2px;
    height: 55px;
    transform: rotate(-135deg);
    transform-origin: top center;
}

/* pos5: base -> conector para cima */
.flow-label.pos5::after {
    left: 50%;
    bottom: 100%;
    width: 2px;
    height: 40px;
    transform: translateX(-1px);
}

/* pos6: inferior esquerda -> conector em diagonal para cima/direita */
.flow-label.pos6::after {
    left: 10px;
    bottom: -8px;
    width: 2px;
    height: 55px;
    transform: rotate(135deg);
    transform-origin: top center;
}

/* pos7: esquerda -> conector horizontal para direita */
.flow-label.pos7::after {
    left: 100%;
    top: 50%;
    width: 40px;
    height: 2px;
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .flow-label { width: 180px; }
    .flow-label.pos2 { right: 2%; }
    .flow-label.pos4 { right: 6%; }
    .flow-label.pos6 { left: 4%; }
}

@media (max-width: 768px) {
    .fluxo-circular { margin-top: 40px; }
    .flow-label {
        position: static;
        width: 100%;
        margin: 10px 0;
    }
}

/* Benefícios */
.beneficios {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.beneficio-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.beneficio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.beneficio-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.beneficio-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.beneficio-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Planos */
.planos {
    padding: 100px 0;
    background: white;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.plano-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.plano-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.plano-item.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.plano-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plano-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.plano-price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.2rem;
    color: var(--text-light);
    vertical-align: top;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.plano-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.plano-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    text-align: left;
}

.plano-features i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.planos-cta {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 20px;
}

.planos-cta p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Download App Section */
.download-app {
    padding: 100px 0;
    background: white;
}

.download-app-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.download-qr {
    text-align: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    background: white;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
}

.download-qr p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.download-button {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.google-play-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.google-play-link:hover {
    transform: translateY(-5px) scale(1.05);
}

.google-play-img {
    height: 90px;
    width: auto;
    display: block;
}

.download-text {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .download-app-content {
        flex-direction: column;
        gap: 30px;
        justify-content: center;
        align-items: center;
    }
    
    .download-button {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .google-play-img {
        height: 80px;
    }
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--secondary-color);
    font-weight: 500;
    opacity: 0.9;
}

.cta-guarantee i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand-img { height: 48px; width: auto; display: block; }

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.contact-item i {
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Floating WhatsApp button */
.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37,211,102,0.4), 0 6px 6px rgba(0,0,0,0.1);
    z-index: 1100;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 24px rgba(37,211,102,0.45), 0 8px 10px rgba(0,0,0,0.12);
    background: #1ebe5d;
}

.floating-whatsapp i {
    font-size: 26px;
}

@media (max-width: 480px) {
    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }

    /* Alternar botões por dispositivo */
    .only-desktop { display: none; }
    .only-mobile { display: inline-block; }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .funcionamento-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .funcionamento-arrow {
        transform: rotate(90deg);
    }
    
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    .planos-grid {
        grid-template-columns: 1fr;
    }
    
    .plano-item.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-mockup {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 30px;
    }
    
    .phone-frame {
        transform: rotate(0deg);
    }
    
    .mockup-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mockup-stats {
        grid-template-columns: 1fr;
    }
    
    .app-quick-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Signup page */
.signup { padding: 120px 0 80px; background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); }
.form-wrapper { max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--border-color); border-radius: 16px; box-shadow: var(--shadow); padding: 30px; }
.form-header h1 { font-size: 1.8rem; margin-bottom: 8px; color: var(--secondary-color); }
.form-header p { color: var(--text-light); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; color: var(--secondary-color); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 14px; border: 1px solid var(--border-color); border-radius: 10px; font-size: 0.95rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(255,202,24,0.15); }
.form-legal { margin-top: 12px; }
.checkbox { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; }
.form-actions { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.form-success { text-align: center; padding: 30px; border: 1px solid var(--border-color); border-radius: 12px; background: #f8fff3; }
.form-success i { color: #28a745; font-size: 40px; margin-bottom: 10px; }
.form-success-actions { margin-top: 24px; }
.form-success-actions .btn { margin: 0 auto; }

/* Links legais. */
.link-legal {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.link-legal:hover {
    color: var(--secondary-color);
}

/* Modal Legal */
.modal-legal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-legal[hidden] {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: var(--secondary-color);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.modal-loading i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-content-markdown {
    line-height: 1.8;
    color: var(--text-color);
}

.modal-content-markdown h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.modal-content-markdown h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 12px;
}

.modal-content-markdown h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-content-markdown p {
    margin-bottom: 15px;
    text-align: justify;
}

.modal-content-markdown ul,
.modal-content-markdown ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.modal-content-markdown li {
    margin-bottom: 8px;
}

.modal-content-markdown strong {
    font-weight: 600;
    color: var(--secondary-color);
}

.modal-content-markdown em {
    font-style: italic;
}

.modal-content-markdown code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.modal-content-markdown blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin: 15px 0;
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
        margin: 10px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
}
