/* Eternos do Sertanejo — tema "luz de vela": fundo escuro, ouro velho e serifa clássica.
   Carregado em todas as páginas do site (pode ser desligado em Eternos › Configurações). */
:root {
	--t-fundo: #120e0b;
	--t-fundo2: #1b1511;
	--t-cartao: #201914;
	--t-linha: #3b2f24;
	--t-ouro: #c9a45c;
	--t-ouro-claro: #e6c98a;
	--t-texto: #ece3d3;
	--t-suave: #a8987f;
	--t-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

/* Fundo geral com brilho de vela no topo */
html body {
	background-color: var(--t-fundo) !important;
	background-image:
		radial-gradient(ellipse 70% 45% at 50% -5%, rgba(201,164,92,.16), transparent 70%),
		radial-gradient(ellipse 120% 80% at 50% 120%, rgba(0,0,0,.55), transparent 60%) !important;
	background-attachment: fixed !important;
	color: var(--t-texto) !important;
}
body, body p, body li, body td { color: var(--t-texto); }
body a { color: var(--t-ouro-claro); }
body a:hover, body a:focus { color: #fff; }
body h1, body h2, body h3, body h4, body .entry-title, body .entry-title a, body .site-title a {
	font-family: var(--t-serif) !important;
	color: var(--t-ouro-claro) !important;
	font-weight: 600 !important;
	letter-spacing: .01em;
}
body h1, body .entry-title { font-size: clamp(2.1rem, 4vw, 3rem) !important; line-height: 1.1 !important; }
body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem) !important; }
::selection { background: var(--t-ouro); color: #120e0b; }

/* Caixas brancas do Astra viram transparentes */
body .site-content, body #content, body .ast-container,
body.ast-separate-container .ast-article-single, body.ast-separate-container .ast-article-post,
body.ast-separate-container .comments-area, body .ast-plain-container, body .ast-page-builder-template,
body .entry-content, body article, body .ast-separate-container #primary {
	background: transparent !important;
	color: var(--t-texto);
}
body.ast-separate-container .ast-article-single { padding-top: 1.5rem !important; }

/* Cabeçalho */
body .site-header, body .main-header-bar, body .ast-primary-header-bar, body .ast-mobile-header-wrap .ast-primary-header-bar,
body #ast-desktop-header, body .ast-above-header-bar, body .ast-below-header-bar {
	background: rgba(14,11,8,.92) !important;
	border-bottom: 1px solid rgba(201,164,92,.35) !important;
	box-shadow: none !important;
}
body .site-title a { font-size: 1.7rem !important; }
body .site-title a::before { content: "🕯 "; font-size: .8em; }
body .site-description { color: var(--t-suave) !important; }
body .main-header-menu .menu-link, body .ast-header-custom-item a, body .main-navigation a,
body .ast-builder-menu .menu-item > .menu-link {
	color: var(--t-texto) !important;
	font-weight: 500;
	letter-spacing: .03em;
}
body .main-header-menu .menu-item:hover > .menu-link, body .main-header-menu .current-menu-item > .menu-link,
body .ast-builder-menu .current-menu-item > .menu-link {
	color: var(--t-ouro-claro) !important;
}
body .main-header-menu .sub-menu, body .ast-mobile-popup-drawer .ast-mobile-popup-inner, body .ast-mobile-header-content,
body .ast-header-break-point .main-header-menu {
	background: var(--t-fundo2) !important;
}
body .menu-toggle, body .ast-mobile-menu-trigger-minimal { color: var(--t-ouro) !important; background: transparent !important; }
body .ast-mobile-svg, body .menu-toggle svg { fill: var(--t-ouro) !important; }

/* Rodapé */
body .site-footer, body .ast-small-footer, body .site-below-footer-wrap, body .site-primary-footer-wrap, body .site-above-footer-wrap,
body .ast-footer-copyright, body footer.site-footer * {
	background: #0c0907 !important;
	color: var(--t-suave) !important;
	border-color: var(--t-linha) !important;
}
body .site-footer a { color: var(--t-ouro) !important; }

/* Esconde autor/data nas páginas de ídolo e o título repetido da home */
body.single-eternos_idolo .entry-meta, body.single-eternos_idolo .ast-single-post-order .entry-meta,
body.single-eternos_idolo .post-thumb-img-content, body.single-eternos_idolo .ast-single-post-featured-section,
body.single-eternos_idolo .post-navigation, body.home .entry-header, body.page .ast-archive-description { display: none !important; }
body.single-eternos_idolo .entry-header { text-align: center; margin-bottom: .5rem !important; }

