/* ==========================================================================
   LUNAPRESSCOT - RECEITAS BRASILEIRAS
   Stylesheet Principal - Versão 2.0 (Otimizada)
   ========================================================================== */
/* --- SUPORTE GLOBAL A EMOJIS (CORRIGIDO) --- */
* {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}
body,
button,
.share-btn,
.share-buttons,
.faq-question h3,
.tip-icon,
.hero::before,
.faq-icon,
a {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}
.share-btn {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}
/* --- 1. Reset & Base Styles --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--dark-text);
  background: var(--light-bg);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) ease;
}
ul {
  list-style: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
/* --- 2. CSS Variables --- */
:root {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --accent-color: #fbbf24;
  --dark-text: #2c3e50;
  --light-text: #718096;
  --light-bg: #f8f9fa;
  --white-bg: #ffffff;
  --success-color: #48bb78;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --border-radius: 12px;
  --transition-speed: 0.3s;
}
/* --- 3. Layout Helpers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-small {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
/* --- 4. Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-text);
  color: var(--white-bg);
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-speed) ease;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-content p {
  margin: 0;
  font-size: 14px;
  flex: 1;
  min-width: 250px;
}
.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
}
.btn-accept {
  background: var(--primary-color);
  color: var(--white-bg);
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition-speed);
}
.btn-accept:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}
/* HEADER RESPONSIVO */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.logo {
    flex-shrink: 0;
}
.logo h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #ff6b35;
}
.logo h1 a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo h1 a:hover {
    opacity: 0.8;
}
.tagline {
    margin: 0.25rem 0 0 0;
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
}
/* MENU TOGGLE */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
}
.menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
/* NAVEGAÇÃO */
.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem;
}
.main-nav.active {
    display: block;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.main-nav li {
    border-bottom: 1px solid #f0f0f0;
}
.main-nav li:last-child {
    border-bottom: none;
}
.main-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.main-nav a:hover {
    background-color: #f9f9f9;
    color: #ff6b35;
}
.main-nav a.active {
    color: #ff6b35;
    background-color: #fff5f0;
}
/* DESKTOP */
@media (min-width: 768px) {
    .site-header {
        padding: 1.5rem 0;
    }
    .header-content {
        gap: 2rem;
    }
    .logo h1 {
        font-size: 1.75rem;
    }
    .tagline {
        font-size: 0.8rem;
    }
    .menu-toggle {
        display: none;
    }
    .main-nav {
        display: block !important;
        position: static;
        background-color: transparent;
        border: none;
        padding: 0;
        margin-left: auto;
    }
    .main-nav ul {
        flex-direction: row;
        gap: 2rem;
    }
    .main-nav li {
        border-bottom: none;
    }
    .main-nav a {
        padding: 0;
        position: relative;
    }
    .main-nav a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 3px;
        background-color: #ff6b35;
        transition: width 0.3s;
    }
    .main-nav a:hover::after,
    .main-nav a.active::after {
        width: 100%;
    }
    .main-nav a:hover {
        background-color: transparent;
    }
    .main-nav a.active {
        background-color: transparent;
        color: #333;
    }
}
/* --- 6. Navigation --- */
.main-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav a {
  color: var(--dark-text);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-speed) ease;
}
.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}
.search-btn {
  background: var(--primary-color);
  color: var(--white-bg);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-speed);
}
.search-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}
/* --- 7. Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition-speed);
}
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
/* --- 8. Search Modal --- */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.search-modal.active {
  display: flex;
}
.search-modal-content {
  background: var(--white-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 600px;
  position: relative;
}
.close-search {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 30px;
  color: var(--light-text);
  transition: var(--transition-speed);
}
.close-search:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}
.search-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.search-input {
  flex: 1;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition-speed);
}
.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
}
.search-submit {
  background: var(--primary-color);
  color: var(--white-bg);
  padding: 15px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition-speed);
}
.search-submit:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}
/* --- 9. Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white-bg);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '🍲';
  position: absolute;
  top: -50px;
  right: -50px;
  font-size: 200px;
  opacity: 0.1;
  z-index: 0;
}
.hero-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}
.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}
/* --- 10. Featured Recipes Section --- */
.featured-recipes-section {
  padding: 60px 0;
  background-color: var(--light-bg);
}
.featured-recipes-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}
.featured-recipes-section .section-header h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2em, 3.5vw, 2.8em);
  color: var(--dark-text);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.featured-recipes-section .section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}
