/* A importação foi removida para corrigir erro do console */

:root {
    --bg-dark: #0c0c0c;
    --bg-light: #ffffff;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #b0b0b0;
    --text-muted-light: #555;
    --accent-blue: #0078d4;
    --accent-blue-hover: #1085e4;
    --ricardo-blue: rgb(28, 94, 206);
    --border-color: #333;
    --border-color-light: #e0e0e0;
    --card-bg-grid: #2a6db4;
    --card-border-grid: #3b82f6;
    --card-bg-nav: #202020;
    --yellow-tag: #f0e059;
    --font-family: 'segoe-vf', 'Segoe UI', system-ui, sans-serif;
    --transition-speed: 0.4s;
    --grad-1: #3b82f6;
    --grad-2: #4f46e5;
}

/* --- Base e Estrutura Global --- */
html, body {
    height: 100%; margin: 0; overflow: hidden; 
}
body {
    background-color: var(--bg-dark); color: var(--text-light); font-family: var(--font-family);
    display: flex; flex-direction: column;
}
main.container {
    flex: 1; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 2rem 5rem 3rem; 
    box-sizing: border-box; min-height: 0; 
}

/* --- Layouts de Conteúdo --- */
.content-centered {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; width: 100%;
}
.content-centered > .main-content { 
   flex-grow: 0; margin-bottom: 2rem;
}
.content-split {
    display: flex; justify-content: space-between; gap: 4rem;
    align-items: center; width: 100%;
}
.text-container {
    flex-basis: 35%; max-width: 450px; display: flex; flex-direction: column;
}
.main-content { 
    /* Bloco padrão */
}
.media-container {
    flex-basis: 65%; display: flex; align-items: center; justify-content: center;
}
.media-image {
    max-width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- Componentes Tipográficos --- */
h1 {
    font-family: var(--font-family); font-weight: 600; font-size: 4.5rem;
    line-height: 1.1; margin: 1.5rem 0; white-space: nowrap;
    background: linear-gradient(to right, #0D3B4C, #A9CCE3, #ffffff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; text-fill-color: transparent;
}
h2 {
    font-family: var(--font-family); font-weight: 400; font-size: 42px;
    line-height: 42px; color: rgb(255, 255, 255); margin: 0;
}
p {
    font-family: var(--font-family); font-weight: 400; font-size: 14px;
    line-height: 19px; color: rgb(255, 255, 255); margin-top: 1rem;
}
.secondary-description {
    font-size: 13px; color: var(--text-muted); margin-top: 0.5rem; margin-bottom: 1.5rem;
}
.tag-novo {
    font-family: var(--font-family); font-weight: 600; font-size: 13px;
    background-color: var(--yellow-tag); color: #000; padding: 5px 10px;
    border-radius: 4px; display: inline-block; margin-bottom: 1.5rem;
    align-self: flex-start; width: fit-content;
}
.icon-wrapper {
    width: 64px; height: 64px; background-color: white; color: var(--accent-blue);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* --- Estilos Específicos da Página Final (TÍTULO CORRIGIDO) --- */
.final-title { /* Para o H2 da pagina-7 */
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 4.5rem; /* AUMENTADO para igualar H1 */
    line-height: 1.1; /* Ajustado */
    margin: 1.5rem 0;
    white-space: nowrap; /* Garante linha única */

    /* Efeito de Gradiente (COPIADO DO H1) */
    background: linear-gradient(to right, #0D3B4C, #A9CCE3, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.final-description { /* Para o P principal da pagina-7 */
    font-size: 15px;
    line-height: 21px;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

/* --- Botões --- */
.btn {
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
    transition: background-color 0.3s; font-family: var(--font-family);
    box-sizing: border-box;
}
.navigation-buttons { 
    display: flex; gap: 8px; margin-top: 3rem;
}
.btn-nav {
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px; border-radius: 4px; background-color: var(--card-bg-nav);
    border: 1px solid var(--border-color); color: var(--text-light);
    font-weight: 600; font-size: 14px;
}
.btn-nav.btn-primary {
    padding: 0 24px; background-color: var(--accent-blue); border-color: var(--accent-blue);
}
.btn-nav:not(.btn-primary) { width: 48px; padding: 0; }
.btn-nav svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* --- PÁGINA 4: Sistema de Transição --- */
.page-section {
    display: flex; position: absolute; top: 2rem; left: 5rem; right: 5rem; bottom: 0;
    gap: 4rem; align-items: center; opacity: 1; transform: translateY(0);
    transition: opacity var(--transition-speed) ease-in-out, transform var(--transition-speed) ease-in-out;
}
.page-section:not(.active) { opacity: 0; transform: translateY(20px); pointer-events: none; }
.page-section.exiting { transform: translateY(-20px); opacity: 0; }

/* --- PÁGINA 4: Grade de Cards (COM ANIMAÇÃO) --- */
@keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.card-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
    width: 100%; max-width: 800px;
}
.feature-card {
    border: 2px solid transparent; border-radius: 12px; text-align: center; cursor: pointer;
    transition: all 0.2s ease-in-out; padding: 1.2rem; color: white;
    background: linear-gradient(to right, var(--grad-1), var(--grad-2), var(--grad-1));
    background-size: 200% 200%; animation: gradient-animation 15s ease infinite;
}
.feature-card:hover { transform: scale(1.05); border-color: #a8d4ff; animation-play-state: paused; }
.card-image-wrapper { border-radius: 8px; margin-bottom: 1rem; overflow: hidden; }
.feature-card img { width: 100%; display: block; background-color: var(--bg-dark); }
.feature-card span { font-weight: 600; font-size: 14px; }

/* --- PÁGINA 4: Overlay de Vidro --- */
#detail-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
    z-index: 5;
}
#detail-overlay.active { opacity: 1; visibility: visible; }

/* --- PÁGINA 4: Visão de Detalhes --- */
#detail-view { z-index: 6; }
#detail-view .text-container, #detail-view .media-container {
     background-color: var(--bg-light); padding: 2rem; border-radius: 12px;
     box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
#detail-view .text-container { padding-right: 4rem; }
#detail-view.theme-light h2,
#detail-view.theme-light p { color: var(--text-dark); }
#detail-view.theme-light p { color: var(--text-muted-light); }
.close-detail-btn {
    position: absolute; top: 1rem; right: 1rem;
    background: #e0e0e0; border: 1px solid #ccc; color: #555;
    width: 32px; height: 32px; border-radius: 50%; font-size: 24px;
    line-height: 1; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
}
.close-detail-btn:hover { background-color: #d0d0d0; }

/* --- PÁGINA 7: Layout Final --- */
.action-cards-container {
    display: flex; gap: 1.5rem; margin-top: 2rem;
    width: 100%; max-width: 1100px;
}
.action-card {
    flex: 1; background-color: var(--card-bg-nav); border: 1px solid var(--border-color);
    border-radius: 8px; padding: 1.5rem; text-align: left;
    display: flex; flex-direction: column;
}
.action-card h3 { margin: 0 0 0.5rem; font-size: 1.2rem; font-weight: 600; color: var(--text-light); }
.action-card p { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin-top: 0.5rem; }
.action-card .btn {
    margin-top: auto; padding: 0; height: 48px; border-radius: 4px;
    background-color: var(--accent-blue); color: white; text-align: center;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14px; width: 100%;
}
.action-card .btn:hover { background-color: var(--accent-blue-hover); }

/* --- PÁGINA 7: QR Code --- */
.header-icon-container {
    position: absolute; top: 2rem; right: 2.5rem; z-index: 20;
}
.header-icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background-color 0.3s;
    position: relative; background-color: #fff; color: #000; border: 1px solid #fff;
}
.header-icon:hover { background-color: #eee; }
.qr-arrow {
    position: absolute; left: -18px; top: 50%; transform: translateY(-50%);
    font-size: 24px; font-weight: bold; color: #fff;
}
.qr-popup {
    position: absolute; top: 50px; right: 0; background-color: #fff;
    padding: 15px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateY(-10px) scale(0.95); opacity: 0; visibility: hidden;
    transition: all 0.3s ease; color: #000; text-align: center; z-index: 19;
}
.qr-popup.visible { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.qr-popup img { width: 150px; height: 150px; display: block; }
.qr-popup p { font-size: 12px; margin-top: 5px; color: var(--text-dark); margin-top: 0.5rem; }

/* --- Rodapés --- */
.sub-footer {
    width: 100%; padding: 0.8rem 2rem; display: flex;
    justify-content: space-between; align-items: center;
    box-sizing: border-box; font-size: 13px; flex-shrink: 0;
}
.sub-footer-left, .sub-footer-center, .sub-footer-right { display: flex; align-items: center; flex: 1; }
.sub-footer-left { justify-content: flex-start; gap: 10px; }
.sub-footer-left span { font-size: 14px; }
.sub-footer-logo { width: 20px; }
.sub-footer-center { justify-content: center; gap: 15px; color: var(--text-muted); }
.progress-dots { display: flex; gap: 10px; }
.dot { width: 30px; height: 3px; background-color: var(--border-color); border-radius: 2px; }
.dot.active { background-color: var(--text-light); }
.sub-footer-right { justify-content: flex-end; color: var(--text-muted); }

.main-footer {
    width: 100%; padding: 0.5rem 2rem; background-color: #000;
    border-top: 1px solid var(--border-color); box-sizing: border-box;
    flex-shrink: 0; text-align: center; font-size: 12px; color: var(--text-muted);
}

/* --- Estilo para texto em negrito --- */
strong, b {
    font-weight: 600;
    color: inherit;
}