﻿/* ============================================================= */
/* PÁGINA INDEX - DESIGN PROFISSIONAL E RESPONSIVO              */
/* Soft-TI Informática                                          */
/* ============================================================= */

/* Variáveis de cores do tema */
:root {
    --dark-bg-primary: #0a0a0a;
    --dark-bg-secondary: #1a1a1a;
    --dark-bg-tertiary: #222222;
    --primary-color: #d62828;
    --primary-color-hover: #ff4444;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    --text-secondary: #999999;
    --border-color: #333333;
    --border-accent: rgba(214, 40, 40, 0.3);
    --gti-blue: #0066cc;
    --gti-blue-hover: #0088ff;
    --gti-border-accent: rgba(0, 102, 204, 0.3);
}

/* Evita o "font boosting"/zoom automatico de fonte ao rolar no mobile */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ============================================================= */
/* HERO CAROUSEL SECTION                                         */
/* ============================================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

.carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Em telas pequenas usa a imagem mobile cadastrada como fundo;
   se nao houver, mantem a imagem padrao. */
@media (max-width: 767px) {
    #heroCarousel .carousel-slide {
        background-image: var(--hero-bg-mobile, var(--hero-bg));
    }
}

.carousel-slide-video {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: var(--dark-bg-primary);
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Fallback para navegadores que não suportam object-fit */
@supports not (object-fit: cover) {
    .video-background {
        width: 100%;
        height: 100%;
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100% );
    z-index: 1;
}

.carousel-slide .container,
.carousel-slide-video .container {
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(214, 40, 40, 0.15);
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

    .hero-badge i {
        font-size: 1rem;
    }

/* ============================================================= */
/* FONTE EUROSTILE / MICROGRAMMA (carrossel)                     */
/* Eurostile e Microgramma são fontes pagas (Linotype).          */
/* Se você tiver a licença, coloque o arquivo .woff2/.woff em     */
/* ~/Content/font/ com o nome abaixo e ele terá prioridade.      */
/* Sem o arquivo, usa-se a Michroma (clone gratuito do Google).  */
/* ============================================================= */
@font-face {
    font-family: 'EurostileBold';
    src: url('../../Content/font/Eurostile-Bold.woff2') format('woff2'),
         url('../../Content/font/Eurostile-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.hero-title {
    font-family: 'EurostileBold', 'Michroma', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(214, 40, 40, 0.4);
}

    .btn-hero-primary:hover {
        background: var(--primary-color-hover);
        color: var(--text-light);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(214, 40, 40, 0.6);
    }

    .btn-hero-primary i {
        transition: transform 0.3s ease;
    }

    .btn-hero-primary:hover i {
        transform: translateX(5px);
    }

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-hero-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.6);
        color: var(--text-light);
    }

/* Carousel Indicators */
#heroCarousel .carousel-indicators {
    bottom: 40px;
    z-index: 10;
}

    #heroCarousel .carousel-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.4);
        border: none;
        margin: 0 6px;
        transition: all 0.3s ease;
    }

        #heroCarousel .carousel-indicators button.active {
            background-color: var(--primary-color);
            transform: scale(1.2);
        }

        #heroCarousel .carousel-indicators button:hover {
            background-color: rgba(255, 255, 255, 0.8);
        }

    /* Scroll Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

    .scroll-down-indicator a {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: rgba(255, 255, 255, 0.6);
        text-decoration: none;
        font-size: 0.8rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        transition: color 0.3s ease;
    }

        .scroll-down-indicator a:hover {
            color: var(--text-light);
        }

    .scroll-down-indicator i {
        font-size: 1.5rem;
        margin-top: 5px;
        animation: bounce 2s infinite;
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ============================================================= */
/* CLIENTS TRUST BAR                                             */
/* ============================================================= */
.clients-trust-section {
    background: var(--dark-bg-secondary);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-text-wrapper {
    padding-right: 2rem;
    border-right: 2px solid var(--border-accent);
}

.trust-label {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.trust-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.client-trust-carousel .swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: center;
}

.client-trust-carousel .swiper-slide {
    width: auto;
}

.client-trust-carousel {
    pointer-events: none;
}

.client-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    pointer-events: none;
    user-select: none;
}

