/*
Theme Name: A7 CodeX Custom
Theme URI: https://a7codex.com.br
Description: Tema personalizado baseado no layout do site A7 CodeX - Desenvolvimento Web com IA
Author: A7 CodeX
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or later
Text Domain: dkma-custom
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #016087;
    --primary-hover: #135e96;
    --primary-focus: #043959;
    --primary-blue: #3b82f6;
    --primary-purple: #8b5cf6;
    --text-color: #e5e7eb;
    --text-dark: #1f2937;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: #1a1a1a;
    --bg-card-hover: #252525;
    --bg-light: #1f1f1f;
    --bg-white: #ffffff;
    --border-color: rgba(59, 130, 246, 0.3);
    --border-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
    --success-color: #10b981;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background: var(--bg-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

body.loaded {
    animation: fadeIn 0.5s ease-out;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(59, 130, 246, 0.3);
    background: rgba(10, 10, 10, 0.98);
    border-bottom-color: rgba(59, 130, 246, 0.4);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
}

.site-logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--border-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
    display: inline-block;
    transition: transform 0.3s;
}

.site-logo:hover {
    transform: scale(1.05);
}

.custom-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s;
}

.custom-logo-link:hover {
    opacity: 0.8;
}

.custom-logo {
    max-height: 70px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s;
}

.custom-logo:hover {
    transform: scale(1.05);
}

/* Responsivo para logo */
@media (max-width: 768px) {
    .custom-logo {
        max-height: 50px;
    }
    
    .site-logo {
        font-size: 1.5rem !important;
    }
}

/* Navigation */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    list-style: none;
}

/* Garantir que o dropdown funcione em todos os níveis */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .menu-item-has-children:hover {
    z-index: 10001;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.main-navigation a:hover {
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

/* Dropdown Menu - Estilo com cores do tema */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--bg-card);
    padding: 0.5rem 0;
    list-style: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-color);
    min-width: 220px;
    z-index: 10001;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mostrar dropdown ao passar o mouse no item pai */
.menu-item-has-children:hover > .sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Manter dropdown aberto ao passar o mouse sobre ele */
.menu-item-has-children .sub-menu:hover {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Estilo dos itens do submenu */
.sub-menu {
    margin: 0;
    padding: 0;
}

.sub-menu li {
    margin: 0;
    padding: 0;
}

.sub-menu li a {
    padding: 0.875rem 1.5rem;
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    position: relative;
}

.sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

/* Hover dos sub-itens */
.sub-menu li a:hover {
    background: var(--bg-card-hover);
    color: var(--primary-blue);
    padding-left: 1.75rem;
}

.sub-menu li a:hover::before {
    transform: scaleY(1);
}

/* Primeiro e último item com bordas arredondadas */
.sub-menu li:first-child a {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.sub-menu li:last-child a {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Indicador de dropdown no item pai */
.menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s;
    display: inline-block;
}

.menu-item-has-children:hover > a::after {
    opacity: 1;
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.cta-button-header {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    background-size: 200% 200%;
    color: white;
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    animation: pulse 2s ease-in-out infinite;
}

/* Estilos para btn-hover-text-hide removidos */

.cta-button-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 50px;
}

.cta-button-header:hover {
    animation: pulse 1s ease-in-out infinite;
}

.cta-button-header:hover::before {
    /* Efeitos de hover removidos */
}

.cta-button-header:active {
    animation: none;
    transform: scale(0.95);
}

/* Botões com efeito de texto desaparecendo no hover - DESABILITADO */
/* Removido para evitar que o texto desapareça em todos os botões */

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

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6), 0 4px 8px rgba(0, 0, 0, 0.15);
    }
}

