/* Inicializando os propulsores (Reset geral) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Configuração de Energia do Núcleo (Variáveis alienígenas premium) */
:root {
    --bg-deep: #0B131A;
    /* Navegação Profunda */
    --brand-green: #1ED697;
    /* Energia Verde */
    --plasma-border: rgba(103, 246, 197, 0.30);
    /* Bordas de Plasma */
    --text-light: #E0E6ED;
    --text-muted: #8B9AAB;
    --card-bg: rgba(11, 19, 26, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-green: #1ED697;
    --neon-glow: 0 0 15px rgba(30, 214, 151, 0.4);
}

/* Ambiente da Nave (Body) */
body {
    background-color: var(--bg-deep);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Navbar estilo Ponte de Comando */
header {
    background: rgba(11, 19, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--plasma-border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-mark {
    height: 48px;
    width: auto;
    object-fit: contain;
    /* Filtro Matemático que transforma a imagem na exata cor Verde Plasma (#1ED697) */
    filter: brightness(0) saturate(100%) invert(69%) sepia(85%) saturate(306%) hue-rotate(114deg) brightness(97%) contrast(93%);
    transition: filter 0.3s ease;
}

.logo:hover .logo-mark {
    filter: brightness(0) saturate(100%) invert(75%) sepia(90%) saturate(400%) hue-rotate(114deg) brightness(110%) contrast(105%);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-primary {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    white-space: nowrap;
    transition: text-shadow 0.3s ease;
}

.logo-secondary {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 5px;
    white-space: nowrap;
    transition: text-shadow 0.3s ease;
    margin-top: -2px;
}

.logo:hover .logo-primary,
.logo:hover .logo-secondary {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Menu de Navegação - Painel de Controle (Abas) */
nav {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    max-width: 80%;
    scrollbar-width: none;
    align-items: center;
}

nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid transparent;
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    flex-shrink: 0;
}

/* ── Hamburger Button (hidden on desktop) ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--plasma-border);
    border-radius: 8px;
    cursor: pointer;
    padding: 6px;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.hamburger:hover {
    border-color: var(--brand-green);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand-green);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* Animated X when open */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── WhatsApp Floating Action Button ── */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: waPulse 2.4s ease-in-out infinite;
}

.whatsapp-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65), 0 3px 12px rgba(0, 0, 0, 0.35);
    animation: none;
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25), 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 19, 26, 0.92);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--plasma-border);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(8px);
}

.whatsapp-fab:hover .whatsapp-tooltip {
    opacity: 1;
}

.tab-btn:hover {
    color: white;
    background: var(--glass-bg);
    border-color: var(--plasma-border);
}

.tab-btn.active {
    color: var(--bg-deep);
    background: var(--brand-green);
    box-shadow: 0 0 15px rgba(30, 214, 151, 0.4);
    border-color: var(--brand-green);
}

/* Área de Estase (Main Content) */
main {
    flex: 1;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

/* Sistema de Camuflagem (Seções ocultas por padrão) */
.section {
    display: none;
    animation: warpIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.section.active {
    display: block;
}

@keyframes warpIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

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

h1,
h2,
h3 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, #FFFFFF, var(--brand-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    letter-spacing: -1px;
}

p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Componentes de Estilo Comum (Cards / Módulos) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--plasma-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-green), transparent);
    opacity: 0.6;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 214, 151, 0.15);
    border-color: var(--brand-green);
}

