/*
 * Agrifertil base styles migrated from the static prototype.
 */
:root {
  --primary-color: #014B3A;
  --secondary-color: #428528;
  --background-color: #fff;
  --font-size-base: 16px;
  --font-regular: 400;
  --font-bold: 600;
  --font-bolder: 900;
  --container-width: 1200px;
  --container-padding: 24px;
  --container-padding-mobile: 18px;
  --border-width: 4px;
  --header-height: 82px;
  --radius: 6px;
  --transition: all 0.3s ease-in-out;
  --section-padding: 80px;
  --section-padding-mobile: 36px;
  --section-title-font-size: 2em;
  --section-title-font-color: var(--primary-color);
  --section-title-font-weight: var(--font-bold);
  --section-paragraph-font-size: 1.05em;
  --section-paragraph-line-height: 1.6;
  --section-paragraph-font-color: #111;
  --section-paragraph-font-weight: var(--font-regular);
  --image-text-block-width: 0.48;
  --image-text-block-background-gap: 12px;
  --products-row-gap: 24px;
  --products-single-breakpoint: 584px;
  --product-row-left-padding: 16px;
  --product-row-top-padding: 24px;
  --footer-strong-color: #7AC55D;
  --footer-weak-color: #D6FFC7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
input,
textarea,
select,
button {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  background: var(--background-color);
  font-size: var(--font-size-base);
}

.hide {
  display: none;
}

.wp-site-blocks {
  font-size: var(--font-size-base);
}

html {
  font-size: var(--font-size-base);
  font-weight: var(--font-regular);
}

ul {
  list-style: none;
  margin: 0;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

.agr-section {
  display: flex;
  width: 100%;
  justify-content: center;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

body.is-mobile .agr-section {
  padding-left: var(--container-padding-mobile);
  padding-right: var(--container-padding-mobile);
}

.agr-section.no-padding,
body.is-mobile .agr-section.no-padding {
  padding-left: 0;
  padding-right: 0;
}

.agr-section.section-padding {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

body.is-mobile .agr-section.section-padding {
  padding-top: var(--section-padding-mobile);
  padding-bottom: var(--section-padding-mobile);
}

.agr-container {
  display: inline-flex;
  align-items: flex-start;
  width: var(--container-width);
}

@media (max-width: 1200px) {
  .agr-container {
    width: 100%;
  }
}

.agr-container.vertical {
  flex-direction: column;
  gap: 24px;
}

/* ==============================
   Components
============================ */
.agr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5em .9em;
  gap: .3em;
  font-weight: var(--font-bold);
  font-size: var(--font-size-base);
  color: var(--background-color);
  background-color: var(--primary-color);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.agr-button:hover {
  background-color: var(--secondary-color);
}

.agr-section-title {
  font-size: var(--section-title-font-size);
  font-weight: var(--section-title-font-weight);
  color: var(--section-title-font-color);
}

.agr-section-title.full-center,
.agr-section-paragraph.full-center {
  width: 100%;
  text-align: center;
}

.agr-section-paragraph {
  font-size: var(--section-paragraph-font-size);
  font-weight: var(--section-paragraph-font-weight);
  color: var(--section-paragraph-font-color);
  line-height: var(--section-paragraph-line-height);
}

.agr-form {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 32px;
}

.agr-form .agr-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agr-form .agr-form-group label {
  font-size: 1.1em;
  font-weight: var(--font-bold);
  color: var(--primary-color);
}

.agr-form .agr-form-group.agr-has-flag {
  position: relative;
}

.agr-form .agr-form-group input.agr-phone-input {
  padding-left: 46px;
}

.agr-form .agr-flag-icon {
  position: absolute;
  left: 16px;
  top: 57px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-image: url("../img/bandeira-brasil.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 2px #fff;
}

.agr-form .agr-form-group input,
.agr-form .agr-form-group textarea,
.agr-form .agr-form-group select {
  padding: 12px 16px;
  font-size: 1em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  color: #222;
  outline-color: var(--primary-color);
  margin: 0;
  line-height: 1em;
}

.agr-form .agr-form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.agr-form .agr-form-group input.agr-field-error,
.agr-form .agr-form-group textarea.agr-field-error,
.agr-form .agr-form-group select.agr-field-error {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.agr-form .agr-field-error-message {
  color: #dc2626;
  font-size: 0.9em;
  line-height: 1.4;
}

.agr-form button {
  padding: 12px 16px !important;
  font-size: 1em;
  border: 2px solid transparent;
  margin: 0;
  line-height: 1em;
  width: 100%;
  cursor: pointer;
}

/* WORDPRESS HTML CONTENT STYLES */
.wp-default-editor-content {
  width: 100%;
}

.wp-default-editor-content p {
  font-size: 1em;
  line-height: 1.7em;
  color: #333;
  min-height: 1px;
}

.wp-default-editor-content p strong {
  font-weight: var(--font-bold);
}

.wp-default-editor-content h1,
.wp-default-editor-content h2,
.wp-default-editor-content h3,
.wp-default-editor-content h4,
.wp-default-editor-content h5 {
  font-weight: var(--font-bold);
  color: var(--primary-color);
}

.wp-default-editor-content h1 {
  font-size: 3em;
}

.wp-default-editor-content h2 {
  font-size: 2em;
}

.wp-default-editor-content h3 {
  font-size: 1.4em;
}

.wp-default-editor-content h4 {
  font-size: 1.25em;
}

.wp-default-editor-content h5 {
  font-size: 1em;
}

.wp-default-editor-content p a {
  color: var(--secondary-color);
  font-weight: var(--font-bold);
}

.wp-default-editor-content ul {
  padding-left: 18px;
}

.wp-default-editor-content li {
  margin-bottom: 6px;
  list-style: disc;
}

.wp-default-editor-content .list-bullets {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 18px;
}

.wp-default-editor-content .list-bullets li {
  position: relative;
  padding-left: 24px;
  margin: 0;
  color: #333;
  font-size: 1.1em;
}

.wp-default-editor-content .list-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 14px;
  border: solid #1e78ff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wp-default-editor-content blockquote {
  background-color: var(--secondary-color);
  font-weight: var(--font-bold);
  padding: 4px 8px;
}

.wp-default-editor-content blockquote p {
  color: #fff;
}

.wp-default-editor-content blockquote a {
  color: #b7f1ae;
  text-decoration: underline;
}

.wp-default-editor-content table {
  border-collapse: collapse;
  border: 0;
}

.wp-default-editor-content table thead {
  background-color: var(--primary-color);
  border: 0;
}

.wp-default-editor-content table thead th {
  color: #fff;
}

.wp-default-editor-content .wp-block-table td,
.wp-default-editor-content .wp-block-table th {
  border: 1px solid var(--primary-color);
  font-size: .96em;
}

.wp-default-editor-content .wp-block-table td a,
.wp-default-editor-content .wp-block-table th a {
  color: var(--secondary-color);
  font-weight: var(--font-bold);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==============================
   Header
============================ */
.agr-header-section {
  border-bottom: var(--border-width) solid var(--primary-color);
  height: var(--header-height);
  background: var(--background-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-size: 1em;
}

.agr-header-section .agr-container {
  justify-content: space-between;
  align-items: center;
}

.agr-header-section .block {
  display: inline-flex;
  align-items: center;
  gap: 36px;
}

body.is-tablet .agr-header-section .block {
  gap: 16px;
}


.agr-header-section .menu,
.agr-header-section .wp-block-navigation__container {
  display: flex;
  gap: 2em;
}

body.is-tablet .agr-header-section .menu,
body.is-tablet .agr-header-section .wp-block-navigation__container {
  gap: 1em;
}

.agr-header-section .menu {
  position: relative;
  align-items: center;
}

.agr-header-section .menu>li {
  position: relative;
  outline: none;
  text-transform: uppercase;
}

.agr-header-section .menu>li::before {
  position: absolute;
  width: 100%;
  height: 17px;
  content: "";
  bottom: -17px;
}

.agr-header-section .menu>li>a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 2px;
  outline: none;
}

.agr-header-section .menu li.menu-item-has-children>a::after {
  content: "\2228";
  font-size: 1em;
  color: var(--primary-color);
}

.agr-header-section .menu li .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid #e6e6e6;
  min-width: 320px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  z-index: 20;
  flex-direction: column;
}

.agr-header-section .menu li:hover>.sub-menu,
.agr-header-section .menu li:focus-within>.sub-menu {
  display: flex;
}

body.is-mobile .agr-mobile-menu .menu li:hover>.sub-menu,
body.is-mobile .agr-mobile-menu .menu li:focus-within>.sub-menu {
  display: none;
}

body.is-mobile .agr-mobile-menu .menu li.is-open>.sub-menu {
  display: block !important;
}

.agr-header-section .menu li .sub-menu>li {
  position: relative;
  width: 100%;
}

.agr-header-section .menu li .sub-menu>li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  color: var(--primary-color);
  font-weight: var(--font-bold);
}

.agr-header-section .menu li .sub-menu>li:hover>a,
.agr-header-section .menu li .sub-menu>li:focus-within>a {
  background-color: #b7f1ae;
  font-weight: var(--font-bold);
}

.agr-header-section .menu li .sub-menu>li.menu-item-has-children>a::after {
  content: "\2228";
  font-size: 1em;
  margin-left: 12px;
}

.agr-header-section .menu li .sub-menu .sub-menu {
  top: 0;
  left: auto;
  right: 100%;
  margin-left: 0;
  margin-right: 1px;
  min-width: 240px;
}

.agr-header-section .menu li .sub-menu .sub-menu>li>a {
  font-weight: var(--font-bold);
}

.agr-header-section .menu a,
.agr-header-section .wp-block-navigation__container a {
  font-weight: var(--font-bold);
  font-size: 15px;
}

.agr-header-section .cta {
  font-size: 1.15em;
  animation: agr-header-cta-pulse 1.5s linear infinite;
  transform-origin: center;
}

@keyframes agr-header-cta-pulse {
  0% {
    transform: scale(0.90);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.90);
  }
}

.agr-header-section .cta span {
  font-size: .92em;
}

.agr-header-section .cta img {
  width: 24px;
}

.agr-header-left,
.agr-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.agr-header-section .agr-header-right {
  gap: 24px;
}

.agr-mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  background: #fff;
  color: var(--primary-color);
  cursor: pointer;
  overflow: hidden;
}

.agr-mobile-menu-toggle__icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 999px;
}

.agr-mobile-menu-toggle__icon::before,
.agr-mobile-menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 999px;
}

