/*
Theme Name: Transforme-C
Theme URI: https://transforme-c.com
Author: Dr. Caio
Author URI: https://transforme-c.com
Description: Tema personalizado para landing page do Transforme-C
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transformec
*/

:root {
  /* Colors - HSL format */
  --background: 240 10% 3.9%;
  --foreground: 0 0% 98%;
  --card: 240 10% 3.9%;
  --card-foreground: 0 0% 98%;
  --popover: 240 10% 3.9%;
  --popover-foreground: 0 0% 98%;
  --primary: 142 76% 36%;
  --primary-foreground: 144 61% 20%;
  --secondary: 240 3.7% 15.9%;
  --secondary-foreground: 0 0% 98%;
  --muted: 240 3.7% 15.9%;
  --muted-foreground: 240 5% 64.9%;
  --accent: 240 3.7% 15.9%;
  --accent-foreground: 0 0% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 98%;
  --border: 240 3.7% 15.9%;
  --input: 240 3.7% 15.9%;
  --ring: 142 76% 36%;
  --radius: 0.5rem;
  
  /* Shadows */
  --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.3);
  --shadow-glow: 0 0 40px hsl(142 76% 50% / 0.4);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 900;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background-color: hsl(142 76% 30%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 1rem;
  transition: var(--transition-smooth);
}

input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

input.error {
  border-color: hsl(var(--destructive));
}

.error-message {
  color: hsl(var(--destructive));
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

/* Card */
.card {
  background-color: hsl(var(--card));
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
  border: 2px solid hsl(var(--border));
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Countdown */
.countdown-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: hsl(var(--card));
  border: 2px solid hsl(var(--primary) / 0.3);
  border-radius: var(--radius);
  padding: 1rem;
  min-width: 80px;
}

.countdown-value {
  font-size: 2rem;
  font-weight: 900;
  color: hsl(var(--primary));
  line-height: 1;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

/* Sticky Countdown Bar */
.sticky-countdown {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(240 10% 8%) 100%);
  border-bottom: 2px solid hsl(var(--primary) / 0.3);
  padding: 1rem 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
  box-shadow: 0 4px 12px hsl(0 0% 0% / 0.3);
}

.sticky-countdown .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.sticky-countdown .countdown-container {
  gap: 0.5rem;
}

.sticky-countdown .countdown-box {
  min-width: 60px;
  padding: 0.5rem;
}

.sticky-countdown .countdown-value {
  font-size: 1.5rem;
}

.sticky-countdown .countdown-label {
  font-size: 0.625rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--background) / 0.95) 0%, hsl(var(--background) / 0.8) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Benefits Section */
.benefit-card {
  text-align: center;
  padding: 2rem;
  background: hsl(var(--card));
  border: 2px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Learning Cards */
.learning-card {
  background: hsl(var(--card));
  border: 2px solid hsl(var(--border));
  border-radius: calc(var(--radius) * 2);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.learning-card:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.learning-number {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bonuses Section */
.bonus-card {
  background: linear-gradient(135deg, hsl(var(--card)) 0%, hsl(240 10% 8%) 100%);
  border: 2px solid hsl(var(--primary) / 0.3);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.bonus-card:hover {
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-glow);
}

.bonus-badge {
  display: inline-block;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: hsl(240 10% 2%);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 2px solid hsl(var(--border));
}

.footer-content {
  text-align: center;
  color: hsl(var(--muted-foreground));
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .countdown-box {
    min-width: 60px;
    padding: 0.75rem;
  }
  
  .countdown-value {
    font-size: 1.5rem;
  }
  
  .countdown-label {
    font-size: 0.625rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .sticky-countdown .container {
    justify-content: center;
    text-align: center;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: hsl(var(--primary));
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
