/* Reduprime Receitas — identidade visual oficial Reduprime
   Cores e fontes extraídas de reduprime.com.br
*/
:root {
  /* Backgrounds escuros (do site oficial) */
  --bg: #08050d;
  --bg-1: #0d0817;
  --bg-2: #14102a;
  --bg-3: #1d1638;

  /* Roxo Reduprime */
  --purple: #7B3CC0;
  --purple-lt: #a45cd9;
  --purple-dk: #4a1f73;
  --purple-deep: #2a0f4a;
  --purple-glow: rgba(123,60,192,.35);

  /* Dourado Reduprime */
  --gold: #d4af37;
  --gold-lt: #f0cf6b;
  --gold-dk: #9b7e1a;

  /* Vermelho (acento) */
  --red: #e11d2e;
  --red-lt: #ff2a3b;

  /* Neutros */
  --white: #ffffff;
  --g100: #f5f5f5;
  --g200: #d4d4d4;
  --g300: #a3a3a3;
  --g400: #737373;
  --g600: #404040;
  --line: rgba(123,60,192,.25);
  --line-strong: rgba(123,60,192,.5);

  /* Sombras / radii */
  --r: 12px;
  --r-lg: 18px;
  --shadow-purple: 0 12px 40px rgba(123,60,192,.30);
  --shadow-gold: 0 8px 28px rgba(212,175,55,.25);

  /* Fontes oficiais Reduprime */
  --fh: 'Playfair Display', Georgia, serif;
  --fb: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --fd: 'Bebas Neue', 'Oswald', 'Arial Narrow', Impact, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  color: var(--white);
  background: var(--bg);
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse at top, rgba(123,60,192,.18), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(212,175,55,.06), transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: var(--gold-lt); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--fh);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
}

/* === HEADER === */
.header {
  background: rgba(8,5,13,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  display: block;
  width: 140px; height: 48px;
  background: url('/assets/logo.png') no-repeat center / contain;
  text-indent: -9999px; overflow: hidden;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--g200);
  font-family: var(--fd);
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a:hover { color: var(--gold); }

/* === HERO === */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
}
.hero-inner { max-width: 850px; margin: 0 auto; }
.hero h1 {
  font-family: var(--fh);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--white) 0%, var(--purple-lt) 60%, var(--gold-lt) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-family: var(--fb);
  font-size: 18px;
  color: var(--g200);
  margin-bottom: 36px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* === SEARCH === */
.search-box {
  max-width: 600px; margin: 0 auto;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 18px 24px 18px 56px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50px;
  font-size: 16px;
  font-family: var(--fb);
  background: rgba(20, 16, 42, 0.7);
  color: var(--white);
  box-shadow: var(--shadow-purple);
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.search-input::placeholder { color: var(--g300); }
.search-input:focus {
  outline: none;
  border-color: var(--purple-lt);
  box-shadow: 0 0 0 4px rgba(123,60,192,.18), var(--shadow-purple);
  background: rgba(29, 22, 56, 0.85);
}
.search-icon {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  color: var(--purple-lt);
}

/* === FILTROS CATEGORIA === */
.categorias {
  max-width: 1100px; margin: 32px auto 0; padding: 0 16px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.cat-chip {
  padding: 9px 18px;
  border-radius: 50px;
  background: rgba(20, 16, 42, 0.6);
  border: 1.5px solid var(--line);
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--g200);
  cursor: pointer;
  transition: all 0.18s;
}
.cat-chip:hover {
  border-color: var(--purple-lt);
  color: var(--white);
  background: rgba(123,60,192,.12);
}
.cat-chip.active {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dk) 100%);
  color: var(--white);
  border-color: var(--purple-lt);
  box-shadow: 0 4px 14px rgba(123,60,192,.40);
}