.agr-mobile-menu-toggle__icon::before {
  top: -6px;
}

.agr-mobile-menu-toggle__icon::after {
  top: 6px;
}

.agr-mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 98;
}

.agr-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 90%;
  height: 100vh;
  background: #fff;
  box-shadow: 4px 0 18px rgba(0, 0, 0, 0.18);
  transform: translateX(-105%);
  transition: transform 0.28s ease;
  z-index: 99;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.agr-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 18px;
  border-bottom: 1px solid #e6e6e6;
}

.agr-mobile-menu-close {
  border: none;
  background: none;
  font-size: 1.2em;
  font-weight: var(--font-bold);
  cursor: pointer;
  color: var(--primary-color);
}

.agr-mobile-menu__content {
  padding: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.agr-mobile-menu .menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  align-items: stretch;
}

.agr-mobile-menu .menu>li {
  text-align: left;
  width: 100%;
}

.agr-mobile-menu .menu>li>a {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #e6e6e6;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
}

.agr-mobile-menu .menu li.menu-item-has-children>a::after {
  transition: transform 0.2s ease;
}

.agr-mobile-menu .menu li.is-open>a::after {
  transform: rotate(180deg);
}

.agr-mobile-menu .menu li .sub-menu {
  position: static;
  display: none;
  border: 0;
  box-shadow: none;
  min-width: 100%;
  padding: 0;
}

