/* ============================================
   ASTRO GUIA - Premium Astrology Theme
   Dark + Gold + Off-White
   ============================================ */

/* --- Variables --- */
:root {
    --gold: #cc9e75;
    --gold-light: #e3b88c;
    --gold-muted: #b38a62;
    --gold-dark: #8f6d47;
    --gold-glow: rgba(204, 158, 117, 0.35);

    --bg-primary: #150f3d;
    --bg-secondary: #1c1650;
    --bg-tertiary: #251d63;
    --bg-card: rgba(28, 22, 80, 0.7);
    --bg-card-solid: #1f1852;
    --bg-card-hover: #2a2166;
    --bg-glass: rgba(255, 255, 255, 0.03);

    --text-primary: #f5ede0;
    --text-secondary: #b0a8c5;
    --text-muted: #b5acc9;  /* bumped de #7a7290 para atender WCAG AA (>4.5:1 sobre fundo roxo) */

    --accent-purple: #6C5CE7;
    --accent-blue: #4A6CF7;

    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gold-text { color: var(--gold); }

/* ============================================
   STARFIELD BACKGROUND
   ============================================ */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        radial-gradient(1.2px 1.2px at 15% 25%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 40% 12%, rgba(255,255,255,0.35), transparent),
        radial-gradient(0.8px 0.8px at 65% 35%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.5px 1.5px at 80% 8%, rgba(204,158,117,0.5), transparent),
        radial-gradient(1px 1px at 25% 55%, rgba(255,255,255,0.25), transparent),
        radial-gradient(1.2px 1.2px at 55% 65%, rgba(255,255,255,0.4), transparent),
        radial-gradient(0.8px 0.8px at 90% 45%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 10% 80%, rgba(204,158,117,0.4), transparent),
        radial-gradient(1.3px 1.3px at 70% 75%, rgba(255,255,255,0.35), transparent),
        radial-gradient(0.7px 0.7px at 35% 90%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1.1px 1.1px at 50% 45%, rgba(204,158,117,0.35), transparent),
        radial-gradient(0.9px 0.9px at 85% 70%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1.4px 1.4px at 60% 5%, rgba(204,158,117,0.45), transparent),
        radial-gradient(0.6px 0.6px at 95% 90%, rgba(255,255,255,0.25), transparent);
    animation: twinkleField 6s ease-in-out infinite alternate;
}

body::after {
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(108, 92, 231, 0.06), transparent),
        radial-gradient(ellipse 500px 500px at 80% 30%, rgba(74, 108, 247, 0.04), transparent),
        radial-gradient(ellipse 400px 300px at 50% 80%, rgba(204, 158, 117, 0.03), transparent);
}

@keyframes twinkleField {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.site-header, .main-content, .site-footer { position: relative; z-index: 1; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(21, 15, 61, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(204, 158, 117, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(21, 15, 61, 0.92);
    border-bottom-color: rgba(204, 158, 117, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    transition: opacity var(--transition);
}

.logo:hover { opacity: 0.85; }

.logo-img {
    height: 44px;
    width: auto;
    display: block;
}

@media (max-width: 600px) {
    .logo-img { height: 36px; }
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--bg-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}

.nav-menu > li > a {
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--gold);
    background: rgba(204, 158, 117, 0.08);
}

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--bg-card-solid);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: var(--radius-sm);
    min-width: 200px;
    padding: 0.6rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: var(--radius-xs);
}

.dropdown a:hover {
    background: rgba(204, 158, 117, 0.08);
    color: var(--gold);
}

.dropdown-section {
    padding: 0.5rem 1rem 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    opacity: 0.7;
    pointer-events: none;
}

.dropdown-divider {
    height: 1px;
    background: rgba(204, 158, 117, 0.1);
    margin: 0.4rem 0.8rem;
    pointer-events: none;
}

/* Mobile */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0; right: 0; bottom: 0;
        background: rgba(21, 15, 61, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 0.3rem;
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .nav-menu.open { transform: translateX(0); }
    .nav-menu > li > a { padding: 1rem 1.2rem; font-size: 1.1rem; }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 72px 1.5rem 0;
    background:
        linear-gradient(180deg, rgba(21, 15, 61, 0.5) 0%, rgba(21, 15, 61, 0.8) 70%, var(--bg-primary) 100%),
        url("/static/img/backgrounds/hero-milkyway.6392dcc2ddae.jpg") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 30% 30%, rgba(108, 92, 231, 0.2), transparent),
        radial-gradient(ellipse 500px 400px at 75% 70%, rgba(204, 158, 117, 0.12), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-starfield {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Shooting Stars */
.shooting-stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(-45deg, var(--gold-light), rgba(255,255,255,0));
    border-radius: 50%;
    filter: drop-shadow(0 0 6px var(--gold-light));
    opacity: 0;
}

.shooting-star::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, rgba(204,158,117,0.9), transparent);
    transform-origin: left;
}

.shooting-star-1 {
    top: 15%; left: -10%;
    animation: shoot1 8s linear infinite;
    animation-delay: 0s;
}
.shooting-star-2 {
    top: 35%; left: -10%;
    animation: shoot1 11s linear infinite;
    animation-delay: 3s;
}
.shooting-star-3 {
    top: 60%; left: -10%;
    animation: shoot2 9s linear infinite;
    animation-delay: 6s;
}
.shooting-star-4 {
    top: 25%; left: -10%;
    animation: shoot1 13s linear infinite;
    animation-delay: 9s;
}

@keyframes shoot1 {
    0% { transform: translate(0, 0) rotate(20deg); opacity: 0; }
    5% { opacity: 1; }
    30% { opacity: 1; }
    50% { transform: translate(120vw, 40vh) rotate(20deg); opacity: 0; }
    100% { transform: translate(120vw, 40vh) rotate(20deg); opacity: 0; }
}

@keyframes shoot2 {
    0% { transform: translate(0, 0) rotate(15deg); opacity: 0; }
    5% { opacity: 1; }
    30% { opacity: 1; }
    50% { transform: translate(120vw, 30vh) rotate(15deg); opacity: 0; }
    100% { transform: translate(120vw, 30vh) rotate(15deg); opacity: 0; }
}

.hero-celestial {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.constellation {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    animation: floatGentle 20s ease-in-out infinite;
}

.constellation-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--gold), transparent 70%);
    top: 5%; right: 10%;
}

.constellation-2 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, var(--accent-purple), transparent 70%);
    bottom: 15%; left: 8%;
    animation-delay: -7s;
}

.constellation-3 {
    width: 180px; height: 180px;
    background: radial-gradient(circle, var(--accent-blue), transparent 70%);
    top: 45%; left: 55%;
    animation-delay: -14s;
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0) scale(1); }
    33% { transform: translateY(-25px) scale(1.03); }
    66% { transform: translateY(15px) scale(0.97); }
}

/* Moon */
.hero-moon {
    position: absolute;
    top: 12%; right: 10%;
    width: 130px; height: 130px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, #FFF8E0 0%, var(--gold-light) 40%, var(--gold) 100%);
    box-shadow:
        0 0 40px rgba(204,158,117,0.4),
        0 0 100px rgba(204,158,117,0.15),
        0 0 200px rgba(204,158,117,0.05),
        inset -15px -8px 25px rgba(143, 109, 71, 0.35);
    animation: moonPulse 8s ease-in-out infinite;
}