.trust-logo {
    max-height: 55px;
    width: auto;
    max-width: 130px;
    opacity: 0.9;
    pointer-events: none;
    user-select: none;
}

    /* ============================================================= */
    /* SERVICES / SPECIALTIES SECTION                                */
    /* ============================================================= */
    .services-section {
        background: var(--dark-bg-primary);
        padding: 6rem 0;
    }

    /* Section Header */
    .section-header {
        margin-bottom: 4rem;
    }

    .section-badge {
        display: inline-block;
        padding: 8px 20px;
        background: rgba(214, 40, 40, 0.1);
        border: 1px solid var(--border-accent);
        border-radius: 50px;
        color: var(--primary-color);
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 2.75rem;
        font-weight: 800;
        color: var(--text-light);
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        color: var(--text-muted);
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.7;
    }

    /* Service Cards */
    .service-card {
        background: var(--dark-bg-secondary);
        padding: 2.5rem 2rem;
        border-radius: 1rem;
        border: 1px solid var(--border-color);
        text-align: center;
        height: 100%;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-color-hover));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .service-card:hover::before {
            transform: scaleX(1);
        }

        .service-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            border-color: var(--primary-color);
        }

    .service-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 25px rgba(214, 40, 40, 0.4);
    }

        .service-icon i {
            font-size: 2rem;
            color: var(--text-light);
        }

    .service-card:hover .service-icon {
        transform: rotateY(360deg) scale(1.1);
        box-shadow: 0 12px 35px rgba(214, 40, 40, 0.6);
    }

    .service-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-light);
        margin-bottom: 1rem;
    }

    .service-description {
        font-size: 0.95rem;
        color: var(--text-muted);
        line-height: 1.6;
        margin: 0;
    }

    .service-hover-line {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.4s ease;
        transform: translateX(-50%);
    }

    .service-card:hover .service-hover-line {
        width: 60%;
    }

    /* Alternative Service Card Style */
    .service-card-alt {
        background: linear-gradient(145deg, var(--dark-bg-tertiary) 0%, var(--dark-bg-secondary) 100%);
    }

    /* ============================================================= */
    /* PRODUCT HIGHLIGHT - SOFTTUR (VERMELHO)                        */
    /* ============================================================= */
    .product-highlight {
        margin: 4rem 0;
        text-align: center;
    }

    .product-highlight-inner {
        display: inline-block;
        padding: 2.5rem 4rem;
        background: linear-gradient(135deg, rgba(214, 40, 40, 0.15) 0%, rgba(214, 40, 40, 0.05) 100%);
        border: 1px solid var(--border-accent);
        border-radius: 1.5rem;
        max-width: 100%;
    }

    .product-logo {
        max-width: 280px;
        height: auto;
        margin-bottom: 1rem;
    }

    .product-tagline {
        font-size: 1.1rem;
        color: var(--text-muted);
        margin: 0;
    }

    /* ============================================================= */
    /* PRODUCT HIGHLIGHT GTI - FUNDO AZUL                            */
    /* ============================================================= */
    .product-highlight-gti {
        margin: 4rem 0;
        text-align: center;
    }

        .product-highlight-gti .product-highlight-inner {
            background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 102, 204, 0.05) 100%);
            border: 1px solid var(--gti-border-accent);
        }

    /* ============================================================= */
    /* GTI SYSTEM - CARDS AZUIS                                      */
    /* ============================================================= */

    /* Service Cards GTI - Estilo Azul */
    .service-card-gti {
        background: linear-gradient(145deg, var(--dark-bg-tertiary) 0%, var(--dark-bg-secondary) 100%);
    }

        .service-card-gti::before {
            background: linear-gradient(90deg, var(--gti-blue), var(--gti-blue-hover));
        }

        .service-card-gti:hover {
            border-color: var(--gti-blue);
        }

        .service-card-gti .service-icon {
            background: linear-gradient(135deg, var(--gti-blue) 0%, var(--gti-blue-hover) 100%);
            box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
        }

        .service-card-gti:hover .service-icon {
            box-shadow: 0 12px 35px rgba(0, 102, 204, 0.6);
        }

        .service-card-gti .service-hover-line {
            background: var(--gti-blue);
        }

    /* ============================================================= */
    /* LOCATION SECTION                                              */
    /* ============================================================= */
    .location-section {
        background: var(--dark-bg-secondary);
        padding: 5rem 0 0;
    }

    .map-wrapper {
        margin-top: 3rem;
        position: relative;
        overflow: hidden;
        border-top: 3px solid var(--primary-color);
    }

        .map-wrapper iframe {
            display: block;
            filter: grayscale(80%) contrast(1.1);
            transition: filter 0.4s ease;
        }

        .map-wrapper:hover iframe {
            filter: grayscale(0%) contrast(1);
        }

    /* ============================================================= */
    /* CONTACT SECTION                                               */
    /* ============================================================= */
    .contact-section {
        background: var(--dark-bg-primary);
        padding: 6rem 0;
    }

    .contact-info-wrapper {
        padding-right: 2rem;
    }

    .contact-title {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--text-light);
        margin-bottom: 1rem;
    }

    .contact-subtitle {
        font-size: 1.05rem;
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }

    /* Contact Info List */
    .contact-info-list {
        margin-bottom: 2rem;
    }

    .contact-info-item {
        display: flex;
        align-items: flex-start;
        gap: 1.25rem;
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: var(--dark-bg-secondary);
        border-radius: 0.75rem;
        border: 1px solid var(--border-color);
        transition: all 0.3s ease;
    }

        .contact-info-item:hover {
            border-color: var(--border-accent);
            transform: translateX(5px);
        }

    .contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-hover) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-light);
        font-size: 1.25rem;
    }

    .contact-info-content h6 {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-light);
        margin-bottom: 0.25rem;
    }

    .contact-info-content p {
        font-size: 0.95rem;
        color: var(--text-muted);
        margin: 0;
        line-height: 1.5;
    }

    /* Social Links */
    .social-links {
        display: flex;
        gap: 0.75rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: var(--dark-bg-secondary);
        border: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-light);
        font-size: 1.1rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .social-link:hover {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: var(--text-light);
            transform: translateY(-3px);
        }

    /* Contact Form */
    .contact-form-wrapper {
        background: var(--dark-bg-secondary);
        padding: 2.5rem;
        border-radius: 1rem;
        border: 1px solid var(--border-color);
    }

    .form-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-light);
        margin-bottom: 2rem;
    }

    .form-floating-custom {
        position: relative;
    }

        .form-floating-custom .form-control {
            background: var(--dark-bg-primary) !important;
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            color: var(--text-light) !important;
            padding: 1rem;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

            .form-floating-custom .form-control::placeholder {
                color: transparent;
            }

            /* Garantir que inputs não tenham autocomplete com fundo branco */
            .form-floating-custom .form-control:-webkit-autofill,
            .form-floating-custom .form-control:-webkit-autofill:hover,
            .form-floating-custom .form-control:-webkit-autofill:focus,
            .form-floating-custom .form-control:-webkit-autofill:active {
                -webkit-box-shadow: 0 0 0 30px var(--dark-bg-primary) inset !important;
                -webkit-text-fill-color: var(--text-light) !important;
                background-color: var(--dark-bg-primary) !important;
                caret-color: var(--text-light);
            }

        .form-floating-custom input[type="text"],
        .form-floating-custom input[type="email"],
        .form-floating-custom input[type="tel"],
        .form-floating-custom textarea {
            background-color: var(--dark-bg-primary) !important;
            color: var(--text-light) !important;
        }

        .form-floating-custom label {
            position: absolute;
            top: 50%;
            left: 1rem;
            transform: translateY(-50%);
            color: var(--text-muted);
            font-size: 0.95rem;
            pointer-events: none;
            transition: all 0.3s ease;
            background: var(--dark-bg-primary);
            padding: 0 0.5rem;
        }

        .form-floating-custom textarea + label {
            top: 1rem;
            transform: translateY(0);
        }

        .form-floating-custom .form-control:focus,
        .form-floating-custom .form-control:not(:placeholder-shown) {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.15);
        }

            .form-floating-custom .form-control:focus + label,
            .form-floating-custom .form-control:not(:placeholder-shown) + label {
                top: 0;
                font-size: 0.8rem;
                color: var(--primary-color);
            }

        .form-floating-custom textarea.form-control:focus + label,
        .form-floating-custom textarea.form-control:not(:placeholder-shown) + label {
            top: -0.5rem;
        }

        .form-floating-custom label i {
            margin-right: 5px;
        }

    /* reCAPTCHA */
    .g-recaptcha {
        transform: scale(0.95);
        transform-origin: 0 0;
    }

    /* Submit Button */
    .btn-submit {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 40px;
        background: var(--primary-color);
        color: var(--text-light);
        border: none;
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(214, 40, 40, 0.4);
    }

        .btn-submit:hover:not(:disabled) {
            background: var(--primary-color-hover);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(214, 40, 40, 0.6);
        }

        .btn-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .btn-submit i {
            transition: transform 0.3s ease;
        }

        .btn-submit:hover:not(:disabled) i {
            transform: translateX(5px);
        }

    /* ============================================================= */
    /* BLOG SECTION                                                  */
    /* ============================================================= */
    .blog-section {
        background: var(--dark-bg-primary);
        padding: 6rem 0;
    }

    /* Blog Cards */
    .blog-card-link {
        text-decoration: none;
        color: inherit;
        display: block;
    }

        .blog-card-link:focus {
            outline: none;
        }

    .blog-card {
        background: var(--dark-bg-primary);
        border-radius: 1rem;
        overflow: hidden;
        height: 100%;
        border: 1px solid var(--border-color);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .blog-card-link:hover .blog-card,
    .blog-card-link:focus .blog-card {
        transform: translateY(-12px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        border-color: var(--primary-color);
    }

    .blog-card-image {
        position: relative;
        overflow: hidden;
        background-color: #1a1a1a;
    }

        .blog-card-image img {
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
            object-position: top center;
            transition: transform 0.5s ease;
        }

    .blog-card-link:hover .blog-card-image img {
        transform: scale(1.1);
    }

    .blog-card-category {
        position: absolute;
        top: 15px;
        left: 15px;
        padding: 6px 14px;
        background: var(--primary-color);
        color: var(--text-light);
        font-size: 0.75rem;
        font-weight: 600;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .blog-featured-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        padding: 6px 14px;
        background: rgba(255, 193, 7, 0.9);
        color: #000;
        font-size: 0.7rem;
        font-weight: 700;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .blog-card-content {
        padding: 1.75rem;
    }

    .blog-card-meta {
        display: flex;
        gap: 1.25rem;
        margin-bottom: 1rem;
    }

        .blog-card-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .blog-card-meta i {
            color: var(--primary-color);
        }

    .blog-card-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text-light);
        margin-bottom: 0.75rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-card-excerpt {
        font-size: 0.95rem;
        color: var(--text-muted);
        line-height: 1.6;
        margin-bottom: 1.25rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-read-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-color);
        font-weight: 600;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

        .blog-read-more i {
            transition: transform 0.3s ease;
        }

    .blog-card-link:hover .blog-read-more {
        color: var(--primary-color-hover);
    }

        .blog-card-link:hover .blog-read-more i {
            transform: translateX(5px);
        }

    /* Featured Blog Card */
    .blog-card-featured {
        border-color: rgba(255, 193, 7, 0.3);
    }

        .blog-card-featured:hover {
            border-color: rgba(255, 193, 7, 0.6);
        }

    /* View All Button */
    .btn-view-all {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 40px;
        background: transparent;
        color: var(--text-light);
        border: 2px solid var(--primary-color);
        border-radius: 50px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .btn-view-all:hover {
            background: var(--primary-color);
            color: var(--text-light);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(214, 40, 40, 0.4);
        }

        .btn-view-all i {
            transition: transform 0.3s ease;
        }

        .btn-view-all:hover i {
            transform: translateX(5px);
        }

    /* ============================================================= */
    /* RESPONSIVIDADE - TABLETS (768px - 991px)                     */
    /* ============================================================= */
    @media (max-width: 991px) {
        /* Hero */
        .hero-section {
            height: 85vh;
            min-height: 550px;
        }

        .hero-title {
            font-size: 2.75rem;
        }

        .hero-description {
            font-size: 1.1rem;
        }

        .scroll-down-indicator {
            display: none;
        }

        /* Trust Bar */
        .trust-text-wrapper {
            border-right: none;
            padding-right: 0;
            text-align: center;
            margin-bottom: 1.5rem;
        }

        /* Sections */
        .services-section,
        .contact-section,
        .blog-section {
            padding: 4rem 0;
        }

        .section-title {
            font-size: 2.25rem;
        }

        .service-card {
            padding: 2rem 1.5rem;
        }

        .service-icon {
            width: 70px;
            height: 70px;
        }

            .service-icon i {
                font-size: 1.75rem;
            }

        .product-highlight-inner {
            padding: 1.5rem 2.5rem;
        }

        .product-logo {
            max-width: 220px;
        }

        /* Contact */
        .contact-info-wrapper {
            padding-right: 0;
            margin-bottom: 3rem;
        }

        .contact-title {
            font-size: 2rem;
        }

        /* Blog */
        .blog-card-image img {
            aspect-ratio: 4 / 3;
        }
    }

    /* ============================================================= */
    /* RESPONSIVIDADE - MOBILE (576px - 767px)                      */
    /* ============================================================= */
    @media (max-width: 767px) {
        /* Hero */
        .hero-section {
            height: 80vh;
            height: 80svh; /* estavel: nao redimensiona quando a barra do navegador some ao rolar */
            min-height: 500px;
        }

        .hero-title {
            font-size: 2.25rem;
        }

        .hero-description {
            font-size: 1rem;
        }

        .hero-badge {
            font-size: 0.8rem;
            padding: 6px 14px;
        }

        /* IMPORTANTE: prefixo #heroCarousel (id) e usado para vencer os .hero-*
           de outros CSS (blog/contato/empresa/produto) carregados depois no _Layout. */

        /* Empurra o conteudo do hero para a base, deixando o topo livre para a imagem */
        #heroCarousel .carousel-slide,
        #heroCarousel .carousel-slide-video {
            align-items: flex-end;
        }

        #heroCarousel .carousel-slide .container,
        #heroCarousel .carousel-slide-video .container {
            padding-bottom: 3rem;
        }

        /* No mobile o badge do topo e ocultado (a arte da imagem cobre esse espaco) */
        #heroCarousel .hero-badge {
            display: none;
        }

        #heroCarousel .hero-content {
            max-width: 100%;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        #heroCarousel .hero-buttons {
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
        }

        /* No mobile mostra apenas o botao principal (vermelho); oculta o secundario */
        #heroCarousel .btn-hero-outline {
            display: none;
        }

        #heroCarousel .btn-hero-primary,
        #heroCarousel .btn-hero-outline {
            width: auto;
            justify-content: center;
            padding: 10px 22px;
            font-size: 0.9rem;
        }

        /* Trust Bar */
        .clients-trust-section {
            padding: 2rem 0;
        }

        .trust-logo {
            max-height: 45px;
            max-width: 100px;
        }

        /* Sections */
        .services-section,
        .contact-section,
        .blog-section {
            padding: 3rem 0;
        }

        .section-header {
            margin-bottom: 2.5rem;
        }

        .section-title {
            font-size: 1.85rem;
        }

        .section-subtitle {
            font-size: 1rem;
        }

        .service-card {
            padding: 1.75rem 1.25rem;
        }

        .service-icon {
            width: 65px;
            height: 65px;
        }

            .service-icon i {
                font-size: 1.5rem;
            }

        .service-title {
            font-size: 1.1rem;
        }

        .service-description {
            font-size: 0.9rem;
        }

        .product-highlight-inner {
            padding: 1.25rem 1.5rem;
        }

        .product-logo {
            max-width: 180px;
        }

        .product-tagline {
            font-size: 0.9rem;
        }

        /* Contact */
        .contact-title {
            font-size: 1.75rem;
        }

        .contact-form-wrapper {
            padding: 1.75rem;
        }

        .form-title {
            font-size: 1.25rem;
        }

        .contact-icon {
            width: 45px;
            height: 45px;
            min-width: 45px;
            font-size: 1.1rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }

        /* Blog */
        .blog-card-image img {
            aspect-ratio: 4 / 3;
        }

        .blog-card-content {
            padding: 1.25rem;
        }

        .blog-card-title {
            font-size: 1.1rem;
        }

        .blog-card-excerpt {
            font-size: 0.9rem;
            -webkit-line-clamp: 2;
        }
    }

    /* ============================================================= */
    /* RESPONSIVIDADE - MOBILE PEQUENO (< 576px)                    */
    /* ============================================================= */
    @media (max-width: 575px) {
        /* Hero */
        .hero-section {
            height: 75vh;
            height: 75svh; /* estavel: nao redimensiona quando a barra do navegador some ao rolar */
            min-height: 450px;
        }

        .hero-title {
            font-size: 1.85rem;
        }

        .hero-description {
            font-size: 0.95rem;
        }

        #heroCarousel .btn-hero-primary,
        #heroCarousel .btn-hero-outline {
            padding: 9px 20px;
            font-size: 0.85rem;
        }

        /* Desce o conteudo o maximo possivel, mas com folga suficiente para
           o botao nao encostar nos indicadores (bolinhas) do carrossel */
        #heroCarousel .carousel-slide .container,
        #heroCarousel .carousel-slide-video .container {
            padding-bottom: 2rem;
        }

        /* Indicadores mais para baixo (zera a margem padrao do Bootstrap) */
        #heroCarousel .carousel-indicators {
            bottom: 12px;
            margin-bottom: 0;
        }

            #heroCarousel .carousel-indicators button {
                width: 10px;
                height: 10px;
            }

        /* Trust Bar */
        .trust-label {
            font-size: 0.8rem;
        }

        .trust-title {
            font-size: 1.1rem;
        }

        .trust-logo {
            max-height: 40px;
            max-width: 90px;
        }

        /* Sections */
        .section-badge {
            font-size: 0.8rem;
            padding: 6px 16px;
        }

        .section-title {
            font-size: 1.65rem;
        }

        .service-card {
            padding: 1.5rem 1rem;
        }

        .service-icon {
            width: 60px;
            height: 60px;
        }

            .service-icon i {
                font-size: 1.4rem;
            }

        .product-highlight {
            margin: 2.5rem 0;
        }

        .product-highlight-inner {
            padding: 1rem 1.25rem;
        }

        .product-logo {
            max-width: 130px;
        }

        .product-tagline {
            font-size: 0.85rem;
        }

        /* Contact */
        .contact-info-item {
            padding: 0.75rem;
            gap: 1rem;
        }

        .contact-form-wrapper {
            padding: 1.5rem;
        }

        .btn-submit {
            width: 100%;
            justify-content: center;
        }

        /* Blog */
        .blog-card-meta {
            gap: 1rem;
        }

            .blog-card-meta span {
                font-size: 0.8rem;
            }

        .btn-view-all {
            width: 100%;
            justify-content: center;
        }
    }

    /* ============================================================= */
    /* ACESSIBILIDADE                                                */
    /* ============================================================= */
    @media (prefers-reduced-motion: reduce) {
        .service-card,
        .blog-card,
        .trust-logo,
        .service-icon,
        .contact-info-item,
        .social-link,
        .btn-hero-primary,
        .btn-hero-outline,
        .btn-submit,
        .btn-view-all,
        .scroll-down-indicator i,
        .blog-card-image img {
            transition: none;
            animation: none;
        }
    }

    /* ============================================================= */
    /* UTILITÁRIOS                                                   */
    /* ============================================================= */
    .text-primary-custom {
        color: var(--primary-color) !important;
    }

    .bg-dark-primary {
        background-color: var(--dark-bg-primary) !important;
    }

    .bg-dark-secondary {
        background-color: var(--dark-bg-secondary) !important;
    }

    /* ============================================================= */
    /* TEAM GALLERY SECTION - ESTILO INSTAGRAM                       */
    /* ============================================================= */
    .team-gallery-section {
        margin: 4rem 0;
        padding: 3rem 0;
        background: linear-gradient(135deg, var(--dark-bg-secondary) 0%, var(--dark-bg-terciary) 100%);
        border-radius: 1.5rem;
        border: none;
        position: relative;
        overflow: hidden;
    }

    /* Header */
    .team-gallery-header {
        margin-bottom: 2.5rem;
        padding: 0 2rem;
    }

    .team-gallery-logo {
        display: block;
        height: 90px;
        width: auto;
        max-width: 100%;
        margin: 0 auto 1rem;
        object-fit: contain;
    }

    .team-gallery-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--text-light);
        margin-bottom: 0.5rem;
    }

    .team-gallery-tagline {
        font-size: 1.1rem;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

        .team-gallery-tagline i {
            color: #E1306C;
            font-size: 1.3rem;
        }

    /* Gallery Wrapper */
    .team-gallery-wrapper {
        position: relative;
        padding: 0 60px;
    }

    /* Swiper Carousel */
    .team-gallery-carousel {
        overflow: hidden;
        padding: 1rem 0 2rem;
    }

        .team-gallery-carousel .swiper-wrapper {
            align-items: stretch;
        }

        .team-gallery-carousel .swiper-slide {
            height: auto;
            display: flex;
        }

    /* Slide com par de fotos empilhadas */
    .gallery-slide-pair {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

        .gallery-slide-pair .gallery-item {
            flex: none;
        }

    .gallery-pair-logo {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.15;
    }

        .gallery-pair-logo img {
            width: 80px;
            height: 80px;
            object-fit: contain;
        }

        .gallery-slide-pair .gallery-media img {
            height: 200px;
        }

        .gallery-slide-pair .gallery-info {
            padding: 0.75rem 1rem;
        }

        .gallery-slide-pair .gallery-caption {
            -webkit-line-clamp: 1;
        }

        .gallery-slide-pair .gallery-avatar {
            width: 28px;
            height: 28px;
            min-width: 28px;
        }

        .gallery-slide-pair .gallery-username {
            font-size: 0.8rem;
        }

    /* Gallery Item Link - permite clicar e ir pro Instagram */
    a.gallery-item-link {
        text-decoration: none;
        color: inherit;
        cursor: pointer;
    }

    /* Gallery Item - Card estilo Instagram */
    .gallery-item {
        background: var(--dark-bg-primary);
        border-radius: 1rem;
        overflow: hidden;
        border: 1px solid var(--border-color);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        width: 100%;
    }

        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
            border-color: var(--primary-color);
        }

    /* Gallery Media */
    .gallery-media {
        position: relative;
        width: 100%;
        overflow: hidden;
        flex-shrink: 0;
    }

        .gallery-media img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-media video {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
            pointer-events: none;
        }

        .gallery-media video::-webkit-media-controls {
            display: none !important;
        }

        .gallery-media video::-webkit-media-controls-panel {
            display: none !important;
        }

        .gallery-media video::-webkit-media-controls-overlay-play-button {
            display: none !important;
        }

    .gallery-item:hover .gallery-media img,
    .gallery-item:hover .gallery-media video {
        transform: scale(1.05);
    }

    /* Video indicator icon */
    .gallery-video-indicator {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 1rem;
        z-index: 2;
        pointer-events: none;
    }

    /* Overlay */
    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 1.5rem;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-overlay-content {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--text-light);
        font-size: 0.9rem;
        font-weight: 600;
    }

        .gallery-overlay-content i {
            color: var(--primary-color);
            font-size: 1.2rem;
            animation: heartbeat 1.5s infinite;
        }

    @keyframes heartbeat {
        0%, 100% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.2);
        }
    }

    /* Gallery Info */
    .gallery-info {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
    }

    .gallery-user {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .gallery-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 50%;
        object-fit: contain;
        background: var(--dark-bg-secondary);
        padding: 4px;
        border: 2px solid var(--primary-color);
    }

    .gallery-username {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--text-light);
    }

    .gallery-caption {
        font-size: 0.9rem;
        color: var(--text-muted);
        line-height: 1.5;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Navigation Buttons */
    .team-gallery-next,
    .team-gallery-prev {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        background: transparent !important;
        border: none !important;
        border-radius: 0;
        color: var(--primary-color);
        transition: all 0.3s ease;
        z-index: 10;
        cursor: pointer;
    }

    .team-gallery-prev {
        left: 5px;
    }

    .team-gallery-next {
        right: 5px;
    }

    .team-gallery-next:hover,
    .team-gallery-prev:hover {
        color: var(--primary-color-hover);
        transform: translateY(-50%) scale(1.2);
        background: transparent !important;
    }

    .team-gallery-next::after,
    .team-gallery-prev::after {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--primary-color) !important;
        transition: color 0.3s ease;
    }

    .team-gallery-next:hover::after,
    .team-gallery-prev:hover::after {
        color: var(--primary-color-hover) !important;
    }

    .team-gallery-next.swiper-button-disabled,
    .team-gallery-prev.swiper-button-disabled {
        opacity: 0.35;
        cursor: not-allowed;
    }

    .team-gallery-next.swiper-button-disabled:hover,
    .team-gallery-prev.swiper-button-disabled:hover {
        transform: translateY(-50%);
        color: var(--primary-color);
        background: transparent !important;
    }

    .team-gallery-next.swiper-button-disabled:hover::after,
    .team-gallery-prev.swiper-button-disabled:hover::after {
        color: var(--primary-color) !important;
    }

    /* Pagination */
    .team-gallery-pagination {
        margin-top: 1rem;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        position: relative;
        width: 100%;
    }

        .team-gallery-pagination .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            background: var(--border-color);
            opacity: 1;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .team-gallery-pagination .swiper-pagination-bullet-active {
            background: var(--primary-color);
            transform: scale(1.2);
        }

    /* Social CTA */
    .team-gallery-cta {
        margin-top: 1.5rem;
        padding: 0 2rem;
    }

    .team-gallery-cta-text {
        font-size: 1rem;
        color: var(--text-muted);
        margin-bottom: 1rem;
    }

    .team-gallery-social {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }

    .team-social-link {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--dark-bg-primary);
        border: 2px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-light);
        font-size: 1.25rem;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .team-social-link:hover {
            transform: translateY(-5px) scale(1.1);
            border-color: var(--primary-color);
            color: var(--primary-color);
            box-shadow: 0 10px 25px rgba(214, 40, 40, 0.3);
        }

        .team-social-link:nth-child(1):hover {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            border-color: transparent;
            color: white;
        }

        .team-social-link:nth-child(2):hover {
            background: #1877f2;
            border-color: transparent;
            color: white;
        }

        .team-social-link:nth-child(3):hover {
            background: #0a66c2;
            border-color: transparent;
            color: white;
        }

        .team-social-link:nth-child(4):hover {
            background: #ff0000;
            border-color: transparent;
            color: white;
        }

    /* ============================================================= */
    /* TEAM GALLERY - RESPONSIVIDADE                                 */
    /* ============================================================= */
    @media (max-width: 991px) {
        .team-gallery-section {
            margin: 3rem 0;
            padding: 2.5rem 0;
        }

        .team-gallery-logo {
            height: 75px;
        }

        .team-gallery-wrapper {
            padding: 0 50px;
        }

        .gallery-item {
            min-height: auto;
        }

        .gallery-media img {
            height: 240px;
        }

        .gallery-slide-pair .gallery-media img {
            height: 170px;
        }

        .team-gallery-next,
        .team-gallery-prev {
            width: 45px;
            height: 45px;
        }
    }

    @media (max-width: 767px) {
        .team-gallery-section {
            margin: 2rem 0;
            padding: 2rem 0;
            border-radius: 1rem;
        }

        .team-gallery-header {
            padding: 0 1rem;
            margin-bottom: 2rem;
        }

        .team-gallery-logo {
            height: 62px;
        }

        .team-gallery-tagline {
            font-size: 0.95rem;
            flex-direction: column;
            gap: 0.25rem;
        }

        .team-gallery-wrapper {
            padding: 0 15px;
        }

        .gallery-item {
            min-height: auto;
        }

        .gallery-media img {
            height: 220px;
        }

        .gallery-slide-pair .gallery-media img {
            height: 160px;
        }

        .gallery-slide-pair .gallery-info {
            padding: 0.6rem 0.75rem;
        }

        .gallery-info {
            padding: 1rem;
        }

        .gallery-avatar {
            width: 32px;
            height: 32px;
            min-width: 32px;
        }

        .gallery-username {
            font-size: 0.85rem;
        }

        .gallery-caption {
            font-size: 0.85rem;
        }

        .team-gallery-next,
        .team-gallery-prev {
            width: 38px;
            height: 38px;
        }

            .team-gallery-next::after,
            .team-gallery-prev::after {
                font-size: 1rem;
            }

        .team-gallery-cta {
            padding: 0 1rem;
            margin-top: 2rem;
        }

        .team-social-link {
            width: 45px;
            height: 45px;
            font-size: 1.1rem;
        }
    }

    @media (max-width: 575px) {
        .team-gallery-section {
            margin: 1.5rem 0;
            padding: 1.5rem 0;
        }

        .team-gallery-logo {
            height: 54px;
        }

        .team-gallery-wrapper {
            padding: 0 10px;
        }

        .gallery-item {
            min-height: auto;
        }

        .gallery-media img {
            height: 180px;
        }

        .gallery-slide-pair .gallery-media img {
            height: 150px;
        }

        .gallery-slide-pair .gallery-info {
            padding: 0.5rem 0.65rem;
        }

        .gallery-slide-pair .gallery-username {
            font-size: 0.75rem;
        }

        .team-gallery-next,
        .team-gallery-prev {
            width: 35px;
            height: 35px;
        }

            .team-gallery-next::after,
            .team-gallery-prev::after {
                font-size: 0.9rem;
            }

        .team-social-link {
            width: 42px;
            height: 42px;
            font-size: 1rem;
        }
    }

