/* --- OVERRIDES GERAIS (Padrão para páginas internas) --- */
body {
    overflow-y: auto !important;
    height: auto !important;
    display: block !important;
}

.bg-shape {
    position: fixed !important;
    bottom: -45vh;
    left: 25%;
    z-index: -1;
    opacity: 0.5; /* Deixei mais suave para não brigar com o banner */
}

/* Botão Voltar Flutuante */
.btn-back-floating {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 50; /* Fica em cima do banner */
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

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

.btn-back-floating svg { width: 18px; height: 18px; }

/* --- 1. Banner Hero 100% --- */
.project-banner {
    position: relative;
    width: 100%;
    height: 400px; /* Altura do banner */
    overflow: hidden;
    background-color: #000;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha tudo sem distorcer */
    /* Se a imagem for pixel art, descomente abaixo: */
    /* image-rendering: pixelated; */
}

/* Efeito escurecido sobre a imagem para o texto ler melhor */
.banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.banner-title {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 1200px;
}

.banner-title h1 {
    font-size: 3.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.banner-title p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
}

/* --- Container do Conteúdo --- */
.container-rayophone {
    width: 90%;
    max-width: 900px; /* Mais estreito para focar na leitura/vídeo */
    margin: 0 auto;
    padding: 60px 0 120px 0;
    position: relative;
    z-index: 10;
}

/* --- 2. Vídeo Section --- */
.section-title {
    font-size: 2rem;
    color: #111;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

/* O Segredo do Vídeo Responsivo (Aspect Ratio 16:9) */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: #000;
}

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

.video-description {
    margin-top: 20px;
    text-align: center;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- 3. Apoio Discreto --- */
.discreet-footer {
    margin-top: 80px;
    text-align: center;
    padding: 0 20px;
}

.divider {
    height: 1px;
    width: 100px;
    background-color: #ddd;
    margin: 0 auto 30px auto;
}

.discreet-footer p {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Botãozinho Discreto */
.btn-discrete {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f3f4f6;
    color: #555;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.btn-discrete:hover {
    background-color: #fff;
    border-color: #2563EB;
    color: #2563EB;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.btn-discrete svg {
    width: 16px;
    height: 16px;
    fill: none; /* Coração vazado */
    transition: fill 0.2s;
}

.btn-discrete:hover svg {
    fill: #2563EB; /* Coração preenche ao passar o mouse */
}

/* Responsividade do Banner */
@media (max-width: 768px) {
    .project-banner { height: 300px; }
    .banner-title h1 { font-size: 2.5rem; }
    .btn-back-floating { top: 20px; left: 20px; }
}