/*
Theme Name: Reels Clássicos
Theme URI: https://reelsclassicos.com
Author: Reels Clássicos
Author URI: https://reelsclassicos.com
Description: Tema minimalista, editorial e premium para o universo Reels Clássicos – com foco em música clássica, assinatura, newsletter e área de membros.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: reelsclassicos
*/

/* VARIÁVEIS */

:root {
  --rc-bg: #0A0A0A;
  --rc-bg-soft: #111111;
  --rc-bg-elevated: #151515;
  --rc-text: #F5F5F0;
  --rc-text-muted: #B3B3B3;
  --rc-gold: #C8A96A;
  --rc-border-soft: #262626;
  --rc-error: #ff4d4d;

  --rc-font-serif: "Playfair Display", "Cormorant Garamond", "Times New Roman", serif;
  --rc-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --rc-max-width: 1120px;
  --rc-radius-lg: 22px;
  --rc-radius-md: 16px;
  --rc-radius-pill: 999px;

  --rc-shadow-soft: 0 20px 55px rgba(0, 0, 0, 0.65);
  --rc-shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.45);

  --rc-spacing-xs: 6px;
  --rc-spacing-sm: 10px;
  --rc-spacing-md: 18px;
  --rc-spacing-lg: 26px;
  --rc-spacing-xl: 36px;
  --rc-spacing-2xl: 52px;
}

/* RESET BÁSICO */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--rc-bg);
  color: var(--rc-text);
  font-family: var(--rc-font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* LAYOUT GLOBAL + SIDEBAR */

.rc-shell {
  min-height: 100vh;
  background: radial-gradient(circle at top, #161616 0, #050505 55%, #000000 100%);
}

.rc-layout {
  display: flex;
  min-height: 100vh;
}

.rc-layout-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rc-main {
  flex: 1;
  padding-bottom: var(--rc-spacing-2xl);
}

.rc-container {
  width: 100%;
  max-width: var(--rc-max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* SIDEBAR PRINCIPAL (DESKTOP) */

.rc-sidebar {
  width: 260px;
  padding: 30px 22px 28px;
  border-right: 1px solid rgba(245, 245, 240, 0.06);
  background: radial-gradient(circle at top left, rgba(200, 169, 106, 0.12), transparent 60%) #050505;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: sticky;
  top: 0;
  align-self: flex-start;
  min-height: 100vh;
}

.rc-sidebar-logo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rc-logo-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rc-logo-image {
  display: block;
  height: 38px;
  width: auto;
}

.rc-logo-image--small {
  height: 30px;
}

.rc-logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 106, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rc-font-serif);
  font-size: 13px;
  color: var(--rc-gold);
}

.rc-logo-text-main {
  font-family: var(--rc-font-serif);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rc-text-muted);
}

.rc-logo-subtitle {
  font-size: 11px;
  color: var(--rc-text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* NAV LATERAL */

.rc-sidebar-nav {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(245, 245, 240, 0.06);
}

.rc-sidebar-nav-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rc-text-muted);
  margin-bottom: 10px;
}

.rc-sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rc-sidebar-menu li {
  margin-bottom: 4px;
}

.rc-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 0;
  color: var(--rc-text-muted);
}

.rc-sidebar-link::after {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,169,106,0.5), transparent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rc-sidebar-link:hover {
  color: var(--rc-text);
}

.rc-sidebar-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* BLOCO LOGIN LATERAL */

.rc-sidebar-login {
  padding: 16px 16px 14px;
  border-radius: var(--rc-radius-md);
  border: 1px solid rgba(245, 245, 240, 0.08);
  background: linear-gradient(145deg, #111111, #050505);
  box-shadow: var(--rc-shadow-subtle);
  font-size: 12px;
}

.rc-sidebar-login-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-text-muted);
  margin-bottom: 4px;
}

.rc-sidebar-login-name {
  font-family: var(--rc-font-serif);
  font-size: 15px;
  margin-bottom: 8px;
}

