/* ============================================
   GF7 — Hero Fix
   ============================================ */

/* 1. LOGO DO HEADER — reduz de 80px para 48px */
.header__logo img {
    height: 48px !important;
}

/* 2. HERO — fundo mais escuro e limpo */
section.hero {
    background-color: #050a18 !important;
    min-height: 100vh !important;
}

/* 3. Remove a imagem de fundo que compete com o texto */
section.hero .hero__secondary-visual {
    display: none !important;
}

/* 4. Remove a linha azul vertical do centro */
section.hero .hero__data-lines {
    display: none !important;
}

/* 5. Partículas muito mais sutis */
section.hero .hero__particles {
    opacity: 0.15 !important;
}

/* 6. HERO CONTAINER — centraliza em vez de 2 colunas */
@media (min-width: 768px) {
    section.hero .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0 !important;
    }
}

/* 7. HERO CONTENT — centralizado, mais largo */
section.hero .hero__content {
    max-width: 780px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* 7.5 HERO BADGE — pill badge acima do H1 */
section.hero .hero__badge {
    display: inline-block !important;
    padding: 8px 20px !important;
    background-color: rgba(0, 194, 255, 0.1) !important;
    border: 1px solid rgba(0, 194, 255, 0.3) !important;
    border-radius: 50px !important;
    color: var(--color-primary, #00c2ff) !important;
    font-size: clamp(0.7rem, 2vw, 0.875rem) !important;
    font-weight: 500 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

/* 8. H1 — branco puro, sem gradiente azul claro */
section.hero .hero__content h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    line-height: 1.15 !important;
    margin-bottom: 1.5rem !important;
}

/* 9. H2 — subtítulo mais legível */
section.hero .hero__content h2 {
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
    color: #8892a4 !important;
    font-weight: 400 !important;
    max-width: 600px !important;
    margin: 0 auto 2rem !important;
    line-height: 1.6 !important;
}

/* 10. CTA centralizado */
section.hero .hero__cta {
    display: flex !important;
    justify-content: center !important;
    margin-top: 2rem !important;
}

/* 11. Grid sutil no fundo */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 194, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 194, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* 12. Glow sutil no topo */
.hero::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* 13. Conteúdo acima dos pseudo-elementos */
.hero .container {
    position: relative;
    z-index: 2;
}

/* 14. Mobile */
@media (max-width: 767px) {
    section.hero {
        min-height: 100vh !important;
        padding: 70px 0 3rem 0 !important;
        display: block !important;
    }
    section.hero .hero__content {
        padding: 0 1.5rem !important;
    }
    section.hero .hero__badge {
        font-size: 0.8rem !important;
        padding: 8px 18px !important;
        margin-bottom: 1.5rem !important;
    }
    section.hero .hero__content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.2 !important;
    }
    section.hero .hero__content h2 {
        font-size: 1.1rem !important;
        margin: 0 auto 2rem !important;
        line-height: 1.5 !important;
    }
    section.hero .hero__cta {
        margin-top: 2rem !important;
    }
    section.hero .hero__cta .btn {
        padding: 14px 28px !important;
        font-size: 1rem !important;
    }
}

/* 15. Small Phones (iPhone SE, etc) */
@media (max-width: 375px) {
    .hero {
        padding: 70px 0 1.5rem 0 !important;
    }
    .hero__content {
        padding: 0 0.75rem !important;
    }
    .hero__badge {
        font-size: 0.7rem !important;
        padding: 5px 14px !important;
        letter-spacing: 0.3px !important;
    }
    .hero__content h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.8rem !important;
    }
    .hero__content h2 {
        font-size: 0.85rem !important;
        margin: 0 auto 1rem !important;
    }
    .hero__cta {
        margin-top: 1rem !important;
    }
}

/* 16. Tablets (iPad, etc) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero__content {
        max-width: 650px !important;
    }
    .hero__content h1 {
        font-size: 2.5rem !important;
    }
    .hero__content h2 {
        font-size: 1.1rem !important;
    }
}

/* 17. Large Desktop */
@media (min-width: 1440px) {
    .hero__content {
        max-width: 900px !important;
    }
    .hero__content h1 {
        font-size: 4.5rem !important;
    }
}

/* 18. Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 60px 0 1rem 0 !important;
        min-height: auto !important;
    }
    .hero__content h1 {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem !important;
    }
    .hero__content h2 {
        font-size: 0.8rem !important;
        margin: 0 auto 1rem !important;
    }
    .hero__badge {
        font-size: 0.65rem !important;
        padding: 4px 12px !important;
        margin-bottom: 0.5rem !important;
    }
}

/* 19. Testimonials Grid Responsiveness */
.testimonials__grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 40px !important;
}

@media (max-width: 767px) {
    .testimonials__grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-top: 30px !important;
    }
    .testimonial-card {
        padding: 20px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media (min-width: 1025px) {
    .testimonials__grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
    }
}

/* 20. Services Grid Responsiveness */
.services__grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 30px !important;
}

@media (max-width: 767px) {
    .services__grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 21. Header Responsiveness */
@media (max-width: 767px) {
    .header__logo img {
        height: 40px !important;
    }
}

@media (max-width: 375px) {
    .header__logo img {
        height: 36px !important;
    }
}

/* 22. Button Responsiveness */
.btn {
    padding: 12px 24px !important;
    font-size: clamp(0.875rem, 2vw, 1rem) !important;
}

@media (max-width: 767px) {
    .btn {
        padding: 10px 20px !important;
        width: 100% !important;
        max-width: 280px !important;
    }
}

@media (max-width: 375px) {
    .btn {
        padding: 8px 16px !important;
        font-size: 0.875rem !important;
    }
}
