/* ============================================
   Storm Tecnologia - Página Inicial
   ============================================ */

/* === Layout da Home === */
.home-page {
    display: block;
    min-height: auto;
}

/* === Header (reutilizado de planos.css) === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.header-logo-img {
    height: 36px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color var(--transition-fast);
}

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

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

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

/* === Botões === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(227, 30, 36, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid rgba(227, 30, 36, 0.5);
}

.btn-outline:hover {
    background: rgba(227, 30, 36, 0.1);
    border-color: var(--color-primary);
}

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

/* === Gradient Text === */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Section Badges === */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(227, 30, 36, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

/* === Hero Section === */
.hero-home {
    padding: 12rem 2rem 6rem;
    text-align: center;
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(227, 30, 36, 0.08);
    border: 1px solid rgba(227, 30, 36, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.hero-badge svg {
    color: var(--color-primary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem 3rem;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.06);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(15, 23, 42, 0.1);
}

/* === Soluções Section === */
.solucoes-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
}

.solucoes-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.solucao-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.04);
}

.solucao-card:hover {
    transform: translateY(-5px);
    border-color: rgba(227, 30, 36, 0.3);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.solucao-card.featured {
    background: linear-gradient(180deg, rgba(227, 30, 36, 0.05) 0%, white 100%);
    border-color: rgba(227, 30, 36, 0.2);
    box-shadow: 0 4px 30px rgba(227, 30, 36, 0.08);
}

.solucao-icon {
    width: 48px;
    height: 48px;
    background: rgba(227, 30, 36, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.solucao-icon svg {
    width: 24px;
    height: 24px;
}

.solucao-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.solucao-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.solucao-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solucao-features li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.solucao-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* === Recursos Home Section === */
.recursos-home-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
    background: #f8fafc;
}

.recursos-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.recursos-text .section-title {
    text-align: left;
}

.recursos-text .section-subtitle {
    text-align: left;
    margin: 0 0 2rem 0;
}

.recursos-list {
    margin-bottom: 2rem;
}

.recurso-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.recurso-item:last-child {
    border-bottom: none;
}

.recurso-check {
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #22c55e;
}

.recurso-check svg {
    width: 16px;
    height: 16px;
}

.recurso-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.recurso-item p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Recursos Visual */
.recursos-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.recursos-card-stack {
    position: relative;
    width: 350px;
    height: 350px;
}

.recursos-main-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: white;
    border: 2px solid rgba(227, 30, 36, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(227, 30, 36, 0.15);
}

.recursos-logo {
    width: 80px;
    height: auto;
}

.recursos-float-card {
    position: absolute;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    animation: float 3s ease-in-out infinite;
}

.card-icon {
    font-size: 1.25rem;
}

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

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

.card-3 {
    bottom: 40px;
    left: 30px;
    animation-delay: 2s;
}

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

/* === Diferenciais Section === */
.diferenciais-section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 10;
}

.diferenciais-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.diferencial-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.04);
}

.diferencial-card:hover {
    border-color: rgba(227, 30, 36, 0.2);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.diferencial-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.diferencial-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.diferencial-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* === CTA Home Section === */
.cta-home-section {
    padding: 8rem 2rem;
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, transparent, rgba(227, 30, 36, 0.03));
}

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

.cta-icon {
    margin-bottom: 2rem;
}

.cta-logo {
    width: 80px;
    height: auto;
    animation: pulse-glow 3s ease-in-out infinite;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

/* === Footer Home === */
.footer-home {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--color-secondary);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-column a {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.4rem 0;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* === Mobile Menu === */
@media (max-width: 900px) {
    .header-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-normal);
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }
    
    .header-nav.mobile-open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .header-nav .nav-link,
    .header-nav .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* === Responsividade === */
@media (max-width: 1024px) {
    .solucoes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recursos-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .recursos-text {
        order: 1;
    }
    
    .recursos-visual {
        order: 2;
    }
    
    .recursos-text .section-title,
    .recursos-text .section-subtitle {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-home {
        padding: 10rem 1.5rem 4rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
        background: rgba(15, 23, 42, 0.1);
    }
    
    .solucoes-grid {
        grid-template-columns: 1fr;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recursos-card-stack {
        width: 280px;
        height: 280px;
    }
    
    .recursos-main-card {
        width: 120px;
        height: 120px;
    }
    
    .recursos-logo {
        width: 60px;
    }
    
    .recursos-float-card {
        font-size: 0.75rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* === Animações === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.solucao-card,
.diferencial-card {
    animation: fadeInUp 0.6s ease-out;
}

.solucao-card:nth-child(1) { animation-delay: 0.1s; }
.solucao-card:nth-child(2) { animation-delay: 0.15s; }
.solucao-card:nth-child(3) { animation-delay: 0.2s; }
.solucao-card:nth-child(4) { animation-delay: 0.25s; }
.solucao-card:nth-child(5) { animation-delay: 0.3s; }
.solucao-card:nth-child(6) { animation-delay: 0.35s; }

/* === Preferência de Movimento Reduzido === */
@media (prefers-reduced-motion: reduce) {
    .recursos-float-card,
    .cta-logo {
        animation: none;
    }
    
    .solucao-card,
    .diferencial-card,
    .hero-content {
        animation: none;
    }
}