.agr-mobile-menu .menu li.is-open>.sub-menu {
  display: block;
}

.agr-mobile-menu .menu li .sub-menu>li>a {
  padding-left: 32px;
}

.agr-mobile-menu .menu li .sub-menu .sub-menu>li>a {
  padding-left: 44px;
}

.agr-mobile-menu__cta {
  margin: 12px 16px 4px;
  justify-content: center;
}

body.agr-mobile-menu-open .agr-mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

body.agr-mobile-menu-open .agr-mobile-menu {
  transform: translateX(0);
}

body.is-mobile .agr-header-section .agr-header-right .menu,
body.is-mobile .agr-header-section .agr-header-right .cta {
  display: none;
}

body.is-mobile .agr-mobile-menu-toggle {
  display: inline-flex;
}

body.is-mobile .agr-header-section .agr-container {
  align-items: center;
}

.agr-header-section .agr-logo {
  height: 73px;
  width: auto;
}

body.is-tablet .agr-header-section .agr-logo {
  height: 62px;
}


.agr-product-banner {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background: #000;
}

/* ajustar a margin negativa para o produto ficar por cima do banner na página do produto */
body.is-tablet .agr-product-banner,
body.is-mobile .agr-product-banner {
  margin-bottom: -224px;
}

.agr-product-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agr-product-subtitle {
  font-size: 1.2em;
  font-weight: var(--font-regular);
  color: #4b4b4b;
}