.hero-moon::after {
    content: '';
    position: absolute;
    top: 20%; left: 25%;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: rgba(143, 109, 71, 0.15);
    box-shadow:
        35px 20px 0 8px rgba(143, 109, 71, 0.08),
        -10px 40px 0 5px rgba(143, 109, 71, 0.1);
}

@keyframes moonPulse {
    0%, 100% {
        box-shadow: 0 0 40px rgba(204,158,117,0.4), 0 0 100px rgba(204,158,117,0.15), 0 0 200px rgba(204,158,117,0.05);
    }
    50% {
        box-shadow: 0 0 60px rgba(204,158,117,0.5), 0 0 140px rgba(204,158,117,0.2), 0 0 250px rgba(204,158,117,0.08);
    }
}

/* Zodiac Wheel */
.zodiac-wheel {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 550px; height: 550px;
    pointer-events: none;
    animation: wheelSpin 180s linear infinite;
}

@keyframes wheelSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.zodiac-wheel-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(204, 158, 117, 0.07);
}

.zodiac-wheel-ring-2 {
    inset: 50px;
    border-style: dashed;
    border-color: rgba(204, 158, 117, 0.05);
}

.zodiac-wheel-symbols { position: absolute; inset: 0; }

.wheel-sign {
    position: absolute;
    top: 50%; left: 50%;
    font-size: 1.3rem;
    color: rgba(204, 158, 117, 0.15);
    transform-origin: 0 0;
    transform: rotate(calc(var(--i) * 30deg)) translate(265px) rotate(calc(var(--i) * -30deg));
    animation: wheelSpin 180s linear infinite reverse;
}

/* Floating Stars */
.hero-star {
    position: absolute;
    color: var(--gold);
    pointer-events: none;
}

.hero-star-1 { top: 20%; left: 15%; font-size: 0.6rem; animation: starFloat1 7s ease-in-out infinite; }
.hero-star-2 { top: 35%; right: 22%; font-size: 0.5rem; animation: starFloat2 9s ease-in-out infinite; }
.hero-star-3 { bottom: 25%; left: 20%; font-size: 0.55rem; animation: starFloat1 11s ease-in-out infinite; animation-delay: -3s; }
.hero-star-4 { top: 12%; left: 40%; font-size: 0.4rem; animation: starFloat2 8s ease-in-out infinite; animation-delay: -5s; }
.hero-star-5 { bottom: 20%; right: 15%; font-size: 0.65rem; animation: starFloat1 10s ease-in-out infinite; animation-delay: -2s; }

@keyframes starFloat1 {
    0%, 100% { opacity: 0.2; transform: translateY(0) scale(1); }
    50% { opacity: 0.8; transform: translateY(-20px) scale(1.5); }
}

@keyframes starFloat2 {
    0%, 100% { opacity: 0.3; transform: translate(0, 0) scale(1); }
    50% { opacity: 0.7; transform: translate(10px, -15px) scale(1.3); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 820px;
}

.hero-date {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-bottom: 2rem;
    opacity: 0.9;
    display: inline-block;
    padding: 0.45rem 1.4rem;
    border: 1px solid rgba(204, 158, 117, 0.25);
    border-radius: 50px;
    background: rgba(204, 158, 117, 0.04);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    margin-bottom: 1.6rem;
    letter-spacing: -0.015em;
}

.hero-title em {
    font-style: italic;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2.8rem;
    font-weight: 300;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-gold {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    color: var(--bg-primary);
    padding: 1rem 2.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(204, 158, 117, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(204, 158, 117, 0.4);
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-large { padding: 1.15rem 3.2rem; font-size: 0.92rem; }

.btn-outline {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-outline:hover {
    background: rgba(204, 158, 117, 0.1);
    color: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 1.3rem;
    opacity: 0.4;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.8; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 6rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgba(204, 158, 117, 0.2);
    border-radius: 50px;
    background: rgba(204, 158, 117, 0.05);
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   SIGNOS GRID
   ============================================ */
.signos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) { .signos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .signos-grid { grid-template-columns: repeat(2, 1fr); } }

.signo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.2rem 1rem 1.8rem;
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.06);
    border-radius: var(--radius);
    transition: all var(--transition);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.signo-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(204,158,117,0), rgba(204,158,117,0.2), rgba(204,158,117,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
}

.signo-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(204, 158, 117, 0.05);
}

.signo-card:hover::before { opacity: 1; }

.signo-card-glow {
    position: absolute;
    top: -40%; left: -40%;
    width: 180%; height: 180%;
    background: radial-gradient(circle at center, rgba(204,158,117,0.04) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.signo-card:hover .signo-card-glow { opacity: 1; }

/* Constellation image */
.signo-constellation {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform var(--transition);
}

.signo-constellation img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(204, 158, 117, 0.15));
    transition: all var(--transition);
}

.signo-card:hover .signo-constellation img {
    filter: drop-shadow(0 0 18px rgba(204, 158, 117, 0.4));
    transform: scale(1.08);
}

/* Fallback symbol if image not found */
.signo-symbol-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--gold);
    width: 80px;
    height: 80px;
    margin: auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,158,117,0.1) 0%, transparent 70%);
    border: 1.5px solid rgba(204, 158, 117, 0.15);
}

/* Legacy (keep for signo_detail page) */
.signo-symbol {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,158,117,0.1) 0%, transparent 70%);
    border: 1.5px solid rgba(204, 158, 117, 0.15);
    transition: all var(--transition);
}

.signo-card:hover .signo-symbol {
    border-color: rgba(204, 158, 117, 0.4);
    box-shadow: 0 0 25px rgba(204, 158, 117, 0.15);
    background: radial-gradient(circle, rgba(204,158,117,0.15) 0%, transparent 70%);
}

.signo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.signo-dates {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 400;
}

.signo-card-arrow {
    position: absolute;
    bottom: 1rem; right: 1rem;
    color: var(--gold);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition);
}

.signo-card:hover .signo-card-arrow { opacity: 0.7; transform: translateX(0); }

/* Element accents */
.signo-card[data-elemento="fogo"]:hover { border-color: rgba(255, 107, 53, 0.25); }
.signo-card[data-elemento="fogo"]:hover .signo-symbol { border-color: rgba(255, 107, 53, 0.4); }
.signo-card[data-elemento="terra"]:hover { border-color: rgba(76, 175, 80, 0.25); }
.signo-card[data-elemento="terra"]:hover .signo-symbol { border-color: rgba(76, 175, 80, 0.4); }
.signo-card[data-elemento="ar"]:hover { border-color: rgba(100, 181, 246, 0.25); }
.signo-card[data-elemento="ar"]:hover .signo-symbol { border-color: rgba(100, 181, 246, 0.4); }
.signo-card[data-elemento="agua"]:hover { border-color: rgba(126, 87, 194, 0.25); }
.signo-card[data-elemento="agua"]:hover .signo-symbol { border-color: rgba(126, 87, 194, 0.4); }