/* Formulários, botões e campos */
body input[type="text"], body input[type="email"], body input[type="url"], body input[type="tel"], body input[type="date"],
body input[type="search"], body input[type="file"], body textarea, body select {
	background: #0f0c09 !important;
	color: var(--t-texto) !important;
	border: 1px solid var(--t-linha) !important;
}
body input::placeholder, body textarea::placeholder { color: #6f6253 !important; }
body button, body .button, body input[type="submit"], body .wp-block-button__link, body .eternos-botao {
	background: linear-gradient(180deg, #d8b46a, #b18a43) !important;
	color: #1a130c !important;
	border: 0 !important;
	font-weight: 700 !important;
	letter-spacing: .02em;
}
body button:hover, body .eternos-botao:hover { filter: brightness(1.08); }

/* Componentes do plugin no modo escuro */
.eternos {
	--e-couro: var(--t-ouro-claro);
	--e-couro-esc: var(--t-ouro-claro);
	--e-ouro: var(--t-ouro);
	--e-creme: var(--t-cartao);
	--e-linha: var(--t-linha);
	--e-texto: var(--t-texto);
	--e-suave: var(--t-suave);
}
.eternos-card, .eternos-produto, .eternos-produto-img, .eternos-termos, .eternos-tipos label,
.eternos-form input, .eternos-form textarea { background: #15110d !important; }
.eternos-card, .eternos-produto, .eternos-form, .eternos-datas-lista, .eternos-ficha, .eternos-numeros div {
	border: 1px solid var(--t-linha) !important;
	box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.eternos-produto-img { border-radius: 6px; background: #fff !important; }
.eternos-produto-botao { background: var(--t-ouro) !important; color: #1a130c !important; }
.eternos-form { background: linear-gradient(180deg, #211a14, #18120e) !important; }
.eternos-ok { background: #1e3322 !important; color: #b9e3c0 !important; }
.eternos-erro { background: #3a1a16 !important; color: #f3c1b9 !important; }
.eternos-abas nav button small { background: #2b221a !important; color: var(--t-ouro-claro) !important; }
.eternos-painel-texto .eternos-card .eternos-texto { font-family: var(--t-serif); font-size: 1.2em; }
.eternos-linha-tempo li::before { border-color: var(--t-fundo) !important; }
.eternos-insta { color: var(--t-ouro) !important; font-weight: 600; text-decoration: none; }
.eternos-insta:hover { text-decoration: underline; }
.eternos-insta-opcao label { font-weight: 400 !important; font-size: .9em; display: flex !important; gap: .5rem; align-items: flex-start; }
.eternos-insta-opcao input { margin-top: .25rem; }

/* Grade dos ídolos: retrato em tom sépia que ganha cor ao passar o mouse */
.eternos-grade { gap: 2rem 1.5rem !important; }
.eternos-idolo-img {
	border: 2px solid var(--t-ouro) !important;
	box-shadow: 0 0 0 6px rgba(201,164,92,.08), 0 12px 30px rgba(0,0,0,.5);
	background: radial-gradient(circle at 50% 35%, #3a2c1f, #16110c) !important;
}
.eternos-idolo-img img { filter: grayscale(.55) sepia(.25) contrast(1.05); transition: filter .35s; }
.eternos-idolo:hover .eternos-idolo-img img { filter: none; }
.eternos-idolo:hover .eternos-idolo-img { box-shadow: 0 0 0 6px rgba(201,164,92,.22), 0 0 40px rgba(201,164,92,.25); }
.eternos-sem-foto { font-family: var(--t-serif) !important; color: var(--t-ouro) !important; }
.eternos-idolo strong { font-family: var(--t-serif); font-size: 1.25rem; color: var(--t-ouro-claro) !important; }
.eternos-anos { letter-spacing: .08em; }

/* Ficha do ídolo com retrato */
.eternos-ficha { justify-content: center; text-align: center; flex-direction: column; padding: 1.5rem 1rem !important; border-left: 0 !important; border-top: 2px solid var(--t-ouro) !important; }
.eternos-retrato { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; border: 3px solid var(--t-ouro); box-shadow: 0 0 0 8px rgba(201,164,92,.1), 0 0 50px rgba(201,164,92,.2); margin-bottom: .5rem; }
.eternos-retrato img { width: 100%; height: 100%; object-fit: cover; }
.eternos-ficha .eternos-dupla { font-family: var(--t-serif); font-size: 1.3rem; }
.eternos-ficha .eternos-datas { letter-spacing: .05em; }

/* Destaque da página inicial */
.eternos-hero { position: relative; text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 1rem clamp(2rem, 5vw, 3.5rem); margin: 0 0 2rem; border-bottom: 1px solid var(--t-linha); }
.eternos-hero-vela { display: inline-block; width: 14px; height: 22px; margin-bottom: 1rem; border-radius: 50% 50% 45% 45%; background: radial-gradient(circle at 50% 70%, #fff6d8 0 25%, #ffcf6a 45%, #e48a2b 75%, transparent 76%); box-shadow: 0 0 22px 8px rgba(255,190,90,.35); animation: eternos-chama 2.4s ease-in-out infinite; }
@keyframes eternos-chama { 0%,100% { transform: scale(1) rotate(-1deg); opacity: 1; } 50% { transform: scale(1.08, .94) rotate(2deg); opacity: .85; } }
@media (prefers-reduced-motion: reduce) { .eternos-hero-vela { animation: none; } }
.eternos-hero h1 { margin: 0 0 .5rem !important; font-size: clamp(2.6rem, 7vw, 4.4rem) !important; }
.eternos-hero p { max-width: 38rem; margin: 0 auto 1.5rem; font-size: 1.15rem; color: var(--t-suave); }
.eternos-hero-botoes { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.eternos-hero-botoes a { padding: .85rem 1.6rem; border-radius: 99px; font-weight: 700; text-decoration: none; }
.eternos-hero-botoes .eternos-botao { border-radius: 99px; }
.eternos-hero-botoes .eternos-botao-linha { border: 1px solid var(--t-ouro); color: var(--t-ouro-claro) !important; background: transparent; }
.eternos-hero-botoes .eternos-botao-linha:hover { background: rgba(201,164,92,.12); }
.eternos-ornamento { display: block; margin: 2.5rem auto 1rem; text-align: center; color: var(--t-ouro); letter-spacing: .6em; }

/* Links sem sublinhado nos componentes */
.eternos-idolo, .eternos-idolo *, .eternos-datas-lista a, .eternos-produto, .eternos-hero a { text-decoration: none !important; }
.eternos-datas-lista a { color: var(--t-texto) !important; }
.eternos-datas-lista a:hover { color: var(--t-ouro-claro) !important; text-decoration: underline !important; }
.eternos-idolo .eternos-dupla, .eternos-idolo .eternos-anos { color: var(--t-suave) !important; }

/* Slides de ídolos no destaque */
.eternos-hero-slides { overflow: hidden; border-radius: 0 0 16px 16px; min-height: clamp(440px, 62vh, 620px); display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid rgba(201,164,92,.35) !important; }
.eternos-slides { position: absolute; inset: 0; z-index: 0; }
.eternos-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.eternos-slide.ativo { opacity: 1; }
.eternos-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; filter: grayscale(.5) sepia(.35) brightness(.55) contrast(1.05); transform: scale(1.04); transition: transform 7s ease-out; }
.eternos-slide.ativo img { transform: scale(1.12); }
.eternos-hero-slides::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(18,14,11,.25), rgba(18,14,11,.85) 75%), linear-gradient(180deg, rgba(18,14,11,.2), rgba(18,14,11,.95)); pointer-events: none; }
.eternos-hero-conteudo { position: relative; z-index: 2; }
.eternos-hero-slides .eternos-hero-conteudo p { color: #d8ccb8; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.eternos-hero-slides h1 { text-shadow: 0 2px 24px rgba(0,0,0,.8); }
.eternos-slide-legendas { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.1rem; }
.eternos-slide-legenda { display: none; font-family: var(--t-serif); font-size: 1.2rem; color: var(--t-ouro-claro) !important; text-decoration: none !important; text-shadow: 0 1px 6px #000; }
.eternos-slide-legenda.ativo { display: inline-block; animation: eternos-surge .8s ease; }
.eternos-slide-legenda small { font-family: inherit; color: var(--t-suave); margin-left: .35rem; }
@keyframes eternos-surge { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.eternos-slide-pontos { position: absolute; z-index: 2; right: 1.25rem; bottom: 1.25rem; display: flex; gap: .4rem; }
.eternos-slide-pontos button { width: 9px; height: 9px; padding: 0 !important; border-radius: 50%; border: 1px solid var(--t-ouro) !important; background: transparent !important; cursor: pointer; }
.eternos-slide-pontos button.ativo { background: var(--t-ouro) !important; }
@media (max-width: 600px) { .eternos-slide-legendas { left: 0; right: 0; bottom: 2.6rem; text-align: center; } .eternos-slide-pontos { left: 0; right: 0; justify-content: center; bottom: 1rem; } }
@media (prefers-reduced-motion: reduce) { .eternos-slide, .eternos-slide img { transition: none; } }

/* Playlist no cabeçalho */
.eternos-player-topo { flex: 0 1 320px; min-width: 240px; margin-left: 1.25rem; align-self: center; }
.eternos-player-topo iframe { display: block; width: 100%; height: 80px; border: 0; border-radius: 12px; }
.eternos-player-barra { margin: 0; padding: .4rem .75rem; background: rgba(14,11,8,.95); border-bottom: 1px solid rgba(201,164,92,.35); }
.eternos-player-barra iframe { max-width: 520px; margin: 0 auto; }

/* Data marcante na legenda do slide */
.eternos-slide-data { display: block; margin-bottom: .2rem; font-family: system-ui, sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--t-ouro); }
.eternos-slide-legenda.ativo { padding: .55rem .9rem; border-radius: 10px; background: rgba(12,9,7,.6); border-left: 2px solid var(--t-ouro); }