/* ==============================
   Main Banner
============================ */
.agr-main-banner-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

body.is-mobile .agr-main-banner-section {
  margin-bottom: 0;
}

.agr-main-banner-section .agr-hero-slider {
  width: 100%;
  position: relative;
}

.agr-main-banner-section .agr-hero-pagination {
  display: none !important;
}

.agr-main-banner-section picture,
.agr-main-banner-section img {
  display: block;
  width: 100%;
  height: auto;
}

.agr-main-banner-section .agr-hero-pagination {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.agr-main-banner-section .agr-hero-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.35;
  width: 12px;
  height: 12px;
}

.agr-main-banner-section .agr-hero-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.agr-banner-placeholder {
  font-weight: var(--font-bold);
  color: var(--primary-color);
  padding: 48px 0;
  text-align: center;
  width: 100%;
}

/* ==============================
   Common Text Image Block
============================ */
.agr-common-text-image-section {
  position: relative;
  overflow: hidden;
}

.agr-common-text-image-section .agr-container {
  justify-content: space-between;
  align-items: center;
}

body.is-mobile .agr-common-text-image-section .agr-container {
  flex-direction: column;
  gap: 18px;
}

.agr-common-text-image-section .left-block,
.agr-common-text-image-section .right-block {
  width: calc(100% * var(--image-text-block-width));
}

body.is-mobile .agr-common-text-image-section .left-block,
body.is-mobile .agr-common-text-image-section .right-block {
  width: 100%;
}

body.is-mobile .agr-common-text-image-section .image-block {
  order: -1;
}

.agr-common-text-image-section .image-block img {
  width: 100%;
}

.agr-common-text-image-section .text-block {
  display: inline-flex;
  flex-direction: column;
  gap: 1em;
}

.background-row-from-left .image-block,
.background-row-from-right .image-block {
  position: relative;
}

.background-row-from-left .image-block::before,
.background-row-from-right .image-block::before {
  content: "";
  position: absolute;
  top: 5%;
  height: 90%;
  width: calc(((100vw - var(--container-width)) / 2) + (var(--container-width) * var(--image-text-block-width)) + var(--image-text-block-background-gap));
  background: #eee;
  z-index: -1;
}

body.is-tablet .background-row-from-left .image-block::before,
body.is-tablet .background-row-from-right .image-block::before,
body.is-mobile .background-row-from-left .image-block::before,
body.is-mobile .background-row-from-right .image-block::before {
  display: none;
}

.background-row-from-left .image-block::before {
  left: calc(((100vw - var(--container-width)) / 2) * -1);
}

.background-row-from-right .image-block::before {
  right: calc(((100vw - var(--container-width)) / 2) * -1);
}

.background-row-from-right.background-row-primary .image-block::before,
.background-row-from-left.background-row-primary .image-block::before {
  background: var(--primary-color);
}

.background-row-from-right.background-row-secondary .image-block::before,
.background-row-from-left.background-row-secondary .image-block::before {
  background: var(--secondary-color);
}

/* ==============================
   Products Filters
============================ */
.agr-products-filters {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.agr-products-filters .agr-filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 280px;
}

.agr-products-filters .agr-filter-label {
  font-weight: var(--font-bold);
  color: var(--primary-color);
  white-space: nowrap;
}

.agr-products-filters input[type="search"],
.agr-products-filters select {
  flex: 1;
  padding: 12px 14px;
  border: 2px solid #e1e1e1;
  border-radius: var(--radius);
  font-size: 1em;
  color: #222;
  background: #fff;
  outline-color: var(--primary-color);
}

.agr-products-filters select {
  min-height: 46px;
  cursor: pointer;
}

.agr-products-empty-message {
  margin: 0;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-top: 48px;
}

/* ==============================
   Products Row/Grid
============================ */
.products-row {
  display: inline-flex;
  flex-wrap: wrap;
  width: 100%;
  gap: var(--products-row-gap);
  row-gap: calc(var(--products-row-gap) * 2);
}

.products-row .product-item {
  display: flex;
  flex-direction: column;
  border: 3px solid #ddd;
  border-radius: 12px;
  transition: var(--transition);
}

