:root {
            --primary: #1976d2;
            --secondary: #0288d1;
            --bg-light: #f4f7f9;
            --card-bg: #ffffff;
            --text-color: #333333;
            --border-color: #e0e0e0;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-color);
            margin: 0;
            padding: 0;
            line-height: 1.6;
        }

        header {
position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
        }

        header h1 {
            margin: 0;
            font-size: 2.2rem;
        }

        header p {
            margin-top: 0.5rem;
            opacity: 0.9;
        }

		header .container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

        .section-title {
            color: var(--primary);
            border-bottom: 2px solid var(--primary);
            padding-bottom: 0.5rem;
            margin-top: 2.5rem;
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
            align-items: stretch; /* Força todos os cards da linha a terem a mesma altura */
        }
		/* CARROUSEL */
		/* Container que limita o tamanho e ativa a rolagem da direita para esquerda */
.carousel-container {
    background-color: #f1f5f9;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    overflow-x: auto; /* Permite rolar para os lados */
    overflow-y: hidden;
    scroll-snap-type: x mandatory; /* Efeito de 'trava' ao deslizar */
    scroll-behavior: smooth;
    white-space: nowrap;
}

/* Trilho alinhado centralmente */
.carousel-track {
    display: flex;
    gap: 1.5rem;
    align-items: center; /* Alinha o centro de todas as imagens na mesma linha */
}

