/* Start custom CSS */body {
  overflow-x: hidden;
}

.ag-publicar-page,
.ag-publicar-page * {
  box-sizing: border-box;
}

.ag-publicar-page {
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  color: #111C15;
  background: #F7F6F1;
}

.ag-pub-wrap {
  width: min(100% - 32px, 1120px);
  margin: 0 auto;
}

.ag-pub-hero {
  background: #07160F;
  color: #fff;
  padding: 82px 0 78px;
  border-bottom: 3px solid #C9972B;
}

.ag-pub-eyebrow {
  display: inline-flex;
  background: rgba(201,151,43,.12);
  border: 1px solid rgba(201,151,43,.28);
  color: #C9972B;
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.ag-pub-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: .96;
  max-width: 830px;
  margin: 0 0 18px;
  color: #fff;
}

.ag-pub-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.64);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
}

.ag-pub-actions,
.ag-pub-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ag-pub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ag-pub-btn-gold {
  background: #C9972B;
  color: #111C15;
}

.ag-pub-btn-dark {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

.ag-pub-intro,
.ag-pub-data {
  background: #fff;
  padding: 62px 0;
}

.ag-pub-grid-2 {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 32px;
  align-items: center;
}

.ag-pub-intro small,
.ag-pub-data small,
.ag-pub-section-head small {
  display: block;
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: #C9972B;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ag-pub-intro h2,
.ag-pub-data h2,
.ag-pub-section-head h2 {
  font-family: Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  margin: 0 0 14px;
  color: #111C15;
}

.ag-pub-intro p,
.ag-pub-data p,
.ag-pub-section-head p {
  color: #667067;
  line-height: 1.75;
  margin: 0 0 12px;
  font-size: 15px;
}

.ag-pub-card {
  background: #F7F6F1;
  border: 1px solid rgba(17,28,21,.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(0,0,0,.05);
}

.ag-pub-highlight {
  border-left: 4px solid #C9972B;
}

.ag-pub-card-icon {
  font-size: 34px;
  margin-bottom: 12px;
}

.ag-pub-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: #111C15;
}

.ag-pub-card p {
  margin: 0;
  color: #667067;
  line-height: 1.7;
}

.ag-pub-types {
  background: #F7F6F1;
  padding: 64px 0;
}

.ag-pub-section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}

.ag-pub-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ag-pub-type-card {
  background: #fff;
  border: 1px solid rgba(17,28,21,.08);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,.04);
}

.ag-pub-type-card div {
  font-size: 30px;
  margin-bottom: 10px;
}

.ag-pub-type-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #111C15;
}

.ag-pub-type-card p {
  margin: 0;
  color: #667067;
  line-height: 1.6;
  font-size: 13px;
}

.ag-pub-process {
  background: #fff;
  padding: 64px 0;
}

.ag-pub-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ag-pub-step {
  text-align: center;
  padding: 24px 18px;
  border-radius: 18px;
  background: #F7F6F1;
  border: 1px solid rgba(17,28,21,.08);
}

.ag-pub-step-number {
  width: 38px;
  height: 38px;
  background: #C9972B;
  color: #111C15;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
}

.ag-pub-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #111C15;
}

.ag-pub-step p {
  margin: 0;
  color: #667067;
  font-size: 13px;
  line-height: 1.55;
}

.ag-pub-checklist {
  display: grid;
  gap: 10px;
  background: #F7F6F1;
  border: 1px solid rgba(17,28,21,.08);
  border-radius: 20px;
  padding: 24px;
}

.ag-pub-checklist div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #445047;
  font-size: 14px;
  line-height: 1.45;
}

.ag-pub-checklist span {
  width: 20px;
  height: 20px;
  background: rgba(74,222,128,.12);
  border: 1px solid rgba(74,222,128,.28);
  color: #138A45;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.ag-pub-cta-section {
  background: #F7F6F1;
  padding: 58px 0;
}

