/* Variáveis de cores */
:root {
    --primary-color: #0a2463; /* Azul marinho */
    --secondary-color: #8ecae6; /* Azul bebê */
    --accent-color: #1e96fc; /* Azul médio para destaques */
    --dark-color: #111111; /* Preto */
    --light-color: #ffffff; /* Branco */
    --gray-color: #f5f5f5; /* Cinza claro */
    --dark-gray: #333333; /* Cinza escuro */
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    position: relative;
}

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

section {
    padding: 80px 0;
}

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

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

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

.separator {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(10, 36, 99, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 150, 252, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Header e navegação */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

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

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Seção Hero */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.code-effect {
    position: relative;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(10, 36, 99, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para contêiner 3D com Three.js */
.code-container-3d {
    position: relative;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle at center, rgba(13, 110, 253, 0.1) 0%, rgba(0, 0, 0, 0.9) 70%);
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(142, 202, 230, 0.2);
}

.shape-3d {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Estilos para o canvas Three.js */
.shape-3d canvas {
    width: 100% !important;
    height: 100% !important;
    border-radius: 15px;
    background: transparent;
}

/* Efeito de scan de IA (removido para dar lugar ao efeito hover) */

/* Efeito de borda brilhante */
.code-container-3d::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(142, 202, 230, 0.3) 0%, 
        rgba(33, 158, 188, 0.5) 25%, 
        rgba(142, 202, 230, 0.3) 50%, 
        rgba(33, 158, 188, 0.5) 75%, 
        rgba(142, 202, 230, 0.3) 100%);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.6;
        filter: blur(1px);
    }
    50% {
        opacity: 1;
        filter: blur(2px);
    }
}

/* Loading indicator para Three.js */
.shape-3d::after {
    content: 'Carregando ambiente 3D...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(142, 202, 230, 0.7);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-align: center;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}

.shape-3d canvas + * {
    display: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.code-container-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Partículas de dados */
.hero-ai-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(30, 150, 252, 0.4), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(142, 202, 230, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(247, 223, 30, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 107, 107, 0.3), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(55, 118, 171, 0.4), transparent);
    background-repeat: repeat;
    background-size: 180px 120px;
    animation: dataParticles 6s linear infinite;
    pointer-events: none;
}

@keyframes dataParticles {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(0px) translateX(0px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-15px) translateX(10px);
    }
}

/* Efeito de partículas de fundo */
.code-container-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(142, 202, 230, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(142, 202, 230, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(142, 202, 230, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(142, 202, 230, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(142, 202, 230, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 8s linear infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px);
    }
}

/* Seção Sobre */
.about {
    background-color: var(--gray-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-container {
    width: 100%;
    height: 400px;
    background-color: var(--primary-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(10, 36, 99, 0.2);
}

/* Contêiner de IA no Hero */
.hero-ai-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(30, 150, 252, 0.2);
}

/* Estilo do container de código AI */
.ai-code-container {
    display: flex;
    flex-direction: column;
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
}

/* Rede Neural */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.neuron {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #1e96fc 0%, #0d6efd 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(30, 150, 252, 0.8);
    animation: pulse 2s ease-in-out infinite;
}



.connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(30, 150, 252, 0.6) 50%, transparent 100%);
    transform-origin: left center;
    animation: dataFlow 3s linear infinite;
}

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

@keyframes dataFlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

/* Códigos Flutuantes */
.floating-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.code-snippet {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #8ecae6;
    text-shadow: 0 0 10px rgba(142, 202, 230, 0.5);
    opacity: 0.8;
    animation: floatCode 8s ease-in-out infinite;
    white-space: nowrap;
}



.code-snippet.javascript {
    color: #f7df1e;
    text-shadow: 0 0 10px rgba(247, 223, 30, 0.5);
}

.code-snippet.python {
    color: #3776ab;
    text-shadow: 0 0 10px rgba(55, 118, 171, 0.5);
}

.code-snippet.ai {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

@keyframes floatCode {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(1deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(-5px) rotate(-1deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px) translateX(15px) rotate(0.5deg);
        opacity: 0.8;
    }
}

/* Cabeçalho do terminal */
.terminal-header {
    display: flex;
    align-items: center;
    background-color: #323232;
    padding: 10px 15px;
    border-bottom: 1px solid #444;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.red {
    background-color: #ff5f56;
}

.terminal-button.yellow {
    background-color: #ffbd2e;
}

.terminal-button.green {
    background-color: #27c93f;
}

.terminal-title {
    color: #ddd;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

/* Corpo do terminal */
.terminal-body {
    flex: 1;
    padding: 20px;
    font-family: 'Courier New', monospace;
    color: #f8f8f8;
    overflow: auto;
    background-color: #1e1e1e;
}

/* Efeito de digitação */
.typing-effect {
    line-height: 1.6;
    font-size: 16px;
}

.prompt {
    color: var(--accent-color);
    font-weight: bold;
}

.typed-text {
    color: #f8f8f8;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: var(--accent-color);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 20px 15px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

/* Seção Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--light-color);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Seção Como Funciona */
.how-it-works {
    background-color: var(--gray-color);
    position: relative;
    overflow: hidden;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background-color: var(--secondary-color);
    z-index: 1;
}

.step {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    box-shadow: 0 5px 15px rgba(10, 36, 99, 0.3);
}

.step-content {
    flex: 1;
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step:hover .step-content {
    transform: translateX(10px);
}

.step-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--dark-gray);
}

/* Seção Contato */
.contact-container {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.contact-info, .contact-form {
    flex: 1;
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h3, .contact-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

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

.info-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.info-item p {
    color: var(--dark-gray);
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Estilos para validação de formulário */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.field-error {
    display: block;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
    font-weight: 500;
}

/* Mensagem de sucesso */
.success-message {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #28a745;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.1);
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 4rem;
    color: #28a745;
    animation: successPulse 2s ease-in-out infinite;
}

.success-message h3 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.success-message p {
    color: #6c757d;
    margin-bottom: 10px;
    line-height: 1.6;
}

.success-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Animação para ícone de sucesso */
@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Spinner para botão de envio */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.full-width {
    grid-column: 1 / -1;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 10px;
    width: auto;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 2;
    min-width: 250px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 300px;
}

.footer-links, .footer-newsletter {
    flex: 1;
    min-width: 200px;
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    background-color: var(--accent-color);
    color: var(--light-color);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
}

.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter-form button .fa-spinner {
    animation: spin 1s linear infinite;
}

.newsletter-form button .fa-check {
    color: #4CAF50;
}

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

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    background: #128C7E;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg {
    transform: scale(1.1);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsividade */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }
    
    .about-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature {
        min-width: 100%;
        padding: 15px;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info, .contact-form {
        max-width: 100%;
    }

    /* Responsividade para mensagem de sucesso */
    .success-message {
        padding: 30px 15px;
    }

    .success-icon i {
        font-size: 3rem;
    }

    .success-message h3 {
        font-size: 1.25rem;
    }

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .success-actions .btn {
        min-width: 200px;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .code-effect {
        width: 300px;
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    

}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .code-effect {
        width: 250px;
        height: 250px;
    }

    .steps::before {
        left: 30px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--light-color);
    padding: 20px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light-color);
}

.cookie-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cookie-actions .btn-primary {
    background: var(--light-color);
    color: var(--primary-color);
}

.cookie-actions .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.cookie-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--light-color);
    transform: translateY(-2px);
}

/* Responsividade do banner de cookies */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-actions .btn {
        flex: 1;
        max-width: 120px;
    }
}