/* ============================================================= */
/* SEÇÃO LOCALIZAÇÃO - ONDE ESTAMOS                              */
/* ============================================================= */
.location-section {
    padding: 5rem 0;
    background: #000;
}

.location-map-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--dark-bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
}

.location-map-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    color: var(--text-light);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.location-map-header i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.location-map-container {
    flex: 1;
    min-height: 340px;
}

.location-map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    display: block;
    filter: grayscale(0.2) contrast(1.05);
}

.location-map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem;
    background: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.location-map-btn:hover {
    background: var(--primary-color-hover);
    color: var(--text-light);
}

.location-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.location-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    background: var(--dark-bg-secondary);
}

/* Terceira foto ocupa as duas colunas */
.location-photo-wide {
    grid-column: 1 / -1;
    height: 180px;
}

/* Quando a foto real ainda não foi adicionada, mostra a logo centralizada */
.location-photo-fallback {
    object-fit: contain;
    padding: 1.5rem;
    opacity: 0.5;
}

.location-info-card {
    background: var(--dark-bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
}

.location-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.location-info-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-top: 2px;
}

@media (max-width: 575px) {
    .location-section {
        padding: 3rem 0;
    }
    .location-photo {
        height: 120px;
    }
}

/* ============================================================= */
/* ORBIT HUB - Globo 3D + 8 especialidades orbitando            */
/* ============================================================= */
.orbit-hub {
    position: relative;
    width: 720px;
    max-width: 100%;
    height: 720px;
    margin: 2.5rem auto 0;
}

