/* Importação de fontes Google */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Open+Sans:wght@400;700&display=swap');

/* Paleta de cores inspirada no céu estrelado */
:root {
    --cor-fundo: #1A1A3D;
    --cor-fundo-alt: #2A1B3D;
    --cor-estrela: #FFD700;
    --cor-mexicana: #D32F2F;
    --cor-texto: #FFFFFF;
}

body {
    background: linear-gradient(135deg, var(--cor-fundo) 60%, var(--cor-fundo-alt) 100%);
    color: var(--cor-texto);
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    box-sizing: border-box;
    /* Textura sutil para profundidade visual */
    background-image: url('../img/star-bg.webp');
    background-repeat: repeat;
    background-size: 400px 400px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    color: var(--cor-estrela);
    margin-top: 0;
}

/* Animação de fade-in para seções */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Animação de estrelas piscando */
.estrela-animada {
    animation: brilhoEstrela 2s infinite alternate;
}
@keyframes brilhoEstrela {
    from { opacity: 0.7; }
    to { opacity: 1; }
}

/* Botões estilizados */
.btn {
    background: var(--cor-estrela);
    color: var(--cor-texto);
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.btn:hover, .btn:focus {
    background: var(--cor-mexicana);
    color: var(--cor-texto);
    transform: scale(1.1);
}

/* Header e navegação */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 5vw 12px 5vw;
    background: linear-gradient(90deg, #18182f 80%, #2A1B3D 100%);
    background-color: #18182fcc;
    box-shadow: 0 2px 16px #0005;
    position: relative;
    z-index: 10;
    border-bottom: 2px solid #FFD70022;
}
.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--cor-estrela);
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #000;
}
.logo img {
    display: inline-block;
    height: 48px;
    width: auto;
    vertical-align: middle;
    margin-right: 12px;
}
.nav-desktop ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-desktop a {
    color: var(--cor-texto);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}
.nav-desktop a:hover {
    color: var(--cor-estrela);
}

/* Menu móvel */
.btn-menu-mobile {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 21;
}
.btn-menu-mobile span {
    display: block;
    width: 28px;
    height: 4px;
    background: var(--cor-estrela);
    border-radius: 2px;
    transition: 0.3s;
}
.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,26,61,0.7);
    z-index: 20;
}
.menu-overlay.ativo {
    display: block;
}
.nav-mobile {
    display: none;
    position: fixed;
    top: 0; right: 0;
    width: 70vw;
    max-width: 320px;
    height: 100vh;
    background: var(--cor-fundo-alt);
    box-shadow: -2px 0 16px rgba(0,0,0,0.4);
    z-index: 22;
    padding: 48px 24px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}
.nav-mobile.aberto {
    display: block;
    transform: translateX(0);
}
.nav-mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.nav-mobile a {
    color: var(--cor-texto);
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 700;
}