/* ============================================
   CATEGORIAS
   ============================================ */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.categoria-card {
    display: block;
    padding: 2.2rem 1.8rem;
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.06);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.categoria-card:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 158, 117, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.categoria-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(204,158,117,0.12), rgba(204,158,117,0.04));
    border: 1px solid rgba(204, 158, 117, 0.15);
    margin-bottom: 1.2rem;
    transition: all var(--transition);
}

.categoria-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.categoria-card:hover .categoria-icon {
    background: linear-gradient(135deg, rgba(204,158,117,0.2), rgba(204,158,117,0.08));
    border-color: rgba(204, 158, 117, 0.3);
    box-shadow: 0 0 20px rgba(204, 158, 117, 0.1);
}

.categoria-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.categoria-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.categoria-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition);
}

.categoria-card:hover .categoria-link { gap: 0.7rem; }

/* ============================================
   PERIODOS (home)
   ============================================ */
.periodos-section { padding: 4rem 0; }

.periodos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

@media (max-width: 900px) { .periodos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .periodos-grid { grid-template-columns: 1fr; } }

.periodo-card {
    position: relative;
    padding: 2rem 1.6rem;
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.08);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
}

.periodo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 158, 117, 0.25);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.periodo-card-featured {
    background: linear-gradient(135deg, rgba(204, 158, 117, 0.1), rgba(204, 158, 117, 0.03));
    border-color: rgba(204, 158, 117, 0.2);
}

.periodo-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(204, 158, 117, 0.25);
    border-radius: 50px;
    background: rgba(204, 158, 117, 0.05);
    margin-bottom: 1rem;
}

.periodo-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.periodo-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.periodo-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap var(--transition);
}

.periodo-card:hover .periodo-link { gap: 0.7rem; }

/* ============================================
   COMPATIBILIDADE CTA
   ============================================ */
.compat-cta-section { padding: 4rem 0; }

.compat-cta {
    position: relative;
    background:
        linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(204, 158, 117, 0.08));
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: var(--radius);
    padding: 5rem 3rem;
    text-align: center;
    overflow: hidden;
}

.compat-cta-bg { position: absolute; inset: 0; pointer-events: none; }

.compat-star {
    position: absolute;
    color: var(--gold);
    opacity: 0.12;
    animation: floatGentle 15s ease-in-out infinite;
}

.compat-star-1 { top: 10%; left: 10%; font-size: 1.5rem; }
.compat-star-2 { top: 20%; right: 15%; font-size: 1rem; animation-delay: -5s; }
.compat-star-3 { bottom: 15%; left: 30%; font-size: 1.2rem; animation-delay: -10s; }

.compat-cta-content { position: relative; z-index: 2; }
.compat-cta h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
.compat-cta p { color: var(--text-secondary); margin-bottom: 2.5rem; font-size: 1.05rem; font-weight: 300; }

/* ============================================
   PAGE HERO (internal pages)
   ============================================ */
.page-hero {
    padding: 9rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(21, 15, 61, 0.7) 0%, rgba(21, 15, 61, 0.9) 70%, var(--bg-primary) 100%),
        url("/static/img/backgrounds/hero-milkyway.6392dcc2ddae.jpg") center/cover no-repeat;
    border-bottom: 1px solid rgba(204, 158, 117, 0.1);
}

.page-hero.compact { padding: 7rem 0 2rem; text-align: left; }

.page-hero > .container {
    position: relative;
    z-index: 2;
}

.page-hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background:
        radial-gradient(1px 1px at 15% 40%, rgba(204,158,117,0.5), transparent),
        radial-gradient(1px 1px at 45% 20%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.2px 1.2px at 75% 50%, rgba(204,158,117,0.4), transparent),
        radial-gradient(0.8px 0.8px at 85% 25%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 30% 70%, rgba(204,158,117,0.35), transparent);
}

.page-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 0.8rem;
}

.page-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }

/* ============================================
   SIGNO HERO
   ============================================ */
.signo-hero {
    position: relative;
    padding: 10rem 0 4rem;
    text-align: center;
    overflow: hidden;
}

.signo-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(21, 15, 61, 0.7) 0%, rgba(21, 15, 61, 0.88) 70%, var(--bg-primary) 100%),
        url("/static/img/backgrounds/hero-milkyway.6392dcc2ddae.jpg") center/cover no-repeat;
}

.signo-hero-content { position: relative; z-index: 2; }

.signo-hero-constellation {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: constellationFloat 6s ease-in-out infinite;
}

.signo-hero-icon-wrap {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,158,117,0.18) 0%, rgba(204,158,117,0.04) 70%);
    border: 2px solid rgba(204,158,117,0.3);
    box-shadow: 0 0 40px rgba(204,158,117,0.15);
    animation: constellationFloat 6s ease-in-out infinite;
}

.signo-hero-constellation img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(204,158,117,0.35));
}

.signo-hero-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -25px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,158,117,0.12) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}

.signo-hero-icon-wrap img {
    position: relative;
    width: 58%;
    height: 58%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(24%) saturate(550%) hue-rotate(353deg) brightness(93%) contrast(86%) drop-shadow(0 0 20px rgba(204,158,117,0.35));
    z-index: 1;
}

.signo-hero-symbol-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--gold);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,158,117,0.12) 0%, transparent 70%);
    border: 1.5px solid rgba(204,158,117,0.2);
}

@keyframes constellationFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 600px) {
    .signo-hero-constellation { width: 240px; height: 240px; }
    .signo-hero-icon-wrap { width: 140px; height: 140px; }
}

.signo-hero-symbol {
    font-size: 4rem;
    margin-bottom: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204,158,117,0.12) 0%, transparent 70%);
    border: 1.5px solid rgba(204, 158, 117, 0.2);
    box-shadow: 0 0 40px rgba(204, 158, 117, 0.1);
}

.signo-hero-title {
    font-size: clamp(2.8rem, 5vw, 4rem);
    margin-bottom: 0.5rem;
}

.signo-hero-dates {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.signo-hero-tags { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }

.tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: rgba(204, 158, 117, 0.08);
    border: 1px solid rgba(204, 158, 117, 0.15);
    color: var(--gold);
}

/* ============================================
   LAYOUT WITH SIDEBAR
   ============================================ */
.signo-layout, .detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

@media (max-width: 900px) {
    .signo-layout, .detail-layout { grid-template-columns: 1fr; }
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.06);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sidebar-card { padding: 1.5rem; }
.sidebar-card .card-title { font-size: 1.15rem; }

/* ============================================
   HOROSCOPO TABS
   ============================================ */
.horoscopo-tabs {
    display: flex;
    gap: 0.3rem;
    border-bottom: 1px solid rgba(204, 158, 117, 0.08);
    padding-bottom: 0;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.2rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text-secondary); }

.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.tab-icon { font-size: 1rem; }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HOROSCOPO CONTENT
   ============================================ */
.horoscopo-titulo {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--gold);
}

