* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #050505;
    --bg-deep: #0a0c14;
    --bg-card: rgba(15, 23, 42, 0.6);
    --silver: #9ca3af;
    --silver-light: #d1d5db;
    --silver-dark: #6b7280;
    --white: #ffffff;
    --white-muted: rgba(255, 255, 255, 0.7);
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: cubic-bezier(0.25, 1, 0.5, 1);
}

body {
    background: var(--bg-dark);
    color: var(--white);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.silver {
    color: var(--silver);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 2px;
    background: var(--silver);
    margin: 1rem auto 0;
}

h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--white-muted);
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

/* ============================================
   HERO COM PRÉDIO MAIS ESCURO - TEXTO COM MAIS DESTAQUE
   ============================================ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-building {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: opacity 0.3s ease-out;
}

.hero-building img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.35) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hero-logo img {
    height: 60px;
    margin-bottom: 2rem;
    filter: brightness(1.1);
}

.hero-subheadline {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--silver), var(--silver-light));
    color: #0a0a0a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(156, 163, 175, 0.4);
}

.btn-outline {
    border: 1.5px solid var(--silver);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(156, 163, 175, 0.2);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-40%);
    text-align: center;
    font-size: 0.8rem;
    color: var(--white-muted);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@keyframes bounce {

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

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

/* ============================================
   SAFE SECTION
   ============================================ */
.safe-section {
    padding: 5rem 0;
    background: var(--bg-deep);
}

.safe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.safe-badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--silver);
    margin-bottom: 1rem;
}

.safe-content h2 {
    margin-bottom: 1.5rem;
}

.safe-content p {
    margin-bottom: 2rem;
}

/* Ajuste para os stats com 2 indicadores */
.safe-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.safe-stat {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--silver);
    display: block;
}

.stat-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .safe-stats {
        gap: 1.5rem;
        justify-content: center;
    }

    .safe-stat {
        max-width: 150px;
    }

    .stat-num {
        font-size: 2rem;
    }
}

.stat-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.safe-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.safe-image img {
    width: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.safe-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(5, 5, 5, 0.6) 0%,
            transparent 15%,
            transparent 85%,
            rgba(5, 5, 5, 0.6) 100%);
    z-index: 2;
    border-radius: 12px;
    pointer-events: none;
}

.safe-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 60%, rgba(5, 5, 5, 0.4) 100%);
    z-index: 2;
    border-radius: 12px;
    pointer-events: none;
}

/* ============================================
   SEÇÃO DE VÍDEO PREMIUM
   ============================================ */
.video-section {
    width: 100%;
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.7) contrast(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.6) 60%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.video-content {
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.video-icon {
    width: 60px;
    height: 60px;
    background: rgba(156, 163, 175, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 1px solid rgba(156, 163, 175, 0.5);
    backdrop-filter: blur(4px);
}

.video-icon i {
    font-size: 1.2rem;
    color: var(--silver);
}

.video-content h2 {
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-line {
    width: 50px;
    height: 2px;
    background: var(--silver);
    margin: 1rem auto;
}

.video-content p {
    font-size: 0.9rem;
    color: var(--white-muted);
}

/* ============================================
   AUTHORITY SECTION
   ============================================ */
.authority-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.authority-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.authority-text .lead {
    font-size: 1.2rem;
    color: var(--silver);
    margin-bottom: 1.5rem;
}

.authority-text p {
    margin-bottom: 1rem;
}

.authority-text strong {
    color: var(--silver);
}

.signature {
    margin-top: 2rem;
}

.signature img {
    height: 40px;
}

.authority-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.authority-image img {
    width: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.authority-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(5, 5, 5, 0.5) 0%,
            transparent 20%,
            transparent 80%,
            rgba(5, 5, 5, 0.5) 100%);
    z-index: 2;
    border-radius: 12px;
    pointer-events: none;
}

.image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(156, 163, 175, 0.1), transparent);
    z-index: 2;
    pointer-events: none;
}

/* ============================================
   POSICIONAMENTO
   ============================================ */
.positioning-section {
    padding: 5rem 0;
    background: var(--bg-deep);
}

.positioning-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.positioning-box h2 {
    margin-bottom: 1.5rem;
}

.positioning-box p {
    margin-bottom: 2rem;
}

