/* Estilos para a página de objetivos - VERSÃO CORRIGIDA */

/* Hero Section */
.goals-hero {
  padding: 4rem 0 6rem;
  margin-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.goals-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 200%;
  height: 100%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating Elements */
.hero-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffa500;
  font-size: 1.5rem;
  animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  top: 30%;
  right: 15%;
  animation-delay: 1.5s;
}

.floating-icon:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 3s;
}

.floating-icon:nth-child(4) {
  bottom: 20%;
  right: 10%;
  animation-delay: 4.5s;
}

/* Section Header */
.goals-section {
  margin-bottom: 6rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 100%;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  padding: 2rem;
}

.section-header,
.section-title {
  text-align: center;
  display: block;
  width: 100%;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f97316, #ff8c42);
  border-radius: 2px;
}

/* Goals Grid */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 100%;
  padding: 0 1rem;
}

/* Goal Cards */
.goal-card {
  background: #000;
  border: 1px solid rgba(255, 165, 0, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.goal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.goal-card:hover::before {
  opacity: 1;
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff6b35, #ffa600a6, #ff6b35, #ffa500);
  background-size: 400% 400%;
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  animation: gradient-rotate 4s ease-in-out infinite;
}

.goal-card:hover .card-glow {
  opacity: 1;
}

.goal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 165, 0, 0.3);
}

.goal-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ffa500, #ff6b35);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.goal-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.goal-card:hover .goal-icon::before {
  left: 100%;
}

.goal-icon i {
  font-size: 2rem;
  color: #000;
  position: relative;
  z-index: 1;
}

.goal-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.goal-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.goal-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.goal-benefits li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.goal-benefits i {
  color: #ffa500;
  font-size: 0.8rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ffa500, #ff6b35);
  color: #000;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 165, 0, 0.4);
}

.btn-primary i {
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(5px);
}

.featured-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.visual-card i {
  font-size: 3rem;
  color: #ffa500;
  margin-bottom: 1rem;
}

.visual-card h4 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 30px;
  margin-bottom: 4rem;
  max-width: 100%;
  width: 100%;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.btn-cta {
  background: linear-gradient(135deg, #ffa500, #ff6b35);
  color: #000;
  border: none;
  padding: 1.25rem 2.5rem;
  border-radius: 15px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

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

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

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 165, 0, 0.4);
}

.btn-cta i {
  transition: transform 0.3s ease;
}

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

/* Container principal */
.container {
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Animations */
@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes gradient-rotate {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .goals-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .goals-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .floating-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .goals-hero {
    padding: 3rem 0 4rem;
    margin-bottom: 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .goals-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .goal-card {
    padding: 2rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .floating-icon {
    display: none;
  }
}

@media (max-width: 480px) {
  .goals-hero {
    padding: 2rem 0 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .goal-card {
    padding: 1.5rem;
  }

  .goal-icon {
    width: 60px;
    height: 60px;
  }

  .goal-icon i {
    font-size: 1.5rem;
  }

  .goal-card h3 {
    font-size: 1.25rem;
  }

  .btn-primary,
  .btn-cta {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .visual-card {
    padding: 2rem;
  }

  .visual-card i {
    font-size: 2rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 320px) {

  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (min-width: 1400px) {
  .goals-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1800px) {
  .goals-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .floating-icon,
  .card-glow {
    animation: none;
  }

  .goal-card,
  .btn-primary,
  .btn-cta {
    transition: none;
  }
}

/* Dark mode improvements */
@media (prefers-color-scheme: dark) {
  .goal-card {
    border-color: rgba(255, 165, 0, 0.3);
  }
}

/* Previne scroll horizontal */
html,
body {
  overflow-x: hidden;
}

/* Box-sizing global */
*,
*::before,
*::after {
  box-sizing: border-box;
}
