:root {
    --primary: #FF5E14;
    --primary-hover: #e04f0d;
    --primary-light: rgba(255, 94, 20, 0.08);
    --secondary: #1e293b;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-body: #F8FAFC;
    --white: #FFFFFF;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --font-main: 'Outfit', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); }

body { 
    background-color: var(--bg-body); 
    color: var(--text-dark); 
    overflow-x: hidden; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    position: relative;
}

/* === BACKGROUND SHAPES === */
.bg-shape-1 {
    position: absolute; top: -100px; right: -100px; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 94, 20, 0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%; z-index: -1; pointer-events: none;
}
.bg-shape-2 {
    position: absolute; top: 400px; left: -200px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(30, 41, 59, 0.03) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%; z-index: -1; pointer-events: none;
}

/* === HEADER === */
.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    height: 80px;
}

.header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}
.site-logo-text span { color: var(--primary); }
.site-logo { height: 50px; width: auto; margin-right: 15px; }

/* NAV MENU */
.nav-menu { display: flex; gap: 20px; align-items: center; }

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link:hover { color: var(--primary); }

.btn-demo {
    background-color: var(--secondary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
}
.btn-demo:hover { background-color: #0f172a; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(30, 41, 59, 0.3); }

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #e2e8f0;
    transition: all 0.2s;
}
.btn-outline:hover {
    border-color: var(--secondary);
    background-color: var(--secondary);
    color: white;
}

/* === MAIN LAYOUT === */
.main-wrapper { 
    padding-top: 110px; 
    padding-bottom: 60px; 
    flex: 1;
}

.container { 
    max-width: 1250px;
    margin: 0 auto; 
    padding: 0 2rem; 
}

/* HERO SECTION */
.hero-container {
    display: flex; 
    align-items: flex-start;
    justify-content: space-between; 
    gap: 4rem;
    margin-bottom: 4rem;
}

.hero-content { 
    flex: 1; 
    padding-top: 1rem;
}

.badge-hero {
    display: inline-block;
    background: #fff1eb;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 94, 20, 0.15);
}

.hero-content h1 { 
    font-size: 3.5rem; 
    font-weight: 800;
    line-height: 1.1; 
    margin-bottom: 1.2rem; 
    color: var(--secondary);
    letter-spacing: -1.5px;
}
.hero-content h1 span { 
    background: linear-gradient(135deg, var(--primary) 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p { 
    font-size: 1.2rem; 
    color: var(--text-light); 
    margin-bottom: 2rem; 
    line-height: 1.6;
    max-width: 90%;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 2rem;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
}
.icon-check {
    width: 20px; height: 20px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.6rem;
}

/* BANNER HORIZONTAL NA HERO */
.promo-banner {
    background: linear-gradient(90deg, #fff 0%, #fff7ed 100%);
    border: 1px solid #fed7aa;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 90%;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease-out forwards;
    margin-bottom: 2rem;
}
.promo-icon {
    font-size: 1.5rem;
    color: var(--primary);
}
.promo-content strong {
    display: block;
    color: var(--secondary);
    font-size: 0.95rem;
}
.promo-content span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === SEÇÃO: SEGMENTOS === */
.segments-section {
    padding-top: 1rem;
    padding-bottom: 2rem;
}
.segments-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.segments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.segment-tag {
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}
.segment-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.segment-tag i { color: var(--primary); font-size: 0.85rem; }

/* FORM CARD */
.form-wrapper {
    flex: 0 0 450px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.form-card { 
    background: var(--white); 
    padding: 2rem; 
    border-radius: 24px; 
    box-shadow: var(--shadow-xl); 
    border: 1px solid rgba(255,255,255,0.8);
    width: 100%;
}

.form-header { text-align: center; margin-bottom: 1.5rem; border-bottom: 1px solid #f1f5f9; padding-bottom: 1rem; }
.form-header h2 { color: var(--secondary); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.2rem; }
.form-header p { color: var(--text-light); font-size: 0.9rem; }

.input-group { margin-bottom: 1rem; text-align: left; }
.form-row { display: flex; gap: 1rem; }
.form-row .input-group { flex: 1; }

.form-row-cep { display: flex; gap: 1rem; }
.col-cep { width: 40%; }
.col-rua { width: 60%; }
.col-num { width: 35%; }
.col-bairro { width: 65%; }

label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--secondary); margin-bottom: 0.5rem; margin-left: 2px;}

.input-wrapper, .select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 1;
}

input, select { 
    width: 100%; 
    padding: 0.85rem 1rem 0.85rem 2.6rem; 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    font-size: 0.95rem; 
    color: var(--secondary);
    background: #f8fafc;
    transition: all 0.2s; 
    font-weight: 500;
}
input[readonly] { background-color: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
select { padding-left: 1rem; } 

input:focus, select:focus { 
    outline: none; 
    border-color: var(--primary); 
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 94, 20, 0.1); 
}
input::placeholder { color: #cbd5e1; font-weight: 400; }

/* Custom Slug Wrapper */
.slug-wrapper input { padding-left: 125px; padding-right: 30px; }
.slug-prefix { position: absolute; left: 15px; color: #64748b; font-size: 0.9rem; font-weight: 500; z-index: 2; pointer-events: none; }
.input-icon-right { position: absolute; right: 15px; color: #94a3b8; z-index: 2; }

.btn-primary { 
    width: 100%; 
    background: linear-gradient(135deg, var(--primary) 0%, #ff4b1f 100%);
    color: white; 
    padding: 1rem; 
    border: none; 
    border-radius: 12px; 
    font-size: 1.1rem; 
    font-weight: 700; 
    cursor: pointer; 
    transition: all 0.3s; 
    margin-top: 0.5rem; 
    box-shadow: 0 10px 20px -5px rgba(255, 94, 20, 0.4);
    display: flex; justify-content: center; align-items: center; gap: 10px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 25px -5px rgba(255, 94, 20, 0.5); }

/* FEATURES SECTION */
.features-section { 
    background: white; 
    padding: 5rem 0; 
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    width: 100vw; 
    margin-left: calc(-50vw + 50%); 
}

.features-header { text-align: center; max-width: 800px; margin: 0 auto 3rem auto; padding: 0 2rem; }
.features-header h3 { font-size: 2rem; color: var(--secondary); font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.features-header p { font-size: 1.1rem; color: var(--text-light); }

.features-container { 
    max-width: 1100px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 2.5rem; 
    padding: 0 2rem; 
}

.feature-card { 
    text-align: left; 
    padding: 2.5rem 2rem; 
    border-radius: 20px; 
    background: var(--white); 
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s, box-shadow 0.3s; 
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.feature-icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}
.color-1 { background: #e0f2fe; color: #0284c7; }
.color-2 { background: #ffedd5; color: #ea580c; }
.color-3 { background: #dcfce7; color: #16a34a; }

/* === MODELOS SECTION (NOVO) === */
.modelos-section { padding: 4rem 0; background-color: var(--bg-body); }
.modelos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.modelo-item { 
    background: white; border-radius: 16px; padding: 2rem; 
    box-shadow: var(--shadow-sm); border: 1px solid var(--border); 
    text-align: center; transition: 0.3s;
}
.modelo-item:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.modelo-icon { 
    font-size: 2rem; color: var(--primary); margin-bottom: 1.2rem; 
    background: var(--primary-light); width: 70px; height: 70px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto;
}
.modelo-item h4 { color: var(--secondary); font-weight: 700; margin-bottom: 0.5rem; }
.modelo-item p { color: var(--text-light); font-size: 0.9rem; line-height: 1.5; }


/* === PLANOS SECTION === */
.planos-section { padding: 5rem 0; }
.planos-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.plano-card {
    background: white; border: 1px solid var(--border);
    border-radius: 24px; padding: 2.5rem;
    width: 320px; text-align: center;
    box-shadow: var(--shadow-md);
    transition: 0.3s; position: relative; overflow: hidden;
}
.plano-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--primary); }
.plano-popular { border: 2px solid var(--primary); transform: scale(1.05); }
.plano-popular:hover { transform: scale(1.05) translateY(-10px); }
.badge-popular {
    position: absolute; top: 0; left: 0; width: 100%;
    background: var(--primary); color: white;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    padding: 5px 0; letter-spacing: 1px;
}
.plano-nome { font-size: 1.5rem; font-weight: 800; color: var(--secondary); margin-bottom: 1rem; margin-top: 10px; }
.plano-preco { font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.plano-preco small { font-size: 1.2rem; font-weight: 500; color: var(--text-light); }
.plano-validade { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; display: block; }
.plano-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.plano-features li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--secondary); font-size: 0.95rem; }
.plano-features i { color: #16a34a; background: #dcfce7; padding: 4px; border-radius: 50%; font-size: 0.7rem; }
.btn-plano { display: block; width: 100%; padding: 12px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.2s; }
.btn-outline-plano { border: 2px solid var(--secondary); color: var(--secondary); }
.btn-outline-plano:hover { background: var(--secondary); color: white; }
.btn-primary-plano { background: var(--primary); color: white; box-shadow: 0 10px 20px rgba(255, 94, 20, 0.3); }
.btn-primary-plano:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(255, 94, 20, 0.4); }

/* === LOGOS SECTION (INFINITE SLIDER) === */
.logos-section { 
    text-align: center; 
    margin-top: 2rem; 
    padding-bottom: 2rem; 
    overflow: hidden; 
    position: relative;
    width: 100%;
}

.logos-title { 
    color: var(--text-light); 
    margin-bottom: 2rem; 
    font-weight: 600; 
    font-size: 1.1rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
}

.logos-section::before, .logos-section::after {
    content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none;
}
.logos-section::before { left: 0; background: linear-gradient(to right, var(--bg-body), transparent); }
.logos-section::after { right: 0; background: linear-gradient(to left, var(--bg-body), transparent); }

.slider-container { display: flex; width: 100%; overflow: hidden; position: relative; padding: 10px 0; }
.slider-track {
    display: flex; align-items: center; gap: 1.5rem; 
    animation: scrollLogos 35s linear infinite; padding-right: 1.5rem; flex-shrink: 0;
}
.slider-container:hover .slider-track { animation-play-state: paused; }
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

.logo-item { 
    display: flex; align-items: center; gap: 12px; 
    font-weight: 700; color: #64748b; background: white; 
    padding: 8px 24px 8px 10px; border-radius: 50px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); font-size: 1rem; 
    border: 1px solid #f1f5f9; transition: all 0.2s; cursor: default; white-space: nowrap; flex-shrink: 0;
}
.logo-item:hover { transform: translateY(-2px); color: var(--secondary); border-color: #cbd5e1; box-shadow: var(--shadow-md); }
.logo-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.logo-item span { color: var(--secondary); font-weight: 600; }

/* === FOOTER (MODIFIED DARK) === */
.site-footer {
    background-color: var(--secondary); /* Dark Background */
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 3rem 0;
    margin-top: auto;
    color: white;
}
.footer-content { max-width: 1100px; margin: 0 auto; padding: 0 2rem; text-align: center; }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 1rem; letter-spacing: -1px; }
.footer-brand span { color: var(--primary); }
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 2rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 0.95rem; transition: 0.2s; font-weight: 500; }
.footer-links a:hover { color: var(--primary); }
.copyright { color: #94a3b8; font-size: 0.85rem; }

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 94, 20, 0.4);
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background-color: var(--primary-hover); transform: translateY(-3px); color: white; }

/* === MODAL === */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7); backdrop-filter: blur(5px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
    overflow-y: auto; padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background: white; width: 100%; max-width: 1000px; 
    border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(10px); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column; margin: auto; 
}
.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }
.modal-header { padding: 1.5rem 2rem; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 1.4rem; font-weight: 700; color: var(--secondary); display: flex; align-items: center; gap: 10px; }
.close-modal { background: none; border: none; font-size: 2rem; cursor: pointer; color: #cbd5e1; transition: color 0.2s; line-height: 1; }
.close-modal:hover { color: var(--secondary); }
.modal-body { padding: 2.5rem; }
.modal-subtitle { text-align: center; color: var(--text-light); margin-bottom: 2.5rem; font-size: 1.1rem; }
.changelog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-item { display: flex; gap: 15px; align-items: flex-start; }
.feature-icon-check { 
    color: var(--primary); background: var(--primary-light); 
    padding: 8px; border-radius: 10px; flex-shrink: 0; 
    font-size: 0.9rem; width: 32px; height: 32px; 
    display: flex; align-items: center; justify-content: center;
}
.feature-title { font-weight: 700; color: var(--secondary); margin-bottom: 4px; font-size: 0.95rem; }
.feature-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.4; }
.modal-footer-action { margin-top: 3rem; text-align: center; border-top: 1px solid #f1f5f9; padding-top: 2rem; }
.modal-footer-action button { width: auto; padding: 12px 40px; display: inline-block; }

/* === MOBILE === */
.mobile-sticky-btn { display: none; position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 900; width: 90%; max-width: 400px; }
.mobile-sticky-btn button { 
    width: 100%; background: var(--secondary); color: white; 
    padding: 16px; border-radius: 50px; font-weight: 700; 
    border: none; box-shadow: 0 10px 25px rgba(0,0,0,0.3); font-size: 1rem; 
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

@media (max-width: 900px) {
    .site-header { height: 70px; }
    .hero-container { flex-direction: column; text-align: center; gap: 3rem; margin-bottom: 3rem; }
    .hero-content { padding-right: 0; width: 100%; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-benefits { justify-content: center; }
    .promo-banner { margin: 0 auto 2rem auto; } 
    .header-container { padding: 0 1.5rem; }
    .nav-menu { gap: 15px; }
    .nav-link span, .btn-demo span { display: none; } 
    .btn-demo i, .nav-link i { margin: 0; font-size: 1.2rem; }
    .form-wrapper { flex: auto; max-width: 100%; }
    .features-container, .changelog-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .planos-grid { flex-direction: column; align-items: center; }
    .mobile-sticky-btn { display: block; }
    .modal-content { width: 95%; margin: 20px auto; }
    
    .form-row, .form-row-cep { flex-direction: column; gap: 0; }
    .col-cep, .col-rua, .col-num, .col-bairro { width: 100%; }
}

/* Utils Alerts */
.sucesso { background: #dcfce7; color: #15803d; padding: 1rem; border-radius: 12px; margin-bottom: 1.5rem; text-align: center; font-weight: 600; font-size: 0.95rem; border: 1px solid #bbf7d0; }
.erro { background: #fee2e2; color: #b91c1c; padding: 1rem; border-radius: 12px; margin-bottom: 1.5rem; text-align: center; font-size: 0.95rem; border: 1px solid #fecaca; }