.card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.card p {
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.arsenal-card-icon {
    font-size: 2.5rem;
    color: var(--brand-green);
    margin-bottom: 1.5rem;
    display: block;
    text-shadow: var(--neon-glow);
    transition: transform 0.3s ease;
}

.card:hover .arsenal-card-icon {
    transform: scale(1.1);
}

.glass-card {
    background: rgba(11, 19, 26, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.glass-card:hover {
    border-color: var(--brand-green);
    box-shadow: var(--neon-glow);
}

/* --- Estilos Específicos por Seção --- */

/* 1. HERO / PITCH DECK */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 65vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(30, 214, 151, 0.1);
    border: 1px solid var(--brand-green);
    color: var(--brand-green);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(30, 214, 151, 0.2);
}

/* Hero buttons row */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Orbe de Luz Animado (SVG - Fonte de Energia da Nave) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.orb-svg {
    width: 100%;
    max-width: 450px;
    animation: floatOrb 6s ease-in-out infinite;
}

@keyframes floatOrb {

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

    50% {
        transform: translateY(-25px) scale(1.02) rotate(15deg);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.6;
        r: 160;
        filter: blur(30px);
    }

    50% {
        opacity: 1;
        r: 175;
        filter: blur(40px);
    }
}

@keyframes spinCore {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Carrossel do Pitch Deck */
.pitch-container {
    position: relative;
    min-height: 250px;
}

.pitch-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: translateX(30px);
}

.pitch-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}

.slide-nav {
    display: flex;
    gap: 12px;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.slide-dot {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--plasma-border);
    cursor: pointer;
    transition: all 0.3s;
}

.slide-dot:hover {
    background: rgba(30, 214, 151, 0.5);
}

.slide-dot.active {
    background: var(--brand-green);
    box-shadow: 0 0 10px var(--brand-green);
}

/* 2. ARSENAL */
.wsf-highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(30, 214, 151, 0.08) 0%, rgba(11, 19, 26, 0.9) 100%);
    border: 1px solid var(--brand-green);
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 4rem;
    box-shadow: inset 0 0 40px rgba(30, 214, 151, 0.05);
}

.wsf-highlight h2 {
    color: var(--brand-green);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.wsf-highlight h3 {
    color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.wsf-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(30, 214, 151, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--brand-green);
    animation: spinCore 30s linear infinite;
}

/* --- 2.5 TABELA B2B (PRICING) --- */
.table-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(11, 19, 26, 0.7);
    border: 1px solid var(--plasma-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.b2b-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-light);
    font-size: 1rem;
}

.b2b-table th {
    background: linear-gradient(90deg, rgba(30, 214, 151, 0.15), rgba(0, 229, 255, 0.1));
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1.5rem;
    text-align: left;
    border-bottom: 2px solid var(--brand-green);
    position: sticky;
    top: 0;
}

.b2b-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(139, 154, 171, 0.1);
    transition: background 0.3s;
}

.b2b-table tbody tr:hover td {
    background: rgba(30, 214, 151, 0.05);
}

.b2b-table .category-row td {
    background: #0B131A;
    color: var(--brand-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 1rem 1.5rem;
    border-top: 2px solid rgba(139, 154, 171, 0.15);
    border-bottom: 1px solid rgba(139, 154, 171, 0.15);
}

.b2b-table .price {
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
}

/* 3. FINANCEIRO */
.finance-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.finance-card {
    text-align: center;
    padding: 5rem 3rem;
    border: 1px solid var(--brand-green);
    background: radial-gradient(circle at top, rgba(30, 214, 151, 0.15) 0%, var(--card-bg) 70%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.finance-card .big-number {
    font-size: 7rem;
    font-weight: 800;
    color: var(--brand-green);
    text-shadow: 0 0 30px rgba(30, 214, 151, 0.4);
    margin: 1rem 0;
    line-height: 1;
    letter-spacing: -2px;
}

.flow-diagram {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--plasma-border);
}

.flow-step {
    text-align: center;
    flex: 1;
}

.flow-step-num {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 214, 151, 0.2);
    color: var(--brand-green);
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid var(--brand-green);
}

.flow-arrow {
    color: var(--brand-green);
    font-size: 2rem;
    opacity: 0.5;
    flex-shrink: 0;
    padding: 0 1rem;
}

/* 4. EQUIPE */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--plasma-border);
    background: linear-gradient(180deg, var(--card-bg) 0%, rgba(11, 19, 26, 0.9) 100%);
    transition: all 0.3s;
}

