/* style.css - Estilos completos do GymFlow */
:root {
   --red-primary: #A10909;
   --red-secondary: #D9182C;
   --black: #111111;
   --white: #FFFFFF;
   --gray-50: #F7F7F8;
   --gray-100: #F0F0F2;
   --gray-200: #E4E4E7;
   --gray-300: #D4D4D8;
   --gray-400: #A1A1AA;
   --gray-500: #71717A;
   --gray-600: #52525B;
   --gray-700: #3F3F46;
   --gray-800: #27272A;
   --gray-900: #18181B;
   --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
   --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
   --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
   --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
   --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
   --radius-sm: 0.375rem;
   --radius-md: 0.5rem;
   --radius-lg: 0.75rem;
   --radius-xl: 1rem;
   --radius-2xl: 1.5rem;
   --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
   scroll-behavior: smooth;
   overflow-x: hidden;
}

body {
   font-family: 'Inter', sans-serif;
   background-color: var(--white);
   color: var(--gray-800);
   line-height: 1.5;
   overflow-x: hidden;
}

.container {
   max-width: 1280px;
   margin: 0 auto;
   padding: 0 2rem;
}

/* navbar fixa */
.navbar {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   background: rgba(255, 255, 255, 0.98);
   backdrop-filter: blur(8px);
   box-shadow: var(--shadow-sm);
   z-index: 1000;
   padding: 1rem 0;
   transition: var(--transition);
}

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

.logo {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   font-size: 1.5rem;
   font-weight: 800;
}

.logo-icon {
   color: var(--red-primary);
   font-size: 1.8rem;
}

.logo-text {
   color: var(--black);
}

.logo-highlight {
   color: var(--red-primary);
}

.nav-menu {
   display: flex;
   align-items: center;
   gap: 2rem;
}

.nav-links {
   display: flex;
   list-style: none;
   gap: 2rem;
}

.nav-links a {
   text-decoration: none;
   color: var(--gray-700);
   font-weight: 500;
   transition: var(--transition);
}

.nav-links a:hover {
   color: var(--red-primary);
}

.hamburger {
   display: none;
   flex-direction: column;
   cursor: pointer;
   gap: 5px;
}

.bar {
   width: 25px;
   height: 3px;
   background-color: var(--black);
   transition: var(--transition);
   border-radius: 10px;
}

/* Buttons */
.btn-primary {
   background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-secondary) 100%);
   color: white;
   border: none;
   padding: 0.9rem 2rem;
   border-radius: 2rem;
   font-weight: 600;
   font-size: 1rem;
   cursor: pointer;
   transition: var(--transition);
   box-shadow: var(--shadow-md);
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
}

.btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: var(--shadow-xl);
   filter: brightness(1.05);
}

.btn-outline {
   background: transparent;
   border: 1.5px solid var(--gray-300);
   padding: 0.8rem 1.8rem;
   border-radius: 2rem;
   font-weight: 600;
   cursor: pointer;
   transition: var(--transition);
   color: var(--gray-700);
}

.btn-outline:hover {
   border-color: var(--red-primary);
   color: var(--red-primary);
   background: rgba(161, 9, 9, 0.05);
}

.btn-large {
   padding: 1rem 2.8rem;
   font-size: 1.1rem;
}

/* Hero */
.hero {
   padding: 8rem 0 5rem;
   background: linear-gradient(145deg, #FFF5F5 0%, #FFFFFF 80%);
}

.hero-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: center;
}

.hero-badge {
   display: inline-block;
   background: rgba(161, 9, 9, 0.1);
   padding: 0.4rem 1rem;
   border-radius: 2rem;
   color: var(--red-primary);
   font-weight: 600;
   font-size: 0.85rem;
   margin-bottom: 1.5rem;
}

.hero-title {
   font-size: 3.2rem;
   font-weight: 800;
   line-height: 1.2;
   margin-bottom: 1.5rem;
   color: var(--black);
}

.gradient-text {
   background: linear-gradient(135deg, var(--red-primary), var(--red-secondary));
   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
}

.hero-subtitle {
   font-size: 1.2rem;
   color: var(--gray-600);
   margin-bottom: 2rem;
   max-width: 90%;
}

.hero-buttons {
   display: flex;
   gap: 1rem;
   flex-wrap: wrap;
   margin-bottom: 3rem;
}

.hero-stats {
   display: flex;
   gap: 2.5rem;
}

