/* Gestão de Documentos Fiscais - Correções UX/UI */

/* Hero Section - Corrigido para imagem acompanhar borda direita */
.hero {
  padding: 7rem 0 0;
  background: #05372D; /* Verde escuro como solicitado */
  position: relative;
  overflow: hidden; /* Evitar scroll horizontal */
  /* Removido min-height para match com consulta-nf */
}

.hero__content {
  display: flex !important;
  justify-content: space-between;
  padding: 10rem 0; /* Sem padding lateral para match exato */
  max-width: 120rem;
  margin: 0 auto;
  position: relative;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 54rem;
  z-index: 10; /* Aumentado de 2 para 10 */
  position: relative; /* Garantir que z-index funcione */
}

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

.hero__text h1 span {
  color: #00DF82;
}

.hero__text .text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.hero__text .text strong {
  color: #FFFFFF;
  font-weight: 600;
}

.hero .cta-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem 3.6rem;
  flex-wrap: wrap;
  margin-top: 3.6rem;
}

.hero__image {
  position: absolute;
  bottom: 0;
  right: 0; /* Colar na borda direita */
  width: calc(50vw - 10rem); /* Metade da viewport menos espaço para conteúdo */
  max-width: 80rem; /* Limitar tamanho máximo */
  height: 100%;
}

.hero__image img {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 60rem;
  width: auto;
  max-width: none;
  display: block;
  object-fit: contain;
  object-position: right bottom;
}

/* Hero Section - Responsive (Padronizado com Consulta NF) */
@media (max-width: 1023px) {
  .hero__image {
    display: none;
  }
  
  .hero__content {
    padding: 6.4rem 2rem;
  }
}

@media (max-width: 768px) {
  .hero__content {
    flex-direction: column;
    padding: 4.4rem 2rem 6rem;
  }
  
  .hero__text {
    max-width: 100%;
  }
  
  /* Aumentar tamanho de fonte para mobile */
  .text, p {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
  }
  .page-template-page-gestao-documentos-fiscais-php .hero__cta.wmbr-btn__primary, .page-template-page-gestao-documentos-fiscais-php .hero .wmbr-btn__primary {
    font-size:1.4rem !important;
  }
}

@media (max-width: 600px) {
  .hero__text h1 {
    font-size: 4.5rem !important;
  }
}

