/* Reset & Base Variables */
:root {
    --bg-primary: #020306;
    --bg-secondary: #080d1a;
    --bg-card: rgba(10, 17, 32, 0.75);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-active: rgba(59, 130, 246, 0.6);
    
    --color-blue-deep: #0b1c3d;
    --color-blue-accent: #3b82f6;
    --color-blue-glow: rgba(59, 130, 246, 0.3);
    --color-blue-light: #60a5fa;
    
    /* Contraste Máximo para Melhor Legibilidade (Público 40+) */
    --text-primary: #ffffff;
    --text-secondary: #f1f5f9;
    --text-muted: #94a3b8;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 14px;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8; /* Excelente espaçamento vertical para leitura confortável */
    font-size: 19px;   /* Fonte aumentada para público maduro */
    overflow-x: hidden;
    position: relative;
    padding: 3rem 1.5rem;
}

/* Fundo Estrelado Sutil */
.stars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px);
    background-size: 550px 550px, 350px 350px;
    background-position: 0 0, 40px 60px;
    opacity: 0.15;
    z-index: -1;
}

/* Container mais espaçado */
.container {
    max-width: 720px; /* Levemente mais largo para manter as linhas de texto legíveis */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3.5rem; /* Maior espaçamento entre as seções */
}

/* Card Espaçoso */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem; /* Padding generoso */
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

@media (max-width: 580px) {
    .card {
        padding: 2rem 1.5rem;
    }
}

/* Títulos Elegantes e Grandes */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.text-center {
    text-align: center;
}

/* SEÇÃO A: Cabeçalho / Hero */
.hero-section {
    text-align: center;
    padding: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 2rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--color-blue-accent), transparent);
    box-shadow: 0 0 30px var(--color-blue-glow);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #000;
}

.channel-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.channel-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Selo de Transparência Muito Visível */
.transparency-seal {
    display: flex;
    gap: 1.5rem;
    background: rgba(11, 28, 61, 0.4);
    border: 1px dashed rgba(59, 130, 246, 0.4);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    text-align: left;
    max-width: 100%;
    align-items: flex-start;
}

