/*
Theme Name: Método Antibroxa
Theme URI: https://metodoantibroxa.com
Author: Equipe Método Antibroxa
Author URI: https://metodoantibroxa.com
Description: Tema personalizado para landing page do Método Antibroxa
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: antibroxa
*/

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --color-deep-black: #0f0f10;
  --color-anthracite: #1f1f23;
  --color-crimson: #c62828;
  --color-crimson-hover: #a01f1f;
  --color-white: #ffffff;
  --color-gray-light: #b8b8b8;
  --color-gray-dark: #4a4a4a;
  
  /* Fonts */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-card: 0 10px 30px -10px rgba(198, 40, 40, 0.3);
  --shadow-glow: 0 0 40px rgba(198, 40, 40, 0.4);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-deep-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

.section {
  padding: 5rem 0;
}

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

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-crimson);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background-color: var(--color-crimson-hover);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-deep-black) 0%, var(--color-anthracite) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/hero-confident-man.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeIn 1s ease-in;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero .subheadline {
  font-size: 1.25rem;
  color: var(--color-gray-light);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
  background: linear-gradient(135deg, rgba(31, 31, 35, 0.8) 0%, rgba(15, 15, 16, 0.8) 100%);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(198, 40, 40, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

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

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.card p {
  color: var(--color-gray-light);
  text-align: center;
}

/* ==========================================================================
   GRID LAYOUTS
   ========================================================================== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

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

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease-in;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.25rem;
  color: var(--color-gray-light);
}

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

.bg-anthracite {
  background-color: var(--color-anthracite);
}

.bg-gradient {
  background: linear-gradient(180deg, var(--color-deep-black) 0%, var(--color-anthracite) 100%);
}

/* ==========================================================================
   PRICING CARDS
   ========================================================================== */
.pricing-cards {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

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

.pricing-card {
  background: linear-gradient(135deg, rgba(31, 31, 35, 0.9) 0%, rgba(15, 15, 16, 0.9) 100%);
  border: 2px solid var(--color-gray-dark);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-crimson);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-crimson);
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.07);
}

.pricing-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-crimson);
  margin: 1.5rem 0;
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gray-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--color-crimson);
  font-weight: 700;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
  background: linear-gradient(135deg, rgba(31, 31, 35, 0.8) 0%, rgba(15, 15, 16, 0.8) 100%);
  padding: 3rem;
  border-radius: 1rem;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-quote {
  font-size: 1.5rem;
  font-style: italic;
  margin: 2rem 0;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  background-color: rgba(198, 40, 40, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-crimson);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-item {
  background-color: var(--color-anthracite);
  border: 1px solid var(--color-gray-dark);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--color-crimson);
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  color: var(--color-gray-light);
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* ==========================================================================
   TIMER
   ========================================================================== */
.timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.timer-unit {
  background-color: var(--color-anthracite);
  border: 2px solid var(--color-crimson);
  border-radius: 0.5rem;
  padding: 1rem;
  min-width: 80px;
  text-align: center;
}

.timer-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-crimson);
  display: block;
}

.timer-label {
  font-size: 0.875rem;
  color: var(--color-gray-light);
  text-transform: uppercase;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--color-deep-black);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--color-gray-dark);
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer h3, .footer h4 {
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--color-crimson);
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-dark);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-gray-light);
  font-size: 0.875rem;
}

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

.animate-fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center {
  text-align: center;
}

.text-crimson {
  color: var(--color-crimson);
}

.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; }

.max-w-800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--color-anthracite);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: scaleIn 0.3s ease-out;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-crimson);
}