.horoscopo-texto {
    color: var(--text-primary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.horoscopo-extras {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.extra-item {
    padding: 1.2rem;
    background: rgba(204, 158, 117, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.08);
    border-radius: var(--radius-sm);
}

.extra-item.highlight {
    background: rgba(204, 158, 117, 0.08);
    border-color: rgba(204, 158, 117, 0.15);
}

.extra-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.extra-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.horoscopo-intensidade {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
}

.intensidade-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-right: 0.4rem;
}

.star { font-size: 1rem; }
.star.filled { color: var(--gold); }
.star.empty { color: rgba(204, 158, 117, 0.15); }

.no-content {
    text-align: center;
    color: var(--text-muted);
    padding: 2.5rem 0;
    font-style: italic;
    font-size: 0.95rem;
}

/* ============================================
   HOROSCOPO GRID (daily page)
   ============================================ */
.horoscopo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 500px) { .horoscopo-grid { grid-template-columns: 1fr; } }

.horoscopo-card {
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.06);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.horoscopo-card:hover {
    border-color: rgba(204, 158, 117, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.horoscopo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.horoscopo-card-signo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.signo-sym {
    font-size: 1.8rem;
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204, 158, 117, 0.15) 0%, rgba(204, 158, 117, 0.04) 70%);
    border: 1.5px solid rgba(204, 158, 117, 0.2);
    flex-shrink: 0;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.signo-sym-icon img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(24%) saturate(550%) hue-rotate(353deg) brightness(93%) contrast(86%);
    transition: transform var(--transition);
}

.signo-sym-fallback {
    display: none;
    color: var(--gold);
    font-size: 1.6rem;
}

.horoscopo-card:hover .signo-sym {
    border-color: rgba(204, 158, 117, 0.4);
    box-shadow: 0 0 15px rgba(204, 158, 117, 0.15);
}

.horoscopo-card:hover .signo-sym-icon img {
    transform: scale(1.1);
}

.horoscopo-card-signo h2 { font-size: 1.3rem; margin: 0; }
.horoscopo-card-signo h2 a { color: var(--text-primary); }
.horoscopo-card-signo h2 a:hover { color: var(--gold); }
.signo-periodo { font-size: 0.78rem; color: var(--text-muted); }

.horoscopo-card-body h3 {
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.horoscopo-card-body p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.horoscopo-card-conselho {
    padding: 0.8rem 1rem;
    background: rgba(204, 158, 117, 0.05);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    transition: gap var(--transition);
}

.read-more:hover { gap: 0.7rem; color: var(--gold-light); }

/* ============================================
   CATEGORY NAV
   ============================================ */
.cat-nav-section {
    border-bottom: 1px solid rgba(204, 158, 117, 0.06);
    background: rgba(21, 15, 61, 0.5);
    backdrop-filter: blur(10px);
}

.cat-nav {
    display: flex;
    gap: 0.3rem;
    overflow-x: auto;
    padding: 0.8rem 0;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
    flex-wrap: wrap;
}

.cat-nav-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.cat-nav-item:hover { color: var(--text-secondary); }

.cat-nav-item.active {
    color: var(--gold);
    background: rgba(204, 158, 117, 0.08);
    border-color: rgba(204, 158, 117, 0.15);
}

.cat-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cat-nav-icon img,
.tab-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(24%) saturate(550%) hue-rotate(353deg) brightness(93%) contrast(86%);
    opacity: 0.75;
    transition: opacity var(--transition);
}

.cat-nav-item:hover .cat-nav-icon img,
.cat-nav-item.active .cat-nav-icon img,
.tab-btn:hover .tab-icon img,
.tab-btn.active .tab-icon img { opacity: 1; }

/* ============================================
   SIGNOS DETAIL GRID (todos_signos)
   ============================================ */
.elemento-filter {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.3rem;
    border: 1px solid rgba(204, 158, 117, 0.1);
    background: transparent;
    color: var(--text-muted);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #cc9e75;
    opacity: 0.75;
    transition: opacity var(--transition);
    flex-shrink: 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.filter-icon-fogo { -webkit-mask-image: url("/static/img/elementos/fogo.8ff27ec31946.svg"); mask-image: url("/static/img/elementos/fogo.8ff27ec31946.svg"); }
.filter-icon-terra { -webkit-mask-image: url("/static/img/elementos/terra.a2b0769c892d.svg"); mask-image: url("/static/img/elementos/terra.a2b0769c892d.svg"); }
.filter-icon-ar { -webkit-mask-image: url("/static/img/elementos/ar.82758e3fa308.svg"); mask-image: url("/static/img/elementos/ar.82758e3fa308.svg"); }
.filter-icon-agua { -webkit-mask-image: url("/static/img/elementos/agua.97024375b5c5.svg"); mask-image: url("/static/img/elementos/agua.97024375b5c5.svg"); }

.filter-btn:hover .filter-icon,
.filter-btn.active .filter-icon { opacity: 1; }

.filter-btn:hover { border-color: rgba(204, 158, 117, 0.2); color: var(--text-secondary); }

.filter-btn.active {
    background: rgba(204, 158, 117, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.signos-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.signo-detail-card {
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.06);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.signo-detail-card:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 158, 117, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.signo-detail-icon {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(204,158,117,0.12) 0%, rgba(204,158,117,0.03) 70%);
    border: 1.5px solid rgba(204,158,117,0.2);
    flex-shrink: 0;
    transition: all var(--transition);
}

.signo-detail-icon img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(24%) saturate(550%) hue-rotate(353deg) brightness(93%) contrast(86%);
    transition: transform var(--transition);
}

.signo-detail-card:hover .signo-detail-icon {
    border-color: rgba(204,158,117,0.5);
    box-shadow: 0 0 20px rgba(204,158,117,0.18);
    background: radial-gradient(circle, rgba(204,158,117,0.2) 0%, rgba(204,158,117,0.05) 70%);
}

.signo-detail-card:hover .signo-detail-icon img {
    transform: scale(1.08);
}

.signo-detail-symbol-fallback {
    display: none;
    font-size: 2.2rem;
    color: var(--gold);
    align-items: center;
    justify-content: center;
}

.signo-detail-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }

.signo-detail-symbol {
    font-size: 2rem;
    width: 65px; height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(204, 158, 117, 0.08);
    border: 1px solid rgba(204, 158, 117, 0.12);
    flex-shrink: 0;
}

.signo-detail-info h2 { font-size: 1.5rem; margin: 0; }
.signo-detail-info h2 a { color: var(--text-primary); }
.signo-detail-info h2 a:hover { color: var(--gold); }
.signo-detail-dates { font-size: 0.85rem; color: var(--text-muted); }
.signo-detail-tags { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }

.signo-detail-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* ============================================
   SIGNO CHARACTERISTICS
   ============================================ */
.signo-descricao {
    color: var(--text-primary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.02rem;
}

.signo-caracteristicas h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--gold);
}

.tags-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.characteristic-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(204, 158, 117, 0.06);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ============================================
   COMPATIBILITY SIDEBAR
   ============================================ */
.compat-list { display: flex; flex-direction: column; gap: 0.4rem; }

.compat-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-xs);
    transition: background var(--transition);
}

.compat-item:hover { background: rgba(204, 158, 117, 0.06); }
.compat-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.compat-symbol img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(24%) saturate(550%) hue-rotate(353deg) brightness(93%) contrast(86%);
}

.compat-name { color: var(--text-primary); font-size: 0.92rem; }

.outros-signo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.outros-signo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(70%) sepia(24%) saturate(550%) hue-rotate(353deg) brightness(93%) contrast(86%);
    opacity: 0.8;
}

.outros-signo-item:hover .outros-signo-icon img { opacity: 1; }

