/* SAP Simple Integration Pages - Similar to Gestao Documentos */

/* Variables */
:root {
  --sap-primary: #05372D;
  --sap-secondary: #00DF82;
  --sap-accent: #0A4A3D;
  --sap-light: #E8F7F1;
  --sap-gray: #6B7785;
  --sap-dark: #29302D;
}

/* Hero Section */
.hero--sap-simple {
  padding: 160px 0 100px;
  background: #021A1A;
  position: relative;
  overflow: hidden;
}

.hero--sap-simple .hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero--sap-simple .hero__text h1 {
  font-size: 6.9rem;
  font-family: 'bornasemibold', sans-serif;
  letter-spacing: -0.015em;
  margin-bottom: 2.8rem;
  color: #FFFFFF;
  line-height: 1.1;
  font-weight: normal;
}

.hero--sap-simple .hero__text h1 span {
  color: var(--sap-secondary);
}

.hero--sap-simple .hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-size: 1.6rem;
  line-height: 1.6;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 24px;
  color: var(--sap-secondary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 223, 130, 0.3);
}

.hero__alert {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 59, 48, 0.15);
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 59, 48, 0.3);
}

.hero__alert svg {
  color: #FF3B30;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero__alert strong {
  display: block;
  color: #FF3B30;
  font-size: 16px;
  margin-bottom: 4px;
}

.hero__alert p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin: 0;
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 40px;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.hero__feature svg {
  flex-shrink: 0;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__cta .wmbr-btn.wmbr-btn__primary {
  color: #05372D;
  background-color: #00DF82;
}

.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img {
  max-width: 100%;
  height: auto;
}

/* Features Section */
.features--sap {
  padding: 80px 0;
  background: #F8FAFB;
}

.features--sap .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.features--sap .section-header h2 {
  font-size: 4.4rem;
  color: var(--sap-primary);
  margin-bottom: 16px;
  font-family: "bornabold";
  font-weight: normal;
}

.features--sap .section-header h2 span {
  color: #00695A;
}

.features--sap .section-header p {
  font-size: 20px;
  color: var(--sap-gray);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-block {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-block__header {
  background: linear-gradient(90deg, var(--sap-primary) 0%, var(--sap-accent) 100%);
  padding: 32px;
  color: white;
}

.feature-block__icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-block__header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-block__header p {
  font-size: 16px;
  opacity: 0.9;
}

.feature-block__content {
  padding: 32px;
}

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

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #E0E5EA;
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li span {
  font-size: 16px;
  color: var(--sap-dark);
  line-height: 1.5;
}

.feature-block__benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: var(--sap-light);
  border-top: 1px solid #E0E5EA;
}

.feature-block__benefit p {
  font-size: 16px;
  color: var(--sap-primary);
  margin: 0;
}

.feature-block__benefit strong {
  color: var(--sap-accent);
}

/* Integration Process */
.integration-process {
  padding: 80px 0;
  background: white;
}

.integration-process .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.integration-process .section-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--sap-primary);
  margin-bottom: 16px;
}

.integration-process .section-header h2 span {
  color: var(--sap-secondary);
}

.process-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.process-card {
  background: white;
  border: 2px solid #E0E5EA;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  transition: all 0.3s ease;
}

.process-card:hover {
  border-color: var(--sap-secondary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.process-card--recommended {
  border-color: var(--sap-secondary);
  background: linear-gradient(to bottom, var(--sap-light) 0%, white 100px);
}

.process-card__badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: var(--sap-secondary);
  color: var(--sap-primary);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.process-card__header {
  margin-bottom: 32px;
}

.process-card__number {
  font-size: 48px;
  font-weight: 700;
  color: var(--sap-light);
  line-height: 1;
  margin-bottom: 16px;
}

.process-card__header h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--sap-primary);
  margin-bottom: 8px;
}

.process-card__header p {
  font-size: 16px;
  color: var(--sap-gray);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.process-step svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.process-step h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--sap-primary);
  margin-bottom: 4px;
}

.process-step p {
  font-size: 14px;
  color: var(--sap-gray);
  margin: 0;
}

.process-card__footer {
  padding-top: 24px;
  border-top: 1px solid #E0E5EA;
}

.process-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--sap-gray);
}

.process-time strong {
  color: var(--sap-primary);
}

.process-note {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--sap-light);
  border-radius: 12px;
  align-items: flex-start;
  margin-right: auto;
  margin-left: auto;
  max-width:650px;
}

.process-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.process-note p {
  font-size: 16px;
  color: var(--sap-primary);
  margin: 0;
  text-align:center;
}

/* Benefits Section */
.benefits--sap {
  padding: 80px 0;
  background: #F8FAFB;
}

.benefits--sap .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.benefits--sap .section-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: var(--sap-primary);
  margin-bottom: 16px;
}

