/* SORYOS - CSS RESPONSIVO MOBILE */
/* Correções de responsividade para dispositivos móveis */

/* Reset e configurações gerais */
* {
    box-sizing: border-box;
}

/* ===== TIPOGRAFIA RESPONSIVA ===== */

/* Título principal */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-4f7efc7 .elementor-heading-title {
        font-size: 2.8rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    .elementor-1477 .elementor-element.elementor-element-4f7efc7 .elementor-heading-title {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }
}

/* Títulos de seções */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-9119937 .elementor-heading-title,
    .elementor-1477 .elementor-element.elementor-element-225e1e8 .elementor-heading-title,
    .elementor-1477 .elementor-element.elementor-element-ceee3d5 .elementor-heading-title,
    .elementor-1477 .elementor-element.elementor-element-ff9575b .elementor-heading-title,
    .elementor-1477 .elementor-element.elementor-element-20ae2fe .elementor-heading-title {
        font-size: 2.5rem !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .elementor-1477 .elementor-element.elementor-element-9119937 .elementor-heading-title,
    .elementor-1477 .elementor-element.elementor-element-225e1e8 .elementor-heading-title,
    .elementor-1477 .elementor-element.elementor-element-ceee3d5 .elementor-heading-title,
    .elementor-1477 .elementor-element.elementor-element-ff9575b .elementor-heading-title,
    .elementor-1477 .elementor-element.elementor-element-20ae2fe .elementor-heading-title {
        font-size: 1.8rem !important;
    }
}

/* Parágrafos */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-085c123,
    .elementor-1477 .elementor-element.elementor-element-8fa87b8,
    .elementor-1477 .elementor-element.elementor-element-a0f32a4,
    .elementor-1477 .elementor-element.elementor-element-cc8b73a {
        font-size: 1rem !important;
        text-align: center !important;
        padding: 0 20px !important;
    }
}

/* ===== NAVBAR MOBILE MODERNA - ORION DESIGN ===== */

/* Menu hambúrguer */
.mobile-hamburger {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 10001;
    margin-left: auto;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.mobile-hamburger span {
    display: block;
    height: 2px;
    width: 20px;
    background: #ffffff;
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
    transform-origin: center;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.mobile-hamburger.active {
    background: rgba(255, 76, 81, 0.9);
    border-color: rgba(255, 76, 81, 1);
    transform: scale(1.1);
}

.mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #ffffff;
}

.mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: #ffffff;
}

/* Overlay do menu mobile - Slide da lateral */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 20, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 80px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay.active {
    right: 0;
    opacity: 1;
    visibility: visible;
}

/* Overlay escuro atrás do menu */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Lista do menu mobile */
.mobile-menu-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    padding: 0 20px;
}

.mobile-menu-overlay li {
    margin: 20px 0;
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.mobile-menu-overlay.active li {
    transform: translateX(0);
    opacity: 1;
}

/* Animação sequencial dos itens */
.mobile-menu-overlay.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu-overlay.active li:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu-overlay a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: "Montserrat", sans-serif;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    min-width: 44px;
}

.mobile-menu-overlay a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 76, 81, 0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-menu-overlay a:hover::before,
.mobile-menu-overlay a:focus::before {
    left: 100%;
}

.mobile-menu-overlay a:hover,
.mobile-menu-overlay a:focus {
    color: #FF4C51;
    background: rgba(255, 76, 81, 0.1);
    border: 1px solid rgba(255, 76, 81, 0.3);
    transform: translateX(10px);
}

/* Botão de fechar no overlay */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: rgba(255, 76, 81, 0.9);
    border-color: rgba(255, 76, 81, 1);
    transform: scale(1.1);
}

/* ===== CSS RESPONSIVO MOBILE ===== */

/* Configuração geral mobile */
@media (max-width: 1024px) {
    /* Mostrar menu hambúrguer em mobile */
    .mobile-hamburger {
        display: flex !important;
        order: 2;
    }
    
    /* Ocultar menu desktop em mobile */
    .elementor-element-1f40cf1 {
        display: none !important;
    }
    
    /* Ocultar botão desktop da navbar */
    .elementor-element-bf301af {
        display: none !important;
    }
    
    /* Ajustar largura do menu em telas pequenas */
    .mobile-menu-overlay {
        width: 85% !important;
        max-width: 320px !important;
    }
    
    /* Layout da navbar mobile - logo à esquerda, hambúrguer à direita */
    .elementor-element-1c334fc .e-con-inner {
        padding: 15px 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }
    
    /* Logo à esquerda */
    .elementor-element-af20994 {
        order: 1 !important;
        flex-shrink: 0 !important;
    }
    
    /* Ajustar logo em mobile */
    .elementor-element-af20994 img {
        max-height: 50px !important;
        width: auto !important;
    }
    
    /* Garantir que o hambúrguer fique à direita */
    .elementor-element-1c334fc .e-con-inner > .mobile-hamburger {
        margin-left: auto !important;
        order: 999 !important;
    }
    
    /* Estado de carregamento suave do hambúrguer */
    .mobile-hamburger {
        opacity: 0;
        animation: fadeInHamburger 0.5s ease 1s forwards;
    }
}