.outros-signos-list { display: flex; flex-direction: column; gap: 0.2rem; }

.outros-signo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.outros-signo-item:hover { background: rgba(204, 158, 117, 0.06); color: var(--gold); }

/* ============================================
   COMPATIBILITY PAGE
   ============================================ */
.compat-form-container { max-width: 700px; margin: 0 auto 3rem; }

.compat-form {
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.compat-form-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.compat-select-group { flex: 1; min-width: 180px; }

.compat-select-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.compat-select-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(204, 158, 117, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23D4AF37'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: all var(--transition);
}

.compat-select-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(204, 158, 117, 0.1);
}

.compat-heart {
    font-size: 1.8rem;
    color: var(--gold);
    opacity: 0.6;
    animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Result */
.compat-resultado {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: var(--radius);
    padding: 3rem;
    animation: fadeIn 0.5s;
    backdrop-filter: blur(10px);
}

.compat-resultado-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.compat-par { display: flex; align-items: center; gap: 1.5rem; }

.compat-par-signo {
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.compat-par-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px; height: 70px;
    border-radius: 50%;
    background: rgba(204, 158, 117, 0.08);
    border: 1.5px solid rgba(204, 158, 117, 0.2);
    font-size: 2rem;
    margin: 0 auto 0.4rem;
}

.compat-par-x { font-size: 1.2rem; color: var(--text-muted); }

.compat-media { text-align: center; }

.compat-media-circle {
    width: 95px; height: 95px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    background: rgba(204, 158, 117, 0.06);
}

.compat-media-value {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gold);
}

.compat-media > span { font-size: 0.8rem; color: var(--text-muted); }

.compat-barras { display: flex; flex-direction: column; gap: 1.3rem; margin-bottom: 2rem; }

.compat-barra-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.compat-barra {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.compat-barra-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.2s ease-out;
}

.compat-barra-fill.amor { background: linear-gradient(90deg, var(--gold), #e74c3c); }
.compat-barra-fill.amizade { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.compat-barra-fill.trabalho { background: linear-gradient(90deg, var(--gold), #27ae60); }

.compat-texto {
    padding: 1.5rem;
    background: rgba(204, 158, 117, 0.04);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gold);
}

.compat-texto p { color: var(--text-primary); line-height: 1.8; }

/* ============================================
   DETAIL PAGE
   ============================================ */
.detail-hero-flex { display: flex; align-items: center; gap: 1.5rem; }

.detail-symbol {
    font-size: 2.5rem;
    width: 80px; height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(204, 158, 117, 0.08);
    border: 1.5px solid rgba(204, 158, 117, 0.2);
    flex-shrink: 0;
}

.detail-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.detail-texto { font-size: 1.05rem; line-height: 1.9; color: var(--text-primary); }

.outros-horoscopos-grid { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.outro-horoscopo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: rgba(204, 158, 117, 0.06);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.88rem;
    transition: all var(--transition);
}

.outro-horoscopo-item:hover {
    background: rgba(204, 158, 117, 0.12);
    color: var(--gold);
}

/* ============================================
   SOBRE
   ============================================ */
.sobre-container { max-width: 800px; margin: 0 auto; }

.sobre-card h2 {
    font-size: 1.5rem;
    color: var(--gold);
    margin: 2rem 0 1rem;
}

.sobre-card h2:first-child { margin-top: 0; }
.sobre-card p { color: var(--text-primary); line-height: 1.8; margin-bottom: 1rem; }

.sobre-lista { list-style: none; }

.sobre-lista li {
    padding: 0.6rem 0 0.6rem 1.5rem;
    position: relative;
    color: var(--text-primary);
}

.sobre-lista li::before {
    content: '\2726';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.sobre-disclaimer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(204, 158, 117, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.08);
    border-radius: var(--radius-sm);
}

.sobre-disclaimer p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }

/* ============================================
   SEO CONTENT
   ============================================ */
.seo-section {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.01);
}

.seo-content { max-width: 800px; margin: 0 auto; }

.seo-content h2 { font-size: 1.5rem; color: var(--gold); margin-bottom: 1rem; }

.seo-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.8rem; }

.seo-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }

.seo-content ul { list-style: none; }

.seo-content li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.seo-content li::before {
    content: '\2726';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(204, 158, 117, 0.06);
    padding: 4rem 0 2rem;
    margin-top: 3rem;
}

.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-signos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-disclaimer { font-size: 0.78rem !important; margin-top: 0.5rem; color: var(--text-secondary); }

/* ============================================
   GLOSSARIO
   ============================================ */
.glossario-search {
    display: flex;
    gap: 0.5rem;
    max-width: 720px;
    margin: 0 auto 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(204,158,117,0.15);
    border-radius: 50px;
    padding: 0.35rem 0.35rem 0.35rem 1.3rem;
    align-items: center;
    flex-wrap: wrap;
}

.glossario-search:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(204,158,117,0.1);
}

.glossario-search input[type="search"] {
    flex: 1;
    min-width: 160px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    padding: 0.6rem 0;
}

.glossario-search input[type="search"]::placeholder { color: var(--text-muted); }

.glossario-search select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(204,158,117,0.12);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23cc9e75'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2rem;
}

.glossario-search button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
}

.glossario-search button:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* Alfabeto */
.alfabeto {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 3rem;
    padding: 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(204,158,117,0.08);
    border-radius: var(--radius);
}

.alfabeto-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.6rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
}

.alfabeto-item:hover:not(.disabled) {
    background: rgba(204,158,117,0.08);
    color: var(--gold);
}

.alfabeto-item.active {
    background: var(--gold);
    color: var(--bg-primary);
}

.alfabeto-item.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Grupos por letra */
.glossario-grupo {
    margin-bottom: 3rem;
    scroll-margin-top: 90px;
}

.glossario-letra {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(204,158,117,0.15);
    letter-spacing: 0.05em;
}

.glossario-termos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}

.glossario-termo-card {
    position: relative;
    padding: 1.5rem 1.6rem;
    background: var(--bg-card);
    border: 1px solid rgba(204,158,117,0.08);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
}

.glossario-termo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(204,158,117,0.25);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.glossario-termo-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.glossario-termo-cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.glossario-termo-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.glossario-termo-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
}

