/* ========================================
   PrimeSync - Vanilla CSS
   Colors: #002D72 (dark blue), #FFBB00 (gold), #FFFFFF (white)
   ======================================== */

/* CSS Variables */
:root {
    --primary: #002D72;
    --primary-light: #003d99;
    --primary-dark: #001d4d;
    --accent: #FFBB00;
    --accent-light: #ffcc33;
    --accent-dark: #cc9600;
    --white: #FFFFFF;
    --background: #f8fafc;
    --foreground: #0f172a;
    --muted: #64748b;
    --muted-light: #94a3b8;
    --border: #e2e8f0;
    --card: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 45, 114, 0.1), 0 2px 4px -2px rgba(0, 45, 114, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 45, 114, 0.1), 0 8px 10px -6px rgba(0, 45, 114, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--muted);
    line-height: 1.7;
}

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

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

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(255, 187, 0, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    background: var(--border);
}

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

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-xl {
    padding: 16px 32px;
    font-size: 16px;
}

.full-width {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
}

.logo-icon.large {
    width: 64px;
    height: 64px;
    font-size: 28px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--foreground);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--muted);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 45, 114, 0.03) 0%, rgba(255, 187, 0, 0.05) 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 187, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 45, 114, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-text h1 {
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--muted);
}

/* Chat Preview */
.hero-visual {
    position: relative;
}

.chat-preview {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--primary);
    color: var(--white);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-info {
    flex: 1;
}

.chat-name {
    display: block;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.8;
}