.featured-recipes-section .section-header .section-subtitle {
  font-size: 1.1em;
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto;
}
/* Grid de Receitas */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}
/* Card de Receita */
.recipe-card {
  background-color: var(--white-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.recipe-card .card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.recipe-card .card-image {
  position: relative;
  width: 100%;
  padding-top: 66.66%;
  overflow: hidden;
}
.recipe-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}
.recipe-card:hover .card-image img {
  transform: scale(1.05);
}
.recipe-card .recipe-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: var(--primary-color);
  color: var(--white-bg);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.recipe-card .card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.recipe-card .card-title {
  font-family: 'Merriweather', serif;
  font-size: 1.4em;
  color: var(--dark-text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.recipe-card .card-meta {
  display: flex;
  gap: 15px;
  font-size: 0.9em;
  color: var(--light-text);
  margin-top: 10px;
}
/* --- 11. About Section --- */
.about-section {
  padding: 60px 0;
}
.about-section h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--dark-text);
  margin-bottom: 30px;
}
.about-section p {
  font-size: 1.05em;
  color: var(--dark-text);
  line-height: 1.8;
  margin-bottom: 20px;
}
/* --- 12. Recipe Article --- */
.recipe-article {
  padding: 40px;
  background: var(--white-bg);
}
.article-header {
  text-align: center;
  margin-bottom: 40px;
}
.article-header h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(2em, 4vw, 3em);
  color: var(--dark-text);
  margin-bottom: 15px;
}
.recipe-intro .lead {
  font-size: 1.1em;
  color: var(--dark-text);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
}
.recipe-meta-bar {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin: 20px 0;
  font-size: 0.95em;
  color: var(--light-text);
}
.recipe-content {
  margin-top: 40px;
}
.recipe-content h2 {
  font-family: 'Merriweather', serif;
  font-size: 2em;
  color: var(--dark-text);
  margin-top: 40px;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-color);
}
.highlight-list {
  background: #fff3cd;
  padding: 20px;
  border-left: 4px solid var(--accent-color);
  margin: 25px 0;
  border-radius: 4px;
}
.highlight-list li {
  margin-bottom: 10px;
  color: var(--dark-text);
}
.tip-box {
  background: #e7f3ff;
  padding: 15px 20px;
  border-left: 4px solid var(--primary-color);
  margin: 25px 0;
  border-radius: 4px;
  color: var(--dark-text);
}
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 30px 0;
}
.ingredient-group {
  background: var(--light-bg);
  padding: 20px;
  border-radius: var(--border-radius);
}
.ingredient-group h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.ingredient-list {
  list-style: none;
}
.ingredient-list li {
  padding: 8px 0;
  color: var(--dark-text);
  border-bottom: 1px solid #e0e0e0;
}
.ingredient-list li:last-child {
  border-bottom: none;
}
.step {
  display: flex;
  gap: 20px;
  padding: 25px;
  margin-bottom: 25px;
  background: var(--light-bg);
  border-radius: var(--border-radius);
}
.step-number {
  background: var(--primary-color);
  color: var(--white-bg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 1.3em;
  color: var(--dark-text);
  margin-top: 0;
  margin-bottom: 10px;
}
.step-content p {
  color: var(--dark-text);
  line-height: 1.6;
}
.tips-section {
  margin-top: 50px;
  background-color: #fefcbf;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.tips-section h2 {
  color: var(--dark-text);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 30px;
}
.tips-section h2::after {
  background-color: var(--accent-color);
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.tip-card {
  background-color: var(--white-bg);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.tip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.tip-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}
.tip-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2em;
  color: var(--dark-text);
  margin-bottom: 10px;
}
.tip-card p {
  font-size: 0.9em;
  color: var(--light-text);
  line-height: 1.5;
}
/* --- 13. FAQ SECTION --- */
.faq-section {
  margin-top: 50px;
  padding: 40px 0;
}
.faq-section h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--dark-text);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  width: 100%;
}
.faq-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--white-bg);
  transition: all var(--transition-speed) ease;
  box-shadow: var(--shadow-sm);
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}
.faq-question {
  width: 100%;
  padding: 1.2rem;
  background: #f9f9f9;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  transition: all var(--transition-speed) ease;
  text-align: left;
}
.faq-question:hover {
  background: #f0f0f0;
  color: var(--primary-color);
}
.faq-question h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}
.faq-question:hover h3 {
  color: var(--secondary-color);
}
.faq-icon {
  font-size: 1.5rem;
  transition: transform var(--transition-speed) ease;
  flex-shrink: 0;
  margin-left: 1rem;
  display: inline-block;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 1.5rem;
  background: var(--white-bg);
  border-top: 1px solid #e0e0e0;
  animation: slideDown 0.3s ease;
  display: block !important;
}
.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: var(--dark-text);
  font-size: 0.95rem;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- 14. Related Recipes Section --- */
