/* ========================================
   TAROT SAFIRA - LANDING PAGE PREMIUM
   Design Místico Profissional
======================================== */

/* ========== IMPORTAÇÕES ========== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores Místicas */
  --color-deep-purple: #1a0033;
  --color-dark-purple: #2d1b4e;
  --color-medium-purple: #4a2c6d;
  --color-light-purple: #6b46a0;
  --color-accent-purple: #8b5cf6;

  /* Dourados */
  --color-gold: #d4af37;
  --color-light-gold: #ffd700;
  --color-dark-gold: #b8941f;

  /* Neutros */
  --color-white: #ffffff;
  --color-light-gray: #f5f5f5;
  --color-gray: #9ca3af;
  --color-dark-gray: #4b5563;

  /* Gradientes */
  --gradient-primary: linear-gradient(135deg, #1a0033 0%, #2d1b4e 50%, #4a2c6d 100%);
  --gradient-purple-gold: linear-gradient(135deg, #4a2c6d 0%, #8b5cf6 50%, #d4af37 100%);
  --gradient-card: linear-gradient(135deg, rgba(45, 27, 78, 0.8) 0%, rgba(74, 44, 109, 0.6) 100%);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.5);
  --shadow-gold-glow: 0 0 30px rgba(212, 175, 55, 0.4);

  /* Espaçamentos - Compactado */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Tipografia */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s ease;
  --transition-slow: 0.5s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--gradient-primary);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ========== TIPOGRAFIA ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-light-gold), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--color-light-gold);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--color-white);
}

p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
}

/* ========== UTILIDADES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

.text-center {
  text-align: center;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: var(--spacing-xl);
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--spacing-lg);
  filter: drop-shadow(var(--shadow-gold-glow));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--color-gold);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-specialties {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  flex-wrap: wrap;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.specialty-icon {
  font-size: 1.5rem;
}

.cta-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-light-gold));
  color: var(--color-deep-purple);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  margin-top: var(--spacing-xl);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-gold-glow);
  position: relative;
  overflow: hidden;
}

.cta-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;
}

.cta-primary:hover::before {
  left: 100%;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  text-decoration: none;
  transition: all var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--color-gold);
  color: var(--color-deep-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold-glow);
}

/* ========== ABOUT SECTION ========== */
.about {
  background: linear-gradient(135deg, rgba(26, 0, 51, 0.9) 0%, rgba(45, 27, 78, 0.8) 100%);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--color-gold);
}

.about-text h2 {
  margin-bottom: var(--spacing-lg);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.highlight-card {
  background: rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 15px;
  padding: var(--spacing-md);
  text-align: center;
  transition: all var(--transition-smooth);
}

.highlight-card:hover {
  transform: translateY(-5px);
  background: rgba(139, 92, 246, 0.2);
  box-shadow: var(--shadow-glow);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.highlight-card h4 {
  font-size: 1.2rem;
  color: var(--color-gold);
  margin-bottom: var(--spacing-xs);
}

.highlight-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ========== SERVICES SECTION ========== */
.services {
  background: var(--gradient-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.service-card {
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-gold);
}

.service-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-gold);
  color: var(--color-deep-purple);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--spacing-md);
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.service-card h3 {
  color: var(--color-light-gold);
  margin-bottom: var(--spacing-md);
}

.service-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-lg);
  font-size: 0.95rem;
}

.btn-secondary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  font-weight: 500;
  text-decoration: none;
  border-radius: 30px;
  transition: all var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-deep-purple);
  border-color: var(--color-gold);
  transform: scale(1.05);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  background: linear-gradient(135deg, rgba(26, 0, 51, 0.95) 0%, rgba(45, 27, 78, 0.85) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.testimonial-card {
  background: rgba(139, 92, 246, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 15px;
  padding: var(--spacing-lg);
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--color-gold);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.testimonial-date {
  font-size: 0.85rem;
  color: var(--color-gray);
  text-align: right;
}

/* ========== MODAL ========== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: linear-gradient(135deg, #2d1b4e 0%, #1a0033 100%);
  border: 2px solid var(--color-gold);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: var(--shadow-xl);
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  background: var(--gradient-purple-gold);
  padding: var(--spacing-lg);
  border-radius: 18px 18px 0 0;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--color-white);
  color: var(--color-deep-purple);
  transform: rotate(90deg);
}

.modal-title {
  font-size: 2rem;
  color: var(--color-white);
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-body {
  padding: var(--spacing-xl);
}

.modal-section {
  margin-bottom: var(--spacing-lg);
}

.modal-section h4 {
  color: var(--color-gold);
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.modal-section ul {
  list-style: none;
  padding: 0;
}

.modal-section li {
  padding: var(--spacing-sm) 0;
  padding-left: var(--spacing-lg);
  position: relative;
  color: rgba(255, 255, 255, 0.9);
}

.modal-section li::before {
  content: '✨';
  position: absolute;
  left: 0;
}

.modal-footer {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.btn-checkout {
  display: inline-block;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-light-gold));
  color: var(--color-deep-purple);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-gold-glow);
}

.btn-checkout:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.7);
}

/* ========== FOOTER ========== */
.footer {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl) 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.95rem;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-deep-purple);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-light-gold);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .about-image img {
    margin: 0 auto;
    max-width: 280px;
  }

  .hero-specialties {
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
    flex-wrap: wrap;
  }

  .specialty-item {
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  h1 {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
  }

  p {
    font-size: 0.95rem;
  }

  .modal-content {
    margin: var(--spacing-sm);
    max-height: 95vh;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 100px;
    height: 100px;
    margin-bottom: var(--spacing-md);
  }

  .cta-primary {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .specialty-item {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .service-card {
    padding: var(--spacing-md);
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .modal-body {
    padding: var(--spacing-md);
  }

  .modal-header {
    padding: var(--spacing-md);
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .btn-checkout {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }

  .footer {
    padding: var(--spacing-lg) 0;
  }
}