/* Estilos Personalizados */
body {
    font-family: 'Inter', sans-serif;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #F7941E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #F26522;
}

/* Animações */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

/* Mega Menu */
.mega-menu {
    transition: all 0.3s ease-in-out;
}

.group:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-arrow::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
}

.group:hover .dropdown-arrow::after {
    transform: rotate(180deg);
}

/* Botões */
.btn-primary {
    background: linear-gradient(90deg, #F7941E 0%, #F26522 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(247, 148, 30, 0.3);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Service Icons */
.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #F7941E;
    color: white;
    transform: scale(1.1);
}

/* Mobile Menu */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #F7941E;
    transition: width 0.3s ease;
}

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

/* Animação Flutuante (Float) */
@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(-10px) translateX(5px);
    }

    100% {
        transform: translateY(0px) translateX(0px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Animação Bounce Slow */
@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(-5%);
    }

    50% {
        transform: translateY(5%);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 3s infinite;
}

/* =========================================
   Cookie Consent Banner Styles
   ========================================= */

/* Force high specificity and safe defaults */
#foxCookieBanner {
    display: none;
    position: fixed !important;
    z-index: 2147483647 !important;
    /* Max value */
    font-family: system-ui, -apple-system, sans-serif !important;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

/* Cookie Icon (mobile trigger) */
#foxCookieIcon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff !important;
    border: 2px solid #FF6B00 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer;
    font-size: 24px;
}

/* Panel styling */
#foxCookiePanel {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    background: #ffffff !important;
    border: 2px solid #FF6B00 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    max-width: 90vw;
}

#foxCookiePanel .cookie-text {
    color: #333 !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    line-height: normal !important;
}

#foxCookiePanel .cookie-link {
    color: #FF6B00 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

#foxCookiePanel .cookie-link:hover {
    text-decoration: underline !important;
}

#foxCookiePanel .cookie-buttons {
    display: flex !important;
    gap: 8px !important;
    margin-left: auto;
    /* Push buttons to right if flex grows */
}

#foxCookiePanel button {
    padding: 6px 16px !important;
    font-size: 12px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    font-family: inherit !important;
    transition: all 0.2s ease !important;
    line-height: normal !important;
}

#foxCookiePanel .btn-reject {
    color: #666 !important;
    background: #f3f4f6 !important;
    border: 1px solid #d1d5db !important;
}

#foxCookiePanel .btn-reject:hover {
    background: #e5e7eb !important;
}

#foxCookiePanel .btn-accept {
    color: #fff !important;
    background: #FF6B00 !important;
    border: none !important;
}

#foxCookiePanel .btn-accept:hover {
    background: #e55f00 !important;
}

/* Mobile Overrides */
@media (max-width: 768px) {
    #foxCookieBanner {
        bottom: 32px !important;
        right: 80px !important;
        left: auto !important;
        transform: none !important;
    }

    #foxCookieIcon {
        display: flex !important;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    #foxCookiePanel {
        display: none !important;
        /* Hidden initially on mobile */
        position: absolute !important;
        bottom: 56px !important;
        right: 0 !important;
        border-radius: 16px !important;
        padding: 16px !important;
        min-width: 260px !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }

    #foxCookiePanel.open {
        display: flex !important;
    }

    #foxCookiePanel .cookie-text {
        font-size: 14px !important;
        text-align: center !important;
        white-space: normal !important;
    }

    #foxCookiePanel .cookie-buttons {
        justify-content: center !important;
        margin-top: 4px !important;
    }

    #foxCookiePanel button {
        padding: 10px 20px !important;
        font-size: 13px !important;
        border-radius: 24px !important;
        width: 100% !important;
    }
}

/* Desktop Overrides to ensure hidden icon */
@media (min-width: 769px) {
    #foxCookieIcon {
        display: none !important;
    }
}

/* =========================================
   Hero 3D Container Styles (Moved from inline)
   ========================================= */

.ecommerce-container,
.landing-container,
.gmb-container,
.social-container,
.dev-system-container,
.hosting-container,
.email-container,
.sites-prof-container,
.sites-custom-container,
.consult-brand-container,
.mascote-container,
.corp-portfolio-container,
.stationary-container,
.digital-card-container,
.business-card-container,
.email-sig-container {
    perspective: 1200px;
    overflow: visible;
}

/* =========================================
   Additional Styles (Montar Pacote, Blog, Contrato)
   ========================================= */

/* (Previous Content Preserved...) */