.rc-sidebar-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rc-sidebar-footer {
  margin-top: auto;
  font-size: 11px;
  color: var(--rc-text-muted);
  opacity: 0.8;
}

/* HEADER SUPERIOR (MOBILE) */

.rc-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.96), rgba(10, 10, 10, 0.9), transparent);
  border-bottom: 1px solid rgba(200, 169, 106, 0.18);
  display: none; /* só mobile */
}

.rc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 7px;
}

.rc-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rc-header-burger {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(245, 245, 240, 0.14);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.rc-header-burger span {
  width: 16px;
  height: 1px;
  background: #F5F5F0;
  display: block;
}

.rc-header-burger span + span {
  margin-top: 3px;
}

/* NAV MOBILE */

.rc-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.rc-nav-links {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 8px 16px 14px;
  border-top: 1px solid rgba(245, 245, 240, 0.08);
  background: rgba(5, 5, 5, 0.98);
}

.rc-nav-links.is-open {
  display: flex;
}

.rc-nav-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-text-muted);
}

.rc-nav-link:hover {
  color: var(--rc-text);
}

.rc-nav-cta {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 12px;
  background: rgba(5, 5, 5, 0.98);
  border-bottom: 1px solid rgba(245, 245, 240, 0.08);
}

.rc-nav-cta.is-open {
  display: flex;
}

/* BOTÕES */

.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--rc-radius-pill);
  padding: 8px 18px;
  border: 1px solid transparent;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  background: transparent;
  color: var(--rc-text);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease, box-shadow 0.16s ease;
}

.rc-btn:active {
  transform: translateY(1px);
}

.rc-btn-primary {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(135deg, var(--rc-gold), #e1c88a);
  color: #050505;
  border-color: rgba(200, 169, 106, 0.9);
  box-shadow: var(--rc-shadow-soft);
}

.rc-btn-primary:hover {
  background: linear-gradient(135deg, #e1c88a, var(--rc-gold));
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8);
}

.rc-btn-ghost {
  border-color: rgba(245, 245, 240, 0.18);
  background: rgba(10, 10, 10, 0.85);
  color: var(--rc-text-muted);
}

.rc-btn-ghost:hover {
  border-color: rgba(200, 169, 106, 0.5);
  color: var(--rc-text);
}

/* HERO HOME – MAIS LIMPA */

.rc-hero {
  padding: var(--rc-spacing-xl) 0 var(--rc-spacing-lg);
}

.rc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
  gap: 40px;
  align-items: center;
}

.rc-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rc-text-muted);
}

.rc-hero-title {
  font-family: var(--rc-font-serif);
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin: 8px 0 10px;
}

.rc-hero-subtitle {
  max-width: 520px;
  font-size: 14px;
  color: var(--rc-text-muted);
  margin-bottom: 12px;
}

.rc-hero-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--rc-text-muted);
}

.rc-hero-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.rc-hero-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(200, 169, 106, 0.8);
  margin-top: 7px;
}

/* CARD NEWSLETTER DESTACADA */

.rc-hero-right {
  border-radius: var(--rc-radius-lg);
  border: 1px solid rgba(245, 245, 240, 0.09);
  background: radial-gradient(circle at top left, rgba(200, 169, 106, 0.2), transparent 55%),
    linear-gradient(145deg, #111111, #050505);
  padding: 24px 22px 20px;
  box-shadow: var(--rc-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rc-newsletter-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rc-text-muted);
  margin-bottom: 4px;
}

.rc-newsletter-title {
  font-family: var(--rc-font-serif);
  font-size: 20px;
  margin-bottom: 6px;
}

.rc-newsletter-text {
  font-size: 13px;
  color: var(--rc-text-muted);
  margin-bottom: 12px;
}

.rc-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.rc-input {
  flex: 1;
  min-width: 220px;
  padding: 9px 12px;
  border-radius: var(--rc-radius-pill);
  border: 1px solid rgba(245, 245, 240, 0.2);
  background: rgba(5, 5, 5, 0.92);
  color: var(--rc-text);
  font-size: 13px;
  outline: none;
}

.rc-input::placeholder {
  color: rgba(179, 179, 179, 0.8);
}

.rc-input:focus {
  border-color: rgba(200, 169, 106, 0.8);
}

.rc-newsletter-hint {
  margin-top: 8px;
  font-size: 11px;
  color: var(--rc-text-muted);
}

/* SEÇÕES GENÉRICAS */

.rc-section {
  padding: var(--rc-spacing-lg) 0;
  border-top: 1px solid rgba(245, 245, 240, 0.06);
}

.rc-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 22px;
}