/* Telas muito pequenas */
@media (max-width: 480px) {
    /* Logo em tamanho adequado para telas pequenas */
    .elementor-element-af20994 img {
        max-height: 65px !important;
    }
    
    /* Ajustar padding da navbar */
    .elementor-element-1c334fc .e-con-inner {
        padding: 12px 15px !important;
    }
    
    /* Menu overlay mais largo em telas pequenas */
    .mobile-menu-overlay {
        width: 95% !important;
        max-width: 280px !important;
    }
    
    .mobile-menu-overlay a {
        font-size: 1.1rem !important;
        padding: 10px 12px !important;
    }
}

/* Ajustes específicos para telas de 320px e menores */
@media (max-width: 320px) {
    /* Logo maior para telas muito pequenas */
    .elementor-element-af20994 img {
        max-height: 70px !important;
        width: auto !important;
    }
    
    /* Ajustar padding ainda mais para dar espaço */
    .elementor-element-1c334fc .e-con-inner {
        padding: 10px 12px !important;
    }
    
    /* Hambúrguer um pouco menor em telas muito pequenas */
    .mobile-hamburger {
        width: 36px !important;
        height: 36px !important;
    }
    
    .mobile-hamburger span {
        width: 18px !important;
    }
}

/* ===== OTIMIZAÇÕES DE PERFORMANCE ===== */

.mobile-menu-overlay {
    will-change: transform, opacity;
}

.mobile-menu-overlay li {
    will-change: transform, opacity;
}

.mobile-menu-overlay a {
    will-change: transform, background-color;
}

.mobile-hamburger {
    will-change: transform, background-color;
}

.mobile-hamburger span {
    will-change: transform, opacity;
}

/* ===== ANIMAÇÕES ===== */

@keyframes fadeInHamburger {
    to {
        opacity: 1;
    }
}

/* ===== BOTÕES RESPONSIVOS ===== */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-c530a27 .elementor-button,
    .elementor-1477 .elementor-element.elementor-element-8eddbac .elementor-button,
    .elementor-1477 .elementor-element.elementor-element-ea92fd6 .elementor-button {
        width: 100% !important;
        padding: 15px 30px !important;
        font-size: 1rem !important;
        margin: 10px 0 !important;
        display: block !important;
        text-align: center !important;
    }
}

/* Container de botões - vertical */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-f20656e,
    .elementor-1477 .elementor-element.elementor-element-3e1e968 {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
}

/* ===== ESTATÍSTICAS ===== */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-8909add {
        flex-direction: column !important;
        padding: 40px 20px !important;
    }
    
    .elementor-1477 .elementor-element.elementor-element-98c3502,
    .elementor-1477 .elementor-element.elementor-element-c42e6f5,
    .elementor-1477 .elementor-element.elementor-element-978b319 {
        margin-bottom: 30px !important;
        text-align: center !important;
        border: none !important;
    }
}

/* ===== FERRAMENTAS/LOGOS ===== */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-db809c5,
    .elementor-1477 .elementor-element.elementor-element-bf8affd {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .elementor-1477 .elementor-element.elementor-element-db809c5 > *,
    .elementor-1477 .elementor-element.elementor-element-bf8affd > * {
        flex: 0 0 20% !important;
        max-width: 20% !important;
        margin: 5px !important;
    }
}

/* ===== STEPS/PROCESSOS ===== */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-a67932e {
        flex-direction: column !important;
        gap: 30px !important;
        align-items: center !important;
    }
    
    .elementor-1477 .elementor-element.elementor-element-799877e,
    .elementor-1477 .elementor-element.elementor-element-0a66c5a,
    .elementor-1477 .elementor-element.elementor-element-905fc1f {
        width: 100% !important;
        max-width: 350px !important;
        text-align: center !important;
    }
}

/* ===== DOCUMENTAÇÃO CARDS ===== */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-8057620 {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
    }
    
    .elementor-1477 .elementor-element.elementor-element-d371871,
    .elementor-1477 .elementor-element.elementor-element-129f47d,
    .elementor-1477 .elementor-element.elementor-element-007e798 {
        width: 100% !important;
        max-width: 350px !important;
    }
}

/* ===== SEÇÃO DISCORD ===== */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-f553c1c {
        flex-direction: column !important;
        padding: 30px 20px !important;
        text-align: center !important;
        background-image: none !important;
    }
}

/* ===== BLOG GRID ===== */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-8f5c115 .ha-pg-grid-wrap {
        grid-column-gap: 20px !important;
        grid-row-gap: 25px !important;
    }
}

/* ===== FOOTER ===== */
@media (max-width: 768px) {
    .elementor-1477 .elementor-element.elementor-element-762c69a {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
        padding: 30px 20px !important;
        text-align: center !important;
    }
    
    .elementor-1477 .elementor-element.elementor-element-a2f6603 {
        max-width: 80px !important;
    }
}

/* ===== PADDING GERAL DAS SEÇÕES ===== */
@media (max-width: 768px) {
    .elementor-section {
        padding: 40px 20px !important;
    }
}

@media (max-width: 480px) {
    .elementor-section {
        padding: 30px 15px !important;
    }
}

/* ===== ELEMENTOS CONTAINER ===== */
@media (max-width: 768px) {
    .elementor-container {
        padding: 0 15px !important;
    }
}

/* ===== MELHORAR TAP TARGETS ===== */
@media (max-width: 768px) {
    .elementor-button,
    .elementor-icon,
    a {
        min-height: 44px !important;
        min-width: 44px !important;
    }
}

/* ===== SCROLL SUAVE ===== */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
} 