@media (max-width: 500px) {
  .hero__text {
    width: 100%;
  }
  
  .hero__text h1 {
    font-size: 3.6rem !important;
  }
  
  .hero__text .text {
    font-size: 1.5rem !important;
  }
  
  /* Aumentar tamanho mínimo de fonte para elementos pequenos */
  .footer-link-disable,
  .offices_address,
  .status-prefeitura,
  .code-block code {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 480px) {
  .hero__text .cta-wrapper {
    margin-top: 2rem;
  }
  
  .hero__text > p {
    width: 100%;
  }
}

/* Hero - Media queries para ajustar imagem em diferentes resoluções */
@media (min-width: 1024px) {
  .hero__image {
    width: calc(55vw - 15rem);
  }
}

@media (min-width: 1440px) {
  .hero__image {
    width: calc(50vw - 5rem);
  }
}

@media (min-width: 1920px) {
  .hero__image {
    width: calc(45vw);
    max-width: none;
  }
  
  .hero__image img {
    height: 65rem;
  }
}

/* Features Section - Melhorias */
.card-icon {
  width: 7.2rem !important;
  height: 7.2rem !important;
  background: #00695A !important; /* Verde Claro da paleta */
  border: 1px solid #00695A;
}

.card-icon img,
.card-icon svg {
  width: 4rem !important;
  height: 4rem !important;
}

@media (max-width: 768px) {
  .features {
    padding: 6rem 1.6rem !important;
  }
  
  .features-grid {
    gap: 1.6rem !important;
  }
  
  .card-item {
    padding: 2rem !important;
    border-radius: 1.2rem !important;
  }
  
  .card-icon {
    width: 5.6rem !important;
    height: 5.6rem !important;
    margin-bottom: 1.6rem !important;
  }
  
  .card-icon img,
  .card-icon svg {
    width: 3.2rem !important;
    height: 3.2rem !important;
  }
  
  .card-item h3 {
    font-size: 1.8rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .card-item p {
    font-size: 1.4rem !important;
    line-height: 1.5 !important;
  }
}

/* Models Section - Grid e Badges */
.models__grid {
  gap: 3.2rem !important;
}

.model-card {
  position: relative;
  overflow: visible !important;
}

.model-card__badge {
  position: absolute;
  top: -1.2rem;
  right: 2rem;
  background: #00DF82; /* Verde Neon da paleta */
  color: #05372D; /* Verde Escuro para contraste */
  padding: 0.6rem 1.6rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 223, 130, 0.3);
  z-index: 10;
}

@media (max-width: 768px) {
  .models {
    padding: 6rem 1.6rem !important;
  }
  
  .models__grid {
    gap: 2.4rem !important;
  }
  
  .model-card {
    padding: 2.4rem 2rem !important;
  }
  
  .model-card__badge {
    top: -1rem;
    right: 1.6rem;
    padding: 0.5rem 1.2rem;
    font-size: 1.2rem;
  }
  
  .model-card h3 {
    font-size: 2.4rem !important;
  }
  
  .model-card__features li {
    font-size: 1.3rem !important;
    padding: 0.6rem 0 !important;
  }
}

/* Integration Section - Layout Fix */
.integration__image {
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.integration__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 768px) {
  .integration {
    padding: 6rem 1.6rem !important;
  }
  
  .integration__content {
    gap: 3rem !important;
  }
  
  .integration__image {
    margin: 0 -1.6rem;
    border-radius: 0;
  }
  
  .integration__cta {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .integration__cta .wmbr-btn {
    width: 100%;
    padding: 1.4rem 2.4rem !important;
    font-size: 1.5rem !important;
    text-align: center;
    justify-content: center;
  }
}

/* FAQ Section - Accordion Style */
.faq__content {
  max-width: 90rem;
  margin: 0 auto;
}

.faq__item {
  background: white;
  border-radius: 1.2rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq__item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq__question {
  padding: 2.4rem 3.2rem;
  cursor: pointer;
  position: relative;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--grey-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.faq__question:after {
  content: '+';
  font-size: 2.4rem;
  color: #00695A;
  transition: transform 0.3s ease;
}

.faq__item.active .faq__question:after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 3.2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.faq__item.active .faq__answer {
  padding: 0 3.2rem 2.4rem;
  max-height: 50rem;
}

.faq__answer p {
  font-size: 1.6rem;
  color: var(--grey-medium);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq {
    padding: 6rem 1.6rem !important;
  }
  
  .faq__question {
    padding: 2rem;
    font-size: 1.6rem;
  }
  
  .faq__answer {
    padding: 0 2rem;
  }
  
  .faq__item.active .faq__answer {
    padding: 0 2rem 2rem;
  }
  
  .faq__answer p {
    font-size: 1.4rem;
    line-height: 1.6;
  }
}

/* Global CTA Buttons Enhancement */
.wmbr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.4rem 3.2rem;
  font-weight: 600;
  border-radius: 0.8rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gd-text-primary) !important;
}

.wmbr-btn--primary,
.wmbr-btn__primary {
  background: #00DF82 !important; /* Verde Neon da paleta */
  color: #05372D !important; /* Verde Escuro para contraste */
  box-shadow: 0 4px 16px rgba(0, 223, 130, 0.25);
  border-color: #00DF82 !important;
}

.wmbr-btn--primary:hover,
.wmbr-btn__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 223, 130, 0.35);
  background: #00FF92 !important; /* Verde Neon Light da paleta */
}

.wmbr-btn--secondary {
  background: transparent;
  color: #05372D !important; /* Verde Escuro da paleta */
  border: 2px solid #05372D;
}

.wmbr-btn--secondary:hover {
  background: #05372D !important; /* Verde Escuro da paleta */
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(5, 55, 45, 0.25);
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Section Spacing Consistency */
section {
  position: relative;
  overflow: hidden;
}

section > * {
  position: relative;
  z-index: 1;
}

/* Lazy Loading Images */
img[loading="lazy"] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Typography Scale Mobile */
@media (max-width: 480px) {
  :root {
    --title-size: 2.4rem;
    --subtitle-size: 2rem;
    --description-size: 1.4rem;
    --body-size: 1.4rem;
  }
  
  h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    hyphens: auto;
  }
}

/* Correções de Acessibilidade e Contraste */
/* CTA específico do Hero */
.hero .wmbr-btn--primary,
.hero .wmbr-btn__primary {
  background: #00DF82 !important; /* Verde Neon da paleta */
  color: #05372D !important;
  font-weight: 700;
}