#earthGlobe {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 240px;
    height: 240px;
    transform: translate(-50%, -50%);
    z-index: 2;
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(214, 40, 40, 0.3);
}

/* Fallback (caso WebGL não esteja disponível): um globo em CSS */
.earth-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 33% 30%, #6a1010 0%, #380808 40%, #160303 75%, #0a0101 100%);
    box-shadow: 0 0 50px rgba(214, 40, 40, 0.4), inset -18px -18px 50px rgba(0,0,0,.8);
    overflow: hidden;
}
.earth-fallback::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,80,80,.8) 1.3px, transparent 1.6px);
    background-size: 16px 16px;
    opacity: .4;
    animation: efRoll 18s linear infinite;
}
@keyframes efRoll { to { background-position: 240px 0; } }

.o-lines {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 720px;
    height: 720px;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: oSpin 80s linear infinite;
    pointer-events: none;
}
.o-lines line {
    stroke: #ff4040;
    stroke-width: 1.5;
    opacity: 0.25;
    stroke-dasharray: 5 9;
    animation: oFlow 1.8s linear infinite;
}

.o-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    z-index: 3;
    animation: oSpin 80s linear infinite;
}
.o-cardinner { width: 0; height: 0; animation: oSpinRev 80s linear infinite; }
.o-slot { position: absolute; left: 0; top: 0; width: 0; height: 0; }