/* Relacionados no detalhe */
.glossario-relacionados {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.glossario-rel-item {
    padding: 1rem;
    background: rgba(204,158,117,0.05);
    border: 1px solid rgba(204,158,117,0.1);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    display: block;
    text-decoration: none;
}

.glossario-rel-item:hover {
    background: rgba(204,158,117,0.1);
    border-color: rgba(204,158,117,0.25);
    transform: translateY(-2px);
}

.glossario-rel-item strong {
    display: block;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.glossario-rel-item span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.glossario-exemplos {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(204,158,117,0.04);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.glossario-exemplos h3 {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-body);
    font-weight: 700;
}

/* Sinônimos */
.glossario-sinonimos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    background: rgba(204, 158, 117, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: var(--radius-sm);
}

.glossario-sinonimos-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.03em;
}

.glossario-sinonimo {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    background: rgba(204, 158, 117, 0.1);
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--text-primary);
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(204, 158, 117, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: rgba(204, 158, 117, 0.2);
}

.faq-item[open] {
    background: rgba(204, 158, 117, 0.04);
    border-color: rgba(204, 158, 117, 0.2);
}

.faq-item summary {
    padding: 1rem 1.3rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 400;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    color: var(--gold);
}

.faq-answer {
    padding: 0 1.3rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 500px) {
    .glossario-search { flex-direction: column; padding: 1rem; border-radius: var(--radius); }
    .glossario-search select, .glossario-search button, .glossario-search input { width: 100%; }
    .glossario-letra { font-size: 2.2rem; }
}

/* ============================================
   BLOG
   ============================================ */
.blog-filters {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.blog-filters .cat-nav {
    flex: 1 1 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    min-width: 0;
}

.blog-filters .cat-nav::-webkit-scrollbar { display: none; }

.blog-filters .blog-search {
    flex: 0 0 auto;
}

.blog-search {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.15);
    border-radius: 50px;
    padding: 0.3rem 0.3rem 0.3rem 1.2rem;
    transition: all var(--transition);
    min-width: 280px;
}

.blog-search:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(204, 158, 117, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.blog-search input[type="search"] {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 0.5rem 0.5rem 0.5rem 0;
    min-width: 0;
}

.blog-search input[type="search"]::placeholder { color: var(--text-muted); }

.blog-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.blog-search button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
}

.blog-search button:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 3px 12px rgba(204, 158, 117, 0.25);
}

.blog-search button svg { flex-shrink: 0; }

@media (max-width: 768px) {
    .blog-filters { flex-direction: column; align-items: stretch; flex-wrap: wrap; }
    .blog-filters .cat-nav { justify-content: center; }
    .blog-filters .blog-search { width: 100%; min-width: 0; }
}

@media (max-width: 420px) {
    .blog-search button span { display: none; }
    .blog-search button { padding: 0.55rem 0.8rem; }
}

.blog-search-container {
    max-width: 640px;
    margin: 0 auto 3rem;
}

.blog-search-container .blog-search {
    min-width: 0;
    width: 100%;
    padding: 0.45rem 0.45rem 0.45rem 1.5rem;
}

.blog-search-container .blog-search input { font-size: 1rem; padding: 0.7rem 0.5rem 0.7rem 0; }
.blog-search-container .blog-search button { padding: 0.75rem 1.5rem; font-size: 0.85rem; }

/* Search empty state */
.search-empty {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 560px;
    margin: 0 auto;
}

.search-empty-icon {
    display: inline-block;
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.35;
    margin-bottom: 1rem;
}

.search-empty h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.search-empty p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.search-empty-cats {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-suggestions {
    text-align: center;
    padding: 2rem 0;
}

.search-suggestions h3 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-weight: 500;
}


.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
}

.post-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.3rem;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 158, 117, 0.2);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.post-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-card-image img { transform: scale(1.05); }

.post-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(204, 158, 117, 0.12), transparent 70%);
    color: var(--gold);
    font-size: 3rem;
    text-decoration: none;
}

.post-card-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.post-card-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.7rem;
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(204, 158, 117, 0.2);
    border-radius: 50px;
    background: rgba(204, 158, 117, 0.05);
    align-self: flex-start;
    text-decoration: none;
}

.post-card-cat:hover {
    background: rgba(204, 158, 117, 0.12);
    color: var(--gold-light);
}

.post-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    color: var(--bg-primary);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.7rem;
    margin-right: 0.5rem;
}

.post-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.post-card-title a { color: var(--text-primary); text-decoration: none; }
.post-card-title a:hover { color: var(--gold); }

.post-card-resumo {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}

.post-card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: auto;
}

/* Post destaque */
.post-destaque {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

@media (max-width: 800px) {
    .post-destaque { grid-template-columns: 1fr; }
}

.post-destaque-img {
    height: 100%;
    min-height: 340px;
    overflow: hidden;
    background: var(--bg-secondary);
    display: block;
}

.post-destaque-img img { width: 100%; height: 100%; object-fit: cover; }

.post-destaque-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(204,158,117,0.15), transparent 70%);
    color: var(--gold);
    font-size: 5rem;
}

.post-destaque-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.post-destaque-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0.3rem 0 1rem; line-height: 1.2; }
.post-destaque-content h2 a { color: var(--text-primary); text-decoration: none; }
.post-destaque-content h2 a:hover { color: var(--gold); }
.post-destaque-content p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 0.8rem; }

/* Post Detail */
.post-detail-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #FFFFFF;
    line-height: 1.15;
    margin: 0.5rem 0 0.6rem;
}

.post-detail-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    margin-bottom: 1rem;
    font-style: italic;
}

.post-detail-meta {
    display: flex;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    align-items: center;
    flex-wrap: wrap;
}

.post-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 2rem;
    max-height: 500px;
}

.post-detail-image img { width: 100%; height: 100%; object-fit: cover; }

.post-detail-content {
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.9;
}

.post-detail-content h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: var(--gold);
}

.post-detail-content h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem;
    color: var(--text-primary);
}

.post-detail-content p { margin-bottom: 1.2rem; }

.post-detail-content ul, .post-detail-content ol {
    margin: 0 0 1.2rem 1.5rem;
    color: var(--text-primary);
}

.post-detail-content li { margin-bottom: 0.5rem; }

.post-detail-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(204, 158, 117, 0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-primary);
}

.post-detail-content a { color: var(--gold); border-bottom: 1px solid rgba(204,158,117,0.3); }
.post-detail-content a:hover { border-bottom-color: var(--gold); }

.post-detail-content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}

.post-detail-content strong { color: var(--gold-light); }

.post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(204, 158, 117, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Sidebar list */
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { margin-bottom: 0.4rem; }
.sidebar-list a {
    display: block;
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    font-size: 0.92rem;
    transition: all var(--transition);
}
.sidebar-list a:hover { background: rgba(204, 158, 117, 0.08); color: var(--gold); }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-link {
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(204, 158, 117, 0.2);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all var(--transition);
}

.page-link:hover {
    background: rgba(204, 158, 117, 0.1);
    border-color: var(--gold);
}

.page-info { color: var(--text-muted); font-size: 0.9rem; }

/* ============================================
   CONTATO
   ============================================ */
.contato-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 900px) { .contato-layout { grid-template-columns: 1fr; } }

.contato-canais {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contato-canal {
    padding: 0.8rem 1rem;
    background: rgba(204, 158, 117, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.08);
    border-radius: var(--radius-sm);
}

.contato-canal-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.contato-canal a,
.contato-canal span:not(.contato-canal-label) {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contato-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contato-field .req {
    color: var(--gold);
    margin-left: 0.2rem;
}

.contato-field input,
.contato-field select,
.contato-field textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(204, 158, 117, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.contato-field input:focus,
.contato-field select:focus,
.contato-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(204, 158, 117, 0.1);
    background: var(--bg-card-solid);
}

.contato-field textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-body);
}

.contato-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23cc9e75'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contato-privacidade {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.contato-privacidade a { color: var(--gold); }

.contato-erro {
    padding: 1rem 1.2rem;
    background: rgba(224, 133, 133, 0.08);
    border: 1px solid rgba(224, 133, 133, 0.25);
    border-radius: var(--radius-sm);
    color: #e08585;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contato-sucesso {
    text-align: center;
    padding: 2rem 1rem;
}

