/* =========================================
   ESTILOS GERAIS - THEME MATRIX
   Página Criada por Luanderson
========================================= */

:root {
    --bg-color: #050505;       /* Preto quase total */
    --matrix-dark: #003B00;    /* Verde escuro fundo */
    --matrix-light: #00FF41;   /* Verde Neon Matrix */
    --matrix-dim: #008F11;     /* Verde terminal */
    --text-color: #E0FFE0;     /* Texto claro esverdeado */
    --card-bg: #0D0D0D;        /* Fundo dos cards */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    padding-bottom: 40px;
    position: relative;
}

/* Canvas Matrix Rain */
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

/* Utilitário de Container */
.container {
    width: 90%;
    max-width: 600px; /* Foco mobile */
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

/* Tipografia */
h1, h2, h3 {
    color: var(--matrix-light);
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

h1 { font-size: 1.8rem; font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 700; }
p.subtexto {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 25px;
}

/* =========================================
   ANIMAÇÕES DE BOTÃO (PULSE & FLASH)
   Criado por Luan
========================================= */

@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 255, 65, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); }
}

@keyframes flash-slide {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 200%; opacity: 0; }
}

.btn-matrix {
    display: inline-block;
    position: relative;
    background: linear-gradient(90deg, #00FF41, #39FF14, #00FF41);
    color: #000;
    padding: 16px 32px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    overflow: hidden; /* Importante para o flash */
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.8), 
                0 0 40px rgba(0, 255, 65, 0.5),
                0 0 60px rgba(0, 255, 65, 0.3);
    
    /* Animação de Pulsar */
    animation: pulse-green 2s infinite;
    transition: all 0.3s ease;
}

/* Efeito de Flash passando dentro do botão */
.btn-matrix::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg);
    animation: flash-slide 3s infinite linear; /* Velocidade do flash */
}

.btn-full {
    width: 100%;
    margin-top: 15px;
}

/* =========================================
   SEÇÕES ESPECÍFICAS
========================================= */

/* Hero */
.hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid var(--matrix-dim);
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.1);
}
.hero-img {
    width: 100%;
    border-radius: 8px;
    display: block;
    filter: grayscale(100%) sepia(100%) hue-rotate(90deg) brightness(0.9); /* Filtro Matrix na foto */
}

/* Cards (Grid Flexbox) */
.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--matrix-dim);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateX(5px);
    background-color: #111;
}

.icon-box {
    font-size: 2rem;
    min-width: 50px;
    display: flex;
    justify-content: center;
}

.card h3 {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    text-shadow: none;
    font-weight: 600;
}

/* Estilização específica do Swiper (Sobrescrevendo padrões se necessário) */
.swiper-slide {
    /* Styles inline já aplicados no HTML conforme pedido */
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto !important; /* Ajusta ao tamanho da imagem */
    margin-right: 8px !important; /* Espaço controlado entre slides */
}

.swiper-slide img {
    width: auto;
    height: auto;
    max-width: 160px;  /* Proporção 9:16 - tamanho aumentado */
    max-height: 285px; /* Escala aumentada mantendo 9:16 */
    object-fit: contain;
    border-radius: 8px;
}

/* =========================================
   FORMULÁRIO
========================================= */
.form-section {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,59,0,0.2) 100%);
    border-radius: 20px;
    padding: 30px 20px;
    margin-top: 40px;
    border: 1px solid var(--matrix-dim);
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--matrix-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid var(--matrix-dim);
    background-color: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
}

.input-group input:focus {
    border-color: var(--matrix-light);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}