.hero .wmbr-btn--primary:hover,
.hero .wmbr-btn__primary:hover {
  background: #00FF92 !important; /* Verde Neon Light da paleta */
  color: #05372D !important;
}

/* Melhorar contraste de textos */
.card-item p,
.model-card__features li,
.faq__answer p {
  color: #54585d !important; /* Cinza mais escuro para WCAG AA */
}

.features-header .text,
.models__header p,
.integration__description {
  color: #54585d !important;
  font-size: 1.8rem;
}

/* Alt text para imagens - removido conforme solicitado */

/* Hierarquia de Headings */
.section-title h2 {
  font-size: 3.6rem;
  margin-bottom: 1.6rem;
}

.section-title h3 {
  font-size: 2.8rem;
}

/* Remover conflitos - usando padrões do consulta-nf acima */

/* =================================================== */
/* CORREÇÕES ADICIONAIS - ANÁLISE MINUCIOSA */
/* =================================================== */

/* 1. DIFFERENTIALS SECTION - Layout Quebrado */
.our-differentials {
  padding: 8rem 2rem;
  background: #05372D; /* Verde Escuro da paleta para contraste */
  color: #FFFFFF;
}

.infos-box {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 120rem;
  margin: 0 auto;
}

.differentials-infos {
  order: 1;
}

.differentials-img {
  order: 2;
  display: flex;
  justify-content: flex-end;
}

.differentials-img img {
  width: 100%;
  max-width: 60rem;
  height: auto;
  border-radius: 1.6rem;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
}

.differentials-infos .subtitle {
  font-size: 4rem;
  color: #FFFFFF;
  margin-bottom: 2rem;
  line-height: 1.2;
  font-family: "bornabold";
  font-weight: normal;
}

.differentials-infos .subtitle span {
  color: #00DF82; /* Verde Neon da paleta */
}

.differentials-infos .text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #54585d;
  margin-bottom: 3rem;
}

.differentials-stats {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
}

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

.stat-number {
  display: block;
  font-size: 3.6rem;
  font-weight: 700;
  color: #00695A;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 1.4rem;
  color: #666;
}

/* 2. CONTACT SECTION - CSS Completamente Quebrado */
.contact-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #00695A 0%, #00c775 100%);
}

.contact-box {
  background: transparent !important;
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 !important;
}

.contact-title {
  font-size: 4rem;
  color: white;
  margin-bottom: 1.6rem;
  font-family: "bornabold";
  font-weight: normal;
}

.contact-title span {
  color: #002614;
}

.contact-box .text {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.contact-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: white;
  font-size: 1.5rem;
}

.contact-feature svg {
  flex-shrink: 0;
}

.contact-box .wmbr-btn {
  background: #00695A !important;
  color: #FFFFFF !important;
  padding: 1.6rem 4rem;
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  display: inline-flex;
}

.contact-box .wmbr-btn:hover {
  background: #004d42 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* 3. FAQ SECTION - Botão Desalinhado */
.faq {
  padding: 8rem 2rem;
  background: var(--light-blue);
}

.faq-text {
  text-align: center !important;
  margin-bottom: 4rem;
}

.section-title {
  text-align: center;
}

.section-title span {
  display: block;
  font-size: 1.4rem;
  color: #00695A;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 0.8rem;
}

.section-title .title {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--grey-dark);
  margin-bottom: 2rem;
}

.faq-text .wmbr-btn {
  margin: 0 auto !important;
  display: inline-flex !important;
}

/* 3.5 MODELS GRID - Correção 4 cards */
.models__grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important; /* 4 colunas fixas */
  gap: 3.2rem !important;
}

@media (max-width: 1200px) {
  .models__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .models__grid {
    grid-template-columns: 1fr !important;
  }
}

/* 4. SUCCESS CASES - Ajustes de Layout */
.success-cases {
  padding: 8rem 2rem;
  background: white;
}

.success-cases__title {
  text-align: center;
  font-size: 3.6rem;
  color: var(--grey-dark);
  margin-bottom: 4rem;
  font-family: "bornabold";
  font-weight: normal;
}

.success-cases__title span {
  color: #00695A;
}

.success-cases__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 100rem;
  margin: 0 auto;
  align-items: start;
}

