/* 
  Cyber-Tech Design System 
  Focus: Modern, High-Tech, Trusted
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-darker: #020617;
  --bg-dark: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  
  --primary: #22d3ee;        /* Cyan */
  --primary-glow: rgba(34, 211, 238, 0.3);
  --secondary: #6366f1;      /* Indigo */
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(34, 211, 238, 0.4);
  
  /* Spacing Scale (8pt Grid) */
  --space-0: 0;
  --space-xs: 4px;   /* Micro */
  --space-sm: 8px;   /* Base */
  --space-md: 16px;  /* Step 2 */
  --space-lg: 24px;  /* Step 3 */
  --space-xl: 32px;  /* Step 4 */
  --space-2xl: 48px; /* Step 6 */
  --space-3xl: 64px; /* Step 8 */
  --space-4xl: 96px; /* Step 12 */
  --space-5xl: 128px;/* Step 16 */
  
  --section-padding: clamp(var(--space-3xl), 10vw, var(--space-5xl));
  
  /* Layout */
  --max-width: 1200px;
  --max-text-width: 70ch;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.text-constrained {
  max-width: var(--max-text-width);
  margin-left: auto;
  margin-right: auto;
}

section {
  padding: var(--section-padding) 0;
}

/* Typography Hierarchy */
p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn--primary {
  background: var(--primary);
  color: var(--bg-darker);
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-glow);
}

.btn--whatsapp {
  background: #25d366;
  color: white;
}

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: var(--space-xl);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Hero Enhancements */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 85vh;
    justify-content: center;
    padding: var(--space-4xl) 0;
}

.hero__title {
    font-size: clamp(2.8rem, 9vw, 5rem);
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    font-weight: 800;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: var(--max-text-width);
    margin-bottom: var(--space-2xl);
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl); /* Reduzido de 96px para 32px para proximidade */
    padding-top: var(--space-xl);
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
}

/* Icon Chips */
.icon-chip {
    width: 64px;
    height: 64px;
    background: var(--bg-dark);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
}

/* Gallery */
.gallery__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.gallery__item:hover .gallery__img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.gallery__caption {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: var(--space-lg) 0;
    color: var(--text-primary);
    line-height: 1;
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-2xl);
    text-align: left;
}

.feature-list li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.feature-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

.popular {
    border: 2px solid var(--primary);
    position: relative;
    transform: scale(1.05);
    background: rgba(34, 211, 238, 0.05);
}

.badge {
    position: absolute;
    top: calc(-1 * var(--space-md));
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-darker);
    padding: var(--space-xs) var(--space-lg);
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-5px);
}

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 768px) {
    :root {
        --section-padding: var(--space-2xl); /* 48px */
    }

    .container {
        padding: 0 var(--space-md);
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }

    .hero__title {
        font-size: 2.8rem;
        margin-bottom: var(--space-md);
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

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

    #autoridade h2 {
        font-size: 2.2rem;
        text-align: center;
    }

    #autoridade p {
        text-align: center;
        font-size: 1.1rem;
    }

    .gold-line {
        margin: var(--space-md) auto;
    }

    #autoridade .reveal {
        text-align: center;
    }

    .popular {
        transform: scale(1);
        margin: var(--space-md) 0;
    }

    .price {
        font-size: 2.8rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* New Components Styles */
.gold-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 24px 0;
}

.icon-chip--mini {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    font-size: 0.85rem;
    margin-right: 12px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* Autoridade Section Refinement */
#autoridade .grid-2 {
    align-items: center; /* Centralização vertical */
    gap: var(--space-4xl);
}

#autoridade h2 {
    font-size: 3.5rem; /* Aumentado para preencher a altura */
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

#autoridade p {
    font-size: 1.25rem; /* Texto mais robusto */
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.img-preview {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    display: block;
}

/* Testimonials */
.testimonial-author {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.testimonial-author strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--primary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    text-align: left;
    padding: var(--space-lg) 0;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.faq-question::after {
    content: '+';
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: var(--space-lg);
}