.o-card {
    width: 150px;
    transform: translate(-50%, -50%);
    background: var(--dark-bg-secondary);
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 13px 11px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.orbit-hub.revealed .o-card { opacity: 1; }
.o-card .ic {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 21px;
    color: #fff;
    box-shadow: 0 0 18px rgba(214, 40, 40, 0.55);
}
.o-card h5 {
    color: var(--text-light);
    font-size: 0.86rem;
    margin: 0 0 5px;
    font-weight: 600;
    line-height: 1.2;
}
.o-card p {
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.4;
    margin: 0;
}

.orbit-hub:hover .o-ring,
.orbit-hub:hover .o-lines,
.orbit-hub:hover .o-cardinner { animation-play-state: paused; }

@keyframes oSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes oSpinRev { to { transform: rotate(-360deg); } }
@keyframes oFlow { to { stroke-dashoffset: -28; } }

/* ---------- Mobile: globo em cima + cards em grade ---------- */
@media (max-width: 991px) {
    .orbit-hub {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }
    .o-lines { display: none !important; }
    #earthGlobe {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 auto;
        width: 210px;
        height: 210px;
    }
    .o-ring {
        position: static !important;
        transform: none !important;
        animation: none !important;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .o-slot {
        position: static !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
    }
    .o-cardinner { animation: none !important; width: auto !important; height: auto !important; }
    .o-card { transform: none !important; width: auto; }
}

@media (max-width: 420px) {
    .o-ring { grid-template-columns: 1fr; }
}