.contato-sucesso-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contato-sucesso h3 {
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.contato-sucesso p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 420px;
}

/* ============================================
   AUTOLINK (links inteligentes no blog)
   ============================================ */
.autolink {
    color: var(--gold);
    border-bottom: 1px dotted rgba(204, 158, 117, 0.4);
    text-decoration: none;
    transition: all var(--transition);
}

.autolink:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
    border-bottom-style: solid;
}

/* ============================================
   EXPLORE TAMBÉM (internal linking)
   ============================================ */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
}

.explore-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.1rem;
    background: rgba(204, 158, 117, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
}

.explore-item:hover {
    background: rgba(204, 158, 117, 0.1);
    border-color: rgba(204, 158, 117, 0.3);
    transform: translateY(-2px);
}

.explore-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.85;
}

.explore-item strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 600;
}

.explore-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 0.2rem;
}

/* ============================================
   SIGNO - Pontos fortes/fracos
   ============================================ */
.signo-qualidades {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

@media (max-width: 600px) { .signo-qualidades { grid-template-columns: 1fr; } }

.qualidade-bloco {
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    background: rgba(204, 158, 117, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.08);
}

.qualidade-bloco h3 {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.qualidade-bloco p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.qualidade-bloco.fortes {
    background: rgba(100, 200, 120, 0.04);
    border-color: rgba(100, 200, 120, 0.12);
}

.qualidade-bloco.fracos {
    background: rgba(224, 133, 133, 0.04);
    border-color: rgba(224, 133, 133, 0.12);
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */
.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background: var(--gold);
    color: var(--bg-primary);
    padding: 0.7rem 1.2rem;
    font-weight: 700;
    border-radius: 0 0 8px 0;
    z-index: 10001;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    overflow: visible;
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .zodiac-wheel, .constellation, .hero-star, .hero-moon { animation: none !important; }
}

/* ============================================
   TAROT
   ============================================ */
.tarot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}

.tarot-card {
    position: relative;
    padding: 1.6rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.08);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
    text-align: center;
}

.tarot-card:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 158, 117, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.tarot-card-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    padding: 0.3rem 1rem;
    border: 1px solid rgba(204, 158, 117, 0.3);
    border-radius: 50px;
    background: rgba(204, 158, 117, 0.06);
}