.stat {
   display: flex;
   flex-direction: column;
}

.stat-number {
   font-size: 1.8rem;
   font-weight: 800;
   color: var(--red-primary);
}

.stat-label {
   font-size: 0.85rem;
   color: var(--gray-500);
}

/* Dashboard Mockup */
.hero-image {
   position: relative;
}

.dashboard-mockup {
   background: var(--white);
   border-radius: var(--radius-2xl);
   box-shadow: var(--shadow-2xl);
   padding: 1.5rem;
   border: 1px solid var(--gray-200);
   transition: var(--transition);
}

.mockup-header {
   display: flex;
   align-items: center;
   gap: 1rem;
   margin-bottom: 1.5rem;
}

.mockup-dots span {
   display: inline-block;
   width: 12px;
   height: 12px;
   background: var(--gray-300);
   border-radius: 50%;
   margin-right: 6px;
}

.mockup-title {
   font-weight: 600;
   font-size: 0.9rem;
   color: var(--gray-600);
}

.mockup-stats-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1rem;
   margin-bottom: 1.5rem;
}

.mockup-card {
   background: var(--gray-50);
   padding: 1rem;
   border-radius: var(--radius-lg);
   font-size: 0.9rem;
   font-weight: 500;
   border: 1px solid var(--gray-200);
}

.mockup-card i {
   color: var(--red-primary);
   margin-right: 0.5rem;
}

.mockup-chart {
   height: 100px;
   background: linear-gradient(90deg, var(--red-primary) 0%, var(--red-secondary) 80%);
   border-radius: var(--radius-lg);
   opacity: 0.8;
   margin-bottom: 1rem;
}

.mockup-footer {
   height: 40px;
   background: var(--gray-100);
   border-radius: var(--radius-lg);
}

/* Section header */
.section-header {
   text-align: center;
   margin-bottom: 4rem;
}

.section-tag {
   background: rgba(161, 9, 9, 0.08);
   padding: 0.3rem 1rem;
   border-radius: 2rem;
   font-size: 0.8rem;
   font-weight: 600;
   color: var(--red-primary);
   display: inline-block;
   margin-bottom: 1rem;
}

.section-header h2 {
   font-size: 2.5rem;
   font-weight: 700;
   margin-bottom: 1rem;
   color: var(--black);
}

.section-header p {
   color: var(--gray-600);
   font-size: 1.1rem;
}

/* Sobre */
.sobre {
   padding: 5rem 0;
   background: var(--white);
}

.sobre-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 3rem;
}

.sobre-text p {
   margin-bottom: 1.5rem;
   color: var(--gray-600);
}

.problems-list {
   display: flex;
   flex-direction: column;
   gap: 0.8rem;
   margin: 2rem 0;
}

.problem-item {
   display: flex;
   align-items: center;
   gap: 0.8rem;
   font-weight: 500;
}

.problem-item i {
   color: var(--red-primary);
   font-size: 1.2rem;
}

.sobre-cards {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1.5rem;
}

.sobre-card {
   background: var(--gray-50);
   padding: 1.8rem 1rem;
   border-radius: var(--radius-xl);
   text-align: center;
   transition: var(--transition);
   border: 1px solid var(--gray-200);
}

.sobre-card i {
   font-size: 2rem;
   color: var(--red-primary);
   margin-bottom: 1rem;
}

.sobre-card h4 {
   font-weight: 700;
   margin-bottom: 0.5rem;
}

/* Funcionalidades */
.funcionalidades {
   padding: 5rem 0;
   background: var(--gray-50);
}

.cards-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 2rem;
}

.feature-card {
   background: white;
   padding: 2rem;
   border-radius: var(--radius-xl);
   transition: var(--transition);
   border: 1px solid var(--gray-200);
   box-shadow: var(--shadow-sm);
}

.feature-card:hover {
   transform: translateY(-6px);
   box-shadow: var(--shadow-xl);
   border-color: rgba(161, 9, 9, 0.2);
}

.card-icon {
   background: linear-gradient(135deg, rgba(161, 9, 9, 0.1), rgba(217, 24, 44, 0.05));
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: var(--radius-lg);
   margin-bottom: 1.5rem;
}

.card-icon i {
   font-size: 1.8rem;
   color: var(--red-primary);
}

.feature-card h3 {
   font-size: 1.4rem;
   margin-bottom: 0.8rem;
   font-weight: 700;
}