.products-row .product-item:hover {
  transform: scaleY(1.03);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.products-row.four-items-row .product-item {
  width: calc(100% / 4 - (var(--products-row-gap) * 3 / 4));
}

body.is-tablet .products-row.four-items-row .product-item {
  width: calc(100% / 3 - (var(--products-row-gap) * 2 / 3));
}

body.is-mobile .products-row.four-items-row .product-item {
  width: calc(100% / 2 - (var(--products-row-gap) * 1 / 2));
}

@media (max-width: 584px) {
  body.is-mobile .products-row.four-items-row .product-item {
    width: 100%;
  }

  body.is-mobile .products-row .product-item .product-content {
    min-height: 0;
  }
}

.products-row .product-item .product-image {
  position: relative;
  display: inline-flex;
  width: 100%;
  height: 268px;
  justify-content: center;
  padding-top: var(--product-row-top-padding);
}

.products-row .product-item .product-image img {
  max-height: 100%;
  max-width: 100%;
  height: fit-content;
}

.products-row .product-item .product-image .product-line {
  position: absolute;
  bottom: -8px;
  left: var(--product-row-left-padding);
  background: var(--secondary-color);
  font-size: 14px;
  font-weight: var(--font-bold);
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
}

.products-row .product-item .product-content {
  display: inline-flex;
  flex-direction: column;
  padding: var(--product-row-top-padding) var(--product-row-left-padding) 0 var(--product-row-left-padding);
  gap: 12px;
  min-height: 168px;
  margin-bottom: var(--product-row-left-padding);
}

.products-row .product-item .product-title {
  font-size: 1.4em;
  color: var(--primary-color);
  font-weight: var(--font-bold);
  cursor: default;
}

.products-row .product-item .product-description {
  font-size: .94em;
  color: #333;
  line-height: 1.2;
  font-weight: var(--font-regular);
  cursor: default;
}

.products-row .product-item .agr-button {
  margin: 0 var(--product-row-left-padding);
  margin-bottom: var(--product-row-top-padding);
}

.agr-home-products-section .agr-container {
  position: relative;
  overflow: visible;
}

.agr-home-products-section .products-row {
  margin: 56px 0;
}

.agr-home-products-section .agr-section-title {
  margin-bottom: 0;
}

.agr-products-slider {
  position: relative !important;
  width: 100%;
}

.agr-products-slider .swiper-slide {
  height: auto;
}

.agr-products-slider .products-row {
  margin-top: 56px;
  flex-wrap: nowrap;
  gap: 0;
}

.agr-products-slider .products-row .product-item,
.agr-products-slider .products-row.four-items-row .product-item {
  width: 100%;
}

.agr-home-products-section .arrow {
  position: absolute;
  top: 50%;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 32px;
  transition: var(--transition);
  opacity: 0.7;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: none;
}

.agr-home-products-section .arrow:hover {
  transform: scale(1.2);
  opacity: 1;
  background-color: #fff;
  border-color: var(--primary-color);
}

.agr-home-products-section .arrow-left {
  left: -56px;
}

.agr-home-products-section .arrow-right {
  right: -56px;
}

.agr-home-products-section .arrow i {
  font-style: normal;
  line-height: 1;
  font-size: 1.3em;
}

.agr-home-products-section .arrow-left i::before {
  content: "\2039";
}

.agr-home-products-section .arrow-right i::before {
  content: "\203A";
}

@media (max-width: 1339px) {
  .agr-home-products-section .arrow {
    display: none;
  }
}

.agr-home-products-section .products-pagination {
  position: absolute;
  margin-top: 16px;
  align-self: center;
  width: 100%;
  display: flex;
  justify-content: center;
  transform: none;
}

.agr-home-products-section .products-pagination .swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.4;
}

.agr-home-products-section .products-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

/* ==============================
   Catalog Lead Form
============================ */
.agr-lead-form-section {
  background-color: #E3F6DB;
  overflow: hidden;
}

.agr-lead-form-section .agr-container {
  justify-content: space-between;
  gap: 24px;
}

body.is-mobile .agr-lead-form-section .agr-container {
  flex-direction: column;
  gap: 28px;
}

.agr-lead-form-section .left-container {
  position: relative;
  flex: 1;
  min-height: 420px;
}

body.is-mobile .agr-lead-form-section .left-container {
  min-height: auto;
}

.agr-lead-form-section .right-container {
  flex: 1;
}

.agr-lead-form-section .agr-section-paragraph {
  font-size: .95em;
  margin-top: 12px;
  max-width: 460px;
  color: var(--primary-color);
}

.agr-lead-form-section .socials {
  display: inline-flex;
  flex-direction: column;
  margin-top: 24px;
  gap: 12px;
}

.agr-lead-form-section .socials .social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
}