.ag-pub-cta {
  background: #0E2418;
  color: #fff;
  border-radius: 22px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.ag-pub-cta h2 {
  font-family: Georgia, serif;
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
  color: #fff;
}

.ag-pub-cta p {
  margin: 0;
  color: rgba(255,255,255,.64);
  line-height: 1.6;
  max-width: 680px;
}

.ag-pub-form-note {
  background: #fff;
  border: 1px dashed rgba(17,28,21,.18);
  border-radius: 18px;
  padding: 20px;
  color: #445047;
  font-size: 14px;
  line-height: 1.65;
  margin-top: 28px;
}

.ag-pub-form-note strong {
  color: #111C15;
}

.ag-pub-legal {
  background: #FFF8E8;
  border: 1px solid rgba(201,151,43,.25);
  border-radius: 18px;
  padding: 22px;
  color: #5F4B20;
  font-size: 13px;
  line-height: 1.7;
  margin-top: 18px;
}

.ag-pub-legal strong {
  color: #111C15;
}

@media(max-width: 980px) {
  .ag-pub-grid-2 {
    grid-template-columns: 1fr;
  }

  .ag-pub-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ag-pub-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 640px) {
  .ag-pub-wrap {
    width: min(100% - 24px, 1120px);
  }

  .ag-pub-hero {
    padding: 52px 0 48px;
  }

  .ag-pub-hero p {
    font-size: 14px;
  }

  .ag-pub-actions,
  .ag-pub-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .ag-pub-btn {
    width: 100%;
  }

  .ag-pub-intro,
  .ag-pub-types,
  .ag-pub-process,
  .ag-pub-data,
  .ag-pub-cta-section {
    padding: 42px 0;
  }

  .ag-pub-type-grid,
  .ag-pub-steps {
    grid-template-columns: 1fr;
  }

  .ag-pub-card,
  .ag-pub-checklist,
  .ag-pub-cta,
  .ag-pub-form-note,
  .ag-pub-legal {
    padding: 22px;
    border-radius: 18px;
  }
}

/* Gravity Forms - Enviar Lote para Análise B2B */

.ag-form-lote-b2b,
.gform_wrapper.ag-form-lote-b2b {
  background: #F7F6F1;
  border: 1px solid rgba(17,28,21,.08);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 36px rgba(0,0,0,.05);
}

.ag-form-lote-b2b .gform_heading {
  margin-bottom: 24px;
}

.ag-form-lote-b2b .gform_title {
  font-family: Georgia, serif;
  font-size: 32px;
  color: #111C15;
  margin: 0 0 8px;
}

.ag-form-lote-b2b .gform_description {
  color: #667067;
  line-height: 1.65;
  font-size: 14px;
}

.ag-form-lote-b2b .gfield_label {
  color: #111C15 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .5px;
}

.ag-form-lote-b2b input,
.ag-form-lote-b2b select,
.ag-form-lote-b2b textarea {
  border-radius: 10px !important;
  border: 1px solid rgba(17,28,21,.14) !important;
  padding: 12px 13px !important;
  color: #111C15 !important;
  background: #fff !important;
}

.ag-form-lote-b2b input:focus,
.ag-form-lote-b2b select:focus,
.ag-form-lote-b2b textarea:focus {
  border-color: #C9972B !important;
  box-shadow: 0 0 0 3px rgba(201,151,43,.14) !important;
  outline: none !important;
}

.ag-form-lote-b2b .gsection {
  border-bottom: 1px solid rgba(201,151,43,.32) !important;
  padding-top: 18px !important;
  margin-top: 24px !important;
}

.ag-form-lote-b2b .gsection_title {
  font-family: Georgia, serif !important;
  color: #111C15 !important;
  font-size: 24px !important;
}

.ag-form-lote-b2b .gsection_description {
  color: #667067 !important;
  font-size: 13px !important;
}

.ag-form-lote-b2b .gfield_description {
  color: #667067 !important;
  font-size: 12px !important;
}

.ag-form-lote-b2b .gform_button {
  background: #C9972B !important;
  color: #111C15 !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 13px 22px !important;
  font-weight: 900 !important;
  cursor: pointer;
}

.ag-form-lote-b2b .gform_button:hover {
  background: #E0B547 !important;
}

@media(max-width: 640px) {
  .ag-form-lote-b2b,
  .gform_wrapper.ag-form-lote-b2b {
    padding: 20px;
    border-radius: 18px;
  }

  .ag-form-lote-b2b .gform_title {
    font-size: 26px;
  }
}

.ag-pub-form-head {
  max-width: 820px;
  margin: 34px auto 22px;
  text-align: center;
}

.ag-pub-form-head small {
  display: block;
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 1.2px;
  color: #C9972B;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ag-pub-form-head h2 {
  font-family: Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  margin: 0 0 12px;
  color: #111C15;
}

.ag-pub-form-head p {
  color: #667067;
  line-height: 1.75;
  margin: 0;
  font-size: 15px;
}

.ag-pub-form-alert {
  max-width: 900px;
  margin: 0 auto 22px;
  background: #FFF8E8;
  border: 1px solid rgba(201,151,43,.25);
  border-radius: 16px;
  padding: 18px 20px;
  color: #5F4B20;
  font-size: 13px;
  line-height: 1.65;
}

.ag-pub-form-alert strong {
  color: #111C15;
}

/* Ajuste visual do shortcode do Gravity Forms */
.elementor-shortcode .gform_wrapper,
.gform_wrapper {
  max-width: 900px;
  margin: 0 auto 28px;
}

.ag-form-lote-b2b select,
.gform_wrapper select {
  min-height: 46px !important;
  height: auto !important;
  line-height: 1.4 !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  background-color: #fff !important;
  color: #111C15 !important;
}/* End custom CSS */