.team-member:hover {
    border-color: var(--brand-green);
    transform: translateY(-5px);
}

.team-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #112233, var(--bg-deep));
    border: 2px solid var(--brand-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--brand-green);
    font-weight: 800;
    box-shadow: 0 0 20px rgba(30, 214, 151, 0.2);
}

.role {
    color: var(--brand-green);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 4.5 PLAYBOOK TIMELINE (STITCH PREMIUM) --- */
.diretrizes-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-path {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(182, 246, 103, 0.4), rgba(182, 246, 103, 0.8), rgba(182, 246, 103, 0.4), transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(182, 246, 103, 0.5);
    z-index: 1;
}

.timeline-step {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
    padding-right: 3rem;
    position: relative;
    margin-bottom: 3rem;
    z-index: 2;
}

.timeline-step.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 3rem;
    margin-left: 50%;
}

.timeline-marker {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0B131A;
    border: 3px solid #B6F667;
    box-shadow: 0 0 20px rgba(182, 246, 103, 0.8);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-step.right .timeline-marker {
    right: auto;
    left: -8px;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(11, 19, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(182, 246, 103, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(182, 246, 103, 0.4);
    box-shadow: 0 20px 50px rgba(182, 246, 103, 0.15);
}

.timeline-step:hover .timeline-marker {
    background: #B6F667;
    transform: translateY(-50%) scale(1.4);
    box-shadow: 0 0 35px #B6F667;
}

.step-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(182, 246, 103, 0.25);
    position: absolute;
    top: -15px;
    right: 20px;
    opacity: 0.6;
    transition: all 0.5s ease;
    z-index: 1;
}

.timeline-step.right .step-number {
    right: auto;
    left: 20px;
}

.glass-card:hover .step-number {
    -webkit-text-stroke: 1px rgba(182, 246, 103, 0.6);
    opacity: 1;
    transform: scale(1.05);
}

.glass-card h3 {
    color: #FFFFFF;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.glass-card p {
    color: #A0AEBF;
    font-size: 1.1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    font-weight: 400;
}

/* Responsividade Diretrizes da Parceria Timeline */
@media (max-width: 900px) {
    .timeline-path {
        left: 20px;
        transform: none;
    }

    .timeline-step {
        width: 100%;
        margin-left: 0;
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-step.right {
        width: 100%;
        margin-left: 0;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-marker {
        left: 12px;
        right: auto;
    }

    .timeline-step.right .timeline-marker {
        left: 12px;
        right: auto;
    }

    .step-number {
        right: 20px;
        left: auto;
    }

    .timeline-step.right .step-number {
        right: 20px;
        left: auto;
    }
}

/* 5. NCNDA & ASSINATURA SIGNWELL */
.ncnda-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.shield-icon {
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(30, 214, 151, 0.4));
}

.signwell-container {
    margin-top: 3rem;
    width: 100%;
    height: 600px;
    /* Altura ideal pra um documento A4 */
    border: 2px solid var(--brand-green);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    /* Fundo branco pra contrastar o documento SignWell */
    box-shadow: 0 0 30px rgba(30, 214, 151, 0.2);
    display: none;
    /* Inicia oculto até o clique no botão */
}

.signwell-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 6. FAQ (Accordion Terrestre) */
.faq-wrapper {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    border: 1px solid var(--plasma-border);
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    transition: all 0.3s;
}

.faq-question {
    padding: 1.8rem 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    color: white;
}

.faq-question:hover {
    background: rgba(30, 214, 151, 0.05);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}

.faq-item.active {
    border-color: var(--brand-green);
    box-shadow: 0 5px 20px rgba(30, 214, 151, 0.1);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.8rem;
    max-height: 500px;
    opacity: 1;
}

.faq-item.active .faq-question {
    color: var(--brand-green);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.4s;
    color: var(--brand-green);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ── FAQ Contact Form Section ── */
.faq-form-section {
    max-width: 900px;
    margin: 3rem auto 0;
    background: rgba(11, 19, 26, 0.65);
    border: 1px solid rgba(30, 214, 151, 0.25);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.faq-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1ED697, #00E5FF, #B6F667);
    opacity: 0.7;
}

.faq-form-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(30, 214, 151, 0.12);
    border: 1px solid var(--brand-green);
    color: var(--brand-green);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

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

.faq-form-header h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.faq-form-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.faq-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.faq-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.faq-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--brand-green);
}

.faq-form-group input,
.faq-form-group select,
.faq-form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(103, 246, 197, 0.20);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.faq-form-group input::placeholder,
.faq-form-group textarea::placeholder {
    color: rgba(139, 154, 171, 0.6);
}

.faq-form-group select option {
    background: #0B131A;
    color: var(--text-light);
}

.faq-form-group input:focus,
.faq-form-group select:focus,
.faq-form-group textarea:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(30, 214, 151, 0.12);
}

.faq-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.faq-form-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.faq-form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Success state */
.faq-success {
    text-align: center;
    padding: 3rem 2rem;
    animation: warpIn 0.5s ease forwards;
}

.faq-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(30, 214, 151, 0.15);
    border: 2px solid var(--brand-green);
    color: var(--brand-green);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(30, 214, 151, 0.3);
}