@media (max-width: 580px) {
    .transparency-seal {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.seal-icon {
    color: var(--color-blue-accent);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-icon svg {
    width: 32px;
    height: 32px;
}

.seal-text strong {
    font-size: 1.15rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.seal-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* SEÇÃO B: O Porquê */
.letter-content p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem; /* Parágrafos bem espaçados */
    font-size: 1.1rem;
}

.letter-content p:last-child {
    margin-bottom: 0;
}

/* Alterado para fonte sem serifa e sem itálico para máxima legibilidade */
.personal-quote {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-style: normal;
    color: var(--text-primary);
    border-left: 4px solid var(--color-blue-accent);
    padding-left: 1.75rem;
    margin: 2rem 0;
    line-height: 1.75;
    font-weight: 500; /* Destaque adequado */
}

/* SEÇÃO C: O Que É Permanente */
.section-promises {
    padding: 1rem 0;
    margin-top: 1.5rem;
}

.section-subtitle-small {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: -1rem;
    margin-bottom: 2.5rem;
}

.promises-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 580px) {
    .promises-grid {
        grid-template-columns: 1fr;
    }
}

.promise-card {
    background: rgba(8, 13, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.promise-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    background: rgba(10, 20, 40, 0.7);
}

.promise-icon {
    color: var(--color-blue-light);
    width: 30px;
    height: 30px;
    margin-bottom: 1.25rem;
}

.promise-icon svg {
    width: 100%;
    height: 100%;
}

.promise-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.promise-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* SEÇÃO D: Como Funciona o Apoio */
.support-tabs {
    display: flex;
    background: rgba(3, 7, 18, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 6px;
    margin-bottom: 2.5rem;
    width: 100%;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    padding: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:focus-visible {
    box-shadow: 0 0 0 3px var(--color-blue-accent);
}

.tab-btn.active {
    background: var(--color-blue-accent);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Mensagem de Aviso de Frequência (Alta Visibilidade) */
.frequency-warning {
    background: rgba(220, 38, 38, 0.2);
    border: 1.5px solid #ef4444;
    color: #ffffff;
    padding: 1.1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-body);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
    animation: slideDownIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.warning-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #f87171;
}

@keyframes slideDownIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito Pulsante para Guiar Seleção */
.pulse-highlight {
    animation: tab-flash 1.2s infinite ease-in-out;
    border: 1px solid rgba(59, 130, 246, 0.5) !important;
}

@keyframes tab-flash {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}



/* Seletor de valores (Tratado como Grid de Links de texto direto) */
.value-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 580px) {
    .value-selector {
        grid-template-columns: 1fr 1fr;
    }
}

a.value-btn {
    text-decoration: none; /* Sem sublinhado */
    background: rgba(3, 7, 18, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem; /* Padding confortável para apenas um valor */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
    font-size: 1.35rem; /* Fonte confortável */
    font-weight: 700;
}

a.value-btn:hover {
    border-color: var(--color-blue-accent);
    background: rgba(11, 28, 61, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
    color: var(--color-blue-light);
    transform: translateY(-2px);
}

a.value-btn:active {
    transform: translateY(0);
}

/* Toggle de Valores Maiores */
.toggle-larger-wrapper {
    margin: 2rem 0;
}

.toggle-larger-btn {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--color-blue-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.toggle-larger-btn:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.toggle-larger-btn .arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-larger-btn.active .arrow-icon {
    transform: rotate(180deg);
}

/* Painel de Valores Maiores Oculto / Expandível */
.larger-values-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0; /* Sem padding quando fechado para não criar espaço residual */
}

.larger-values-panel.open {
    max-height: 350px;
    opacity: 1;
    margin-bottom: 2rem;
    padding: 8px 0; /* Adiciona padding vertical para que o hover (translateY) não corte a borda azul e sombra no topo */
}

/* Detalhes de redirecionamento */
.redirect-info-container {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.redirect-hint {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Botões Robustos */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 35px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
    outline: none;
    width: 100%;
}

.btn-primary {
    background: var(--color-blue-accent);
    color: #ffffff;
    box-shadow: 0 5px 18px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 7px 25px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* SEÇÃO E: FAQ Accordion */
.section-faq {
    margin-top: 1.5rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.faq-item {
    background: rgba(10, 17, 32, 0.45);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 1.5rem 1.75rem;
    text-align: left;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-trigger:focus-visible {
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 0 0 1px var(--color-blue-accent);
}

.faq-icon-arrow {
    color: var(--text-muted);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon-arrow svg {
    width: 22px;
    height: 22px;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(3, 7, 18, 0.3);
}

.faq-content p {
    padding: 0 1.75rem 1.5rem 1.75rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* FAQ Aberto */
.faq-item.active {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(10, 17, 32, 0.65);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(180deg);
    color: var(--color-blue-light);
}

/* SEÇÃO F: Chamada Final */
.section-conclusion {
    border-left: 3px solid var(--color-blue-accent);
    border-right: 3px solid var(--color-blue-accent);
}

.conclusion-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.conclusion-signature {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: normal;
    font-weight: 500;
}

.scroll-to-btn {
    width: auto;
    display: inline-flex;
}

/* SEÇÃO G: Rodapé */
.footer {
    text-align: center;
    padding: 4rem 2rem 3rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
}

.footer-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.footer-legal {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: normal;
    max-width: 550px;
    margin-top: 0.75rem;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* Video Player Styling */
.video-container-wrapper {
    width: 100%;
    margin-bottom: 2rem;
}

.video-player-outer {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
    border-radius: var(--border-radius);
    overflow: hidden;
}

#youtube-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Click Blocker */
.video-click-blocker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: transparent;
    cursor: pointer;
}

/* Thumbnail Customizada (Capa Escura com Botão do YouTube) */
.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 7;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.95) 0%, rgba(3, 7, 18, 0.98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.video-thumbnail-overlay.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.btn-play-thumbnail {
    background: transparent;
    border: none;
    width: 68px;
    height: 48px;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-play-thumbnail:hover {
    transform: scale(1.18);
}

.btn-play-thumbnail svg {
    width: 68px;
    height: 48px;
}

/* Pause Message Overlay */
.video-overlay-msg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
    background: rgba(2, 3, 6, 0.88);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-overlay-msg.show {
    opacity: 1;
    pointer-events: auto;
}

.msg-content {
    text-align: center;
    padding: 2rem;
    max-width: 420px;
}

.msg-content p {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

/* Botão de Retomada Pulsante */
@keyframes button-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(59, 130, 246, 0);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
        transform: scale(1);
    }
}

.btn-play-overlay {
    background: var(--color-blue-accent);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
    font-family: var(--font-body);
    animation: button-pulse 1.8s infinite ease-in-out;
    transition: background-color 0.2s ease;
}

.btn-play-overlay:hover {
    background: #2563eb;
    animation: none; /* Pausa pulso no hover */
    transform: scale(1.05);
}

.btn-play-overlay svg {
    width: 20px;
    height: 20px;
}

/* Custom Video Controls Overlay */
.custom-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    z-index: 6;
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
}

.control-btn {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.control-btn:hover {
    color: var(--color-blue-light);
    transform: scale(1.1);
}

.control-btn svg {
    width: 28px;
    height: 28px;
}

/* Caixa de destaque de sustentação (Carta Aberta) */
.support-callout {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-left: 3px solid var(--color-blue-accent);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.support-callout p {
    font-size: 1.05rem !important;
    line-height: 1.75;
    margin-bottom: 1rem !important;
    color: var(--text-secondary);
}

.support-callout p:last-child {
    margin-bottom: 0 !important;
    font-weight: 500;
    color: var(--text-primary);
}

/* Foco de Acessibilidade */
button:focus-visible, a:focus-visible {
    outline: 2px solid var(--color-blue-accent);
    outline-offset: 4px;
}

/* Correções de Responsividade para Dispositivos Móveis e Telas Pequenas */
@media (max-width: 580px) {
    body {
        padding: 1.5rem 1rem; /* Reduz espaçamento externo em celulares */
    }
    
    .container {
        gap: 2.2rem; /* Reduz distanciamento vertical entre seções */
    }

    .channel-title {
        font-size: 2.3rem; /* Título principal redimensionado para caber sem quebras em celulares */
        letter-spacing: 0.5px;
    }
    
    .channel-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.85rem; /* Títulos de seções proporcionais em telas menores */
        margin-bottom: 1.25rem;
    }

    .faq-trigger {
        padding: 1.1rem 1.25rem; /* Padding reduzido nos triggers de FAQ */
        font-size: 1.05rem;
    }

    .faq-content p {
        padding: 0 1.25rem 1.1rem 1.25rem; /* Padding reduzido no conteúdo expandido */
        font-size: 0.98rem;
    }
    
    .personal-quote {
        font-size: 1.1rem;
        margin: 1.5rem 0;
        padding-left: 1.25rem;
    }
    
    .tab-btn {
        padding: 10px;
        font-size: 0.95rem; /* Botões de alternância mais compactos em celulares */
    }

    a.value-btn {
        padding: 1.25rem 0.5rem; /* Ajuste sutil na altura dos botões de valores */
        font-size: 1.2rem;
    }
    
    .footer {
        padding: 3rem 1.5rem 2rem 1.5rem;
    }
}