.chat-channel {
    width: 32px;
    height: 32px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-messages {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 300px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    position: relative;
}

.message p {
    color: inherit;
    margin: 0;
    font-size: 14px;
}

.message .time {
    font-size: 11px;
    opacity: 0.6;
    margin-top: 4px;
    display: block;
}

.message.received {
    background: var(--background);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.message.sent {
    background: var(--primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--background);
    border-radius: 16px;
    width: fit-content;
}

.typing span {
    width: 8px;
    height: 8px;
    background: var(--muted-light);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.floating-card svg {
    color: var(--accent);
}

.floating-card span {
    font-weight: 600;
    font-size: 14px;
}

.card-1 {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 40px;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Channels Preview */
.channels-preview {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.channels-title {
    text-align: center;
    color: var(--muted);
    margin-bottom: 32px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.channels-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.channel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    transition: var(--transition);
}

.channel-item:hover {
    color: var(--primary);
    transform: translateY(-4px);
}

.channel-item svg {
    opacity: 0.6;
    transition: var(--transition);
}

.channel-item:hover svg {
    opacity: 1;
}

.channel-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Quick Features */
.quick-features {
    padding: 80px 0;
}

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

.feature-card {
    background: var(--card);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 45, 114, 0.1) 0%, rgba(255, 187, 0, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
}

.features-cta {
    text-align: center;
    margin-top: 48px;
}

/* Page Hero */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 45, 114, 0.03) 0%, rgba(255, 187, 0, 0.05) 100%);
}

.page-badge {
    display: inline-block;
    background: rgba(255, 187, 0, 0.2);
    color: var(--accent-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.page-hero h1 {
    max-width: 800px;
    margin: 0 auto 24px;
}

.page-hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-box {
    background: var(--card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.feature-box-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--white);
}

.feature-box h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.feature-box > p {
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--muted);
}

.feature-list li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(255, 187, 0, 0.2);
    color: var(--accent-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Channels Section */
.channels-section {
    padding: 80px 0;
}

.channels-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.channel-card {
    background: var(--card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.channel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.channel-card-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.channel-card-icon.whatsapp {
    background: #25D366;
    color: white;
}

.channel-card-icon.instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
    color: white;
}

.channel-card-icon.facebook {
    background: #1877F2;
    color: white;
}

.channel-card-icon.telegram {
    background: #0088cc;
    color: white;
}

.channel-card-icon.webchat {
    background: var(--primary);
    color: white;
}

.channel-card-icon.sip {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
}

.channel-card h3 {
    margin-bottom: 12px;
}

.channel-card > p {
    margin-bottom: 24px;
    font-size: 14px;
}

.channel-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.channel-features li {
    font-size: 14px;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
}

.channel-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Integration Section */
.integration-section {
    padding: 80px 0;
    background: var(--white);
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.integration-text h2 {
    margin-bottom: 20px;
}

.integration-text > p {
    margin-bottom: 32px;
}

.integration-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.integration-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
}

.integration-list svg {
    color: var(--accent);
    flex-shrink: 0;
}

.integration-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.integration-diagram {
    position: relative;
    width: 300px;
    height: 300px;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.diagram-channels {
    position: absolute;
    width: 100%;
    height: 100%;
}

.diagram-channel {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    top: 50%;
    left: 50%;
    transform: rotate(calc(72deg * var(--i))) translateX(120px) rotate(calc(-72deg * var(--i)));
}

.diagram-channel.whatsapp { color: #25D366; }
.diagram-channel.instagram { color: #E4405F; }
.diagram-channel.facebook { color: #1877F2; }
.diagram-channel.telegram { color: #0088cc; }
.diagram-channel.webchat { color: var(--primary); }

/* Benefits Section */
.stats-section {
    padding: 80px 0;
    background: var(--primary);
}

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

.stat-card {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.benefits-section {
    padding: 80px 0;
}

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

.benefit-card {
    background: var(--card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.benefit-card.large {
    grid-column: span 2;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 45, 114, 0.1) 0%, rgba(255, 187, 0, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.benefit-card h3 {
    margin-bottom: 12px;
}

.benefit-card > p {
    margin-bottom: 20px;
}

.benefit-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.benefit-list li {
    font-size: 14px;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    background: rgba(255, 187, 0, 0.2);
    color: var(--accent-dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

.testimonial-card {
    background: var(--card);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.testimonial-content p {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--foreground);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info strong {
    display: block;
    color: var(--foreground);
}

.author-info span {
    font-size: 14px;
    color: var(--muted);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 45, 114, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.contact-method-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-method-info h4 {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-method-info p {
    font-weight: 600;
    color: var(--foreground);
}

.contact-social h4 {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--muted);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--background);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--foreground);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 45, 114, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Mini Section */
.faq-mini-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    padding: 24px;
    background: var(--background);
    border-radius: var(--radius);
}

.faq-item h4 {
    margin-bottom: 8px;
    font-size: 16px;
}

.faq-item p {
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Footer */
.footer {
    background: var(--white); /* Apenas alterar para branco */
    padding: 80px 0 32px;
    color: var(--muted); /* Mantém a cor original */
    border-top: 1px solid var(--border);
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--foreground); /* Cor do texto original */
}

.footer-brand p {
    color: var(--muted);
    font-size: 14px;
}

.footer-links h4 {
    color: var(--foreground);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--muted);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--muted);
}

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

/* Mobile Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 12px 0;
    font-weight: 500;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
}

.mobile-nav .btn {
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 32px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-main-grid {
        grid-template-columns: 1fr;
    }
    
    .channels-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .integration-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .integration-visual {
        order: -1;
    }
    
    .integration-list {
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card.large {
        grid-column: auto;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .channels-grid {
        gap: 32px;
    }
    
    .channels-main-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .benefit-list {
        grid-template-columns: 1fr;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Animações do diagrama de integração - ORBITA COMPLETA */
@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(120px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(120px) rotate(-360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.diagram-channels {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* 6 canais = 60 graus entre cada (360/6 = 60) */
.diagram-channel {
    position: absolute;
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    top: 50%;
    left: 50%;
    margin-top: -28px; /* Metade da altura */
    margin-left: -28px; /* Metade da largura */
    animation: orbit 24s linear infinite;
    animation-delay: calc(-4s * var(--i)); /* Atrasos diferentes para cada */
    transition: all 0.3s ease;
    border: 2px solid transparent;
    transform-origin: center center;
}

/* Posições iniciais para 6 canais (360° / 6 = 60° cada) */
.diagram-channel:nth-child(1) { --i: 0; } /* 0° */
.diagram-channel:nth-child(2) { --i: 1; } /* 60° */
.diagram-channel:nth-child(3) { --i: 2; } /* 120° */
.diagram-channel:nth-child(4) { --i: 3; } /* 180° */
.diagram-channel:nth-child(5) { --i: 4; } /* 240° */
.diagram-channel:nth-child(6) { --i: 5; } /* 300° */

/* Aplicar transformações iniciais */
.diagram-channel {
    transform: 
        rotate(calc(60deg * var(--i))) 
        translateX(140px) 
        rotate(calc(-60deg * var(--i)));
}

.diagram-channel:hover {
    transform: 
        rotate(calc(60deg * var(--i))) 
        translateX(140px) 
        rotate(calc(-60deg * var(--i))) 
        scale(1.2);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Para visualização: Adicione uma órbita tracejada (opcional) */
.integration-diagram::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    border: 2px dashed rgba(0, 45, 114, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Ajustes específicos para cada canal no diagrama */
.diagram-channel.whatsapp { 
    background: #25D366;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.diagram-channel.instagram { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.diagram-channel.facebook { 
    background: #1877F2;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.diagram-channel.telegram { 
    background: #0088cc;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.diagram-channel.webchat { 
    background: var(--primary);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.diagram-channel.sip { 
    background: var(--accent);
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Pausar animação ao passar o mouse */
.integration-diagram:hover .diagram-channel {
    animation-play-state: paused;
}

.integration-diagram:hover .diagram-center {
    animation-play-state: paused;
}

/* Responsivo */
@media (max-width: 1024px) {
    .integration-diagram {
        transform: scale(0.9);
    }
}

@media (max-width: 768px) {
    .integration-diagram {
        transform: scale(0.8);
    }
    
    .diagram-channel {
        width: 48px;
        height: 48px;
        margin-top: -24px;
        margin-left: -24px;
        transform: rotate(calc(60deg * var(--i))) translateX(100px) rotate(calc(-60deg * var(--i)));
    }
    
    .integration-diagram::before {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .integration-diagram {
        transform: scale(0.7);
    }
}





/* ========================================
   WhatsApp Flutuante
   ======================================== */

/* Container do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Botão principal do WhatsApp */
.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
}

/* Efeito de pulso */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: pulse 2s infinite;
    z-index: -1;
    opacity: 0.3;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* Balão de chat */
.whatsapp-chat {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    width: 280px;
    transform-origin: bottom right;
    animation: slideIn 0.3s ease;
    display: none;
}

.whatsapp-chat.active {
    display: block;
}

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

.whatsapp-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.whatsapp-chat-avatar {
    width: 40px;
    height: 40px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.whatsapp-chat-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

.whatsapp-chat-info p {
    font-size: 12px;
    color: #666;
}

.whatsapp-chat-body {
    margin-bottom: 16px;
}

.whatsapp-chat-body p {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.whatsapp-chat-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.whatsapp-action-btn {
    width: 100%;
    padding: 12px 16px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.whatsapp-action-btn:hover {
    background: #128C7E;
}

.whatsapp-action-btn.outline {
    background: white;
    color: #25D366;
    border: 2px solid #25D366;
}

.whatsapp-action-btn.outline:hover {
    background: #f5f5f5;
}

/* Contador de notificações */
.whatsapp-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF3B30;
    color: white;
    font-size: 12px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Botão fechar */
.whatsapp-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.whatsapp-close:hover {
    background: #f5f5f5;
    color: #333;
}

/* Responsivo */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-btn {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-chat {
        width: 260px;
        right: 0;
    }
}

@media (max-width: 480px) {
    .whatsapp-chat {
        width: 240px;
    }
}



/* Contador de notificações - CORRIGIDO */
.whatsapp-notification {
    position: absolute;
    top: -2px; /* Alterado de -5px para -2px */
    right: -2px; /* Alterado de -5px para -2px */
    background: #FF3B30;
    color: white;
    font-size: 10px; /* Reduzido de 12px para 10px */
    font-weight: 600;
    width: 18px; /* Reduzido de 20px para 18px */
    height: 18px; /* Reduzido de 20px para 18px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    border: 2px solid white; /* Adicionado contorno branco */
    box-sizing: border-box;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Botão principal do WhatsApp - AJUSTE */
.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    overflow: visible; /* Alterado de hidden para visible */
}