/* Card individual da imagem */
.carousel-item {
    flex: 0 0 280px; /* Largura fixa para cada card */
    scroll-snap-align: center;
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* CORREÇÃO DO DESALINHAMENTO: Força todas as imagens a terem a mesma altura */
.carousel-item img {
    width: 100%;
    height: 480px; /* Altura padronizada para todas as telas */
    object-fit: contain; /* Mantém a proporção sem cortar ou esticar */
    border-radius: 8px;
    display: block;
}

.carousel-item span {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

/* Customização da barra de rolagem horizontal */
.carousel-container::-webkit-scrollbar {
    height: 8px;
}
.carousel-container::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}
.carousel-container::-webkit-scrollbar-thumb {
    background: #0288d1;
    border-radius: 10px;
}

        /* CARD COM ALINHAMENTO FLEXIBILIZADO */
        .card {
            background-color: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            border: 1px solid var(--border-color);
            padding: 1.2rem;
            display: flex;
            flex-direction: column; /* Organiza os elementos verticalmente */
            align-items: center;
            height: 100%; /* Ocupa 100% da altura da grid */
            box-sizing: border-box;
			transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

		.card:hover {
			transform: translateY(-4px);
			box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
		}

        .card h3 {
            margin-top: 0;
            color: var(--primary);
            text-align: center;
            width: 100%;
            min-height: 2.4rem; /* Garante altura uniforme dos títulos */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card p {
            font-size: 0.9rem;
            color: #555;
            margin-bottom: 1rem;
            width: 100%;
            min-height: 3.2rem; /* Uniformiza a área das descrições */
        }

        /* CONTAINER DA IMAGEM */
        .img-container {
            width: 100%;
            height: 280px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #f0f3f5;
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #eee;
            cursor: pointer;
            position: relative;
        }

        .img-container::after {
            /*content: '🔍 Clique para expandir';*/
            position: absolute;
            bottom: 12px;
            background: rgba(15, 23, 42, 0.75);
			backdrop-filter: blur(4px); /* Efeito translúcido desfocado */
            color: #ffffff;
            font-size: 0.75rem;
            padding: 5px 12px;
            border-radius: 20px;
            opacity: 0.8;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    		transition: all 0.2s ease-in-out;
        }

        .img-container:hover::after {
            opacity: 1;
        }

        .img-container img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.2s ease-in-out;
        }

        .img-container:hover img {
            transform: scale(1.02);
        }

        /* BOTÃO DOCUMENTAÇÃO - FIXADO NO RODAPÉ DO CARD */
        .btn-doc {
            margin-top: auto; /* EMPURRA O BOTÃO PARA O FUNDO DO CARD */
            background-color: #0288d1;
            color: white;
            border: none;
            padding: 0.65rem 1rem;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.85rem;
            transition: background 0.2s;
            width: 100%;
            text-align: center;
        }

        .btn-doc:hover {
            background-color: #01579b;
        }

        /* LIGHTBOX PARA IMAGEM */
        .modal-img {
            display: none;
            position: fixed;
            z-index: 1000;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            justify-content: center;
            align-items: center;
            cursor: zoom-out;
            padding: 1rem;
            box-sizing: border-box;
        }

        .modal-img img {
            max-width: 90%;
            max-height: 90vh;
            border-radius: 8px;
            object-fit: contain;
        }

        /* MODAL / FORM SOBREPOSTO DE DOCUMENTAÇÃO (COM SCROLLVIEW) */
        .modal-doc-overlay {
            display: none;
            position: fixed;
            z-index: 1050;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(3px);
            justify-content: center;
            align-items: center;
            padding: 1rem;
            box-sizing: border-box;
        }

        .modal-doc-content {
            background-color: #ffffff;
            width: 100%;
            max-width: 850px;
            max-height: 85vh;
            overflow-y: auto;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            position: relative;
        }

        .close-doc {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 1.8rem;
            font-weight: bold;
            color: #888;
            cursor: pointer;
        }

        .close-doc:hover {
            color: #000;
        }

        /* ESTILOS DA DOCUMENTAÇÃO TÉCNICA */
        .doc-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 0.5rem;
            flex-wrap: wrap;
        }

        .doc-header h2 {
            margin: 0;
            color: #1a202c;
            font-size: 1.4rem;
        }

        .tag-file {
            background-color: #eef2ff;
            color: #4f46e5;
            padding: 3px 8px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-family: monospace;
            border: 1px solid #c7d2fe;
        }

        .doc-sub {
            color: #4a5568;
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
        }

        .doc-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .doc-box {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 1rem;
        }

        .doc-box h4 {
            margin-top: 0;
            color: #2563eb;
            font-size: 1rem;
            margin-bottom: 0.8rem;
        }

        .doc-box ul {
            margin: 0;
            padding-left: 1.2rem;
            font-size: 0.88rem;
            color: #334155;
        }

        .doc-box li {
            margin-bottom: 0.5rem;
        }

        .doc-status-box {
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 1rem;
        }

        .doc-status-box h4 {
            margin-top: 0;
            color: #2563eb;
            font-size: 1rem;
            margin-bottom: 0.8rem;
        }

		.doc-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

        .badge-status {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: bold;
            margin-right: 5px;
        }

        .badge-registrado { background-color: #d1fae5; color: #065f46; }
        .badge-vendido { background-color: #e0f2fe; color: #0369a1; }
        .badge-doado { background-color: #fef3c7; color: #92400e; }
        .badge-roubado { background-color: #fee2e2; color: #991b1b; }

        .alert-box {
            background-color: #fff1f2;
            border-left: 4px solid #f43f5e;
            padding: 0.8rem 1rem;
            margin: 1rem 0;
            border-radius: 4px;
            font-size: 0.88rem;
            color: #881337;
        }

        footer {
            text-align: center;
            padding: 2rem;
            background-color: #e0e0e0;
            color: #666;
            margin-top: 3rem;
            font-size: 0.9rem;
        }

		/* Variables de Cores - Padrão Claro */
:root {
    /* Modo Escuro Padrão (Preto Puro) */
    --bg: #000000;
    --bg-card: #0a0f1d;
    --bg-header: rgba(0, 0, 0, 0.85);
    --text: #ffffff;
    --text-muted: #94a3b8;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-rgb: 37, 99, 235;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: rgba(0, 0, 0, 0.7);
    --radius-sm: 12px;
    --font: 'Plus Jakarta Sans', sans-serif;
  }

  [data-theme="light"] {
    /* Modo Claro (Branco Puro) */
    --bg: #ffffff;
    --bg-card: #f8fafc;
    --bg-header: rgba(255, 255, 255, 0.85);
    --text: #0f172a;
    --text-muted: #64748b;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: rgba(0, 0, 0, 0.04);
  }

  /* ── 2. Reset Global Básicos ─────────────────────────────────────── */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font);
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  }

/* Modificadores para Modo Escuro (Dark Mode) */
body.dark-mode {
    --bg-color: #0b0f17;
    --text-color: #f1f5f9;
    --header-bg: #0b0f17;
    --pill-bg: #1e293b;
    --pill-active-bg: #000000;
    --pill-active-text: #ffffff;
    --pill-text: #94a3b8;
    --card-bg: #1e293b;
    --border-color: #334155;
}

/* Aplicação Global das Cores */
body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    padding-top: 80px; /* Compensação para o Header Fixo não cobrir o conteúdo */
  }

/* Estrutura do Header */
.main-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
  }

  .logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .logo span { color: var(--primary); }

/* Menu estilo Pill/Cápsula (Imagem 1) */
.nav-pills {
    background-color: var(--pill-bg);
    padding: 4px;
    border-radius: 999px;
    display: flex;
    gap: 4px;
}
/* Navegação Pílula (Início, Manual, Privacidade) */
  .nav-pages {
    display: flex;
    gap: 8px;
    background: var(--border);
    padding: 4px;
    border-radius: var(--radius-sm);
  }

  .nav-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
  }

  .nav-link.active {
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 2px 8px var(--shadow);
  }

  /* Ações Direitas (Botão de Tema + Começar Grátis) */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .theme-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
  }

  .btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
  }

  /* Responsividade do Header */
  @media (max-width: 991px) {
    header .container {
      flex-direction: column;
      height: auto;
      padding: 16px;
      gap: 12px;
    }
  }