@keyframes rotate360 {
    0% {
        transform: scale(1.3) rotate(0deg);
    }
    100% {
        transform: scale(1.3) rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6), 0 0 60px rgba(139, 92, 246, 0.4);
    }
}

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

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Classes de animação */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* Hero Section */
.hero-section {
    background: var(--bg-darker);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: gradient 20s ease infinite;
    background-size: 200% 200%;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-content h1 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-content h1 span:first-child {
    color: var(--primary-blue);
    display: block;
}

.hero-content h1 span:last-child {
    background: var(--border-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.stat-item {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--border-gradient);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-item:hover {
    transform: translateY(-12px) scale(1.05);
    background: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.35), 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    color: white;
    margin-bottom: 0.5rem;
    background: var(--border-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    line-height: 1.5;
}

.btn::after {
    /* Efeito ripple removido */
    display: none;
}

.btn:hover::after {
    /* Efeito ripple removido */
    display: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    border-radius: 50px;
    animation: pulse 2s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: 50px;
}

.btn-primary:hover {
    animation: pulse 1s ease-in-out infinite;
}

.btn-primary:hover::before {
    /* Efeitos de hover removidos */
}

.btn-primary:active {
    animation: none;
    transform: scale(0.95);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(59, 130, 246, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
}

.btn-secondary:hover {
    /* Efeitos de hover removidos */
}

.btn-secondary:active {
    /* Efeitos de active removidos */
}

/* Services Section */
.services-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: var(--border-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: rgba(229, 231, 235, 0.7);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.8);
    background: var(--bg-card-hover);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.service-card:hover .service-icon {
    animation: rotate360 0.6s ease-in-out;
    transform: scale(1.3) rotate(360deg);
    filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.5));
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.service-card p {
    color: rgba(229, 231, 235, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    display: inline-block;
    transition: all 0.3s;
}

.service-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--border-gradient);
    transition: width 0.3s;
}

.service-link:hover {
    color: var(--primary-purple);
    transform: translateX(5px);
}

.service-link:hover::after {
    width: 100%;
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 2rem;
    background: var(--bg-darker);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card:nth-child(4) {
    animation-delay: 0.4s;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.6);
}

.pricing-card.featured {
    border: 2px solid;
    border-image: var(--border-gradient) 1;
    transform: scale(1.08);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.45);
    animation: pulse 3s ease-in-out infinite;
    border-radius: 20px;
}

.pricing-card.featured::before {
    content: '⭐';
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
    z-index: 1;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    background: var(--border-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.pricing-period {
    color: rgba(229, 231, 235, 0.6);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    color: rgba(229, 231, 235, 0.8);
}

.pricing-features li:before {
    content: "✓ ";
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Clients Section */
.clients-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
    position: relative;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.clients-section .client-item,
.clients-grid .client-item,
.client-item {
    text-align: center;
    padding: 2rem;
    background: #56647a !important;
    background-color: #515c6e !important;
    border: 1px solid rgba(59, 130, 246, 0.8);
    border-radius: 16px;
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    backdrop-filter: blur(10px);
}

.client-item:nth-child(1) { animation-delay: 0s; }
.client-item:nth-child(2) { animation-delay: 0.1s; }
.client-item:nth-child(3) { animation-delay: 0.2s; }
.client-item:nth-child(4) { animation-delay: 0.3s; }
.client-item:nth-child(5) { animation-delay: 0.4s; }
.client-item:nth-child(6) { animation-delay: 0.5s; }
.client-item:nth-child(7) { animation-delay: 0.6s; }
.client-item:nth-child(8) { animation-delay: 0.7s; }
.client-item:nth-child(9) { animation-delay: 0.8s; }
.client-item:nth-child(10) { animation-delay: 0.9s; }

.client-item:hover {
    transform: translateY(-10px) scale(1.08);
    background: #6b7a94 !important;
    border-color: rgba(59, 130, 246, 1);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.client-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2);
    transition: all 0.3s;
}

.client-item:hover .client-logo {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

/* CTA Section */
.cta-section {
    background: var(--bg-darker);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
    animation: gradient 20s ease infinite;
    background-size: 200% 200%;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    background: var(--border-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(229, 231, 235, 0.8);
}

/* Footer */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    color: rgba(229, 231, 235, 0.7);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(229, 231, 235, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: rgba(229, 231, 235, 0.5);
    font-size: 0.9rem;
}

/* Menu Hambúrguer */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 25px;
    height: 20px;
    position: relative;
}

.menu-toggle-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-toggle:hover .menu-toggle-icon span {
    background: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    .site-branding {
        order: 1;
        flex: 1;
    }

    .nav-wrapper {
        order: 3;
        flex-basis: 100%;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        opacity: 0;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .nav-wrapper.active {
        max-height: calc(100vh - 100px);
        opacity: 1;
        padding-top: 1rem;
        padding-bottom: 2rem;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation {
        width: 100%;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        align-items: stretch;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-radius: 12px;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
    }

    .main-navigation a:hover {
        background: var(--bg-card-hover);
        border-color: rgba(59, 130, 246, 0.6);
        transform: translateY(0);
    }

    /* Dropdown no mobile - controlado por JavaScript */
    .menu-item-has-children > .sub-menu {
        position: static;
        display: none;
        margin-top: 0.5rem;
        margin-left: 1rem;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.5rem 0;
        overflow: visible;
        max-height: none;
        width: 100%;
    }

    .nav-wrapper.active .menu-item-has-children > .sub-menu.submenu-open {
        display: block !important;
        overflow: visible;
        animation: slideDown 0.3s ease-out;
    }
    
    /* Garantir que todos os itens do submenu sejam visíveis no mobile */
    .nav-wrapper.active .menu-item-has-children > .sub-menu.submenu-open li {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .sub-menu li a {
        padding: 0.75rem 1rem;
        color: rgba(229, 231, 235, 0.8);
        font-size: 0.95rem;
    }

    .sub-menu li a:hover {
        background: var(--bg-card);
        padding-left: 1rem;
    }

    .sub-menu li a::before {
        display: none;
    }

    .menu-item-has-children > a {
        position: relative;
        padding-right: 3rem;
    }

    .menu-item-has-children > a::after {
        content: '▶';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        font-size: 0.8rem;
    }

    .menu-item-has-children > a.submenu-active::after {
        transform: translateY(-50%) rotate(90deg);
    }

    .menu-item-has-children:hover > a::after {
        transform: translateY(-50%);
    }

    .cta-button-header {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    /* Ajustes para telas muito pequenas */
    @media (max-width: 480px) {
        .header-inner {
            padding: 0.75rem;
        }
        
        .menu-toggle {
            width: 35px;
            height: 35px;
        }
        
        .menu-toggle-icon {
            width: 22px;
        }
        
        .nav-wrapper.active {
            padding: 1rem 0.5rem;
        }
        
        .main-navigation a {
            padding: 0.875rem;
            font-size: 1rem;
        }

        /* Hero ainda menor */
        .hero-section {
            padding: 3rem 0.75rem !important;
        }

        .hero-content h1 {
            font-size: 1.75rem !important;
        }

        .hero-content p {
            font-size: 0.9rem !important;
        }

        .hero-stats {
            grid-template-columns: 1fr !important;
            gap: 0.75rem !important;
        }

        .stat-item {
            padding: 1.25rem 0.75rem !important;
        }

        .stat-number {
            font-size: 2rem !important;
        }

        /* Sections ainda menores */
        .services-section,
        .pricing-section,
        .clients-section,
        .cta-section {
            padding: 3rem 0.75rem !important;
        }

        .section-title {
            font-size: 1.75rem !important;
        }

        .section-subtitle {
            font-size: 0.9rem !important;
        }

        .service-card,
        .pricing-card {
            padding: 1.5rem 1rem !important;
        }

        .clients-grid {
            grid-template-columns: 1fr !important;
            gap: 0.75rem !important;
        }

        .client-item {
            padding: 1rem 0.75rem !important;
            min-height: 80px !important;
        }

        .cta-section h2 {
            font-size: 1.75rem !important;
        }

        .cta-section h3 {
            font-size: 1.25rem !important;
        }

        .cta-section p {
            font-size: 0.9rem !important;
        }
    }

    /* Hero Section Responsivo */
    .hero-section {
        padding: 4rem 1rem !important;
        min-height: auto !important;
    }

    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .hero-content h1 span {
        display: block;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
    }

    .stat-item {
        padding: 1.5rem 1rem !important;
    }

    .stat-number {
        font-size: 2.5rem !important;
    }

    .stat-label {
        font-size: 0.85rem !important;
    }

    /* Container Responsivo */
    .container {
        padding: 0 1rem !important;
    }

    /* Section Titles Responsivo */
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .section-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    /* Services Section Responsivo */
    .services-section {
        padding: 4rem 1rem !important;
    }

    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-top: 2rem !important;
    }

    .service-card {
        padding: 2rem 1.5rem !important;
    }

    .service-icon {
        font-size: 2.5rem !important;
    }

    .service-card h3 {
        font-size: 1.25rem !important;
    }

    .service-card p {
        font-size: 0.95rem !important;
    }

    /* Pricing Section Responsivo */
    .pricing-section {
        padding: 4rem 1rem !important;
    }

    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-top: 2rem !important;
    }

    .pricing-card {
        padding: 2rem 1.5rem !important;
    }

    .pricing-card.featured {
        transform: none !important;
        border-radius: 20px !important;
    }

    .pricing-title {
        font-size: 1.25rem !important;
    }

    .pricing-price {
        font-size: 2.5rem !important;
    }

    /* Clients Section Responsivo */
    .clients-section {
        padding: 4rem 1rem !important;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .client-item {
        min-height: 100px !important;
        padding: 1.5rem 1rem !important;
    }

    .client-item img {
        max-height: 60px !important;
    }

    /* CTA Section Responsivo */
    .cta-section {
        padding: 4rem 1rem !important;
    }

    .cta-section h2 {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .cta-section h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .cta-section p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .cta-section > .container > div:last-child {
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin-top: 1.5rem !important;
    }

    .cta-section > .container > div:last-child span {
        font-size: 0.85rem !important;
    }

    /* Text Center Responsivo */
    .text-center {
        font-size: 0.95rem !important;
        padding: 0 0.5rem;
    }
}

/* Hero Badge e Textos Responsivos */
.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-highlight {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 2rem;
}

.clients-intro {
    color: rgba(229, 231, 235, 0.8);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.clients-cta {
    text-align: center;
    animation: fadeInUp 1s ease-out 1s both;
    opacity: 0;
}

.clients-cta-text {
    color: rgba(229, 231, 235, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-features {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Responsivo para Hero Badge e Textos */
@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-highlight {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    .clients-intro {
        font-size: 0.95rem !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem;
    }

    .clients-cta-text {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }

    .cta-features {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .cta-features span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.9rem !important;
    }

    .hero-highlight {
        font-size: 0.85rem !important;
    }

    .clients-intro {
        font-size: 0.85rem !important;
    }

    .clients-cta-text {
        font-size: 0.85rem !important;
    }

    .cta-features span {
        font-size: 0.8rem;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