.rc-section-title {
  font-family: var(--rc-font-serif);
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rc-section-subtitle {
  font-size: 13px;
  color: var(--rc-text-muted);
  max-width: 460px;
}

.rc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* CARDS EDITORIAIS */

.rc-card {
  border-radius: var(--rc-radius-md);
  background: linear-gradient(145deg, #141414, #050505);
  border: 1px solid rgba(245, 245, 240, 0.06);
  padding: 18px 18px 14px;
  box-shadow: var(--rc-shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rc-text-muted);
}

.rc-card-title {
  font-family: var(--rc-font-serif);
  font-size: 15px;
}

.rc-card-meta {
  font-size: 12px;
  color: var(--rc-text-muted);
}

.rc-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--rc-text-muted);
}

/* PILLS FUTURAS (OBRA DO DIA, ETC.) */

.rc-pill-future {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--rc-radius-pill);
  border: 1px solid rgba(245, 245, 240, 0.16);
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-text-muted);
}

/* ÁREA DE LOGIN / CONTA (PÁGINA DEDICADA) */

.rc-auth-shell {
  max-width: 420px;
  margin: 46px auto 60px;
  padding: 26px 22px 22px;
  border-radius: var(--rc-radius-lg);
  background: linear-gradient(145deg, #111111, #050505);
  border: 1px solid rgba(245, 245, 240, 0.07);
  box-shadow: var(--rc-shadow-soft);
}

.rc-auth-title {
  font-family: var(--rc-font-serif);
  font-size: 20px;
  margin-bottom: 6px;
}

.rc-auth-subtitle {
  font-size: 13px;
  color: var(--rc-text-muted);
  margin-bottom: 18px;
}

.rc-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rc-auth-label {
  font-size: 12px;
  color: var(--rc-text-muted);
}

.rc-auth-input {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--rc-radius-pill);
  border: 1px solid rgba(245, 245, 240, 0.2);
  background: rgba(5, 5, 5, 0.96);
  color: var(--rc-text);
  font-size: 13px;
  outline: none;
}

.rc-auth-input::placeholder {
  color: rgba(179, 179, 179, 0.8);
}

.rc-auth-input:focus {
  border-color: rgba(200, 169, 106, 0.8);
}

.rc-auth-footer {
  margin-top: 12px;
  font-size: 12px;
  color: var(--rc-text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

/* BLOG / CONTEÚDO */

.entry-content {
  font-size: 15px;
  color: var(--rc-text-muted);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--rc-font-serif);
  color: var(--rc-text);
  margin-top: 28px;
  margin-bottom: 10px;
}

.entry-content p {
  margin-top: 0;
  margin-bottom: 14px;
}

.entry-content a {
  color: var(--rc-gold);
}

.entry-content a:hover {
  text-decoration: underline;
}

/* RODAPÉ */

.rc-footer {
  border-top: 1px solid rgba(245, 245, 240, 0.06);
  padding: 18px 0 24px;
  font-size: 11px;
  color: var(--rc-text-muted);
}

.rc-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.rc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rc-footer-link {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* RESPONSIVIDADE */

@media (max-width: 960px) {
  .rc-layout {
    display: block;
  }

  .rc-sidebar {
    display: none;
  }

  .rc-header {
    display: block;
  }

  .rc-container {
    padding: 0 18px;
  }

  .rc-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .rc-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .rc-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .rc-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
