/* =============================================
   Rainhas da Pechincha - Blog Feminino Styles
   Paleta: Rosa #ec4899, Magenta #a21caf, Branco
   Google Fonts: Abril Fatface (headings) + Quicksand (body)
   Mobile-First Design
   ============================================= */

:root {
  --color-primary: #ec4899;
  --color-secondary: #a21caf;
  --color-primary-light: #f472b6;
  --color-primary-dark: #db2777;
  --color-accent: #be185d;
  --color-dark: #1e1b2e;
  --color-light: #fdf2f8;
  --color-white: #ffffff;
  --color-gray: #7c7494;
  --color-gray-light: #f8f5fc;
  --font-heading: 'Abril Fatface', serif;
  --font-body: 'Quicksand', sans-serif;
  --shadow-sm: 0 2px 8px rgba(162,28,175,0.08);
  --shadow-md: 0 6px 20px rgba(162,28,175,0.12);
  --shadow-lg: 0 12px 40px rgba(162,28,175,0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-light);
  line-height: 1.75;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- HEADER --- */
.site-header {
  background: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(162,28,175,0.06);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-secondary);
  line-height: 1;
}

.logo span {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.5rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.nav-menu.active { right: 0; }
.nav-menu li { margin-bottom: 1rem; }

.nav-menu a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
  padding: 0.4rem 0;
}

.nav-menu a:hover { color: var(--color-primary); }

.nav-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.8rem; cursor: pointer;
  color: var(--color-dark);
}

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 0.5rem;
}

.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--color-primary);
  border-radius: 12px;
  transition: var(--transition);
}

.nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(162,28,175,0.35);
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.nav-overlay.active { opacity: 1; visibility: visible; }

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, var(--color-light) 0%, #fce7f3 30%, #f5d0fe 70%, #fae8ff 100%);
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(236,72,153,0.12), transparent 70%);
  border-radius: 50%;
  animation: sparkle 6s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(162,28,175,0.1), transparent 70%);
  border-radius: 50%;
  animation: sparkle 8s ease-in-out infinite alternate-reverse;
}

@keyframes sparkle {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 1; }
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.2;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.hero h1 .highlight {
  color: var(--color-primary);
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--color-gray);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 0.96rem;
  color: var(--color-dark);
  line-height: 1.85;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* --- SECTIONS --- */
.section {
  padding: 2.5rem 1rem;
}

.section-white {
  background: var(--color-white);
}

.section-pink {
  background: var(--color-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* --- DEALS / POST CARDS --- */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.post-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card .card-body {
  padding: 1.25rem;
}

.post-card .category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.post-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.post-card p {
  font-size: 0.92rem;
  color: var(--color-gray);
  line-height: 1.65;
}

.post-card .deal-badge {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-lg);
}

/* --- CATEGORIES --- */
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.category-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.category-card:hover {
  border-bottom-color: var(--color-primary);
  transform: translateY(-2px);
}

.cat-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-white);
}

.category-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-dark);
  margin-bottom: 0.2rem;
}

.category-card p {
  font-size: 0.88rem;
  color: var(--color-gray);
  line-height: 1.5;
}

/* --- TIPS --- */
.tips-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.tips-content p {
  font-size: 0.96rem;
  color: var(--color-dark);
  line-height: 1.85;
  opacity: 0.88;
  margin-bottom: 1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236,72,153,0.3);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* --- CTA --- */
.cta-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
  color: var(--color-white);
  padding: 3rem 1rem;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.cta-section p {
  font-size: 0.95rem;
  opacity: 0.92;
  max-width: 550px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* --- AUTHORITY --- */
.authority-section {
  padding: 2rem 1rem;
  background: var(--color-gray-light);
}

.authority-section h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: center;
  color: var(--color-gray);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.authority-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.authority-links a {
  display: inline-block;
  padding: 0.45rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  font-size: 0.82rem;
  color: var(--color-gray);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.authority-links a:hover {
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.65);
  padding: 2rem 1rem 1.5rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-content p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-links a:hover { color: var(--color-primary-light); }

.footer-authority {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.footer-authority a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-authority a:hover { color: var(--color-primary-light); }

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* --- WHATSAPP --- */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: glow-wa 2s infinite;
}

.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: var(--color-white); }

@keyframes glow-wa {
  0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 25px rgba(37,211,102,0.6); }
}

/* --- SITEMAP --- */
.sitemap-page {
  padding: 2rem 1rem;
  min-height: 70vh;
}

.sitemap-page h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
  text-align: center;
}

.sitemap-list {
  max-width: 600px;
  margin: 0 auto;
}

.sitemap-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gray-light);
}

.sitemap-list a {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-dark);
}

.sitemap-list a:hover { color: var(--color-primary); }

/* --- TABLET 768px --- */
@media (min-width: 768px) {
  .hero { padding: 4rem 2rem; }
  .hero h1 { font-size: 2.8rem; }
  .section { padding: 3.5rem 2rem; }
  .section-title { font-size: 2rem; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }

  .hamburger { display: none; }
  .nav-menu {
    position: static; flex-direction: row;
    width: auto; height: auto;
    background: transparent; box-shadow: none;
    padding: 0; gap: 1.5rem;
  }
  .nav-close { display: none; }
  .nav-overlay { display: none; }
}

/* --- DESKTOP 1024px --- */
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.2rem; }
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .header-container { padding: 1rem 2rem; }
}
