@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --bg-color: #050505;
  --card-bg: #111111;
  --text-main: #f2f2f2;
  --text-muted: #888888;
  --xbox-green: #107C10;
  --xbox-green-neon: #18e32c;
  --xbox-green-hover: #159b15;
  --card-border: rgba(255, 255, 255, 0.08);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at 100% 0%, rgba(24, 227, 44, 0.05) 0%, transparent 40%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-center { text-align: center; }
.text-green { color: var(--xbox-green-neon); }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--xbox-green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--xbox-green-hover);
  box-shadow: 0 0 15px rgba(24, 227, 44, 0.4);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-outline-glow {
  display: inline-block;
  background: rgba(24, 227, 44, 0.1);
  border: 1px solid rgba(24, 227, 44, 0.3);
  color: var(--xbox-green-neon);
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(24, 227, 44, 0.1) inset, 0 0 15px rgba(24, 227, 44, 0.1);
  text-align: center;
}

.btn-outline-glow:hover {
  background: rgba(24, 227, 44, 0.2);
  border-color: var(--xbox-green-neon);
  box-shadow: 0 0 15px rgba(24, 227, 44, 0.3) inset, 0 0 20px rgba(24, 227, 44, 0.3);
  color: #fff;
}

.btn-glow {
  display: inline-block;
  background-color: var(--xbox-green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 20px rgba(24, 227, 44, 0.4);
  text-align: center;
}

.btn-glow:hover {
  background-color: var(--xbox-green-hover);
  box-shadow: 0 0 30px rgba(24, 227, 44, 0.6);
  transform: translateY(-2px);
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(24, 227, 44, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(24, 227, 44, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(24, 227, 44, 0); }
}

.btn-pulse {
  animation: pulse 2s infinite;
}

.btn-pulse:hover {
  animation: none;
}

/* Header / Navbar */
header {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(15px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-santuario {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.logo-xbox {
  font-size: 1.4rem;
  font-weight: 800;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  background: none;
  overflow: hidden;
}

@keyframes logo-float {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-16px); }
  100% { transform: translateY(0px); }
}

.hero-bg-logo {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 55vw;
  height: 55vw;
  max-width: 750px;
  max-height: 750px;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-svg {
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: logo-float 7s ease-in-out infinite;
  filter: drop-shadow(0 0 50px rgba(24,227,44,0.25));
}

.hero-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.transparency-card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
}

.transparency-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.transparency-header strong {
  color: #fff;
  font-size: 1rem;
}

.transparency-card p {
  font-size: 0.9rem;
  color: #a1a1aa;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-title::after {
  content: '';
  height: 2px;
  background: linear-gradient(to right, var(--xbox-green), transparent);
  flex-grow: 1;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(24, 227, 44, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 124, 16, 0.1);
}

.product-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  background-color: #111;
  padding: 20px;
  border-bottom: 1px solid var(--card-border);
}

.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--xbox-green-neon);
  margin-bottom: 20px;
  margin-top: auto;
}

.product-card .btn {
  width: 100%;
}

/* Highlight Banner */
.highlight-banner {
  background: linear-gradient(135deg, rgba(26,26,26,1) 0%, rgba(13,13,13,1) 100%);
  border: 1px solid var(--xbox-green);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.highlight-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: var(--xbox-green);
  filter: blur(150px);
  opacity: 0.2;
  border-radius: 50%;
  z-index: 0;
}

.highlight-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.highlight-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.highlight-content p {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.highlight-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--xbox-green);
  color: var(--xbox-green-neon);
}

.btn-outline:hover {
  background: rgba(16, 124, 16, 0.1);
  color: #fff;
  box-shadow: none;
}

.highlight-image {
  flex: 1;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

.highlight-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.highlight-banner:hover .highlight-image img {
  transform: rotate(0deg) scale(1.05);
}

/* Footer */
footer {
  background-color: #050505;
  padding: 60px 0 30px;
  border-top: 1px solid var(--card-border);
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-bg-logo {
    top: 30%;
    right: -20%;
    width: 70vw;
    height: 70vw;
  }
  .hero-logo-svg {
    opacity: 0.5;
  }
  
  .hero-content {
    margin-top: 40px;
    text-align: left;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }
  
  .highlight-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .highlight-image img {
    transform: rotate(0);
  }
  
  .highlight-links {
    justify-content: center;
  }
}

/* ======================== */
/* Diário do Santuário (Blog) */
/* ======================== */

.blog-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.blog-card {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Image Styling (Removed Placeholders) */
.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.img-directive {
  font-size: 0.75rem;
  color: #4a8c4a;
  text-align: center;
  line-height: 1.5;
  font-style: italic;
  z-index: 1;
  max-width: 80%;
}

/* Card Body */
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.35;
  word-wrap: break-word;
}

.blog-card-summary {
  font-size: 0.92rem;
  color: #b0b0b0;
  line-height: 1.65;
  margin-bottom: 18px;
  word-wrap: break-word;
}

/* Divider */
.blog-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, rgba(24, 227, 44, 0.25), rgba(255, 255, 255, 0.06), transparent);
  margin-bottom: 16px;
}

/* Sales Hook */
.blog-card-hook {
  font-size: 0.88rem;
  color: #7ec87e;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* CTA Button */
.blog-cta {
  width: 100%;
  margin-top: 16px;
  font-size: 0.95rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blog Responsive: Tablet (2 cols) */
@media (min-width: 640px) {
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Blog Responsive: Desktop (3 cols) */
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CONSERTO DEFINITIVO MOBILE - OVERRIDE */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

@media screen and (max-width: 768px) {
    /* Força os grids a virarem 1 coluna vertical */
    .product-grid, 
    .blog-grid, 
    .articles-container,
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 16px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        gap: 24px !important;
    }

    /* Força os cards a ocuparem a tela toda (com respiro) */
    .product-card, 
    .article-card,
    .footer-col {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Ajuste fino para imagens e textos não quebrarem a tela */
    img {
        max-width: 100% !important;
        height: auto;
    }
    
    .article-image {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
    }

    h1, h2, h3, p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}