.benefits--sap .section-header h2 span {
  color: var(--sap-secondary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.benefit-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.benefit-card__icon {
  width: 80px;
  height: 80px;
  background: var(--sap-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.benefit-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--sap-primary);
  margin-bottom: 16px;
}

.benefit-card p {
  font-size: 16px;
  color: var(--sap-gray);
  line-height: 1.6;
}

.benefits-stats {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

.stat-item h4 {
  font-size: 48px;
  font-weight: 700;
  color: var(--sap-secondary);
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 16px;
  color: var(--sap-gray);
}

/* Process CTA */
.process-cta {
  text-align: center;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #E0E5EA;
}

.process-cta p {
  font-size: 20px;
  color: var(--sap-gray);
  margin-bottom: 24px;
}

/* CTA Section - Simplified like Preços */
.cta-section--sap {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--sap-primary) 0%, var(--sap-accent) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section--sap::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 223, 130, 0.1) 0%, transparent 70%);
  bottom: -400px;
  left: -400px;
  pointer-events: none;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.cta-title span {
  color: var(--sap-secondary);
}

.cta-box .text {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cta-features {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 40px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 16px;
}

.cta-feature svg {
  flex-shrink: 0;
  color: var(--sap-secondary);
}

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

.cta-buttons .wmbr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-buttons .wmbr-btn svg {
  width: 20px;
  height: 20px;
}

.cta-info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* FAQ Section */
.faq--sap {
  padding: 80px 0;
  background: white;
}

.faq--sap .faq-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: flex-start;
}

.faq--sap .section-tag {
  display: inline-block;
  background: var(--sap-light);
  color: var(--sap-secondary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.faq--sap .title {
  font-size: 36px;
  font-weight: 700;
  color: var(--sap-primary);
  margin-bottom: 16px;
}

.faq--sap .title span {
  color: var(--sap-secondary);
}

.faq--sap .faq-text p {
  font-size: 18px;
  color: var(--sap-gray);
}

/* FAQ Questions */
.faq-questions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-question {
  background: white;
  border: 1px solid #E0E5EA;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question:hover {
  border-color: var(--sap-secondary);
}

.faq-question button {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question button:hover {
  background: var(--sap-light);
}

.faq-question header {
  font-size: 18px;
  font-weight: 600;
  color: var(--sap-primary);
  margin: 0;
  flex: 1;
}

.open-close-indicator {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}

.open-close-indicator::before,
.open-close-indicator::after {
  content: '';
  position: absolute;
  background: var(--sap-primary);
  transition: all 0.3s ease;
}

.open-close-indicator::before {
  width: 14px;
  height: 2px;
  top: 11px;
  left: 5px;
}

.open-close-indicator::after {
  width: 2px;
  height: 14px;
  top: 5px;
  left: 11px;
}

.faq-question.question-open .open-close-indicator::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-question.question-open .open-close-indicator::before {
  background: var(--sap-secondary);
}

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

.faq-question.question-open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px;
  margin: 0;
  font-size: 16px;
  color: var(--sap-gray);
  line-height: 1.6;
}

.faq-answer p + p {
  margin-top: 12px;
}

/* Responsive */
@media (max-width: 991px) {
  .hero--sap-simple {
    padding: 120px 0 60px;
  }
  
  .hero--sap-simple .hero__content {
    gap: 40px;
  }
  
  .hero--sap-simple .hero__text h1 {
    font-size: 4.8rem;
  }
}

@media (max-width: 768px) {
  .hero--sap-simple {
    padding: 100px 0 40px;
  }
  
  .hero--sap-simple .hero__content,
  .features-grid,
  .process-options,
  .benefits-grid,
  .cta-content,
  .faq--sap .faq-content {
    grid-template-columns: 1fr;
  }
  
  .hero--sap-simple .hero__content {
    gap: 30px;
  }
  
  .hero--sap-simple .hero__text h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
  }
  
  .hero--sap-simple .hero__subtitle {
    font-size: 1.4rem;
    margin-bottom: 24px;
  }
  
  .hero__badge {
    font-size: 12px;
    padding: 6px 12px;
    margin-bottom: 16px;
  }
  
  .hero__alert {
    padding: 12px 16px;
    margin-bottom: 24px;
  }
  
  .hero__alert strong {
    font-size: 14px;
  }
  
  .hero__alert p {
    font-size: 13px;
  }
  
  .hero__features {
    gap: 6px;
    margin-bottom: 32px;
  }
  
  .hero__feature {
    font-size: 14px;
    gap: 10px;
  }
  
  .hero__feature svg {
    width: 20px;
    height: 20px;
  }
  
  .hero__cta {
    justify-content: center;
  }
  
  .hero__image {
    order: -1;
    margin-bottom: 0;
  }
  
  .hero__image img {
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
  
  .features--sap .section-header h2,
  .integration-process .section-header h2,
  .benefits--sap .section-header h2,
  .cta-text h2 {
    font-size: 32px;
  }
  
  .benefits-stats {
    flex-direction: column;
    gap: 32px;
  }
  
  .cta-box {
    padding: 0 20px;
  }
  
  .cta-title {
    font-size: 32px;
  }
  
  .cta-box .text {
    font-size: 16px;
  }
  
  .cta-features {
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 400px;
  }
  
  .cta-feature {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero--sap-simple {
    padding: 80px 0 30px;
  }
  
  .hero--sap-simple .hero__text h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
  }
  
  .hero--sap-simple .hero__subtitle {
    font-size: 1.3rem;
  }
  
  .hero__image img {
    max-width: 250px;
  }
  
  .wmbr-btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}