/*
Theme Name: Black Friday Landing Page
Theme URI: https://example.com
Author: Epic
Author URI: https://example.com
Description: Landing page persuasiva para captura de leads na Black Friday
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blackfriday
*/

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-background: #0a0f0d;
  --color-foreground: #ffffff;
  --color-primary: #e8c468;
  --color-primary-dark: #d4b05a;
  --color-secondary: #1a1f1d;
  --color-muted: #4a4f4d;
  --color-destructive: #dc2626;
  --color-border: #2a2f2d;
  --color-card: #151a18;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #0a0f0d 0%, #0d1512 50%, #0a0f0d 100%);
  color: var(--color-foreground);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Urgency Banner */
.urgency-banner {
  background-color: var(--color-destructive);
  padding: 0.75rem 0;
  overflow: hidden;
  position: relative;
}

.urgency-banner-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.urgency-banner-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  margin: 0 2rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Hero Section */
.hero-section {
  padding: 4rem 0;
}

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

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

.hero-title .highlight {
  color: var(--color-primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Form Styles */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  background-color: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  color: var(--color-foreground);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(232, 196, 104, 0.1);
}

.form-input::placeholder {
  color: var(--color-muted);
}

.submit-button {
  width: 100%;
  height: 3.5rem;
  background-color: var(--color-primary);
  color: var(--color-background);
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.02);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.infinity-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.infinity-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  opacity: 0.8;
}

.product-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 2rem;
}

.product-card {
  background-color: var(--color-card);
  border: 1px solid rgba(232, 196, 104, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.product-card:nth-child(2) {
  margin-top: 2rem;
}

.product-card:nth-child(3) {
  margin-top: -2rem;
}

.product-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, rgba(232, 196, 104, 0.2), rgba(232, 196, 104, 0.05));
  border-radius: 0.25rem;
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
}

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

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4rem;
}

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

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

.benefit-card {
  background-color: var(--color-card);
  border: 2px solid rgba(232, 196, 104, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: rgba(232, 196, 104, 0.4);
  transform: scale(1.02);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background-color: rgba(232, 196, 104, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  background-color: rgba(232, 196, 104, 0.2);
}

.benefit-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.benefit-description {
  color: var(--color-muted);
  line-height: 1.6;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background-color: var(--color-card);
  border: 1px solid var(--color-primary);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.toast-description {
  color: var(--color-muted);
  font-size: 0.875rem;
}
