/* ===== HOMEPAGE PREMIUM - DIEGUEZ ===== */

/* ===== HERO SECTION ELEGANTE ===== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: slideInLeft 1s ease-out;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: var(--text-6xl);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -var(--space-3);
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--primary-400));
  border-radius: var(--radius-full);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-10);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  animation: slideInRight 1s ease-out;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}

.hero-image:hover img {
  transform: scale(1.02);
}

.hero-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  background: rgba(220, 38, 38, 0.1);
  border-radius: var(--radius-full);
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  width: 40px;
  height: 40px;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  width: 80px;
  height: 80px;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== SEÇÃO DE BENEFÍCIOS ===== */
.benefits-section {
  padding: var(--space-20) 0;
  background: white;
  position: relative;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.benefit-item {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.benefit-item:hover::before {
  transform: scaleX(1);
}

.benefit-item:hover {
  background: white;
  border-color: var(--primary-200);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
  display: block;
}

.benefit-item h3 {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}

.benefit-item p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ===== SEÇÃO DE CATEGORIAS ===== */
.categories-section {
  padding: var(--space-20) 0;
  background: var(--gray-50);
}

.categories-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.categories-title {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  position: relative;
}

.categories-title::after {
  content: '';
  position: absolute;
  bottom: -var(--space-3);
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--primary-400));
  border-radius: var(--radius-full);
}

.categories-subtitle {
  font-size: var(--text-xl);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.category-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  height: 400px;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.category-image {
  width: 100%;
  height: 70%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: var(--space-8) var(--space-6) var(--space-6);
  text-align: center;
}

.category-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.category-description {
  font-size: var(--text-base);
  opacity: 0.9;
  margin-bottom: var(--space-4);
}

.category-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.category-cta:hover {
  transform: translateX(5px);
}

.category-cta svg {
  width: 16px;
  height: 16px;
}

/* ===== SEÇÃO DE DESTAQUES ===== */
.featured-section {
  padding: var(--space-20) 0;
  background: white;
  position: relative;
}

.featured-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}

.featured-banner {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  border-radius: var(--radius-2xl);
  padding: var(--space-16);
  margin: 0 var(--space-6) var(--space-16);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.featured-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
  background-size: 50px 50px;
  animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.featured-banner-content {
  position: relative;
  z-index: 1;
}

.featured-banner h2 {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.featured-banner p {
  font-size: var(--text-xl);
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.featured-banner .btn {
  background: white;
  color: var(--primary-600);
  border: none;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: var(--text-lg);
  transition: all var(--transition-normal);
}

.featured-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== NEWSLETTER PREMIUM ===== */
.newsletter-section {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,0 100,50 50,100 0,50" fill="rgba(220,38,38,0.05)"/></svg>') repeat;
  background-size: 100px 100px;
  animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  text-align: center;
  position: relative;
  z-index: 1;
}

.newsletter-content h2 {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.newsletter-content p {
  font-size: var(--text-xl);
  opacity: 0.9;
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: var(--space-4);
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form .form-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.newsletter-form .form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-input:focus {
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.15);
}




/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1199px) {
  .hero-container {
    gap: var(--space-12);
  }
  
  .hero-title {
    font-size: var(--text-5xl);
  }
}

@media (max-width: 991px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 60vh;
    padding: var(--space-8) 0;
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .benefit-item {
    padding: var(--space-6);
  }
  
  .categories-title,
  .featured-banner h2,
  .newsletter-content h2 {
    font-size: var(--text-3xl);
  }
  
  .categories-subtitle,
  .featured-banner p,
  .newsletter-content p {
    font-size: var(--text-lg);
  }
  
  .category-card {
    height: 300px;
  }
  
  .featured-banner {
    padding: var(--space-12);
    margin: 0 var(--space-4) var(--space-12);
  }
}

@media (max-width: 575px) {
  .floating-element {
    display: none;
  }
  
  .hero-title::after,
  .categories-title::after {
    width: 60px;
  }
  
  .benefit-icon {
    font-size: var(--text-4xl);
  }
  
  .categories-grid {
    padding: 0 var(--space-4);
  }
  
  .category-content {
    padding: var(--space-6) var(--space-4) var(--space-4);
  }
  
  .newsletter-content {
    padding: 0 var(--space-4);
  }
}