.case-card {
  background: var(--light-blue);
  padding: 3rem;
  border-radius: 1.6rem;
  text-align: center;
}

.case-card__logo {
  margin-bottom: 2rem;
}

.case-card__logo svg {
  max-width: 150px;
  height: auto;
}

.case-card__logo img {
  height: 4rem;
  width: auto;
}

.case-card__quote {
  font-size: 1.6rem;
  font-style: italic;
  color: #54585d;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.case-card__author {
  margin-bottom: 1.6rem;
}

.case-card__author strong {
  display: block;
  font-size: 1.6rem;
  color: var(--grey-dark);
}

.case-card__author span {
  font-size: 1.4rem;
  color: #666;
}

.case-card__link {
  color: #289465; /* Verde Neon da paleta */
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: 600;
}

.case-metrics {
  background: white;
  border: 2px solid #00DF82; /* Verde Neon da paleta */
  padding: 3rem;
  border-radius: 1.6rem;
}

.case-metrics h3 {
  font-size: 2.4rem;
  color: var(--grey-dark);
  margin-bottom: 2rem;
}

.case-metrics ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2.4rem 0;
}

.case-metrics li {
  padding: 0.8rem 0;
  font-size: 1.5rem;
  color: #54585d;
}

.case-metrics li strong {
  color: #00DF82; /* Verde Neon da paleta */
  font-size: 1.8rem;
}

/* =================================================== */
/* RESPONSIVE FIXES - DIFFERENTIALS & CONTACT */
/* =================================================== */

@media (max-width: 1024px) {
  .infos-box {
    grid-template-columns: 1fr !important;
    gap: 4rem;
    text-align: center;
  }
  
  .differentials-infos {
    order: 2;
  }
  
  .differentials-img {
    order: 1;
    justify-content: center;
  }
  
  .differentials-stats {
    justify-content: center;
  }
  
  .success-cases__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .our-differentials {
    padding: 6rem 1.6rem;
  }
  
  .differentials-infos .subtitle {
    font-size: 3.2rem;
  }
  
  .differentials-stats {
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .stat-item {
    flex: 1 1 calc(33.333% - 2rem);
    min-width: 8rem;
  }
  
  .stat-number {
    font-size: 2.8rem;
    color: #00DF82 !important; /* Verde Neon mantém contraste no fundo escuro */
  }
  
  .contact-section {
    padding: 6rem 1.6rem;
  }
  
  .contact-title {
    font-size: 3.2rem;
  }
  
  .contact-features {
    flex-direction: column;
    gap: 1.6rem;
    align-items: center;
  }
  
  .contact-box .wmbr-btn {
    width: 100%;
    justify-content: center;
  }
  
  .faq {
    padding: 6rem 1.6rem;
  }
  
  .section-title .title {
    font-size: 2.8rem;
  }
  
  .success-cases {
    padding: 6rem 1.6rem;
  }
  
  .success-cases__title {
    font-size: 2.8rem;
  }
}

/* =================================================== */
/* CORREÇÃO INTEGRATION SECTION */
/* =================================================== */

.integration {
  padding: 8rem 2rem;
}

.integration__content {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 120rem;
  margin: 0 auto;
}

.integration__text {
  order: 1;
}

.integration__image {
  order: 2;
  position: relative;
  overflow: hidden;
  border-radius: 1.6rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.integration__text h2 {
  font-size: 4rem;
  color: var(--grey-dark);
  margin-bottom: 2rem;
  line-height: 1.2;
  font-family: "bornabold";
  font-weight: normal;
}

.integration__text h2 span {
  color: #00DF82; /* Verde Neon da paleta */
}

.integration__description {
  font-size: 1.6rem;
  color: #54585d;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.integration__features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.integration__feature {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}

.integration__feature svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: #00DF82; /* Verde Neon da paleta */
}

.integration__feature h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--grey-dark);
  margin-bottom: 0.4rem;
}

.integration__feature p {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.5;
}