.related-recipes-section {
  margin-top: 60px;
  padding: 40px 0;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
}
.related-recipes-section h2 {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: var(--dark-text);
  text-align: center;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  width: 100%;
}
.related-recipes-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}
.related-recipes-section .section-subtitle {
  font-size: 1em;
  color: var(--light-text);
  text-align: center;
  margin-bottom: 30px;
}
.related-recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}
.related-recipe-card {
  background: var(--white-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.related-recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.related-recipe-card .card-image {
  position: relative;
  width: 100%;
  padding-top: 66.66%;
  overflow: hidden;
}
.related-recipe-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}
.related-recipe-card:hover .card-image img {
  transform: scale(1.05);
}
.related-recipe-card .card-content {
  padding: 15px;
}
.related-card-title {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.related-card-meta {
  font-size: 0.85rem;
  color: var(--light-text);
}
.btn-view-all {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white-bg);
  padding: 15px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition-speed);
  margin-top: 30px;
}
.btn-view-all:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}
/* --- 15. Share Section --- */
.share-section {
  padding: 40px 0;
  margin: 50px 0;
  text-align: center;
  border-top: 2px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
}
.share-section h3 {
  font-size: 1.8rem;
  color: var(--dark-text);
  margin-bottom: 15px;
}
.share-section p {
  color: var(--light-text);
  margin-bottom: 25px;
}
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition-speed);
  text-decoration: none;
  color: var(--white-bg);
  font-size: 0.95rem;
  font-family: 'Poppins', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}
.share-btn.facebook {
  background: #1877f2;
}
.share-btn.facebook:hover {
  background: #165ec9;
  transform: translateY(-2px);
}
.share-btn.twitter {
  background: #1da1f2;
}
.share-btn.twitter:hover {
  background: #1a8cd8;
  transform: translateY(-2px);
}
.share-btn.pinterest {
  background: #e60023;
}
.share-btn.pinterest:hover {
  background: #ad081b;
  transform: translateY(-2px);
}
.share-btn.whatsapp {
  background: #25d366;
}
.share-btn.whatsapp:hover {
  background: #1fa856;
  transform: translateY(-2px);
}
.share-btn.telegram {
  background: #0088cc;
}
.share-btn.telegram:hover {
  background: #006ba3;
  transform: translateY(-2px);
}
.share-btn.email {
  background: #ea4335;
}
.share-btn.email:hover {
  background: #c5221f;
  transform: translateY(-2px);
}
/* Botão de Copiar Link */
.share-btn.copy-link {
  background: #ff6b35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition-speed);
  text-decoration: none;
  color: var(--white-bg);
  font-size: 0.95rem;
  font-family: 'Poppins', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}
