/*
Theme Name: Rotina Alta Performance 3X
Theme URI: https://seusite.com
Author: Seu Nome
Author URI: https://seusite.com
Description: Tema de landing page para o ebook Rotina de Alta Performance 3X
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rotina-3x
*/

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
  --background: 0 0% 100%;
  --foreground: 220 15% 15%;
  --primary: 48 96% 53%;
  --primary-foreground: 220 15% 10%;
  --secondary: 220 10% 96%;
  --secondary-foreground: 220 15% 25%;
  --muted: 220 10% 96%;
  --muted-foreground: 220 10% 45%;
  --accent: 48 100% 50%;
  --accent-foreground: 220 15% 10%;
  --destructive: 0 84% 60%;
  --border: 220 13% 91%;
  --ring: 48 96% 53%;
  --radius: 0.75rem;
  
  --gradient-gold: linear-gradient(135deg, hsl(48, 96%, 53%) 0%, hsl(45, 93%, 47%) 100%);
  --shadow-gold: 0 4px 20px -4px hsla(48, 96%, 53%, 0.4);
  --shadow-elegant: 0 10px 40px -10px hsla(220, 15%, 15%, 0.15);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.text-highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Layout
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px -4px hsla(48, 96%, 53%, 0.5);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  border-color: hsl(var(--primary));
  background: hsla(48, 96%, 53%, 0.1);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--secondary)) 100%);
  padding: 2rem 0;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(48, 96%, 53%, 0.15);
  border: 1px solid hsla(48, 96%, 53%, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(45, 93%, 40%);
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 2rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.hero-bullets li svg,
.hero-bullets li .icon {
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* ========================================
   Pain Section
   ======================================== */
.pain-section {
  background: hsl(var(--secondary));
}

.pain-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pain-intro {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  font-style: italic;
}

.pain-list {
  list-style: none;
}

.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: hsl(var(--background));
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-elegant);
}

.pain-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: hsla(0, 84%, 60%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(0, 84%, 60%);
}

/* ========================================
   Myths Section
   ======================================== */
.myths-section {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}

.myths-section h2 {
  color: hsl(var(--background));
}

.myths-grid {
  display: grid;
  gap: 1.5rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .myths-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.myth-card {
  background: hsla(0, 0%, 100%, 0.05);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.myth-badge {
  display: inline-block;
  background: hsla(0, 84%, 60%, 0.2);
  color: hsl(0, 84%, 70%);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.myth-text {
  font-size: 1.125rem;
  text-decoration: line-through;
  color: hsla(0, 0%, 100%, 0.6);
}

.myths-truth {
  text-align: center;
  padding: 2rem;
  background: var(--gradient-gold);
  border-radius: var(--radius);
  color: hsl(var(--foreground));
}

.myths-truth h3 {
  color: hsl(var(--foreground));
}

/* ========================================
   Method Section
   ======================================== */
.method-section {
  background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--secondary)) 100%);
}

.method-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 3rem;
}

.method-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.method-card {
  background: hsl(var(--background));
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-elegant);
  border: 1px solid hsl(var(--border));
  transition: all 0.3s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px -10px hsla(220, 15%, 15%, 0.2);
}

.method-number {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.method-card h3 {
  margin-bottom: 0.75rem;
}

.method-card p {
  color: hsl(var(--muted-foreground));
}

.method-note {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background: hsla(48, 96%, 53%, 0.1);
  border-radius: var(--radius);
  border: 1px solid hsla(48, 96%, 53%, 0.2);
}

/* ========================================
   Contents Section
   ======================================== */
.contents-section {
  background: hsl(var(--secondary));
}

.contents-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .contents-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contents-list {
  list-style: none;
}

.contents-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.contents-list li:last-child {
  border-bottom: none;
}

.contents-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient-gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ========================================
   Transformation Section
   ======================================== */
.transformation-section {
  background: linear-gradient(135deg, hsl(48, 96%, 53%) 0%, hsl(45, 93%, 47%) 100%);
  color: hsl(var(--foreground));
}

.transformation-section h2 {
  color: hsl(var(--foreground));
}

.transformation-grid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .transformation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.transformation-card {
  background: hsla(0, 0%, 100%, 0.9);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.transformation-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.testimonial {
  background: hsla(0, 0%, 100%, 0.95);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial blockquote {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial cite {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* ========================================
   Roadmap Section
   ======================================== */
.roadmap-section {
  background: hsl(var(--background));
}

.roadmap-timeline {
  max-width: 700px;
  margin: 3rem auto;
}

.roadmap-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.roadmap-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 3rem;
  bottom: 0;
  width: 2px;
  background: hsl(var(--border));
}

.roadmap-marker {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.roadmap-content {
  flex: 1;
}

.roadmap-content h4 {
  margin-bottom: 0.5rem;
}

.roadmap-content p {
  color: hsl(var(--muted-foreground));
}

.roadmap-note {
  text-align: center;
  padding: 1.5rem;
  background: hsl(var(--secondary));
  border-radius: var(--radius);
  margin-top: 2rem;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
  background: hsl(var(--secondary));
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: hsl(var(--background));
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: hsl(var(--muted-foreground));
}

/* ========================================
   Final CTA Section
   ======================================== */
.final-cta {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  text-align: center;
  padding: 5rem 0;
}

.final-cta h2 {
  color: hsl(var(--background));
  margin-bottom: 1rem;
}

.final-cta p {
  color: hsla(0, 0%, 100%, 0.7);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.875rem;
}

/* ========================================
   Sticky CTA (Mobile)
   ======================================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: hsl(var(--background));
  padding: 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 50;
  display: block;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

.sticky-cta .btn {
  width: 100%;
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-muted { color: hsl(var(--muted-foreground)); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* ========================================
   Animations
   ======================================== */
@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--shadow-gold); }
  50% { box-shadow: 0 6px 30px -4px hsla(48, 96%, 53%, 0.6); }
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}