.faq-success h3 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

/* Responsive: form row stacks on mobile */
@media (max-width: 640px) {
    .faq-form-section {
        padding: 2rem 1.25rem;
        border-radius: 14px;
    }

    .faq-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .faq-form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .faq-form-footer .btn-cta {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .faq-form-section {
        padding: 1.5rem 1rem;
    }
}

/* Botões Universais / CTA */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.1rem 2.8rem;
    background: var(--brand-green);
    color: var(--bg-deep);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(30, 214, 151, 0.3);
    border: 2px solid var(--brand-green);
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 214, 151, 0.5);
    background: #28FFB5;
}

.btn-outline {
    background: transparent;
    color: var(--brand-green);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(30, 214, 151, 0.1);
    color: var(--brand-green);
}


/* =====================================================
   RESPONSIVE SYSTEM — Mobile-First
   Breakpoints:
     xs  ≤ 480px   (small phones)
     sm  ≤ 640px   (phones landscape + large phones)
     md  ≤ 768px   (tablets portrait)
     lg  ≤ 1024px  (tablets landscape / small desktop)
   ===================================================== */

/* ── Base fluid tweaks (apply to all screens) ──────── */
h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.4rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
}

p {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.wsf-highlight h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

.finance-card .big-number {
    font-size: clamp(3.5rem, 12vw, 7rem);
}

/* Make the B2B table horizontally scrollable on any small screen */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.b2b-table {
    min-width: 560px;
}

/* ── ≤ 1024px (tablet landscape + small desktop) ─────────── */
@media (max-width: 1024px) {
    header {
        padding: 0.9rem 1.5rem;
        gap: 0.75rem;
    }

    nav {
        max-width: 100%;
        gap: 6px;
    }

    .tab-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
    }

    main {
        padding: 3rem 1.5rem;
    }

    /* Hero: stack content above the map */
    .hero {
        flex-direction: column;
        text-align: center;
        align-items: center;
        min-height: auto;
        gap: 2.5rem;
        padding-top: 1rem;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-visual {
        order: 2;
        width: 100%;
        max-width: 520px;
    }

    /* SVG map: cap size for tablet */
    .usa-bridge-svg {
        max-width: 480px !important;
    }

    .hero-badge {
        margin: 0 auto 1.5rem;
    }

    .slide-nav {
        justify-content: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    /* WSF highlight card */
    .wsf-highlight {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    /* Finance flow diagram */
    .flow-diagram {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    /* Grid: 2 columns max on tablet */
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2rem;
    }
}

/* ── ≤ 768px (tablet portrait / large phone) ─────────── */
@media (max-width: 768px) {

    /* Header: two rows — logo on top, nav below */
    header {
        flex-direction: column;
        padding: 0.75rem 1rem;
        gap: 0.6rem;
    }

    .logo {
        gap: 0;
    }

    .logo-mark {
        height: 36px;
    }

    .logo-text-container {
        display: none;
    }

    nav {
        max-width: 100%;
        width: 100%;
        padding-bottom: 4px;
        justify-content: flex-start;
    }

    .tab-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    main {
        padding: 2rem 1rem;
    }

    /* Hero */
    .hero {
        gap: 1.5rem;
        padding-top: 0;
    }

    .usa-bridge-svg {
        max-width: 100% !important;
    }

    .pitch-container {
        min-height: 200px;
    }

    /* Slide nav dots: smaller & wrap */
    .slide-nav {
        gap: 8px;
        flex-wrap: wrap;
    }

    .slide-dot {
        width: 28px;
    }

    /* CTAs: full width on mobile */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
        margin-top: 1.2rem;
    }

    .btn-cta {
        width: 100%;
        max-width: 320px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Cards */
    .card {
        padding: 1.5rem 1.2rem;
    }

    .card h3 {
        font-size: 1.15rem;
    }

    /* Grid → single column */
    .grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* WSF highlight */
    .wsf-highlight {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .wsf-icon {
        width: 90px;
        height: 90px;
    }

    /* Team grid → 1 or 2 columns */
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .team-member {
        padding: 2rem 1.5rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.8rem;
    }

    /* Finance */
    .finance-card {
        padding: 3rem 1.5rem;
    }

    .flow-diagram {
        padding: 1.5rem;
    }

    /* FAQ */
    .faq-question {
        padding: 1.2rem 1.2rem;
        font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.2rem 1.2rem;
    }

    /* SignWell */
    .signwell-container {
        height: 420px;
    }

    /* NCNDA */
    .ncnda-content {
        padding: 3rem 1rem;
    }

    /* Section headers */
    section.section h2 {
        font-size: clamp(1.3rem, 5vw, 2rem);
        margin-bottom: 1rem;
    }

    /* Hero badge font */
    .hero-badge {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
        padding: 0.4rem 1rem;
    }
}

/* ── ≤ 640px (large phones / landscape phones) ─────── */
@media (max-width: 640px) {
    header {
        padding: 0.65rem 0.85rem;
    }

    nav {
        gap: 4px;
    }

    .tab-btn {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
        letter-spacing: 0;
    }

    main {
        padding: 1.5rem 0.85rem;
    }

    .hero {
        gap: 1.2rem;
    }

    /* Map SVG: tight on phone, no overflow */
    .hero-visual {
        overflow: hidden;
    }

    .usa-bridge-svg {
        max-width: 100% !important;
        width: 100% !important;
    }

    .pitch-container {
        min-height: auto;
    }

    /* Cards stack with less space */
    .card {
        padding: 1.2rem 1rem;
        border-radius: 12px;
    }

    /* Glass card (Diretrizes da Parceria) */
    .glass-card {
        padding: 1.5rem 1.2rem;
    }

    .glass-card h3 {
        font-size: 1.2rem;
    }

    /* Timeline: already single-column via 900px rule — just tighten */
    .timeline-step {
        padding-left: 48px;
        margin-bottom: 2rem;
    }

    .step-number {
        font-size: 3rem;
    }

    /* B2B table font */
    .b2b-table {
        font-size: 0.88rem;
    }

    .b2b-table th,
    .b2b-table td {
        padding: 0.9rem 1rem;
    }

    /* Finance */
    .finance-card {
        padding: 2rem 1rem;
        border-radius: 12px;
    }

    .flow-diagram {
        padding: 1rem;
        border-radius: 10px;
    }

    .flow-step p {
        font-size: 0.85rem;
    }
}

/* ── ≤ 480px (small phones) ────────────────────────── */
@media (max-width: 480px) {
    header {
        padding: 0.55rem 0.75rem;
    }

    .logomark-img {
        height: 30px;
    }

    .tab-btn {
        padding: 0.3rem 0.55rem;
        font-size: 0.68rem;
        border-radius: 14px;
    }

    main {
        padding: 1.2rem 0.75rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        letter-spacing: 1px;
        padding: 0.35rem 0.85rem;
    }

    .slide-dot {
        width: 22px;
    }

    .btn-cta {
        max-width: 100%;
        font-size: 0.9rem;
        padding: 0.9rem 1.5rem;
    }

    .card {
        padding: 1rem 0.9rem;
        border-radius: 10px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member {
        padding: 1.5rem 1rem;
    }

    .team-avatar {
        width: 85px;
        height: 85px;
        font-size: 2.4rem;
    }

    .faq-question {
        font-size: 0.88rem;
        padding: 1rem;
    }

    .faq-icon {
        font-size: 1.2rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }

    /* SignWell */
    .signwell-container {
        height: 350px;
    }

    .ncnda-content {
        padding: 2rem 0.75rem;
    }

    /* WSF */
    .wsf-highlight {
        padding: 1.5rem 1rem;
    }

    .wsf-highlight h2 {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .wsf-icon {
        width: 72px;
        height: 72px;
    }

    /* Finance big number */
    .finance-card .big-number {
        font-size: clamp(3rem, 18vw, 5rem);
    }

    /* B2B table */
    .b2b-table {
        font-size: 0.8rem;
    }

    .b2b-table th,
    .b2b-table td {
        padding: 0.7rem 0.8rem;
    }
}

/* --- 5. AI CONCIERGE (STITCH PREMIUM) --- */
.ai-chat-fab {
    position: fixed;
    bottom: 24px;
    right: 100px;
    /* Ao lado do WhatsApp */
    z-index: 9999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #0B131A;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--brand-green);
    box-shadow: var(--neon-glow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-chat-fab i {
    color: #1ED697;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(30, 214, 151, 0.8);
    animation: aiBreathing 3s ease-in-out infinite;
}

.ai-chat-fab:hover {
    transform: scale(1.1);
    border-color: #00E5FF;
}

@keyframes aiBreathing {

    0%,
    100% {
        transform: scale(1);
        color: #1ED697;
        text-shadow: 0 0 10px rgba(30, 214, 151, 0.8);
    }

    50% {
        transform: scale(1.15);
        color: #00E5FF;
        text-shadow: 0 0 20px rgba(0, 229, 255, 0.9);
    }
}

.ai-chatbox {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 380px;
    height: 500px;
    max-height: calc(100vh - 120px);
    z-index: 9998;
    display: none;
    /* Inicia oculto */
    flex-direction: column;
    overflow: hidden;
    animation: chatSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chatSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

.ai-chat-header {
    background: rgba(30, 214, 151, 0.1);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--plasma-border);
}

.ai-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
}

.ai-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.ai-close-btn:hover {
    color: white;
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--plasma-border) transparent;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 4px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: var(--plasma-border);
    border-radius: 4px;
}

.ai-message {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.ai-message.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-bottom-left-radius: 2px;
}

.ai-message.user {
    align-self: flex-end;
    background: var(--brand-green);
    color: #0B131A;
    font-weight: 500;
    border-bottom-right-radius: 2px;
}

.ai-chat-input-area {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--glass-border);
}

.ai-chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: white;
    font-size: 0.9rem;
}

.ai-chat-input-area input:focus {
    outline: none;
    border-color: var(--brand-green);
}

.ai-chat-input-area button {
    background: var(--brand-green);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    color: #0B131A;
    cursor: pointer;
    transition: transform 0.2s;
}

.ai-chat-input-area button:hover {
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .ai-chatbox {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 90px;
    }

    .ai-chat-fab {
        right: 85px;
    }
}