.agr-lead-form-section .socials .social i {
  font-size: 30px;
}

.agr-lead-form-section .agricultor-img {
  position: absolute;
  top: 36px;
  right: 0;
}

body.is-tablet .agr-lead-form-section .agricultor-img {
  width: 306px;
  top: 87px;
}

.agr-contact-page {
  position: relative;
}

.agr-contact-page>.agr-container {
  position: relative;
}

.agr-contact-page .agricultor-img {
  top: auto;
  bottom: calc(-1 * var(--section-padding));
  left: 130px;
  right: inherit;
}

.agr-lead-form-wrapper {
  width: 100%;
  display: block;
}

body.is-mobile .agr-lead-form-section .left-container,
body.is-mobile .agr-lead-form-section .right-container {
  width: 100%;
}

body.is-mobile .agr-lead-form-section .agricultor-img {
  display: none;
}

.agr-lead-form-placeholder {
  font-weight: var(--font-bold);
  color: var(--primary-color);
}

.agr-lead-form-wrapper .agr-button.is-busy::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  margin-left: 8px;
  animation: agr-spin 0.8s linear infinite;
}

.agr-lead-form-wrapper.is-loading .agr-form {
  opacity: 0.85;
}

.agr-lead-form-wrapper.is-submitted .agr-button {
  display: none;
}

.agr-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.agr-lead-form-feedback {
  margin-top: 16px;
  font-weight: var(--font-bold);
  display: none;
}

.agr-lead-form-feedback.is-success {
  display: block;
  color: var(--secondary-color);
}

.agr-lead-form-feedback.is-error {
  display: block;
  color: #c53030;
}

/* ==============================
   Lead Capture Template
============================ */
.agr-lead-landing-section .agr-container {
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.agr-lead-landing__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 56%;
  max-width: 760px;
}

.agr-lead-landing__eyebrow {
  font-weight: var(--font-bold);
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9em;
}

.agr-lead-landing__list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.agr-lead-landing__list li {
  list-style: disc;
  color: #111;
}

.agr-lead-landing__form {
  background: #f7faf9;
  border: 1px solid #dcefe6;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 44%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agr-campaign-form-wrapper {
  max-width: 100%;
  width: 100%;
}

body.is-tablet .agr-lead-landing-section .agr-container,
body.is-mobile .agr-lead-landing-section .agr-container {
  flex-direction: column;
  gap: 28px;
}

body.is-tablet .agr-lead-landing__text,
body.is-mobile .agr-lead-landing__text,
body.is-tablet .agr-lead-landing__form,
body.is-mobile .agr-lead-landing__form {
  width: 100%;
  max-width: 100%;
}

.agr-lead-landing__text .wp-block-post-content,
.agr-lead-landing__text .entry-content {
  width: 100%;
  max-width: 100%;
}

@keyframes agr-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ==============================
   Footer
============================ */
.agr-footer-section {
  position: relative;
}

.agr-footer-section::before {
  background-image: url('../img/footer-background-optimized.png');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -2;
}

.agr-footer-section::after {
  background-color: var(--primary-color);
  z-index: -1;
  opacity: 0.96;
}

.agr-footer-section::before,
.agr-footer-section::after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: "";
}

.agr-footer-section .agr-container {
  justify-content: space-between;
}

.agr-footer-section .block {
  display: inline-flex;
  flex-direction: column;
  gap: 24px;
  color: #fff;
}

.agr-footer-section .footer-logo {
  width: 220px;
}

.agr-footer-section .socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.agr-footer-section .socials i {
  color: #fff;
  font-size: 32px;
}

.agr-footer-section address {
  color: var(--footer-strong-color);
  font-size: .9em;
  font-style: normal;
  line-height: 1.6em;
}

.agr-footer-section .footer-links li {
  color: var(--footer-strong-color);
  font-weight: var(--font-bold);
  margin-bottom: 8px;
  font-size: 1.1em;
}

.agr-footer-section .footer-links li.footer-links-title {
  margin-bottom: 12px;
}

.agr-footer-section .footer-links li a,
.agr-footer-section .footer-links li span {
  color: var(--footer-weak-color);
  font-weight: var(--font-regular);
  font-size: .9em;
}

body.is-mobile .agr-footer-section .agr-container {
  flex-direction: column;
  gap: 24px;
}

body.is-mobile .agr-footer-section .block {
  width: 100%;
}

