/* ===== ESTILOS ESPECÍFICOS PARA PÁGINA DE GUIAS ===== */

/* Hero Section Específica para Guias */
.hero-guides {
  background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e8 100%);
  min-height: calc(100vh - 70px);
  padding: 0;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.hero-content-guides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  min-height: 600px;
}

.hero-text-guides {
  max-width: 600px;
}

.hero-title-guides {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.highlight {
  color: #2d5a42;
  background: linear-gradient(135deg, #2d5a42, #4a7c5f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description-guides {
  font-size: 1.3rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 50px;
  max-width: 500px;
}

.cta-button {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: linear-gradient(135deg, #2d5a42, #4a7c5f);
  color: white;
  box-shadow: 0 10px 30px rgba(45, 90, 66, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(45, 90, 66, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: #2d5a42;
  border: 2px solid #2d5a42;
}

.cta-button.secondary:hover {
  background: #2d5a42;
  color: white;
  transform: translateY(-3px);
}

.cta-button.large {
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-image-guides {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-image-guides img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* ===== SEÇÃO DE GUIAS EM DESTAQUE ===== */
.featured-guides {
  padding: 100px 0;
  background: #ffffff;
}

.guides-header {
  text-align: center;
  margin-bottom: 80px;
}

.guides-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.guides-subtitle {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.guides-grid-apple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.guide-card-apple {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 35px;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.guide-card-apple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d5a42, #4a7c5f);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.guide-card-apple:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 12px 30px rgba(0, 0, 0, 0.1);
}

.guide-card-apple:hover::before {
  transform: scaleX(1);
}

.guide-icon-apple {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #2d5a42, #4a7c5f);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 35px;
  color: white;
  font-size: 2.2rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(45, 90, 66, 0.2);
}

.guide-card-apple:hover .guide-icon-apple {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 35px rgba(45, 90, 66, 0.3);
}

.guide-title-apple {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
  line-height: 1.2;
}

.guide-description-apple {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.guide-features {
  list-style: none;
  margin-bottom: 35px;
  text-align: left;
}

.guide-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #555;
  font-size: 0.95rem;
  padding: 8px 0;
}

.guide-features li i {
  color: #2d5a42;
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

.guide-link-apple {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2d5a42;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border-radius: 25px;
  background: rgba(45, 90, 66, 0.08);
  margin: 0 auto;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.guide-link-apple::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(45, 90, 66, 0.1), transparent);
  transition: left 0.5s;
}

.guide-link-apple:hover {
  color: #1a1a1a;
  background: rgba(45, 90, 66, 0.15);
  transform: translateX(8px);
}

.guide-link-apple:hover::before {
  left: 100%;
}

.guide-link-apple i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.guide-link-apple:hover i {
  transform: translateX(5px);
}

/* ===== TUTORIAIS PASSO A PASSO ===== */
.step-by-step-guides {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fdf8 0%, #ffffff 50%, #f8fdf8 100%);
  position: relative;
}

.step-by-step-guides::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 90, 66, 0.1), transparent);
}

.step-header {
  text-align: center;
  margin-bottom: 80px;
}

.step-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.step-header p {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.tutorials-grid-apple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.tutorial-card-apple {
  background: #ffffff;
  border-radius: 24px;
  padding: 50px 35px;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.tutorial-card-apple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d5a42, #4a7c5f);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.tutorial-card-apple:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.15),
    0 12px 30px rgba(0, 0, 0, 0.1);
}

.tutorial-card-apple:hover::before {
  transform: scaleX(1);
}

.tutorial-icon-apple {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #2d5a42, #4a7c5f);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 35px;
  color: white;
  font-size: 2.2rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(45, 90, 66, 0.2);
}

.tutorial-card-apple:hover .tutorial-icon-apple {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 35px rgba(45, 90, 66, 0.3);
}

.tutorial-title-apple {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
  line-height: 1.2;
}

.tutorial-description-apple {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.tutorial-steps {
  margin-bottom: 35px;
}

.step {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 15px;
  background: rgba(45, 90, 66, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step:hover {
  background: rgba(45, 90, 66, 0.08);
  transform: translateX(5px);
}

.step-number {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #2d5a42, #4a7c5f);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(45, 90, 66, 0.2);
}

.step-text {
  color: #555;
  font-size: 0.95rem;
  text-align: left;
  font-weight: 500;
  flex: 1;
}

.tutorial-link-apple {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2d5a42;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 12px 24px;
  border-radius: 25px;
  background: rgba(45, 90, 66, 0.08);
  position: relative;
  overflow: hidden;
}

.tutorial-link-apple::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(45, 90, 66, 0.1), transparent);
  transition: left 0.5s;
}

.tutorial-link-apple:hover {
  color: #1a1a1a;
  background: rgba(45, 90, 66, 0.15);
  transform: translateX(8px);
}

.tutorial-link-apple:hover::before {
  left: 100%;
}

.tutorial-link-apple i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.tutorial-link-apple:hover i {
  transform: translateX(5px);
}

/* ===== GUIAS POR CATEGORIA ===== */
.categories-guides {
  padding: 100px 0;
  background: #ffffff;
}

.categories-header {
  text-align: center;
  margin-bottom: 80px;
}

.categories-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.categories-header p {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.categories-grid-apple {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.category-card-apple {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 35px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.category-card-apple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2d5a42, #4a7c5f);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.category-card-apple:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.08);
}

.category-card-apple:hover::before {
  transform: scaleX(1);
}

.category-icon-apple {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2d5a42, #4a7c5f);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(45, 90, 66, 0.2);
}

.category-card-apple:hover .category-icon-apple {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(45, 90, 66, 0.3);
}

.category-content {
  flex: 1;
}

.category-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.category-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 1rem;
}

.guide-count {
  color: #2d5a42;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.guide-count::before {
  content: '•';
  color: #2d5a42;
  font-weight: bold;
}

/* ===== SEÇÃO CTA ===== */
.cta-guides {
  padding: 120px 0;
  background: linear-gradient(135deg, #2d5a42 0%, #4a7c5f 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-guides::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 1000 1000"><polygon fill="rgba(255,255,255,0.03)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-content p {
  font-size: 1.4rem;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.cta-stats {
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ===== ANIMAÇÕES ESPECÍFICAS ===== */
.scroll-slide-in {
  opacity: 0;
  transition: all 0.8s ease;
}

.scroll-slide-in[data-direction="left"] {
  transform: translateX(-50px);
}

.scroll-slide-in[data-direction="right"] {
  transform: translateX(50px);
}

.scroll-slide-in[data-direction="up"] {
  transform: translateY(50px);
}

.scroll-slide-in.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1200px) {
  .hero-content-guides {
    gap: 60px;
  }
  
  .hero-title-guides {
    font-size: 3.2rem;
  }
  
  .guides-title,
  .step-header h2,
  .categories-header h2 {
    font-size: 3rem;
  }
}

@media (max-width: 1024px) {
  .guides-grid-apple,
  .tutorials-grid-apple {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .categories-grid-apple {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .cta-stats {
    gap: 50px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 968px) {
  .hero-content-guides {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
    min-height: auto;
    padding: 80px 20px;
  }
  
  .hero-text-guides {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .guides-grid-apple,
  .tutorials-grid-apple {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .category-card-apple {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 35px 30px;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
  
  .cta-content p {
    font-size: 1.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .cta-button.large {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .hero-guides {
    min-height: auto;
    padding: 60px 0;
  }
  
  .hero-title-guides {
    font-size: 2.5rem;
  }
  
  .hero-description-guides {
    font-size: 1.1rem;
  }
  
  .featured-guides,
  .step-by-step-guides,
  .categories-guides,
  .cta-guides {
    padding: 80px 0;
  }
  
  .guides-title,
  .step-header h2,
  .categories-header h2 {
    font-size: 2.2rem;
  }
  
  .guides-subtitle,
  .step-header p,
  .categories-header p {
    font-size: 1.1rem;
  }
  
  .guide-card-apple,
  .tutorial-card-apple {
    padding: 40px 30px;
  }
  
  .guide-icon-apple,
  .tutorial-icon-apple,
  .category-icon-apple {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .cta-stats {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-title-guides {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
  
  .guide-card-apple,
  .tutorial-card-apple {
    padding: 30px 25px;
  }
  
  .guide-title-apple,
  .tutorial-title-apple {
    font-size: 1.4rem;
  }
  
  .step {
    padding: 12px;
    gap: 15px;
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .cta-stats {
    flex-direction: column;
    gap: 25px;
  }
}

/* ===== ESTILOS PARA INTERATIVIDADE ===== */
.guide-card-apple,
.tutorial-card-apple,
.category-card-apple {
  cursor: pointer;
}

.guide-card-apple:active,
.tutorial-card-apple:active,
.category-card-apple:active {
  transform: translateY(-2px);
}

/* ===== ESTADOS DE FOCO PARA ACESSIBILIDADE ===== */
.cta-button:focus,
.guide-link-apple:focus,
.tutorial-link-apple:focus {
  outline: 3px solid rgba(45, 90, 66, 0.5);
  outline-offset: 2px;
}

/* ===== ANIMAÇÃO DE CARREGAMENTO ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}