# henqtechnologies/projeto_trilha2027_site architecture

> Architecture diagram of the GitHub repository henqtechnologies/projeto_trilha2027_site, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/henqtechnologies/projeto_trilha2027_site
- Repository: https://github.com/henqtechnologies/projeto_trilha2027_site

## Overview

Trilha2027 is a static sales landing page for a study-method ebook. Visitors review the method and book details, then use a CTA to begin checkout; the page forwards eligible URL parameters and records checkout-related events. The sampled JavaScript also renders interactive study content and handles page behavior. Other HTML pages and asset directories are present, but their detailed roles and links are not shown in the excerpts, so they are represented only where the repository tree or README supports them.

Main entry points: [`js/main.js`](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js) (Page behavior), [`index.html`](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/index.html) (Landing page), [`captura.html`](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/captura.html) (Capture page), [`obrigado.html`](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/obrigado.html) (Thank-you page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_presentation["Site pages"]
  node_landing["Landing page<br/>[index.html]"]
  node_capture["Capture page<br/>[captura.html]"]
  node_thanks["Thank-you page<br/>[obrigado.html]"]
  node_privacy["Privacy page<br/>[privacidade.html]"]
  node_terms["Terms page<br/>[termos.html]"]
  node_styling["Visual styling<br/>[style.css]"]
end

subgraph group_interaction["Page interactions"]
  node_app["Page behavior<br/>[main.js]"]
  node_method["Study method tabs<br/>[main.js]"]
  node_schedule["Study schedule<br/>[main.js]"]
  node_chapters["Chapter summaries<br/>[main.js]"]
  node_faq["FAQ content<br/>[main.js]"]
end

subgraph group_conversion["Checkout and analytics"]
  node_checkout["Checkout platform"]
  node_tracking["Analytics tags"]
end

subgraph group_media["Project assets"]
  node_logos["Brand assets"]
  node_images["Promotional images"]
  node_creatives["Ad creatives"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_landing
node_app -->|"updates"| node_landing
node_app -->|"renders"| node_method
node_app -->|"renders"| node_schedule
node_app -->|"renders"| node_chapters
node_visitor -.->|"uses"| node_method
node_visitor -.->|"uses"| node_schedule
node_visitor -.->|"reads"| node_faq
node_landing -.->|"uses"| node_styling
node_landing -.->|"displays"| node_logos
node_landing -.->|"displays"| node_images
node_landing -.->|"displays"| node_creatives
node_visitor -.->|"opens"| node_capture
node_visitor -.->|"opens"| node_thanks
node_visitor -.->|"opens"| node_privacy
node_visitor -.->|"opens"| node_terms
node_app -->|"builds checkout links"| node_checkout
node_visitor -.->|"starts checkout"| node_checkout
node_app -->|"sends events"| node_tracking

click node_landing "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/index.html"
click node_capture "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/captura.html"
click node_thanks "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/obrigado.html"
click node_privacy "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/privacidade.html"
click node_terms "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/termos.html"
click node_styling "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/css/style.css"
click node_app "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js"
click node_method "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js"
click node_schedule "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js"
click node_chapters "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js"
click node_faq "https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js"
click node_logos "https://github.com/henqtechnologies/projeto_trilha2027_site/tree/main/assets/logo"
click node_images "https://github.com/henqtechnologies/projeto_trilha2027_site/tree/main/assets/images"
click node_creatives "https://github.com/henqtechnologies/projeto_trilha2027_site/tree/main/assets/criativos"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_landing,node_capture,node_thanks,node_privacy,node_terms,node_styling toneBlue
class node_app,node_method,node_schedule,node_chapters,node_faq toneAmber
class node_checkout,node_tracking toneMint
class node_logos,node_images,node_creatives toneRose
class node_visitor toneIndigo
```

## Components

### Site pages

- [Landing page](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/index.html): `index.html`
- [Capture page](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/captura.html): `captura.html`
- [Thank-you page](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/obrigado.html): `obrigado.html`
- [Privacy page](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/privacidade.html): `privacidade.html`
- [Terms page](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/termos.html): `termos.html`
- [Visual styling](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/css/style.css): `css/style.css`

### Page interactions

- [Page behavior](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js): `js/main.js`
- [Study method tabs](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js): `js/main.js`
- [Study schedule](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js): `js/main.js`
- [Chapter summaries](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js): `js/main.js`
- [FAQ content](https://github.com/henqtechnologies/projeto_trilha2027_site/blob/main/js/main.js): `js/main.js`

### Checkout and analytics

- **Checkout platform**
- **Analytics tags**

### Project assets

- [Brand assets](https://github.com/henqtechnologies/projeto_trilha2027_site/tree/main/assets/logo): `assets/logo`
- [Promotional images](https://github.com/henqtechnologies/projeto_trilha2027_site/tree/main/assets/images): `assets/images`
- [Ad creatives](https://github.com/henqtechnologies/projeto_trilha2027_site/tree/main/assets/criativos): `assets/criativos`

### Other components

- **Visitor**

## Connections

- Visitor → Landing page: opens (evidence: `README.md`)
- Page behavior → Landing page: updates (evidence: `js/main.js`)
- Page behavior → Study method tabs: renders (evidence: `js/main.js`)
- Page behavior → Study schedule: renders (evidence: `js/main.js`)
- Page behavior → Chapter summaries: renders (evidence: `js/main.js`)
- Visitor → Study method tabs: uses
- Visitor → Study schedule: uses
- Visitor → FAQ content: reads
- Landing page → Visual styling: uses
- Landing page → Brand assets: displays
- Landing page → Promotional images: displays
- Landing page → Ad creatives: displays
- Visitor → Capture page: opens
- Visitor → Thank-you page: opens
- Visitor → Privacy page: opens
- Visitor → Terms page: opens
- Page behavior → Checkout platform: builds checkout links (evidence: `js/main.js`)
- Visitor → Checkout platform: starts checkout
- Page behavior → Analytics tags: sends events (evidence: `README.md`)
