/*
Theme Name: AtivoWeb Theme
Author: Miriam
Description: Tema gerado automaticamente
Version: 2.0
*/

/* Estilos para o novo Hero */
.gradient-text {
    background-color: #6d28d9;
    background-image: linear-gradient(to right, #a78bfa, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulseSlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

.animate-pulse-slow {
    animation: pulseSlow 4s infinite ease-in-out;
}

/* Parallax fundo */
.hero-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    transition: background-position 0.2s ease-out;
}

/* Botão Hero Estilizado */
.hero-btn {
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 16px;
    border: none;
    padding: 1.5px;
    background: radial-gradient(circle 80px at 80% -10%, #a78bfa, #6d28d9);
    position: relative;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.hero-btn::after {
    content: "";
    position: absolute;
    width: 65%;
    height: 60%;
    border-radius: 120px;
    top: 0;
    right: 0;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    z-index: -1;
}

.hero-btn .blob1 {
    position: absolute;
    width: 70px;
    height: 100%;
    border-radius: 16px;
    bottom: 0;
    left: 0;
    background: radial-gradient(
        circle 60px at 0% 100%,
        #a78bfa,
        #6d28d980,
        transparent
    );
    box-shadow: -10px 10px 30px rgba(109, 40, 217, 0.2);
}

.hero-btn .inner {
    padding: 12px 22px;
    border-radius: 14px;
    color: #fff;
    z-index: 3;
    position: relative;
    background: radial-gradient(circle 80px at 80% -50%, #8b5cf6, #4c1d95);
    font-weight: 600;
    text-align: center;
}

.hero-btn .inner::before {
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 14px;
    background: radial-gradient(
        circle 60px at 0% 100%,
        rgba(167, 139, 250, 0.1),
        rgba(109, 40, 217, 0.1),
        transparent
    );
    position: absolute;
}

/* Botão Hero Secundário - Transparente */
.hero-btn-transparent {
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 16px;
    border: 2px solid transparent;
    background: linear-gradient(#111827 0%) padding-box,
                linear-gradient(135deg, #a78bfa, #6d28d9) border-box;
    position: relative;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero-btn-transparent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.hero-btn-transparent .inner {
    padding: 12px 22px;
    border-radius: 14px;
    color: #a78bfa;
    position: relative;
    background: transparent;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-btn-transparent:hover .inner {
    color: #fff;
    background: rgba(139, 92, 246, 0.1);
}

/* Estilos para elementos interativos da ilustração */
.interactive-element {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.interactive-element:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Nodes estilo N8N */
.node {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.node:hover {
    transform: scale(1.06) translateY(-2px);
}

.node rect {
    transition: all 0.4s ease;
}

.node:hover rect {
    fill: rgba(31, 41, 55, 0.95);
    stroke-width: 2.5;
}

/* Animação de fade-in dos nodes */
@keyframes nodeFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.node-fade-in {
    animation: nodeFadeIn 0.6s ease-out forwards;
}

/* Mobile refinado */
@media (max-width: 768px) {
    .hero-btn,
    .hero-btn-transparent {
        width: 100%;
        text-align: center;
        display: inline-block;
    }
    .hero-btn .inner,
    .hero-btn-transparent .inner {
        padding: 12px 20px;
        font-size: 1rem;
    }
    svg {
        max-width: 90% !important;
        height: auto;
    }
}

/* ============================================
   HERO SLIDER - Swiper.js Customization
   ============================================ */

.hero-slider-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 32px;
}

.heroSwiper {
    width: 100%;
    height: auto;
}

.heroSwiper .swiper-slide {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.heroSwiper .swiper-slide-active {
    opacity: 1;
}

/* Botões de navegação */
.heroSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next {
    color: #a78bfa;
    background: rgba(17, 24, 39, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-button-prev:hover,
.heroSwiper .swiper-button-next:hover {
    background: rgba(109, 40, 217, 0.9);
    color: white;
    transform: scale(1.1);
}

.heroSwiper .swiper-button-prev::after,
.heroSwiper .swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

/* Paginação */
.heroSwiper .swiper-pagination {
    bottom: 20px;
}

.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(167, 139, 250, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-pagination-bullet-active {
    background: #a78bfa;
    width: 30px;
    border-radius: 6px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .heroSwiper .swiper-button-prev,
    .heroSwiper .swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .heroSwiper .swiper-button-prev::after,
    .heroSwiper .swiper-button-next::after {
        font-size: 16px;
    }
    
    .heroSwiper .swiper-pagination {
        bottom: 10px;
    }
}