.pill-item {
    padding: 8px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--pill-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pill-item.active {
    background-color: var(--pill-active-bg);
    color: var(--pill-active-text);
}

.pill-item:hover:not(.active) {
    color: var(--text-color);
}

/* Botões da Direita */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-btn {
    background: var(--pill-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.theme-btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Container de largura total com respiro inferior */
.featured-banner-container {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem; /* Garante distância confortável até o fim da tela/página */
    box-sizing: border-box;
}

/* Card individual com margem interna homogênea (respiro de 24px) */
.featured-banner-item {
    width: 100%;
    background: #ffffff;
    padding: 24px;          /* Cria a margem exata e uniforme em volta de toda a imagem */
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

/* Imagem preenchendo o espaço interno respeitando os 24px de respiro */
.featured-banner-item img {
    width: 100%;
    height: auto;           /* Mantém a proporção exata sem cortar nem achatar */
    display: block;
    cursor: pointer;
    
    /* Cantos perfeitamente arredondados em 12px */
    border-radius: 12px;
    clip-path: inset(0 round 12px);
    
    transition: transform 0.2s ease;
}

.featured-banner-item img:hover {
    transform: scale(1.005);
}

.featured-banner-item span {
    display: block;
    margin-top: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
}

/* Correção de sobreposição para celular / telas menores */
@media (max-width: 0.05px) {
    /* Empurra o container principal para baixo da barra fixa */
    body,
    main,
    .container,
    .card-section {
        padding-top: 140px !important; /* Altura suficiente para ficar abaixo do menu */
    }

    /* Ajuste fino no espaçamento do banner no mobile */
    .featured-banner-container {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .featured-banner-item {
        padding: 12px;           /* Reduz a borda interna para aproveitar a tela pequena */
        border-radius: 12px;
    }

    .featured-banner-item img {
        border-radius: 8px;
        clip-path: inset(0 round 8px);
    }
}


.mockup-frame {
  border: 8px solid #1e293b;
  border-radius: 32px;
  background-color: #0f172a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.mockup-frame-v1 {
  border: 2px solid #1e293b;
  border-radius: 12px;
  background-color: #0f172a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}


/* Eliminar formato de visualizacao tripo em manual */
.doc-accordion {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.doc-accordion summary {
    padding: 10px 14px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    cursor: pointer;
    background: #f1f5f9;
    user-select: none;
    transition: background 0.2s;
}

.doc-accordion summary:hover {
    background: #e2e8f0;
}

.doc-accordion .accordion-body {
    padding: 12px 14px;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

.doc-accordion .accordion-body p {
    margin: 4px 0;
}