body.is-mobile .agr-footer-section .block,
body.is-mobile .agr-footer-section .footer-links,
body.is-mobile .agr-footer-section address {
  align-items: center;
  text-align: center;
}

body.is-mobile .agr-footer-section .socials {
  justify-content: center;
}

body.is-mobile .agr-footer-section .block:first-child {
  order: 2;
}

body.is-mobile .agr-footer-section .block:not(:first-child) {
  order: 1;
}


/* ==============================
   Página do produto
============================ */
.agr-product-page {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}


.agr-product-page .product-line {
  position: relative;
  background: var(--secondary-color);
  padding: 4px 15px;
  border-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  color: #fff;
  font-weight: bold;
}

/* .agr-product-page .product-line::before {
  content: "";
  position: absolute;
  height: 100%;
  background: var(--secondary-color);
  left: calc((100vw - var(--container-width)) / 2 * -1);
  top: 0;
  width: calc((100vw - var(--container-width)) / 2);
} */

.agr-product-page .agr-section-title {
  font-size: 3em;
}

body.is-mobile .agr-product-page .agr-section-title {
  font-size: 2.5em;
}

.agr-product-page .agr-product-subtitle {
  font-size: 1.4em;
  font-weight: var(--font-bold);
  color: #555;
  margin-bottom: 40px;
}

.agr-product-page .product-desc-img-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.agr-product-page .product-desc-img-container .desc-container {
  width: 58%;
}

.agr-product-page .product-desc-img-container .img-container {
  width: 40%;
  position: relative;
}

.agr-product-page .product-desc-img-container .img-container::before {
  content: "";
  position: absolute;
  top: 250px;
  transform: translateY(-50%);
  right: calc((100vw - var(--container-width)) / 2 * -1);
  width: calc(((100vw - var(--container-width)) / 2) + 96%);
  height: 300px;
  background: var(--secondary-color);
  z-index: -1;
}

.agr-product-page .product-desc-img-container .img-container img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
}

.mobile-product-image {
  display: none;
  width: 100%;
  margin-bottom: 24px;
}

.mobile-product-image img {
  max-width: 420px;
  height: auto;
  border-radius: var(--radius);
}

body.is-tablet .mobile-product-image,
body.is-mobile .mobile-product-image {
  display: flex;
  justify-content: center;
}

body.is-tablet .agr-product-page .product-desc-img-container .img-container,
body.is-mobile .agr-product-page .product-desc-img-container .img-container {
  display: none;
}

body.is-tablet .agr-product-page .product-desc-img-container,
body.is-mobile .agr-product-page .product-desc-img-container {
  flex-direction: column;
  gap: 32px;
}

body.is-tablet .agr-product-page .product-desc-img-container .desc-container,
body.is-mobile .agr-product-page .product-desc-img-container .desc-container {
  width: 100%;
}

/* ==============================
   Arquivo de produtos
============================ */

.agr-products-archive .products-row {
  margin-top: 32px;
}

.agr-products-archive .agr-products-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.agr-products-archive .agr-products-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin: 0 6px;
  border-radius: var(--radius);
  border: 2px solid var(--primary-color);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  transition: var(--transition);
  padding: 0 12px;
}

.agr-products-archive .agr-products-pagination .page-numbers.current,
.agr-products-archive .agr-products-pagination .page-numbers:hover {
  background: var(--primary-color);
  color: var(--background-color);
}


/* ==============================
   Páginas Normais (Default)
============================ */
.agr-default-page .agr-section-title {
  font-size: 3em;
}


/* ==============================
   Cultura CSS customizado
============================ */

body.is-mobile .wp-block-columns {
  flex-direction: column;
  width: 100%;
}

.wp-block-columns .wp-block-column {
  display: inline-flex;
  flex-direction: column;
}

body.is-mobile .wp-block-columns .wp-block-column {
  width: 100% !important;
  flex-basis: 100% !important;
}

ul.cultura-horizontal-list {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 56px;
}

body.is-mobile ul.cultura-horizontal-list {
  flex-direction: column;
}

ul.cultura-horizontal-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #fff;
  padding: 6px 18px;
  border-radius: 32px;
  width: 100%;
  margin: 0;
  transition: 0.3s;
}

ul.cultura-horizontal-list li:hover {
  background-color: #09624d;
}

ul.cultura-horizontal-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  width: 100%;
  height: 100%;
}

.wp-block-image {
  margin: 0;
}

body.is-mobile .img-max-width-mobile {
  max-width: 420px;
}

/* Preview do vídeo */
.agr-video-trigger{
  position: relative;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: block;
}