.positioning-quote {
    background: rgba(156, 163, 175, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border-left: 3px solid var(--silver);
}

.positioning-quote i {
    color: var(--silver);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.positioning-quote span {
    display: block;
    margin-top: 1rem;
    color: var(--silver);
    font-weight: 500;
}

/* ============================================
   MÓDULOS VISUAIS PREMIUM - IMAGENS SEM CORTE
   ============================================ */
.paths-section {
    padding: 5rem 0;
}

.paths-grid-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.path-module {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.path-module:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
}

.module-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.5s var(--transition);
}

.path-module:hover .module-bg {
    transform: scale(1.02);
}

.module-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 30%,
            rgba(0, 0, 0, 0.2) 100%);
    transition: background 0.3s var(--transition);
}

.path-module:hover .module-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 30%,
            rgba(0, 0, 0, 0.3) 100%);
}

.module-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.module-category {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 0.75rem;
}

.module-title {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.module-subtitle {
    font-size: 0.85rem;
    color: var(--white-muted);
    margin-bottom: 1.5rem;
}

.module-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(156, 163, 175, 0.15);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--silver);
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.path-module:hover .module-arrow {
    gap: 0.75rem;
    background: var(--silver);
    color: #0a0a0a;
}

.module-arrow i {
    font-size: 0.75rem;
}

/* ============================================
   FORMULÁRIO
   ============================================ */
.form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0c14, #020202);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(156, 163, 175, 0.15);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.qualification-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full {
    flex: 100%;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--silver-light);
}

.form-group input,
.form-group select {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-sans);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--silver);
}

.btn-submit {
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--silver), var(--silver-light));
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(156, 163, 175, 0.3);
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
.differentials-section {
    padding: 5rem 0;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.diff-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(156, 163, 175, 0.1);
    transition: all 0.3s;
}

.diff-card:hover {
    transform: translateY(-5px);
    border-color: var(--silver);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--silver);
    margin-bottom: 1rem;
}

/* ============================================
   PROCESSO
   ============================================ */
.process-section {
    padding: 5rem 0;
    background: var(--bg-deep);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.step {
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: rgba(156, 163, 175, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--silver);
}

/* ============================================
   CTA FINAL
   ============================================ */
.final-cta {
    padding: 5rem 0;
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1), rgba(156, 163, 175, 0.05));
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid rgba(156, 163, 175, 0.2);
}

.cta-box h2 {
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--silver), var(--silver-light));
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(156, 163, 175, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    font-size: 0.75rem;
    margin: 0.25rem 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--silver);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .safe-grid,
    .authority-content,
    .paths-grid-modules,
    .differentials-grid,
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .paths-grid-modules {
        gap: 1.5rem;
    }

    .path-module {
        height: 420px;
    }

    .module-title {
        font-size: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-container {
        padding: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .cta-box {
        padding: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .video-section {
        height: 70vh;
        min-height: 500px;
    }

    .video-content {
        padding: 0 1.5rem;
        bottom: 8%;
    }

    .video-content h2 {
        font-size: 1.2rem;
    }

    .safe-image::before {
        background: linear-gradient(90deg,
                rgba(5, 5, 5, 0.7) 0%,
                transparent 10%,
                transparent 90%,
                rgba(5, 5, 5, 0.7) 100%);
    }
}


/* Créditos NX */
@media (min-width: 769px) and (max-width: 1024px) {
    .path-module {
        height: 450px;
    }

    .module-title {
        font-size: 1.4rem;
    }

    .module-subtitle {
        font-size: 0.75rem;
    }
}

.footer-credits {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(156, 163, 175, 0.15);
    text-align: center;
}

.credits-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* fallback pro gap */
    gap: 0.75rem;
}

.credits-link > *:not(:last-child) {
    margin-right: 0.75rem; /* fallback gap */
}

.credits-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;

    /* compatibilidade */
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.credits-link:hover {
    color: #9ca3af;
}

.credits-logo {
    width: 24px;
    height: 24px;
    border-radius: 6px;

    /* fallback object-fit */
    object-fit: cover;
    display: block;

    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.credits-link:hover .credits-logo {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.credits-link strong {
    color: #9ca3af;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {
    .footer-credits {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .credits-link {
        font-size: 0.7rem;
    }

    .credits-logo {
        width: 24px;
        height: 24px;
        border-radius: 50%;
    }
}