/* ==========================================
   K&R Automações - CSS Principal
   ========================================== */

:root {
    --primary-color: #0A2540;
    --primary-dark: #061525;
    --accent-color: #7B61FF;
    --accent-hover: #634AE6;
    --text-light: #FFFFFF;
    --text-muted: #A0ABB8;
    --bg-light: #F5F7FA;
    --bg-dark: #0A2540;
    --bg-card: rgba(255, 255, 255, 0.05);

    --gradient-primary: linear-gradient(135deg, #0A2540 0%, #1a1a3e 100%);
    --gradient-accent: linear-gradient(135deg, #7B61FF 0%, #9F8AFF 100%);

    --font-main: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-padding {
    padding: 100px 0;
}

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

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-highlight {
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(123, 97, 255, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 97, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--text-light);
    color: var(--accent-color);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
}

/* Utilities */
.d-none { display: none !important; }
.d-md-flex { display: flex !important; }
.d-md-none { display: none !important; }

/* ==========================================
   Navbar
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

/* ==========================================
   Logo (Imagem Única)
   ========================================== */
.logo-image {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    z-index: 1001;
}

.logo-image:hover {
    opacity: 0.8;
}

.logo-image img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 37, 64, 0.4) 0%, rgba(10, 37, 64, 0.9) 100%);
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.badge-partner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 164, 255, 0.1);
    border: 1px solid rgba(0, 164, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    color: #4dc2ff;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 164, 255, 0.15);
}

.badge-partner i {
    font-size: 1.2rem;
    color: #00a4ff;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-badge i {
    color: var(--accent-color);
}

/* ==========================================
   Partners Section
   ========================================== */
.partners-section {
    padding: 60px 0;
    overflow: hidden;
}

.partners-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: scroll-partners-desktop 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    width: 180px;
    transition: var(--transition);
    filter: grayscale(100%) opacity(0.6);
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

@keyframes scroll-partners-desktop {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); }
}

@keyframes scroll-partners-mobile {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.25rem)); }
}

@media screen and (max-width: 768px) {
    .partners-track {
        gap: 2.5rem;
        animation: scroll-partners-mobile 25s linear infinite;
    }
    .partner-logo {
        width: 140px;
        height: 55px;
    }
}

/* ==========================================
   Problemas Section
   ========================================== */