/* === GRID PRODUTOS === */
.produtos-grid {
  max-width: 1200px; margin: 48px auto; padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.produto-card {
  background: linear-gradient(135deg, rgba(29,22,56,.85) 0%, rgba(13,8,23,.92) 100%);
  border-radius: var(--r-lg);
  padding: 26px;
  border: 1px solid var(--line);
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.produto-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  opacity: 0;
  transition: opacity 0.25s;
}
.produto-card:hover {
  border-color: var(--purple-lt);
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}
.produto-card:hover::before { opacity: 1; }
.produto-card-cat {
  display: inline-block;
  background: rgba(123,60,192,.18);
  color: var(--gold-lt);
  font-family: var(--fd);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  align-self: flex-start;
  text-transform: uppercase;
}
.produto-card h3 {
  font-family: var(--fh);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.25;
}
.produto-card p {
  font-family: var(--fb);
  font-size: 14px;
  color: var(--g200);
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.55;
}
.produto-card-link {
  font-family: var(--fd);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.produto-card-link::after {
  content: "→"; transition: transform 0.2s;
}
.produto-card:hover .produto-card-link::after {
  transform: translateX(5px);
}

/* === EMPTY STATE === */
.empty-state {
  max-width: 600px; margin: 60px auto; text-align: center; padding: 40px 24px;
}
.empty-state h2 { color: var(--white); margin-bottom: 8px; font-family: var(--fh); }
.empty-state p { color: var(--g300); }

/* === PRODUTO PAGE === */
.produto-hero {
  background:
    radial-gradient(ellipse at top, rgba(123,60,192,.25), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
  padding: 60px 24px 70px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.produto-hero-inner { max-width: 800px; margin: 0 auto; }
.produto-hero-cat {
  display: inline-block;
  background: rgba(123,60,192,.20);
  border: 1px solid var(--line-strong);
  color: var(--gold-lt);
  font-family: var(--fd);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.produto-hero h1 {
  font-family: var(--fh);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  color: var(--white);
}
.produto-hero-desc {
  font-family: var(--fb);
  font-size: 17px;
  color: var(--g200);
  max-width: 620px; margin: 0 auto;
  line-height: 1.6;
}

.breadcrumb {
  max-width: 900px; margin: 24px auto 0; padding: 0 24px;
  font-family: var(--fb);
  font-size: 13px;
  color: var(--g300);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; color: var(--g400); }

/* === RECEITAS === */
.receitas-section {
  max-width: 900px; margin: 0 auto; padding: 50px 24px;
}
.section-title {
  font-family: var(--fh);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-family: var(--fb);
  font-size: 16px;
  color: var(--g300);
  text-align: center;
  margin-bottom: 44px;
}

.receita {
  background: linear-gradient(135deg, rgba(29,22,56,.75) 0%, rgba(13,8,23,.9) 100%);
  border-radius: var(--r-lg);
  padding: 36px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  transition: all 0.2s;
}
.receita:hover {
  border-color: var(--purple-lt);
  box-shadow: var(--shadow-purple);
}
.receita-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.receita-cat {
  display: inline-block;
  background: rgba(123,60,192,.18);
  color: var(--gold-lt);
  font-family: var(--fd);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 5px 13px;
  border-radius: 6px;
  text-transform: uppercase;
}
.receita-meta {
  font-family: var(--fb);
  font-size: 13px;
  color: var(--g300);
  display: flex; gap: 16px;
}
.receita h2 {
  font-family: var(--fh);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.receita-body {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 36px;
}
@media (max-width: 700px) {
  .receita-body { grid-template-columns: 1fr; gap: 26px; }
  .receita { padding: 26px; }
  .receita h2 { font-size: 22px; }
  .receitas-section { padding: 30px 16px; }
}
.receita-ingredientes h4,
.receita-modo h4 {
  font-family: var(--fd);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.receita-ingredientes ul {
  list-style: none; padding: 0;
}
.receita-ingredientes li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-family: var(--fb);
  font-size: 15px;
  color: var(--g100);
  border-bottom: 1px solid var(--line);
}
.receita-ingredientes li:last-child { border-bottom: none; }
.receita-ingredientes li::before {
  content: "◆";
  position: absolute; left: 4px; top: 8px;
  color: var(--gold);
  font-size: 11px;
}
.receita-modo ol {
  list-style: none; counter-reset: passos; padding: 0;
}
.receita-modo li {
  padding: 10px 0 10px 38px;
  position: relative;
  font-family: var(--fb);
  font-size: 15px;
  color: var(--g100);
  line-height: 1.55;
  counter-increment: passos;
}
.receita-modo li::before {
  content: counter(passos);
  position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dk) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(123,60,192,.35);
}
.receita-dica {
  margin-top: 26px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(212,175,55,.10) 0%, rgba(123,60,192,.06) 100%);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  font-family: var(--fb);
  font-size: 14px;
  color: var(--g100);
  line-height: 1.55;
}
.receita-dica strong {
  color: var(--gold);
  font-family: var(--fd);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
}

/* === CTA FINAL === */
.cta-section {
  background:
    radial-gradient(ellipse at center, rgba(123,60,192,.20), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 70px 24px;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--fh);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.cta-section p {
  font-family: var(--fb);
  font-size: 17px;
  color: var(--g200);
  margin-bottom: 30px;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dk), var(--gold-lt) 50%, var(--gold-dk));
  background-size: 200%;
  color: #1a1a1a;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s;
  animation: shimmer 4s linear infinite;
  box-shadow: var(--shadow-gold);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(212,175,55,.40);
  color: #000;
}
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* === FOOTER === */
.footer {
  background: var(--bg);
  color: var(--g400);
  padding: 40px 24px;
  text-align: center;
  font-family: var(--fb);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.footer a { color: var(--gold); }
.footer a:hover { color: var(--gold-lt); }