.feature-card p {
   color: var(--gray-600);
}

/* Beneficios */
.beneficios {
   padding: 5rem 0;
}

.beneficios-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 2rem;
}

.beneficio {
   text-align: center;
   padding: 2rem;
   background: var(--white);
   border-radius: var(--radius-xl);
   border: 1px solid var(--gray-200);
   transition: var(--transition);
}

.beneficio i {
   font-size: 2.5rem;
   color: var(--red-primary);
   margin-bottom: 1rem;
}

.beneficio h3 {
   font-weight: 700;
   margin-bottom: 0.7rem;
}

/* Como funciona */
.como-funciona {
   padding: 5rem 0;
   background: linear-gradient(135deg, #111111 0%, #1F1F1F 100%);
   color: white;
}

.steps {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 2rem;
}

.step {
   flex: 1;
   min-width: 180px;
   text-align: center;
   background: rgba(255, 255, 255, 0.05);
   backdrop-filter: blur(8px);
   padding: 2rem 1rem;
   border-radius: var(--radius-xl);
   transition: var(--transition);
   border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
   width: 50px;
   height: 50px;
   background: var(--red-primary);
   border-radius: 2rem;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.5rem;
   font-weight: 800;
   margin: 0 auto 1rem;
}

/* CTA final */
.cta-final {
   padding: 5rem 0;
   background: var(--white);
}

.cta-container {
   background: linear-gradient(145deg, var(--black) 0%, #1a1a1a 100%);
   border-radius: var(--radius-2xl);
   padding: 4rem 2rem;
   text-align: center;
   color: white;
}

.cta-content h2 {
   font-size: 2.5rem;
   margin-bottom: 1rem;
}

.cta-content p {
   margin-bottom: 2rem;
   color: var(--gray-300);
}

/* Footer */
.footer {
   background-color: #0A0A0A;
   color: var(--gray-400);
   padding-top: 4rem;
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 3rem;
   margin-bottom: 3rem;
}

.footer-brand p {
   margin: 1rem 0;
   font-size: 0.9rem;
}

.social-icons {
   display: flex;
   gap: 1rem;
}

.social-icons a {
   color: var(--gray-400);
   transition: var(--transition);
   font-size: 1.2rem;
}

.social-icons a:hover {
   color: var(--red-primary);
}

.footer-links h4 {
   color: white;
   margin-bottom: 1.2rem;
}

.footer-links ul {
   list-style: none;
}

.footer-links li,
.footer-links li a {
   margin-bottom: 0.7rem;
   text-decoration: none;
   color: var(--gray-400);
   transition: var(--transition);
}

.footer-bottom {
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   padding: 1.5rem 0;
   text-align: center;
   font-size: 0.85rem;
}

/* Responsivo */
@media (max-width: 1024px) {
   .hero-title {
      font-size: 2.5rem;
   }

   .hero-grid {
      gap: 2rem;
   }

   .sobre-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 768px) {
   .nav-menu {
      position: fixed;
      left: -100%;
      top: 70px;
      flex-direction: column;
      background: white;
      width: 100%;
      text-align: center;
      transition: 0.3s;
      box-shadow: var(--shadow-lg);
      padding: 2rem;
      gap: 1.5rem;
   }

   .nav-menu.active {
      left: 0;
   }

   .nav-links {
      flex-direction: column;
      gap: 1.5rem;
   }

   .hamburger {
      display: flex;
   }

   .hamburger.active .bar:nth-child(2) {
      opacity: 0;
   }

   .hamburger.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
   }

   .hamburger.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
   }

   .hero-grid {
      grid-template-columns: 1fr;
      text-align: center;
   }

   .hero-subtitle {
      margin: 0 auto 2rem;
   }

   .hero-buttons {
      justify-content: center;
   }

   .hero-stats {
      justify-content: center;
   }

   .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
   }

   .section-header h2 {
      font-size: 1.8rem;
   }

   .steps {
      flex-direction: column;
      align-items: center;
   }

   .container {
      padding: 0 1.5rem;
   }

   .sobre-cards {
      grid-template-columns: 1fr;
   }
}

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

   .btn-primary,
   .btn-outline {
      padding: 0.7rem 1.2rem;
      font-size: 0.85rem;
   }

   .cards-grid {
      grid-template-columns: 1fr;
   }
}