/* ==========================================================================
   INTERNAL.CSS - ESTILO PADRÃO PARA PÁGINAS INTERNAS DO CUANAHR
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

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

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0f1a 0%, #0a1a2a 50%, #0a0f1a 100%);
    font-family: 'Jost', sans-serif;
    color: #ffffff;
}

/* ==========================================================================
   FUNDO ANIMADO - MESMA BASE DO INDEX.HTML
   ========================================================================== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.animated-img {
    position: absolute;
    z-index: 2;
    will-change: transform;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    will-change: opacity;
}

/* Animações do fundo */
@keyframes twinkle {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

@keyframes rain-fall {
    from { transform: translateY(-250px); }
    to { transform: translateY(100vh); }
}

@keyframes rain-fall-ccw {
    from { transform: translateY(-250px) rotate(0deg); }
    to { transform: translateY(100vh) rotate(-720deg); }
}

@keyframes rain-fall-cw {
    from { transform: translateY(-250px) rotate(0deg); }
    to { transform: translateY(100vh) rotate(720deg); }
}

/* ==========================================================================
   HEADER FIXO COM BOTÕES SIMÉTRICOS - SEM CÍRCULOS
   ========================================================================== */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 14, 26, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    width: auto;
    height: auto;
}

.nav-btn i {
    font-size: 2.2rem;
    transition: all 0.3s;
}

/* Cor do ícone de voltar (Azul Navy + Dourado) */
.nav-btn i.ph-arrow-circle-left {
    color: #000080;
}
.nav-btn i.ph-arrow-circle-left::after {
    color: #ffd700;
}

.nav-btn:hover {
    transform: scale(1.05);
}

.nav-btn-placeholder {
    width: 44px;
    height: 44px;
    visibility: hidden;
}

.header-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(136, 179, 255, 0.3));
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL
   ========================================================================== */
.main-content {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.content-container {
    max-width: 1000px;
    width: 90%;
    background: rgba(15, 25, 45, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 56px;
    margin: 20px auto;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */
h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--page-color, #c9a03d);
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 2px;
}

h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--page-color, #88b3ff);
    margin: 32px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #d0d8ff;
    margin: 24px 0 12px 0;
}

p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(230, 235, 255, 0.85);
    margin-bottom: 20px;
    text-align: justify;
}

/* ==========================================================================
   ELEMENTOS ESPECIAIS
   ========================================================================== */
.highlight-box {
    background: rgba(0, 180, 255, 0.08);
    border-left: 3px solid var(--page-color, #88b3ff);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.highlight-box p {
    margin-bottom: 0;
    font-style: italic;
    color: #d0e0ff;
}

ul, ol {
    margin: 16px 0 20px 30px;
    color: rgba(230, 235, 255, 0.85);
    line-height: 1.7;
}

li {
    margin: 8px 0;
}

/* ==========================================================================
   VÍDEO
   ========================================================================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.tech-footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 40px;
    width: 100%;
}

.footer-line {
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--page-color, #c9a03d), transparent);
    margin: 0 auto 12px auto;
}

.tech-footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 4px 0;
    text-align: center;
}

/* ==========================================================================
   RESPONSIVIDADE & REDUÇÃO DE ESCALA (ZOOM MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    body {
        zoom: 0.8; /* Reduz todo o layout proporcionalmente para 80% */
    }
    
    .content-container {
        padding: 32px 24px;
        width: 95%; /* Garante aproveitamento do espaço após o zoom */
    }
    
    .page-header {
        padding: 16px 20px;
    }
    
    .header-logo {
        height: 45px;
    }
    
    .nav-btn i {
        font-size: 2rem;
    }
}