.tarot-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.tarot-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Carta do Dia */
.carta-do-dia-card {
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.15);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.carta-dia-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--gold);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.carta-dia-nome {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.carta-dia-tipo {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.carta-dia-palavras {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.carta-dia-interpretacao {
    margin-top: 2.5rem;
    padding: 1.8rem 2rem;
    background: linear-gradient(135deg, rgba(204,158,117,0.08), rgba(204,158,117,0.02));
    border: 1px solid rgba(204,158,117,0.2);
    border-radius: var(--radius);
    text-align: left;
}

.carta-dia-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(204,158,117,0.3);
    border-radius: 50px;
    background: rgba(204,158,117,0.06);
    margin-bottom: 1rem;
}

.carta-dia-interpretacao .post-detail-content p {
    color: var(--text-primary);
    line-height: 1.85;
    margin-bottom: 1rem;
}

/* ============================================
   TIRAGENS DE TAROT
   ============================================ */
.tiragens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.3rem;
    margin-bottom: 3rem;
}

.tiragem-option {
    position: relative;
    padding: 1.8rem 1.6rem;
    background: var(--bg-card);
    border: 1px solid rgba(204, 158, 117, 0.08);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
}

.tiragem-option:hover {
    transform: translateY(-5px);
    border-color: rgba(204, 158, 117, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.tiragem-option-featured {
    background: linear-gradient(135deg, rgba(204, 158, 117, 0.12), rgba(204, 158, 117, 0.04));
    border-color: rgba(204, 158, 117, 0.25);
}

.tiragem-option-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(204, 158, 117, 0.25);
    border-radius: 50px;
    background: rgba(204, 158, 117, 0.06);
    margin-bottom: 1rem;
}

.tiragem-option h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.tiragem-option p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Grid dinâmica das cartas resultado */
.tiragem-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tiragem-grid-1 { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
.tiragem-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tiragem-grid-10 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

@media (max-width: 720px) {
    .tiragem-grid-3 { grid-template-columns: 1fr; }
}

.tiragem-carta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tiragem-posicao {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* Flip 3D */
.tiragem-flip {
    width: 220px;
    height: 340px;
    perspective: 1200px;
    cursor: pointer;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.tiragem-flip.ready { opacity: 1; transform: translateY(0); }

.tiragem-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.tiragem-flip.flipped .tiragem-flip-inner { transform: rotateY(180deg); }

.tiragem-flip.invertida .tiragem-flip-back { transform: rotateY(180deg) rotate(180deg); }

.tiragem-flip-front, .tiragem-flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 14px;
    overflow: hidden;
}

.tiragem-flip-back { transform: rotateY(180deg); }

.tiragem-verso, .tiragem-frente {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 14px;
    text-align: center;
}

.tiragem-verso {
    background: linear-gradient(135deg, #2a1f6e, #150f3d);
    border: 2px solid var(--gold);
    color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 0 40px rgba(204, 158, 117, 0.15);
    position: relative;
}

.tiragem-verso::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(204, 158, 117, 0.3);
    border-radius: 10px;
    pointer-events: none;
}

.tiragem-verso-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(204, 158, 117, 0.5));
}

.tiragem-verso-texto {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
}

.tiragem-frente {
    background: linear-gradient(135deg, #1f1852, #2a2166);
    border: 2px solid var(--gold);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.tiragem-numero {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.tiragem-frente h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.tiragem-tipo {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
}

.tiragem-inv {
    margin-top: 0.5rem;
    padding: 0.2rem 0.7rem;
    font-size: 0.7rem;
    color: #e08585;
    border: 1px solid rgba(224, 133, 133, 0.3);
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tiragem-texto {
    margin-top: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    text-align: center;
    max-width: 280px;
}

.tiragem-texto p { margin-bottom: 0.6rem; }

/* Historico da carta do dia */
.historico-cartas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.7rem;
}

.historico-item {
    padding: 0.8rem 1rem;
    background: rgba(204, 158, 117, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition);
    display: block;
}

.historico-item:hover {
    background: rgba(204, 158, 117, 0.1);
    border-color: rgba(204, 158, 117, 0.3);
    transform: translateY(-2px);
}

.historico-data {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.historico-nome {
    display: block;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.2;
}

.historico-tipo {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-form {
    max-width: 460px;
}

.newsletter-inner {
    display: flex;
    gap: 0.3rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(204, 158, 117, 0.15);
    border-radius: 50px;
    padding: 0.3rem 0.3rem 0.3rem 1.2rem;
    transition: all var(--transition);
}

.newsletter-inner:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(204, 158, 117, 0.1);
}

.newsletter-inner input[type="email"] {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 0.55rem 0;
}

.newsletter-inner input[type="email"]::placeholder { color: var(--text-muted); }

.newsletter-inner button {
    padding: 0.55rem 1.2rem;
    font-size: 0.78rem;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-muted));
    color: var(--bg-primary);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: var(--font-body);
}

.newsletter-inner button:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.newsletter-privacy {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
}

.newsletter-msg {
    margin-top: 0.7rem;
    font-size: 0.85rem;
    min-height: 1.2em;
}

.newsletter-msg.success { color: #8bcf9a; }
.newsletter-msg.error { color: #e08585; }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
    color: white;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: wppPulse 2s ease-out infinite;
}

@keyframes wppPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   AFILIADOS WIDGET
   ============================================ */
.afiliados-widget {
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(204, 158, 117, 0.1);
    border-radius: var(--radius);
}

.afiliados-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 700;
}

.afiliados-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.afiliado-item a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
    background: rgba(204, 158, 117, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.08);
}

.afiliado-item a:hover {
    background: rgba(204, 158, 117, 0.08);
    border-color: rgba(204, 158, 117, 0.2);
}

.afiliado-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.afiliado-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.afiliado-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.afiliados-disclaimer {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.7;
    text-align: center;
    margin-top: 0.5rem;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(15, 10, 40, 0.97);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(204, 158, 117, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    padding: 1.3rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text { flex: 1; min-width: 280px; }

.cookie-text strong {
    display: block;
    color: var(--gold);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a { color: var(--gold); text-decoration: underline; }

.cookie-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.cookie-actions .btn-outline,
.cookie-actions .btn-gold {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; }
    .cookie-actions { justify-content: stretch; }
    .cookie-actions button { flex: 1; }
}

/* ============================================
   SHARE BUTTONS
   ============================================ */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(204, 158, 117, 0.1);
}

.share-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(204, 158, 117, 0.15);
    border-radius: 50px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}

.share-btn:hover {
    background: rgba(204, 158, 117, 0.1);
    border-color: rgba(204, 158, 117, 0.3);
    color: var(--gold);
    transform: translateY(-2px);
}

.share-btn svg { flex-shrink: 0; }

.share-whatsapp:hover { background: rgba(37, 211, 102, 0.12); border-color: rgba(37, 211, 102, 0.3); color: #25D366; }
.share-twitter:hover { background: rgba(255, 255, 255, 0.08); color: #FFFFFF; }
.share-facebook:hover { background: rgba(24, 119, 242, 0.12); border-color: rgba(24, 119, 242, 0.3); color: #1877F2; }
.share-telegram:hover { background: rgba(0, 136, 204, 0.12); border-color: rgba(0, 136, 204, 0.3); color: #08c; }

.share-btn.copied {
    background: rgba(204, 158, 117, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================
   ERROR PAGES (404, 500, 403)
   ============================================ */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
}

.error-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.error-stars {
    margin-bottom: 1.5rem;
}

.error-stars span {
    display: inline-block;
    color: var(--gold);
    margin: 0 0.4rem;
    font-size: 1.5rem;
    opacity: 0.5;
    animation: twinkle 3s ease-in-out infinite;
}

.error-stars span:nth-child(2) { animation-delay: -1s; font-size: 1.8rem; }
.error-stars span:nth-child(3) { animation-delay: -2s; }

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.error-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-links p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.error-links-grid {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-links-grid a {
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(204, 158, 117, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.error-links-grid a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================
   FOOTER LEGAL LINKS
   ============================================ */
.footer-legal-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.footer-legal-links a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-legal-links a:hover { color: var(--gold); }

.footer-legal-links span {
    color: var(--text-muted);
    opacity: 0.5;
}

/* ============================================
   ADS
   ============================================ */
.ad-container {
    max-width: 1200px;
    margin: 1.5rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.ad-header { margin-top: 80px; }
.ad-in-grid { grid-column: 1 / -1; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-moon { width: 80px; height: 80px; top: 15%; right: 5%; }
    .zodiac-wheel { width: 320px; height: 320px; }
    .wheel-sign {
        font-size: 1rem;
        transform: rotate(calc(var(--i) * 30deg)) translate(150px) rotate(calc(var(--i) * -30deg));
    }
    .compat-form { padding: 1.5rem; }
    .compat-resultado { padding: 1.5rem; }
    .compat-resultado-header { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
    .zodiac-wheel { display: none; }
    .hero-star { display: none; }
    .signos-grid { gap: 1rem; }
    .categorias-grid { grid-template-columns: 1fr; }
    .signos-detail-grid { grid-template-columns: 1fr; }
    .horoscopo-grid { grid-template-columns: 1fr; }
}


/* Prev/Next navigation */
.prev-next-nav{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:2rem 0}
.prev-next-nav .prev-next-item{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:rgba(204,158,117,.06);border:1px solid rgba(204,158,117,.2);border-radius:12px;text-decoration:none;color:inherit;transition:all .2s ease}
.prev-next-nav .prev-next-item:hover{background:rgba(204,158,117,.12);border-color:rgba(204,158,117,.5);transform:translateY(-2px)}
.prev-next-nav .next-item{justify-content:flex-end;text-align:right}
.prev-next-nav .prev-next-arrow{font-size:1.5rem;color:var(--gold);flex-shrink:0}
.prev-next-nav .prev-next-label{display:flex;flex-direction:column;min-width:0}
.prev-next-nav .prev-next-type{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);font-weight:600}
.prev-next-nav .prev-next-title{font-size:.95rem;color:var(--text-primary);margin-top:.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.prev-next-nav .prev-item:only-child{grid-column:1}
.prev-next-nav .next-item:only-child{grid-column:2}
@media(max-width:640px){.prev-next-nav{grid-template-columns:1fr}.prev-next-nav .next-item{justify-content:flex-start;text-align:left;flex-direction:row}}

/* Autolinks inline */
.autolink{color:var(--gold);border-bottom:1px dashed rgba(204,158,117,.4);text-decoration:none}
.autolink:hover{color:var(--gold-light,#e8c896);border-bottom-style:solid}

/* Sidebar info mini (horoscopo_detail) */
.signo-info-mini{display:flex;flex-direction:column;gap:.6rem;font-size:.92rem}
.signo-info-mini .signo-info-row{display:flex;justify-content:space-between;align-items:center;padding:.4rem 0;border-bottom:1px solid rgba(255,255,255,.06)}
.signo-info-mini .signo-info-row:last-child{border-bottom:0}
.signo-info-mini strong{color:var(--gold);font-weight:600}

/* Form submit loading state */
.btn-loading{position:relative;pointer-events:none;opacity:.7}
.btn-loading::after{content:"";position:absolute;right:1rem;top:50%;width:14px;height:14px;margin-top:-7px;border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:btn-spin .7s linear infinite}
@keyframes btn-spin{to{transform:rotate(360deg)}}


/* Inline category icon (detail meta) */
.cat-inline-icon{display:inline-flex;align-items:center;vertical-align:middle;margin:0 .15rem}
.cat-inline-icon img{filter:brightness(0) saturate(100%) invert(73%) sepia(19%) saturate(716%) hue-rotate(346deg) brightness(92%) contrast(89%)}
.outro-icon img{display:block;filter:brightness(0) saturate(100%) invert(73%) sepia(19%) saturate(716%) hue-rotate(346deg) brightness(92%) contrast(89%)}



/* Defer rendering de sections abaixo da dobra (melhora LCP) */
.section:not(.hero):not(.page-hero) {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

