/* Planos Page Styles - Despachante Brasil */

/* Hero Plans Section */
.hero-plans {
  background: linear-gradient(135deg, var(--azul-marinho) 0%, var(--azul-claro) 100%);
  color: var(--branco);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-plans::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') no-repeat bottom center;
  background-size: cover;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 50px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
}

.hero-stats .stat-item {
  text-align: center;
}

.hero-stats .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amarelo);
  margin-bottom: 8px;
}

.hero-stats .stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Plans Section */
.plans-section {
  padding: 100px 0;
  background: #f8fafc;
}

.plans-header {
  text-align: center;
  margin-bottom: 60px;
}

.plans-header h2 {
  font-size: 2.8rem;
  color: var(--azul-marinho);
  margin-bottom: 20px;
  font-weight: 700;
}

.plans-header p {
  font-size: 1.2rem;
  color: var(--cinza-medio);
  max-width: 600px;
  margin: 0 auto;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.plan-card {
  background: var(--branco);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid transparent;
}

.plan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.plan-card.standard {
  border-color: #e5e7eb;
}

.plan-card.premium {
  border-color: var(--azul-claro);
  transform: scale(1.05);
}

.plan-card.premium:hover {
  transform: scale(1.05) translateY(-10px);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amarelo), #f59e0b);
  color: var(--azul-marinho);
  padding: 8px 25px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Plan Header */
.plan-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f3f4f6;
}

.plan-name {
  font-size: 1.8rem;
  color: var(--azul-marinho);
  margin-bottom: 15px;
  font-weight: 700;
}

.plan-price {
  margin-bottom: 20px;
}

.price-from {
  display: block;
  font-size: 0.9rem;
  color: var(--cinza-medio);
  margin-bottom: 5px;
}

.price-value {
  font-size: 4rem;
  font-weight: 800;
  color: var(--azul-claro);
  line-height: 1;
}

.price-period {
  font-size: 1.2rem;
  color: var(--cinza-medio);
  font-weight: 500;
}

.plan-description {
  font-size: 1.1rem;
  color: var(--cinza-medio);
  line-height: 1.5;
  margin: 0;
}

/* Plan Features */
.plan-features {
  margin-bottom: 40px;
}

.plan-features h4 {
  font-size: 1.2rem;
  color: var(--azul-marinho);
  margin-bottom: 20px;
  font-weight: 600;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--cinza-escuro);
}

.features-list i {
  color: var(--azul-claro);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.plan-card.premium .features-list i {
  color: var(--amarelo);
}

.features-list strong {
  color: var(--azul-marinho);
}

/* Plan Pricing Details */
.plan-pricing-details {
  background: #f8fafc;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 40px;
}

.pricing-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-tier:last-child {
  border-bottom: none;
}

.tier-volume {
  color: var(--cinza-medio);
  font-size: 0.95rem;
}

.tier-price {
  font-weight: 700;
  color: var(--azul-marinho);
  font-size: 1.1rem;
}

/* Plan Action */
.plan-action {
  text-align: center;
}

.btn-plan {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  width: 100%;
  text-align: center;
}

.btn-plan.standard {
  background: var(--cinza-escuro);
  color: var(--branco);
}

.btn-plan.standard:hover {
  background: var(--azul-marinho);
  transform: translateY(-2px);
}

.btn-plan.premium {
  background: linear-gradient(135deg, var(--azul-claro), var(--azul-marinho));
  color: var(--branco);
}

.btn-plan.premium:hover {
  background: linear-gradient(135deg, var(--azul-marinho), var(--azul-claro));
  transform: translateY(-2px);
}

.plan-note {
  font-size: 0.85rem;
  color: var(--cinza-medio);
  margin: 0;
}

/* Comparison Section */
.comparison-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid #e5e7eb;
}

.comparison-section h3 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--azul-marinho);
  margin-bottom: 40px;
  font-weight: 700;
}

.comparison-table {
  background: var(--branco);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  background: linear-gradient(135deg, var(--azul-marinho), var(--azul-claro));
  color: var(--branco);
  padding: 25px 20px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #f3f4f6;
  color: var(--cinza-escuro);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--azul-marinho);
}

.comparison-table tr:hover {
  background: #f8fafc;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.text-success {
  color: #10b981;
}

.text-muted {
  color: var(--cinza-medio);
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background: var(--branco);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--branco);
  border-bottom: 1px solid #e5e7eb;
}

.faq-question h3 {
  margin: 0;
  color: var(--azul-marinho);
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-question i {
  color: var(--azul-claro);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

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

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 25px;
  max-height: 200px;
}

.faq-answer p {
  margin: 0;
  color: var(--cinza-medio);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--azul-marinho) 0%, var(--azul-claro) 100%);
  color: var(--branco);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  padding: 18px 35px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background: #f59e0b;
  color: var(--azul-marinho);
}

.cta-buttons .btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

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

.cta-buttons .btn-secondary:hover {
  background: var(--branco);
  color: var(--azul-marinho);
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.cta-note i {
  color: var(--amarelo);
  margin-right: 8px;
}

/* Responsividade */
@media (max-width: 1024px) {
  .plans-grid {
    gap: 30px;
  }
  
  .plan-card.premium {
    transform: none;
  }
  
  .plan-card.premium:hover {
    transform: translateY(-10px);
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-stats .stat-number {
    font-size: 2rem;
  }
  
  .plans-header h2 {
    font-size: 2.2rem;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .plan-card {
    padding: 30px;
  }
  
  .price-value {
    font-size: 3rem;
  }
  
  .comparison-table {
    overflow-x: auto;
  }
  
  .comparison-table table {
    min-width: 600px;
  }
  
  .cta-content h2 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-plans {
    padding: 80px 0 60px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .plans-section {
    padding: 60px 0;
  }
  
  .plan-card {
    padding: 25px;
  }
  
  .plan-name {
    font-size: 1.5rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  .features-list li {
    font-size: 0.9rem;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 20px;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
}