.alternate-bg {
    background-color: var(--primary-dark);
}

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

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(123, 97, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.problem-card {
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

.feature-box {
    background: rgba(123, 97, 255, 0.05);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
}

/* ==========================================
   Marketing Images Section
   ========================================== */
.mkt-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.mkt-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.mkt-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(123, 97, 255, 0.15);
}

.mkt-img-wrapper {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mkt-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mkt-card:hover .mkt-img-wrapper img {
    transform: scale(1.03);
}

.mkt-caption {
    padding: 1.5rem;
}

.mkt-caption h4 {
    font-size: 1.15rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mkt-caption p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media screen and (max-width: 768px) {
    .mkt-showcase {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Serviços Section
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(123, 97, 255, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(123, 97, 255, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
    color: var(--accent-color);
}

.highlight-card {
    background: var(--gradient-primary);
    border: 1px solid var(--accent-color);
    grid-column: span 1; /* Default behavior, will be changed in mobile */
}

/* ==========================================
   Diferenciais Section
   ========================================== */
.differentials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.differentials-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.differentials-image img {
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: var(--accent-color);
    filter: blur(100px);
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: 1;
}

.differentials-list {
    margin-top: 2rem;
}

.differentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.differentials-list i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* ==========================================
   Como Funciona (Stepper)
   ========================================== */
.stepper-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 4rem;
    position: relative;
}

.stepper-horizontal::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--accent-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(123, 97, 255, 0.2);
}

.step-content h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   Depoimentos Section
   ========================================== */
.swipe-indicator {
    display: none; /* Shown only on mobile */
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0.5rem auto 1.5rem;
}

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

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.client-info h4 {
    margin: 0;
    font-size: 1rem;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================
   CTA Final Section
   ========================================== */
.cta-final {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-final::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    background: var(--primary-color);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.company-info {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.company-info p {
    margin-bottom: 0;
}

.company-info i {
    color: var(--accent-color);
    margin-right: 0.3rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent-color);
    color: white;
}

.footer-links h4, .footer-contact h4, .footer-network h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a {
    color: var(--text-muted);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ==========================================
   Partner Seals Banner
   ========================================== */
.partner-seals-banner {
    background-color: var(--primary-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.partners-heading {
    color: var(--text-muted);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.partners-grid-divider {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 3rem;
}

.partner-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 1rem;
}

.seals-horizontal-stack {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.seal-partner-img {
    object-fit: contain;
    transition: var(--transition);
}

.seal-partner-img.badge-bronze {
    height: 120px;
}

.seal-partner-img.logo-text {
    height: 90px;
}

.seal-partner-img.logo-n8n {
    height: 95px;
    filter: brightness(0) invert(1) opacity(0.9); /* Transforma a logo do N8N em branco puro garantindo máxima visibilidade absoluta em fundos escuros */
}

.seal-partner-img:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   WhatsApp Float
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
}

/* ==========================================
   Animations
   ========================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.reveal-up.active, 
.reveal-left.active, 
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================
   N8N Hub Section
   ========================================== */
.n8n-section {
    background: linear-gradient(180deg, var(--primary-color) 0%, #0D0D0D 10%, #0D0D0D 90%, var(--primary-dark) 100%);
    color: #FFFFFF;
    position: relative;
}

/* Header */
.n8n-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #EA4B71;
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: n8n-pulse 2s infinite;
}

@keyframes n8n-pulse {
    0% { box-shadow: 0 0 0 0 rgba(234, 75, 113, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(234, 75, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 75, 113, 0); }
}

.n8n-title {
    font-size: 2.2rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.n8n-inline-logo {
    height: 35px;
    filter: invert(41%) sepia(80%) saturate(1478%) hue-rotate(314deg) brightness(96%) contrast(89%);
}

.n8n-subtitle {
    font-size: 1.1rem;
    color: #CCCCCC;
    max-width: 800px;
    margin: 0 auto;
}

/* Featured Card */
.n8n-featured-card {
    background: #1A1A1A;
    border-left: 6px solid #EA4B71;
    border-radius: var(--border-radius);
    padding: 3rem;
    margin-top: 3rem;
    transition: var(--transition);
}

.n8n-featured-card:hover {
    box-shadow: 0 10px 30px rgba(234, 75, 113, 0.15);
}

.n8n-card-icon {
    font-size: 2rem;
    color: #EA4B71;
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.n8n-featured-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.n8n-featured-content p {
    color: #CCCCCC;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

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

.n8n-feature-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.n8n-feature-item i {
    font-size: 1.8rem;
    color: #7B61FF;
}

.n8n-feature-item span {
    color: #CCCCCC;
    font-size: 0.95rem;
}

.n8n-feature-item strong {
    color: #FFFFFF;
    display: block;
    margin-bottom: 5px;
}

/* Segments */
.n8n-section-subtitle {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}

.n8n-subtitle-sm {
    color: #CCCCCC;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.n8n-segments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.n8n-segment-card {
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.n8n-segment-card:hover {
    border-color: #EA4B71;
    transform: translateY(-5px);
}

.n8n-segment-card:hover i {
    transform: scale(1.1);
}

.n8n-segment-card i {
    font-size: 2.5rem;
    color: #EA4B71;
    display: block;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.n8n-segment-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #FFFFFF;
}

.n8n-segment-card p {
    color: #CCCCCC;
    font-size: 0.95rem;
    line-height: 1.5;
}

.n8n-segments-note {
    color: #EA4B71;
    font-size: 1.1rem;
}

/* Workflow */
.n8n-stepper-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.n8n-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.n8n-step-icon {
    width: 60px;
    height: 60px;
    background: #1A1A1A;
    border: 2px solid #7B61FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFFFFF;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.n8n-step p {
    font-size: 0.9rem;
    color: #CCCCCC;
}

.n8n-step p strong {
    color: #EA4B71;
    display: block;
    margin-bottom: 0.3rem;
}

.n8n-step-arrow {
    color: #EA4B71;
    font-size: 1.5rem;
    margin-top: 15px; 
}

.n8n-workflow-note {
    color: #CCCCCC;
    font-size: 1rem;
    font-style: italic;
}

/* CTA Card */
.n8n-cta-card {
    background: linear-gradient(135deg, #0D0D0D 0%, #1a0a14 100%);
    border: 1px solid #EA4B71;
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
}

.n8n-cta-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.n8n-cta-card p {
    color: #CCCCCC;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.n8n-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-n8n {
    background: #EA4B71;
    color: #FFFFFF;
    border: 1px solid #EA4B71;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-n8n:hover {
    background: transparent;
    color: #EA4B71;
    box-shadow: 0 0 20px rgba(234, 75, 113, 0.4);
}

.btn-n8n-outline {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-n8n-outline:hover {
    background: #FFFFFF;
    color: #0D0D0D;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ==========================================
   Responsive
   ========================================== */
@media screen and (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .differentials-container {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlight-card {
        grid-column: span 2;
    }

    /* N8N Responsivo 1024 / 768 / Mobile */
    .n8n-stepper-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }
    .n8n-step {
        flex: 0 0 28%;
        margin-bottom: 2rem;
    }
    .n8n-step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .n8n-step p {
        font-size: 0.8rem;
    }
    .n8n-step-arrow {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex: 0 0 8%;
        margin-top: 15px;
    }
    .n8n-step-arrow:nth-child(6) {
        display: none; /* Esconde a 3ª seta para forçar a quebra perfeita após 3 símbolos */
    }
}

@media screen and (max-width: 768px) {
    /* N8N Responsivo 768 */
    .n8n-features-grid,
    .n8n-segments-grid {
        grid-template-columns: 1fr;
    }
    .n8n-cta-buttons {
        flex-direction: column;
    }
    .btn-n8n, .btn-n8n-outline {
        width: 100%;
    }

    .partners-grid-divider {
        flex-direction: column;
        gap: 2rem;
    }

    .partner-divider {
        width: 100%;
        height: 1px;
        margin: 1.5rem 0;
    }

    .section-padding {
        padding: 60px 0;
    }

    .d-md-none { display: block !important; }
    .d-none.d-md-flex { display: none !important; }

    /* Navbar Mobile */
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--primary-dark);
        padding: 80px 30px 30px;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
        z-index: 1005; /* Garante que o menu expanda e esconda a logo (z-index 1001) */
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .nav-link {
        display: block;
        font-size: 1.2rem;
    }

    .logo-image img {
        height: 50px;
    }

    .hamburger {
        position: relative;
        z-index: 1006; /* Garante que os três traços continuem visíveis, acima do painel (1005) */
    }

    /* Typography */
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    /* Grids to Single Column */
    .cards-grid-3, 
    .services-grid, 
    .differentials-container, 
    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Swipeable Testimonials on Mobile */
    .testimonials-carousel {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        scroll-behavior: smooth;
        align-items: stretch;
    }
    .testimonials-carousel::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    .testimonial-card {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
    }
    
    .highlight-card {
        grid-column: span 1;
    }
    
    .differentials-image {
        order: -1;
    }

    /* Stepper Mobile */
    .stepper-horizontal {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .stepper-horizontal::before {
        top: 0;
        left: 30px;
        width: 2px;
        height: 100%;
    }
    
    .step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
        padding: 0;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }

    /* CTA Title */
    .cta-title {
        font-size: 2rem;
    }

    /* Swipe Indicator */
    .swipe-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        animation: pulse-swipe 2.5s infinite;
    }

    @keyframes pulse-swipe {
        0% { transform: translateX(0); opacity: 0.5; }
        50% { transform: translateX(8px); opacity: 1; }
        100% { transform: translateX(0); opacity: 0.5; }
    }

    /* WhatsApp Float Adjustments for Mobile */
    .whatsapp-float {
        bottom: 150px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}