/* Hero */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 64px 5vw 48px 5vw;
    overflow: hidden;
}
/* ---------- HERO: Estrelas animadas e overlay ---------- */
.hero-bg {
    background: linear-gradient(135deg, #1A1A3D 60%, #2A1B3D 100%);
    opacity: 0.95;
    overflow: hidden;
}
.hero-bg::before, .hero-bg::after {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    pointer-events: none;
}
.hero-bg::before {
    /* Camada de estrelas pequenas */
    background: url('../img/star-bg.webp'), radial-gradient(circle at 20% 30%, #FFD70044 0, transparent 70%), radial-gradient(circle at 80% 70%, #FFD70033 0, transparent 80%);
    opacity: 0.5;
    z-index: 2;
}
.hero-bg::after {
    /* Camada de estrelas maiores (CSS) */
    background-image: repeating-radial-gradient(circle at 60% 20%, #FFD700 0 1px, transparent 2px 100px), repeating-radial-gradient(circle at 30% 80%, #FFD70099 0 2px, transparent 3px 120px);
    opacity: 0.3;
    z-index: 3;
}
.hero-bg img {
    position: absolute;
    pointer-events: none;
    user-select: none;
    max-width: 100%;
    max-height: 100%;
}
.hero-conteudo {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero .descricao {
    font-size: 1.3rem;
    margin: 24px 0 16px 0;
    color: #fff;
}
.hero .aviso-18 {
    font-size: 1rem;
    color: #FFD700;
    margin-bottom: 24px;
}

/* Footer */
.footer {
    background: #18182f;
    color: #fff;
    text-align: center;
    padding: 32px 5vw 16px 5vw;
    font-size: 1rem;
    margin-top: 48px;
}
.footer-links, .footer-contato, .footer-icones, .footer-copy {
    margin-bottom: 12px;
}
.footer-links a {
    color: #FFD700;
    text-decoration: none;
    margin: 0 6px;
}
.footer-links a:hover {
    color: #D32F2F;
}
.footer-icones img {
    margin: 0 8px;
    filter: drop-shadow(0 2px 4px #000);
    border-radius: 50%;
    background: #fff;
}
.footer-copy {
    color: #FFD700;
    font-size: 1rem;
}

/* Pop-up 18+ */
.popup-idade {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #2A1B3D;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 1001;
    padding: 32px 24px;
    max-width: 90vw;
    width: 350px;
    text-align: center;
    animation: fadeIn 0.5s;
}
.popup-conteudo h2 {
    color: #FFD700;
    margin-bottom: 16px;
}
.popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,26,61,0.8);
    z-index: 1000;
}

/* Banner cookies */
.banner-cookies {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #2A1B3D;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    padding: 18px 32px 18px 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 1rem;
    max-width: 95vw;
}
.banner-cookies a {
    color: #FFD700;
    text-decoration: underline;
}
.botoes-cookies {
    display: flex;
    gap: 12px;
}

/* ---------- SEÇÕES: Blocos decorativos ---------- */
section {
    background: rgba(34, 24, 60, 0.85);
    border-radius: 18px;
    box-shadow: 0 6px 32px #0004, 0 1.5px 6px #FFD70022;
    margin: 48px auto;
    padding: 40px 6vw 32px 6vw;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #FFD70055;
    border-bottom: 3px solid #FFD70033;
}
section:not(:first-child) {
    margin-top: 32px;
}
section h2 {
    margin-bottom: 18px;
    font-size: 2.2rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #000;
}

/* Divisor decorativo entre секциями */
section + section::before {
    content: '';
    display: block;
    width: 120px;
    height: 16px;
    margin: 0 auto 24px auto;
    background: repeating-linear-gradient(90deg, #FFD700 0 12px, transparent 12px 24px);
    opacity: 0.4;
    border-radius: 8px;
}

/* ---------- LISTAS: Ícones personalizados ---------- */
ul, .faq-list {
    list-style: none;
    padding: 0;
}
ul li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 14px;
    font-size: 1.08rem;
}
ul li::before {
    content: '\2605'; /* Estrela Unicode */
    position: absolute;
    left: 0; top: 2px;
    color: #FFD700;
    font-size: 1.2em;
    text-shadow: 0 1px 4px #0008;
}

/* ---------- FAQ: Estilo de acordeão ---------- */
.faq-list .faq-item {
    background: #22183c;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px #0002;
    padding: 18px 24px 18px 48px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    border-left: 4px solid #FFD70088;
}
.faq-list .faq-item:hover {
    background: #2A1B3D;
    box-shadow: 0 4px 24px #FFD70022;
}
.faq-list .faq-item::before {
    content: '\1F389'; /* Emoji confete */
    position: absolute;
    left: 16px; top: 18px;
    font-size: 1.2em;
    color: #FFD700;
}

/* ---------- FOOTER: Linha decorativa e иконки ---------- */
.footer {
    border-top: 4px solid #FFD70033;
    box-shadow: 0 -2px 16px #0003;
    background: linear-gradient(180deg, #18182f 80%, #2A1B3D 100%);
    position: relative;
    padding-top: 40px;
    padding-bottom: 24px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto 24px auto;
    padding: 0 5vw;
}
.footer-col {
    flex: 1 1 220px;
    min-width: 180px;
    margin-bottom: 16px;
}
.footer-col h3 {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 8px;
    font-size: 1rem;
}
.footer-col ul li a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: #D32F2F;
}
.footer-contato {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 10px;
}
.footer-contato a {
    color: #FFD700;
    text-decoration: underline;
}
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}
.footer-social a {
    display: inline-block;
   
  
    box-shadow: 0 2px 8px #FFD70033;
    padding: 4px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.footer-social a:hover {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 4px 16px #FFD70077;
}
.footer-copy {
    color: #FFD700;
    font-size: 1rem;
    margin-top: 16px;
    letter-spacing: 1px;
}
.footer-decor {
    width: 100%;
    height: 18px;
    background: repeating-linear-gradient(90deg, #FFD700 0 16px, transparent 16px 32px);
    opacity: 0.18;
    margin-bottom: 24px;
    border-radius: 8px;
}

/* Glow e animação para botão principal */
.btn {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px 0 #FFD70044, 0 1.5px 6px #0006;
}
.btn::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 120%; height: 120%;
    background: radial-gradient(circle, #FFD70055 0%, transparent 70%);
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.7);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 0;
    pointer-events: none;
}
.btn:hover::after, .btn:focus::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ---------- ANIMAÇÕES GERAIS ---------- */
section, .footer, .header, .btn, .faq-list .faq-item {
    transition: box-shadow 0.3s, background 0.3s, border 0.3s, color 0.3s;
}

/* ---------- RESPONSIVIDADE AVANÇADA ---------- */
@media (max-width: 900px) {
    section { padding: 32px 3vw 24px 3vw; }
    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    body { font-size: 15px; }
    .nav-desktop { display: none; }
    .btn-menu-mobile { display: flex; }
    .footer-content { flex-direction: column; gap: 12px; padding: 0 2vw; }
    .footer-col { min-width: 0; }
}
@media (max-width: 600px) {
    section { padding: 18px 2vw 12px 2vw; }
    h1 { font-size: 32px; }
    h2 { font-size: 24px; }
    body { font-size: 14px; }
    .header { flex-direction: column; padding: 16px 2vw 8px 2vw; }
    .logo { font-size: 1.3rem; }
    .hero { padding: 32px 2vw 24px 2vw; }
    .footer { padding: 24px 2vw 8px 2vw; font-size: 0.95rem; }
    .banner-cookies { flex-direction: column; align-items: flex-start; padding: 16px 12px; font-size: 0.95rem; }
}
@media (min-width: 901px) {
    .nav-mobile, .menu-overlay { display: none !important; }
} 