.integration__cta {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.integration__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Code Block Styles - Profissional IDE Theme */
.integration__code {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.code-tabs {
  background: #21252b;
  border-radius: 1.2rem 1.2rem 0 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  border-bottom: 1px solid #181a1f;
}

.code-tab {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  color: #7f8491;
  font-size: 1.3rem;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.code-tab:hover {
  color: #abb2bf;
  background: rgba(255, 255, 255, 0.03);
}

.code-tab.active {
  background: #282c34;
  color: #61afef;
}

.code-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #61afef;
}

.code-content {
  background: #282c34;
  padding: 0;
  border-radius: 0 0 1.2rem 1.2rem;
  overflow: hidden;
}

.code-block {
  display: none;
}

.code-block.active {
  display: block;
}

.code-block pre {
  background: #282c34 !important;
  margin: 0 !important;
  padding: 2.4rem !important;
  overflow-x: auto;
  border: none !important;
}

.code-block code {
  color: #abb2bf !important;
  font-family: 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace !important;
  font-size: 1.4rem !important;
  line-height: 1.8 !important;
  background: transparent !important;
  white-space: pre !important;
  display: block !important;
  tab-size: 4;
}

/* Syntax Highlighting - One Dark Pro Theme */
/* Comentários */
.code-block code::before {
  content: '';
}

/* Destacar elementos específicos através de spans inline */
.code-content {
  position: relative;
}

/* Estilo para strings e valores */
.code-block code {
  /* Base text */
  color: #abb2bf !important;
}

/* Override para destacar manualmente */
.integration__code .string { color: #98c379 !important; } /* Verde para strings */
.integration__code .keyword { color: #c678dd !important; } /* Roxo para keywords */
.integration__code .function { color: #61afef !important; } /* Azul para funções */
.integration__code .number { color: #d19a66 !important; } /* Laranja para números */
.integration__code .comment { color: #5c6370 !important; font-style: italic; } /* Cinza para comentários */
.integration__code .variable { color: #e06c75 !important; } /* Vermelho para variáveis */
.integration__code .property { color: #d19a66 !important; } /* Laranja para propriedades */
.integration__code .operator { color: #56b6c2 !important; } /* Ciano para operadores */

/* Scrollbar customizada */
.code-block pre::-webkit-scrollbar {
  height: 8px;
}

.code-block pre::-webkit-scrollbar-track {
  background: #21252b;
}

.code-block pre::-webkit-scrollbar-thumb {
  background: #4b5263;
  border-radius: 4px;
}

.code-block pre::-webkit-scrollbar-thumb:hover {
  background: #5c6370;
}

/* Line numbers (opcional) */
.code-block.with-line-numbers {
  counter-reset: line;
}

.code-block.with-line-numbers code {
  padding-left: 4rem;
  position: relative;
}

.code-block.with-line-numbers code::before {
  counter-increment: line;
  content: counter(line);
  position: absolute;
  left: 1rem;
  color: #4b5263;
  user-select: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .code-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .code-tab {
    padding: 1rem 1.6rem;
    font-size: 1.2rem;
    white-space: nowrap;
  }
  
  .code-block pre {
    padding: 1.6rem !important;
  }
  
  .code-block code {
    font-size: 1.2rem !important;
  }
}

/* Integration Responsive */
@media (max-width: 1024px) {
  .integration__content {
    grid-template-columns: 1fr !important;
    gap: 4rem;
  }
  
  .integration__text {
    order: 1;
    text-align: center;
  }
  
  .integration__image {
    order: 2;
  }
  
  .integration__features {
    align-items: center;
  }
  
  .integration__feature {
    text-align: left;
    max-width: 50rem;
  }
  
  .integration__cta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .integration {
    padding: 6rem 1.6rem;
  }
  
  .integration__text h2 {
    font-size: 3.2rem;
  }
  
  .integration__cta {
    flex-direction: column;
    width: 100%;
  }
  
  .integration__cta .wmbr-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =================================================== */
/* NOVA SEÇÃO - 3 PASSOS PARA COMEÇAR */
/* =================================================== */

.steps-section {
  padding: 8rem 2rem;
  background: #d4e7e3;
}

.steps-header {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto 6rem;
}

.steps-header .small--text {
  color: #00695A;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.2rem;
}

.steps-title {
  font-size: 4rem;
  font-weight: 700;
  font-family: 'bornasemibold', sans-serif;
  color: var(--grey-dark);
  margin-bottom: 2rem;
  line-height: 1.2;
  font-weight:normal;
}

.steps-title span {
  color: #00695A;
}

.steps-description {
  font-size: 1.8rem;
  color: #54585d;
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  max-width: 110rem;
  margin: 0 auto 6rem;
  position: relative;
}

/* Linha conectora entre steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 4rem;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, #00695A 0%, #00695A 50%, #00695A 100%);
  background-size: 10px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}

.step-card {
  background: var(--light-blue);
  border-radius: 1.6rem;
  padding: 3.2rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.step-number {
  font-size: 4.8rem;
  font-weight: 700;
  font-family: 'bornasemibold', sans-serif;
  color: #00695A;
  margin-bottom: 2rem;
  line-height: 1;
  font-weight:normal;
}

.step-content h3 {
  font-size: 2.4rem;
  font-weight: 600;
  font-family: 'bornasemibold', sans-serif;
  color: var(--grey-dark);
  margin-bottom: 1.2rem;
  font-weight:normal;
}

.step-content p {
  font-size: 1.5rem;
  color: #54585d;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 8rem;
  background: rgba(0, 223, 130, 0.1);
  border-radius: 50%;
  margin: 0 auto;
}

.step-icon svg {
  width: 4.8rem;
  height: 4.8rem;
}

.steps-cta {
  text-align: center;
}

.steps-cta .wmbr-btn {
  font-size: 1.8rem;
  padding: 1.8rem 4rem;
  margin-bottom: 1.6rem;
}

.steps-cta-text {
  font-size: 1.4rem;
  color: #666;
}

/* Steps Responsive */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .steps-section {
    padding: 6rem 1.6rem;
  }
  
  .steps-title {
    font-size: 3.2rem;
  }
  
  .steps-description {
    font-size: 1.6rem;
  }
  
  .step-card {
    padding: 2.4rem;
  }
  
  .step-number {
    font-size: 3.6rem;
  }
  
  .step-content h3 {
    font-size: 2rem;
  }
  
  .step-content p {
    font-size: 1.4rem;
  }
  
  .steps-cta .wmbr-btn {
    width: 100%;
  }
}

/* =================================================== */
/* CONTACT SECTION - GRADIENTE DA PALETA */
/* =================================================== */

.contact-section {
  background: linear-gradient(135deg, #05372D 0%, #000000 100%); /* Gradiente Verde Escuro para Preto */
  color: #FFFFFF;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 223, 130, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.contact-title {
  font-size: 4rem;
  color: #FFFFFF;
  margin-bottom: 2rem;
}

.contact-title span {
  color: #00DF82; /* Verde Neon da paleta */
}

.contact-description {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
}

.contact-features .contact-feature {
  color: #FFFFFF;
}

.contact-features .contact-feature svg {
  color: #00DF82; /* Verde Neon para ícones */
}

/* Botões específicos da seção de contato */
.contact-section .wmbr-btn__primary {
  background: #00DF82 !important;
  color: #05372D !important;
  border: 2px solid #00DF82;
}

.contact-section .wmbr-btn__primary:hover {
  background: #00FF92 !important;
  border-color: #00FF92;
}

.contact-section .wmbr-btn__secondary {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 2px solid #FFFFFF;
}

.contact-section .wmbr-btn__secondary:hover {
  background: #FFFFFF !important;
  color: #05372D !important;
}

/* =================================================== */
/* AJUSTES DE CONTRASTE PARA LEGIBILIDADE */
/* =================================================== */

/* Garantir contraste adequado em todos os textos secundários */
.features-header .text,
.models__header p,
.integration__description,
.card-item p,
.model-card__features li,
.model-card__title,
.model-card__stats,
.integration__feature p,
.case-card__author span,
.stat-label,
.models__cta-text {
  color: #54585D !important; /* Contraste melhorado para legibilidade */
}

/* Textos em fundos escuros */
.our-differentials .differentials-infos .text,
.our-differentials .stat-label {
  color: rgba(255, 255, 255, 0.85) !important; /* Melhor legibilidade */
}

/* Verde Neon para elementos de destaque */
.features-header .title span,
.models__header h2 span,
.integration__text h2 span,
.success-cases__title span,
.our-differentials .subtitle span,
.stat-number,
.model-card h3,
.case-metrics strong,
.model-card__features li:before {
  color: #00695A !important; /* Verde neon para destaques */
}

.our-differentials .subtitle span, .stat-number {
  color:#00DF82 !important; /* Verde Neon para destaques */
}

/* Ajuste específico para badges */
.model-card__badge {
  background: #05372D !important; /* Fundo escuro */
  color: #00DF82 !important; /* Verde neon com bom contraste */
  font-weight: 700;
}