/* ============================================================
   LANDING PAGE "TIRO ÚNICO" - SISTEMA GEA
   Design SaaS Premium - Estética "Vale do Silício" & Tech Grid
   ============================================================ */

/* Variáveis de Design Premium */
:root {
    --primary-color: #0b98df;
    --primary-dark: #087bbd;
    --primary-light: #1ba3e8;
    --secondary-color: #64748b;
    --text-color: #ffffff;
    --text-dark: #0f172a;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --whatsapp-green: #25d366;
    --whatsapp-dark: #1ead51;
    --hero-dark-1: #020617;
    --hero-dark-2: #0f172a; 
    --card-bg: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 40px rgba(11, 152, 223, 0.12);
    --glow-blue: 0 0 40px rgba(11, 152, 223, 0.4);
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER E HERO SECTION (CORTE RETO CORPORATIVO)
   ============================================================ */

.hero {
    background: linear-gradient(145deg, var(--hero-dark-1) 0%, var(--hero-dark-2) 100%);
    padding: 140px 0 100px 0; /* Espaçamento ajustado para o corte reto */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 30% 40%, rgba(11, 152, 223, 0.15) 0%, transparent 60%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1.2;
    min-width: 320px;
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-description {
    font-size: 19px;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 540px;
}

/* ============================================================
   VÍDEO (FORMATO YOUTUBE HORIZONTAL)
   ============================================================ */

.hero-video {
    flex: 1;
    min-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9; /* Proporção original horizontal do YouTube */
    border-radius: var(--border-radius); /* Borda padrão elegante */
    overflow: hidden;
    box-shadow: var(--glow-blue), 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background-color: #000;
    border: 1px solid rgba(11, 152, 223, 0.3); /* Borda fina e sofisticada */
    transition: var(--transition);
    animation: glowPulse 4s ease-in-out infinite;
    position: relative;
    z-index: 10; /* Proteção anti-bugs de sobreposição */
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* ============================================================
   BOTÕES - ALINHAMENTO E EFEITOS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Espaçamento cirúrgico entre ícone e texto */
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 24px;
    display: flex;
}

.btn span {
    display: flex;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: sweepLuz 4s infinite;
}

/* Botão Primário (Zap Hero) */
.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    box-shadow: 0 15px 35px -5px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
}

/* Botão Secundário (Fundo branco e hover azul premium) */
.btn-secondary {
    background-color: #ffffff;
    color: var(--primary-dark);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    background-color: var(--primary-color); /* Fundo fica azul no hover */
    color: var(--white); /* Letra fica branca no hover */
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(11, 152, 223, 0.4);
}

.btn-secondary::after {
    display: none;
}

/* ============================================================
   SEÇÃO DE FUNCIONALIDADES E CARDS
   ============================================================ */

.features {
    background-color: var(--light-bg);
    padding: 80px 0 140px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 80px;
    letter-spacing: -1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 70px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(11, 152, 223, 0.3);
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(11, 152, 223, 0.1) 0%, rgba(11, 152, 223, 0.02) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
    border: 1px solid rgba(11, 152, 223, 0.1);
}

.feature-card:hover .card-icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(11, 152, 223, 0.3);
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--secondary-color);
}

.features-cta {
    display: flex;
    justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background-color: var(--white);
    padding: 40px 0;
    border-top: 1px solid #f1f5f9;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

.footer-logo {
    max-height: 30px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.footer-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(11, 152, 223, 0.2), 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
    50% { box-shadow: 0 0 50px rgba(11, 152, 223, 0.4), 0 25px 50px -12px rgba(0, 0, 0, 0.6); }
}

@keyframes sweepLuz {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-text, .hero-video, .feature-card {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 992px) {
    .hero-content { 
        flex-direction: column; 
        text-align: left; /* <-- Aqui estava center, mudamos para left */
        gap: 40px; 
    }
    .hero-title { 
        font-size: 46px; 
    }
    .hero-description { 
        margin: 0 0 30px 0; /* <-- Removemos o 'auto' que forçava a centralização */
        max-width: 100%; 
    }
    
    /* Garante que o botão do WhatsApp vá para a esquerda também */
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 100px 0; }
    .hero-title { font-size: 38px; }
    .section-title { font-size: 32px; margin-bottom: 50px; }
    .features { padding: 60px 0; }
    .feature-card { padding: 32px 24px; }
    .footer-content { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 0 80px 0; }
    .hero-title { font-size: 32px; letter-spacing: -0.5px; }
    .btn { width: 100%; font-size: 15px; padding: 16px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .card-title { font-size: 20px; }
}