/* Contrato Obrigado Animations */
@keyframes bounce-short {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-short {
    animation: bounce-short 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Diagonal Ribbon Style */
.ribbon-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    z-index: 10;
    border-top-right-radius: 0.75rem;
}

.ribbon {
    position: absolute;
    top: 12px;
    right: -28px;
    transform: rotate(45deg);
    width: 100px;
    background: linear-gradient(to right, #22c55e, #16a34a);
    color: white;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* Blog Container */
.blog-container {
    perspective: 1200px;
    display: none;
    overflow: visible;
}

@media (min-width: 1024px) {
    .blog-container {
        display: block;
    }
}

.blog-scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(-8deg) rotateX(3deg);
    animation: float-blog 7s ease-in-out infinite;
}

@keyframes float-blog {

    0%,
    100% {
        transform: rotateY(-8deg) rotateX(3deg) translateY(0);
    }

    50% {
        transform: rotateY(-8deg) rotateX(3deg) translateY(-15px);
    }
}

/* Blog Card Stack */
.blog-card-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 340px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
    overflow: hidden;
}

/* Card Image */
.blog-card-image {
    height: 140px;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image i {
    color: white;
    font-size: 40px;
}

/* Card Content */
.blog-card-content {
    padding: 16px;
}

.blog-card-category {
    display: inline-block;
    background: #ff7e5f;
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-excerpt {
    font-size: 10px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    color: #94a3b8;
}

.blog-card-meta i {
    font-size: 10px;
}

/* Background Card */
.blog-card-bg {
    position: absolute;
    top: 48%;
    left: 48%;
    transform: translate(-50%, -50%) rotate(5deg);
    width: 260px;
    height: 320px;
    background: #f1f5f9;
    border-radius: 14px;
    z-index: 5;
}

/* Floating Elements */
.seo-badge {
    position: absolute;
    top: 6%;
    left: 8%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    animation: float-seo-blog 5s ease-in-out infinite;
}

@keyframes float-seo-blog {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

.tips-badge {
    position: absolute;
    bottom: 18%;
    left: 6%;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: float-tips-blog 6s ease-in-out infinite;
}

@keyframes float-tips-blog {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-6px) rotate(2deg);
    }
}

.share-icon {
    position: absolute;
    bottom: 28%;
    right: 8%;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    z-index: 15;
    animation: float-share-blog 4s ease-in-out infinite;
}

.share-icon i {
    color: white;
    font-size: 20px;
}

@keyframes float-share-blog {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.05);
    }
}

/* Wizard Steps (Contrato) */
.step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
    transform: translateY(-50%);
}

.step-dot {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #9ca3af;
    position: relative;
    z-index: 10;
    transition: all 0.3s;
}

.step-dot.active {
    border-color: #f97316;
    /* orange-500 */
    color: #f97316;
    background: #fff7ed;
    /* orange-50 */
}

.step-dot.completed {
    background: #f97316;
    border-color: #f97316;
    color: white;
}

.step-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
    white-space: nowrap;
    color: #6b7280;
}

/* Contract Person Type Card */
.person-type-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.person-type-card:hover {
    border-color: #FDBA74;
    background: #FFFBF5;
}

.person-type-card .card-icon {
    font-size: 24px;
    color: #64748B;
    margin-bottom: 8px;
    display: block;
}

.person-type-card .card-text {
    font-weight: 600;
    color: #64748B;
    font-size: 14px;
}

.person-type-card .check-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F97316;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* SELECTED STATE - High Contrast */
input[type="radio"]:checked+.person-type-card {
    border: 3px solid #F97316;
    background: #FFF7ED;
    box-shadow: 0 4px 12px -2px rgba(249, 115, 22, 0.25);
}

input[type="radio"]:checked+.person-type-card .card-icon {
    color: #F97316;
}

input[type="radio"]:checked+.person-type-card .card-text {
    color: #C2410C;
    font-weight: 700;
}

input[type="radio"]:checked+.person-type-card .check-badge {
    display: flex;
}

/* PF/PJ Grids */
.pf-grid-container,
.pj-grid-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 15px;
    width: 100%;
}

.pf-grid-container.hidden,
.pj-grid-container.hidden {
    display: none !important;
}

@media (max-width: 768px) {

    .pf-grid-container:not(.hidden),
    .pj-grid-container:not(.hidden) {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

/* =========================================
   Portfolio 3D Container Styles (Moved from inline)
   ========================================= */

.portfolio-container {
    perspective: 1200px;
    display: none;
    overflow: visible;
}

@media (min-width: 1024px) {
    .portfolio-container {
        display: block;
    }
}

.portfolio-scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(-8deg) rotateX(3deg);
    animation: float-portfolio 7s ease-in-out infinite;
}

@keyframes float-portfolio {

    0%,
    100% {
        transform: rotateY(-8deg) rotateX(3deg) translateY(0);
    }

    50% {
        transform: rotateY(-8deg) rotateX(3deg) translateY(-15px);
    }
}

/* Gallery Grid */
.portfolio-gallery {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 310px;
    background: white;
    border-radius: 14px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
    overflow: hidden;
    padding: 14px;
}

/* Gallery Header */
.gallery-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.gallery-title {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.gallery-count {
    margin-left: auto;
    background: #f1f5f9;
    color: #64748b;
    font-size: 9px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item-bg i {
    color: white;
    font-size: 24px;
    opacity: 0.9;
}

.gallery-item-tag {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 7px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

/* Floating Elements */
.projects-badge {
    position: absolute;
    top: 6%;
    left: 8%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: float-proj-port 5s ease-in-out infinite;
}

@keyframes float-proj-port {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

.clients-badge {
    position: absolute;
    bottom: 18%;
    left: 6%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 10px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: float-cli-port 6s ease-in-out infinite;
}

@keyframes float-cli-port {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-6px) rotate(2deg);
    }
}

.design-icon {
    position: absolute;
    bottom: 28%;
    right: 8%;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    z-index: 15;
    animation: float-des-port 4s ease-in-out infinite;
}

.design-icon i {
    color: white;
    font-size: 20px;
}

@keyframes float-des-port {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-6px) scale(1.05);
    }
}