.agr-video-trigger img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.agr-video-play{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(0,0,0,.55);
}

.agr-video-play::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  width: 0;
  height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

/* Modal */
.agr-video-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.agr-video-modal.is-open{
  display: block;
}

.agr-video-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
}

.agr-video-dialog{
  position: relative;
  width: min(960px, 92vw);
  margin: 8vh auto 0;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.agr-video-frame{
  aspect-ratio: 16 / 9;
}

.agr-video-frame iframe{
  width: 100%;
  height: 100%;
  display: block;
}

.agr-video-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 30px;
  line-height: 44px;
  cursor: pointer;
}

/* ===== Linha de Produtos ===== */
.agr-product-lines-section{
  background: #fff;
}

.agr-product-lines-header{
  text-align: center;
  margin-bottom: 48px;
}

.agr-product-lines-title{
  font-size: clamp(28px, 3vw, 44px);
  margin: 0;
}

.agr-product-lines-subtitle{
  margin: 10px 0 0;
  opacity: .75;
}

/* Blocos */
.agr-product-line-block{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
}

.agr-product-line-block + .agr-product-line-block{
  border-top: 1px solid rgba(0,0,0,.06);
}

/* Inversão do bloco 2 */
.agr-product-line-block.is-reverse .agr-product-line-text{
  order: 2;
}
.agr-product-line-block.is-reverse .agr-product-line-media{
  order: 1;
}

.agr-product-line-heading{
  font-size: clamp(22px, 2.2vw, 34px);
  margin: 0 0 12px;
}

.agr-product-line-paragraph{
  margin: 0 0 22px;
  line-height: 1.6;
  max-width: 60ch;
  margin-top: 40px;
}

/* Imagens */
.agr-product-line-media img{
  width: 100%;
  height: auto;
  display: block;
}

/* Responsivo */
@media (max-width: 900px){
  .agr-product-line-block{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0;
  }
  .agr-product-line-block.is-reverse .agr-product-line-text,
  .agr-product-line-block.is-reverse .agr-product-line-media{
    order: initial;
  }
}

/* ===== Linha de Produtos (fix de layout com .agr-container inline-flex) ===== */
.agr-product-lines-section .agr-container{
  width: var(--container-width);
  display: flex;              /* troca inline-flex -> flex */
  flex-direction: column;     /* header em cima + blocos embaixo */
  align-items: stretch;
  gap: 0;
}

.agr-product-lines-header{
  width: 100%;
  text-align: center;
  margin-bottom: 56px;
}

.agr-product-lines-title{
  font-size: var(--section-title-font-size);
  color: var(--section-title-font-color);
  font-weight: var(--section-title-font-weight);
}

.agr-product-lines-subtitle{
  color: #666;
  font-size: 1.05em;
}

/* mídia (imagem) mais “controlada” e alinhada */
.agr-product-line-media{
  display: flex;
  justify-content: flex-end;
}

.agr-product-line-block.is-reverse .agr-product-line-media{
  justify-content: flex-start;
}

.agr-product-line-media img{
  max-width: 560px;  /* ajuste fino */
  width: 100%;
  height: auto;
}

/* Novas Edições Design */

/* Estilos específicos do editor serão adicionados conforme os blocos forem implementados. */
.bloco-beneficios {
  position: relative;
  border: 2px solid #1f7a3d;
  border-radius: 16px;
  padding: 34px 28px 28px 28px;
  margin: 40px 0;
  background: #f8fbf9;
  max-width: 800px;
}

.bloco-beneficios .titulo-bloco {
  position: absolute;
  top: -18px;
  left: 20px;
  background: #1f7a3d;
  color: #fff;
  padding: 8px 16px;
  font-size: 22px;
  line-height: 1.2;
  border-radius: 8px;
  font-weight: 700;
}

.bloco-beneficios ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.bloco-beneficios li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.bloco-beneficios li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-image: url('../img/check-green.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bloco-beneficios ul {
  list-style: none !important;
  padding-left: 0;
  margin: 0;
  margin-top: 20px;
}

.bloco-beneficios li {
  list-style: none !important;
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.bloco-beneficios li::marker {
  content: "";
}

.cta-produto {
/*  text-align: center;*/
  margin: 60px 0 0 0;
}

.botao-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #2fd163;
  color: #fff;
  padding: 18px 38px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  color: #fff;
}

.botao-cta span {
  display: inline-block;
  line-height: 1;
  color: #fff;
}

.icone-whats {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}