.share-btn.copy-link:hover {
  background: #f7931e;
  transform: translateY(-2px);
}
/* --- 16. Footer --- */
footer {
  background: var(--dark-text);
  color: var(--white-bg);
  padding: 50px 0 20px;
  margin-top: 60px;
}
.footer-content {
  margin-bottom: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.footer-col h4 {
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col a {
  color: #b0bec5;
  transition: var(--transition-speed);
}
.footer-col a:hover {
  color: var(--primary-color);
}
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-speed);
}
.social-links a:hover {
  background: var(--primary-color);
}
/* --- SUPORTE A EMOJIS (FINAL) --- */
.share-btn {
  font-family: 'Poppins', sans-serif;
}

/* --- HEADER RESPONSIVO (CONTINUAÇÃO) --- */

/* Esconde o botão de toggle em telas maiores */
.menu-toggle {
    display: none; /* Esconde por padrão em desktop */
}

/* Estilos para o menu de navegação em telas maiores */
.main-nav ul {
    display: flex; /* Para que os itens fiquem lado a lado em desktop */
    gap: 25px; /* Espaçamento entre os itens */
}

.main-nav ul li a {
    font-weight: 600;
    color: var(--dark-text);
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

/* Media Queries para Mobile - CORRIGIDO */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* BOTÃO DO MENU (Hambúrguer) */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        /* Z-INDEX AUMENTADO PARA 10000 PARA FICAR ACIMA DO MENU ABERTO */
        z-index: 10000; 
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--dark-text);
        border-radius: 3px;
        transition: all var(--transition-speed) ease;
        transform-origin: left center;
    }

    /* Animação do ícone */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, -2px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, 2px);
    }

    /* MENU LATERAL (Gaveta) */
    .main-nav {
        display: block !important;
        position: fixed !important;
        top: 0;
        /* Começa fora da tela */
        right: -100% !important; 
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out, visibility 0.3s;
        z-index: 9999;
        padding-top: 80px;
        overflow-y: auto;

        /* GARANTE QUE ESTÁ INVISÍVEL QUANDO FECHADO */
        visibility: hidden; 
    }

    /* Quando a classe .active entra, o menu aparece */
    .main-nav.active {
        right: 0 !important;
        visibility: visible; /* Torna visível apenas agora */
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .main-nav ul li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        font-size: 1.1rem;
    }

    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .main-nav ul li a::after {
        display: none;
    }
}

/* Estilo do Botão Voltar ao Topo Existente */
#backToTop {
    display: none; /* Começa invisível */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-color); /* Laranja do tema */
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    font-size: 20px;
    width: 45px;
    height: 45px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
    align-items: center;
    justify-content: center;
}

#backToTop:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* --- CORREÇÃO DO HEADER (Mobile e Desktop) --- */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Espalha: Logo na esq, resto na dir */
    gap: 15px; /* Espaço mínimo entre os itens */
    position: relative;
}

/* Garante que o Logo ocupe o espaço, mas não esmague os botões */
.logo {
    flex-grow: 1;
    min-width: 0; /* Permite que o texto quebre se necessário */
}

/* O SEGREDO DO MOBILE: Impede que os botões sejam esmagados */
.search-btn, 
.menu-toggle {
    flex-shrink: 0; /* Proibido encolher! */
    width: 44px;    /* Tamanho bom pro dedo */
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

/* Ajuste de posição no Desktop */
@media (min-width: 769px) {
    /* No desktop, esconde o menu hambúrguer e mostra o menu normal */
    .menu-toggle { display: none; }

    /* Alinha a lupa ao lado do menu */
    .header-content {
        justify-content: space-between; 
    }

    /* Se quiser a lupa mais à esquerda (antes do menu), use order: */
    /* .search-btn { order: 1; } */
    /* .main-nav { order: 2; } */
}

/* --- ESTILO DO MODAL DE PESQUISA (Para o JS funcionar visualmente) --- */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fundo escuro */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Escondido por padrão */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Classe que o JS adiciona para mostrar */
.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.search-content input {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.btn-buscar {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #555;
}


