/* ADB PRO shared visual refinement */
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow/barlow-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow/barlow-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow/barlow-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-blue: #084da3;
  --footer-blue: #0d3869;
  --dark-blue: #021122;
  --soft-bg: #f5f9ff;
  --ink: #143453;
  --white: #ffffff;
  --line: rgba(8, 77, 163, .16);
  --blue-gradient: linear-gradient(135deg, #084da3 0%, #064485 58%, #0d3869 100%);
  --container-width: 1180px;
  --font-main: Helvetica, Arial, sans-serif;
  --font-display: "Barlow", Arial, sans-serif;
}

body {
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-main);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container-width));
  margin-inline: auto;
}

.conversion-hero > .proof-grid.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* Header */
.site-header {
  position: relative;
  z-index: 30;
  height: 76px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(8, 77, 163, .08);
  box-shadow: 0 8px 22px rgba(13, 56, 105, .06);
}

.header-content {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding-inline: 0;
}

.brand {
  width: 150px;
  flex: 0 0 auto;
  transform: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  transform: none;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  padding: 12px 0;
  color: var(--primary-blue);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  transition: color .2s ease;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--primary-blue);
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: uppercase;
  transition: color .2s ease;
}

.main-nav a::after,
.nav-dropdown-toggle::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 0;
  background: currentColor;
  content: "";
  transition: width .22s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after,
.main-nav a[aria-current="page"]::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after,
.nav-dropdown-toggle.is-active::after,
.nav-dropdown-toggle[aria-current="page"]::after {
  width: 100%;
}

.main-nav a.is-active,
.main-nav a[aria-current="page"],
.nav-dropdown-toggle.is-active,
.nav-dropdown-toggle[aria-current="page"] {
  color: #050505;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 50;
  width: max-content;
  min-width: 270px;
  padding: 12px;
  border: 1px solid rgba(8, 77, 163, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 44px rgba(13, 56, 105, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  visibility: hidden;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.main-nav .nav-dropdown-menu a {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}

.main-nav .nav-dropdown-menu a::after {
  display: none;
}

.main-nav .nav-dropdown-menu a:hover,
.main-nav .nav-dropdown-menu a:focus-visible {
  background: var(--soft-bg);
  color: var(--primary-blue);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--primary-blue);
  transition: transform .2s ease, opacity .2s ease;
}

/* Type */
.eyebrow,
.section-kicker,
.cert-badge,
.filter-section-label,
.products-head h3 {
  color: var(--primary-blue);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
.hero-panel h1,
.section-heading h2,
.intro-card h2,
.contact-title-card h1,
.title-ribbon h1,
.agro-benefits h2,
.filters-section h2,
.certifications-section h2,
.quality-cta h2,
.contact-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

/* Buttons */
.button,
.btn,
.about-button,
.agro-cta a,
.products-action a,
.cert-actions a,
.quality-cta a,
.contact-cta a,
.contact-form button,
.lead-form button,
.form-card button,
.segment-card a,
.mid-cta-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover,
.button:focus-visible,
.btn:hover,
.btn:focus-visible,
.about-button:hover,
.about-button:focus-visible,
.agro-cta a:hover,
.agro-cta a:focus-visible,
.products-action a:hover,
.products-action a:focus-visible,
.cert-actions a:hover,
.cert-actions a:focus-visible,
.quality-cta a:hover,
.quality-cta a:focus-visible,
.contact-cta a:hover,
.contact-cta a:focus-visible,
.contact-form button:hover,
.contact-form button:focus-visible,
.lead-form button:hover,
.lead-form button:focus-visible,
.form-card button:hover,
.form-card button:focus-visible,
.segment-card a:hover,
.segment-card a:focus-visible,
.mid-cta-actions a:hover,
.mid-cta-actions a:focus-visible {
  transform: translateY(-2px);
}

.button-primary,
.btn-primary,
.contact-form button,
.lead-form button,
.form-card button,
.agro-cta a,
.products-action a,
.segment-card a {
  border: 1px solid transparent;
  background: var(--blue-gradient);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(8, 77, 163, .26);
}

.segments-section .segment-card a {
  min-height: auto;
  padding: 8px 13px 7px;
  border: 0;
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: none;
  transition: background-color .18s ease, color .18s ease;
}

.segments-section .segment-card a:hover,
.segments-section .segment-card a:focus-visible {
  background: var(--footer-blue);
  color: var(--white);
  transform: none;
}

.products-action .button-secondary {
  border-color: rgba(8, 77, 163, .45);
  background: var(--white);
  color: var(--primary-blue);
  box-shadow: 0 14px 32px rgba(13, 56, 105, .08);
}

.products-action .button-secondary:hover,
.products-action .button-secondary:focus-visible {
  border-color: var(--primary-blue);
  background: var(--primary-blue);
  color: var(--white);
}

.button-secondary,
.btn-outline,
.cert-actions .btn-outline {
  border: 1.5px solid rgba(8, 77, 163, .55);
  background: rgba(255, 255, 255, .92);
  color: var(--primary-blue);
}

.button-outline,
.button-outline-light,
.btn-light,
.about-button,
.quality-cta a,
.contact-cta a,
.mid-cta-actions .button-secondary {
  border: 1.5px solid rgba(255, 255, 255, .78);
  background: transparent;
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible,
.button-outline-light:hover,
.button-outline-light:focus-visible,
.btn-light:hover,
.btn-light:focus-visible,
.about-button:hover,
.about-button:focus-visible,
.quality-cta a:hover,
.quality-cta a:focus-visible,
.contact-cta a:hover,
.contact-cta a:focus-visible {
  background: var(--white);
  color: var(--primary-blue);
}

.mid-cta-actions .button-outline:hover,
.mid-cta-actions .button-outline:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}

.cert-actions .btn-primary,
.cert-actions .button-primary {
  border-color: transparent;
  background: var(--blue-gradient);
  color: var(--white);
}

.cert-actions .btn-primary:hover,
.cert-actions .btn-primary:focus-visible,
.cert-actions .button-primary:hover,
.cert-actions .button-primary:focus-visible {
  color: var(--white);
}

.cert-actions .btn-outline,
.cert-actions .button-secondary {
  border-color: rgba(8, 77, 163, .55);
  background: var(--white);
  color: var(--primary-blue);
}

.cert-actions .btn-outline:hover,
.cert-actions .btn-outline:focus-visible,
.cert-actions .button-secondary:hover,
.cert-actions .button-secondary:focus-visible {
  background: var(--primary-blue);
  color: var(--white);
}

.quality-cta .btn-light,
.quality-cta .button-outline,
.contact-cta .btn-light,
.contact-cta .button-outline,
.contact-cta a {
  border-color: rgba(255, 255, 255, .78);
  background: var(--white);
  color: var(--primary-blue);
}

.quality-cta .btn-light:hover,
.quality-cta .btn-light:focus-visible,
.quality-cta .button-outline:hover,
.quality-cta .button-outline:focus-visible,
.contact-cta .btn-light:hover,
.contact-cta .btn-light:focus-visible,
.contact-cta .button-outline:hover,
.contact-cta .button-outline:focus-visible,
.contact-cta a:hover,
.contact-cta a:focus-visible {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.quality-cta .button-secondary {
  border-color: rgba(8, 77, 163, .16);
  background: var(--white);
  color: var(--primary-blue);
}

.quality-cta .button-secondary:hover,
.quality-cta .button-secondary:focus-visible {
  border-color: rgba(8, 77, 163, .16);
  background: var(--white);
  color: var(--primary-blue);
}

.agro-cta a {
  border-color: transparent;
  background: var(--blue-gradient);
  color: var(--white);
}

.agro-cta a:hover,
.agro-cta a:focus-visible {
  color: var(--white);
}

.contact-form button,
.lead-form button,
.form-card button {
  border-color: transparent;
  background: var(--blue-gradient);
  color: var(--white);
}

.contact-form button:hover,
.contact-form button:focus-visible,
.lead-form button:hover,
.lead-form button:focus-visible,
.form-card button:hover,
.form-card button:focus-visible {
  color: var(--white);
}

.contact-form button:disabled,
.lead-form button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.form-status {
  min-height: 1.4em;
  margin-top: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: #0d7a3a;
}

.form-status.is-error {
  color: #b42318;
}

.required-mark {
  color: #b42318;
  font-weight: 700;
}

.lead-form .form-field,
.contact-form .form-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.lead-form .form-field-full,
.lead-form button,
.lead-form .form-status,
.lead-form .form-privacy {
  grid-column: 1 / -1;
}

.lead-form .form-field input,
.lead-form .form-field select,
.lead-form .form-field textarea {
  margin-top: 0;
}

.contact-form .form-field input {
  margin-bottom: 0;
}

.field-error {
  min-height: 1.25em;
  margin: 0;
  color: #b42318;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

form[data-formsubmit-ajax] input[aria-invalid="true"],
form[data-formsubmit-ajax] select[aria-invalid="true"],
form[data-formsubmit-ajax] textarea[aria-invalid="true"] {
  border-color: #b42318 !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .12);
}

.thank-you-page {
  min-height: calc(100vh - var(--header-height, 76px));
  background:
    radial-gradient(circle at 12% 15%, rgba(8, 77, 163, .08), transparent 28%),
    linear-gradient(180deg, var(--white) 0%, var(--soft-bg) 100%);
}

.thank-you-section {
  min-height: calc(100vh - var(--header-height, 76px));
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 128px) 0;
}

.thank-you-card {
  max-width: 760px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(13, 56, 105, .12);
}

.thank-you-card h1 {
  margin: 10px 0 16px;
  color: var(--primary-blue);
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  line-height: .95;
  text-transform: uppercase;
}

.thank-you-card p:not(.eyebrow) {
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

@media (max-width: 640px) {
  .thank-you-card {
    padding: 28px 22px;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions .button {
    width: 100%;
  }
}

/* Seletor institucional para o site da Automotiv do Brasil. */
.main-nav .automotiv-site-link {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 43px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 7px 32px 7px 14px !important;
  border: 1px solid rgba(104, 191, 255, .58);
  border-radius: 4px 13px 4px 13px;
  background: linear-gradient(135deg, #0d3869 0%, #06346b 55%, #021c3b 100%);
  box-shadow: 0 7px 15px rgba(2, 17, 34, .16);
  color: var(--white);
  font-size: 11px;
  letter-spacing: .01em;
  line-height: 1.05;
  text-transform: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  white-space: nowrap;
}

/*
 * The page-level navigation styles are intentionally loaded alongside this
 * shared stylesheet. Keep the brand switch scoped to the header so generic
 * link rules cannot reset its dark surface or white typography.
 */
.site-header .main-nav a.automotiv-site-link {
  display: inline-flex;
  visibility: visible;
  opacity: 1;
  border-color: rgba(104, 191, 255, .58);
  background: linear-gradient(135deg, #0d3869 0%, #06346b 55%, #021c3b 100%);
  color: var(--white);
}

.site-header .main-nav a.automotiv-site-link::after {
  display: none;
}

.site-header .main-nav a.automotiv-site-link .automotiv-site-kicker {
  color: rgba(219, 241, 255, .74);
}

.site-header .main-nav a.automotiv-site-link .automotiv-site-label {
  color: var(--white);
}

.main-nav .automotiv-site-link::after {
  display: none;
}

.main-nav .automotiv-site-link::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 5px;
  width: 2px;
  border-radius: 2px;
  background: #64bfff;
  content: "";
}

.main-nav .automotiv-site-link:hover,
.main-nav .automotiv-site-link:focus-visible {
  border-color: rgba(171, 221, 255, .95);
  box-shadow: 0 10px 20px rgba(2, 17, 34, .22), 0 0 0 2px rgba(100, 191, 255, .12);
  color: var(--white);
  transform: translateY(-2px);
}

.automotiv-site-kicker {
  color: rgba(219, 241, 255, .74);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.automotiv-site-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.automotiv-site-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: #8dd0ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform .2s ease;
}

.main-nav .automotiv-site-link:hover .automotiv-site-icon,
.main-nav .automotiv-site-link:focus-visible .automotiv-site-icon {
  transform: translateX(2px);
}

@media (max-width: 820px) {
  .main-nav .automotiv-site-link {
    width: 100%;
    min-height: 64px;
    margin-top: 12px;
    padding: 12px 46px 12px 16px !important;
    border-radius: 8px 16px 8px 16px;
    box-shadow: 0 10px 22px rgba(2, 17, 34, .14);
    font-size: 13px;
    white-space: normal;
  }

  .main-nav .automotiv-site-link::before {
    top: 12px;
    bottom: 12px;
    left: 7px;
    width: 3px;
  }

  .automotiv-site-kicker {
    font-size: 10px;
  }

  .automotiv-site-label {
    font-size: 13px;
  }

  .automotiv-site-icon {
    position: static;
    width: 18px;
    height: 18px;
    margin-left: 2px;
    transform: none;
  }

  .main-nav .automotiv-site-link:hover .automotiv-site-icon,
  .main-nav .automotiv-site-link:focus-visible .automotiv-site-icon {
    transform: translateX(2px);
  }
}

/* Cards */
.segment-card,
.product-card,
.benefit-card,
.cert-card,
.info-card,
.contact-form,
.lead-form,
.form-card {
  border: 1px solid rgba(8, 77, 163, .18);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(13, 56, 105, .1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.segment-card:hover,
.product-card:hover,
.benefit-card:hover,
.cert-card:hover,
.info-card:hover {
  border-color: rgba(8, 77, 163, .32);
  box-shadow: 0 30px 56px rgba(13, 56, 105, .18);
  transform: translateY(-6px);
}

.segment-card img,
.cert-preview img {
  border-radius: 14px 14px 0 0;
}

.product-card img {
  object-fit: contain;
}

.agro-filters {
  padding-top: 88px;
}

.agro-filters h2 {
  max-width: 820px;
  margin: 0 auto 54px;
  color: var(--primary-blue);
  font-size: clamp(34px, 4vw, 54px);
  line-height: .98;
  text-align: center;
  transform: none;
  transform-origin: center;
}

/* CTA blocks */
.mid-cta,
.quality-cta,
.contact-cta {
  background: linear-gradient(180deg, var(--white) 0%, var(--soft-bg) 100%);
}

.mid-cta-box,
.quality-card,
.cta-card {
  border-radius: 18px;
  background: var(--blue-gradient);
  box-shadow: 0 24px 54px rgba(13, 56, 105, .22);
}

/* Forms */
input,
select,
textarea {
  border-color: rgba(8, 77, 163, .35);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(8, 77, 163, .12);
}

/* WhatsApp */
.whatsapp {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 40;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: #31c968;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}

.whatsapp:hover,
.whatsapp:focus-visible {
  transform: scale(1.06);
}

.whatsapp svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

/* Footer */
.site-footer {
  min-height: 379px;
  padding: 68px 0 45px;
  background: linear-gradient(135deg, #0d3869 0%, #082f5d 62%, #06264d 100%);
  color: rgba(255, 255, 255, .54);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-column {
  max-width: 350px;
}

.footer-column h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: rgba(255, 255, 255, .54);
  font-size: 13px;
  line-height: 1.35;
}

.footer-column p,
.footer-column li {
  margin-bottom: 9px;
}

.footer-column a {
  transition: color .2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 7px;
}

.social-links a {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 3px;
  background: rgba(255, 255, 255, .52);
  color: var(--footer-blue);
  font-size: 17px;
  font-weight: 700;
}

.social-links .social-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
}

.footer-notice {
  margin-top: 73px;
}

.footer-notice p {
  color: rgba(255, 255, 255, .45);
  font-size: 10px;
  font-style: italic;
  line-height: 1.45;
}

.footer-notice strong {
  font-style: normal;
}

.footer-legal {
  margin-top: 34px;
}

.footer-legal p {
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

/* Segment heroes */
.agriculture-page,
.construction-page,
.heavy-machinery-page,
.road-page,
.industrial-page,
.hydraulic-page,
.energy-page,
.pneumatic-page,
.offshore-page,
.cold-truck-page,
.special-filters-page {
  --segment-accent: #18be0b;
}

.construction-page,
.heavy-machinery-page {
  --segment-accent: #e7c616;
}

.industrial-page,
.hydraulic-page,
.energy-page,
.pneumatic-page,
.offshore-page {
  --segment-accent: #e71616;
}

.road-page,
.cold-truck-page,
.special-filters-page {
  --segment-accent: var(--primary-blue);
}

.agro-hero {
  position: relative;
  height: calc(100svh - 76px);
  min-height: 560px;
  overflow: hidden;
  background: var(--dark-blue);
}

.agro-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 17, 34, .82) 0%, rgba(2, 17, 34, .50) 44%, rgba(2, 17, 34, .10) 100%),
    linear-gradient(180deg, rgba(2, 17, 34, .04) 0%, rgba(2, 17, 34, .34) 100%);
  content: "";
  pointer-events: none;
}

.agro-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agro-hero .agro-hero-title {
  position: absolute;
  top: 50%;
  bottom: auto;
  left: max(24px, calc((100vw - var(--container-width)) / 2));
  z-index: 2;
  width: min(640px, calc(100% - 48px));
  min-height: auto;
  padding: 0 0 0 34px;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--white);
  transform: translateY(-50%);
}

.agro-hero .agro-hero-title::before {
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: 0;
  width: 6px;
  border-radius: 999px;
  background: var(--segment-accent);
  content: "";
}

.agro-hero .agro-hero-title h1 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(36px, 4.25vw, 58px);
  font-weight: 800;
  line-height: 1.03;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .agro-hero {
    height: calc(100svh - 72px);
    min-height: 500px;
  }

  .agro-hero .agro-hero-title {
    left: 24px;
    width: min(calc(100% - 48px), 560px);
    padding-left: 30px;
  }

  .agro-hero .agro-hero-title h1 {
    font-size: clamp(34px, 9.5vw, 52px);
    line-height: 1.04;
  }
}

@media (max-width: 520px) {
  .agro-hero {
    min-height: 430px;
  }

  .agro-hero .agro-hero-title {
    left: 18px;
    width: min(calc(100% - 36px), 460px);
    padding-left: 26px;
  }

  .agro-hero .agro-hero-title h1 {
    font-size: clamp(28px, 9.8vw, 42px);
  }
}

/* Contact page refinements */
.contact-page .info-card {
  min-height: 0;
  padding: 2px 0 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.contact-page .info-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.contact-page .info-card::before {
  top: 2px;
  bottom: 3px;
  width: 3px;
  background: var(--primary-blue);
}

.contact-page .info-grid article:nth-child(2) {
  padding-left: 56px;
}

.contact-page .info-grid article:nth-child(2)::before {
  left: 38px;
}

.contact-page .info-grid h2 {
  margin-bottom: 10px;
  font-family: var(--font-main);
  color: var(--primary-blue);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.contact-page .info-grid p {
  color: var(--dark-blue);
  font-size: 18px;
  line-height: 1.35;
}

.contact-page .contact-form {
  display: grid;
  gap: 12px;
  padding: 32px;
  border: 1px solid rgba(8, 77, 163, .18);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 70px rgba(13, 56, 105, .14);
}

.contact-page .contact-form label {
  color: var(--primary-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
  width: 100%;
  min-height: 42px;
  margin: -4px 0 8px;
  padding: 9px 12px;
  border: 1.5px solid rgba(8, 77, 163, .35);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-page .contact-form textarea {
  min-height: 154px;
  resize: vertical;
}

.contact-page .contact-form input:focus,
.contact-page .contact-form textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(8, 77, 163, .12);
}

.contact-page .contact-form button {
  justify-self: start;
  min-height: 46px;
  margin-top: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--blue-gradient);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(8, 77, 163, .26);
}

.contact-page .contact-form button:hover,
.contact-page .contact-form button:focus-visible {
  background: var(--blue-gradient);
  color: var(--white);
  box-shadow: 0 24px 42px rgba(8, 77, 163, .3);
}

@media (max-width: 760px) {
  .agro-filters {
    padding-top: 66px;
  }

  .contact-page .info-grid article:nth-child(2) {
    padding-left: 24px;
  }

  .contact-page .info-grid article:nth-child(2)::before {
    left: 0;
  }

  .contact-page .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .agro-filters {
    padding-top: 52px;
  }

  .contact-page .contact-form {
    padding: 20px;
    border-radius: 16px;
  }

  .contact-page .contact-form button {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 11px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 36px), var(--container-width));
  }

  .site-header {
    height: 72px;
  }

  .brand {
    width: 140px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px;
    border: 1px solid rgba(8, 77, 163, .12);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(13, 56, 105, .14);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
  }

  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 0;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    background: var(--soft-bg);
    box-shadow: none;
    opacity: 1;
    overflow: hidden;
    pointer-events: auto;
    transform: none;
    transition: max-height .22s ease, padding .22s ease, margin .22s ease;
    visibility: visible;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 560px;
    margin: 2px 0 8px;
    padding: 8px 10px;
  }

  .main-nav .nav-dropdown-menu a {
    padding: 9px 8px;
    font-size: 11px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .whatsapp {
    right: 16px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }

  .whatsapp svg {
    width: 32px;
    height: 32px;
  }
}

/* Responsive hardening */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe,
object,
embed {
  max-width: 100%;
}

.site-header,
.site-header * {
  min-width: 0;
}

@media (max-width: 1180px) {
  .container {
    width: min(calc(100% - 48px), var(--container-width));
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a,
  .nav-dropdown-toggle {
    font-size: 12px;
  }
}

@media (min-width: 941px) {
  .nav-dropdown {
    padding-block: 26px;
    margin-block: -26px;
  }

  .nav-dropdown-menu {
    max-height: min(72vh, 620px);
    overflow-y: auto;
  }
}

@media (max-width: 940px) {
  .container {
    width: min(calc(100% - 36px), var(--container-width));
  }

  .site-header {
    height: 72px;
  }

  .brand {
    width: 140px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - 92px);
    padding: 12px 18px;
    border: 1px solid rgba(8, 77, 163, .12);
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(13, 56, 105, .14);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a,
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    padding: 13px 0;
    font-size: 12px;
  }

  .main-nav a::after,
  .nav-dropdown-toggle::after {
    right: auto;
    left: 0;
    width: 42px;
    transform-origin: left center;
  }

  .nav-dropdown {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    margin: 0;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    background: var(--soft-bg);
    box-shadow: none;
    opacity: 1;
    overflow: hidden;
    pointer-events: auto;
    transform: none;
    transition: max-height .22s ease, padding .22s ease, margin .22s ease;
    visibility: visible;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 60svh;
    margin: 2px 0 8px;
    padding: 8px 10px;
    overflow-y: auto;
  }

  .main-nav .nav-dropdown-menu a {
    padding: 9px 8px;
    font-size: 11px;
  }
}

@media (max-width: 1024px) {
  .conversion-hero,
  .hero-content {
    min-height: calc(100svh - 72px);
  }

  .hero-content {
    padding-top: 74px;
    padding-bottom: 132px;
  }

  .proof-grid {
    width: 100%;
    border-radius: 0;
  }

  .segments-grid,
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .benefits-grid,
  .certifications-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .agro-hero {
    min-height: 560px;
  }

  .agro-hero-title {
    width: min(calc(100% - 72px), 840px);
  }

  .agro-hero-title h1 {
    font-size: clamp(42px, 7.2vw, 74px);
  }
}

@media (max-width: 900px) {
  .conversion-hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-panel {
    max-width: 660px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .proof-grid article:nth-child(2n) {
    border-right: 0;
  }

  .proof-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, .22);
  }

  .intro-content,
  .content-grid,
  .about-grid,
  .history-grid,
  .contact-layout,
  .contact-page .contact-layout,
  .contact-page .contact-info {
    grid-template-columns: 1fr !important;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .filter-categories,
  .filters-categories,
  .categories-row {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .site-footer {
    padding: 48px 0 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .conversion-hero,
  .hero-content {
    min-height: auto !important;
  }

  .hero-content {
    align-items: center;
    padding-top: 48px;
    padding-bottom: 118px;
  }

  .hero-panel {
    max-width: min(100%, 620px);
    padding-left: 26px;
  }

  .hero-panel h1 {
    font-size: clamp(36px, 8vw, 54px);
    line-height: .96;
  }

  .hero-actions,
  .cta-buttons,
  .segment-cta,
  .mid-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .cta-button,
  .contact-page .contact-form button {
    width: 100%;
    max-width: 360px;
  }

  .agro-hero {
    min-height: 520px;
  }

  .agro-hero-title {
    top: 50%;
    left: 0;
    width: min(calc(100% - 36px), 680px);
    padding-left: 28px;
    transform: translateY(-50%);
  }

  .agro-hero-title::before {
    top: -8px;
    bottom: -8px;
  }

  .agro-hero-title h1 {
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1.02;
    transform: none !important;
  }

  .agro-intro,
  .agro-content,
  .agro-benefits,
  .agro-filters,
  .segments-section,
  .benefits-section,
  .products-section,
  .contact-section,
  .about-section,
  .certifications-section {
    padding-block: 56px;
  }

  .agro-filters {
    padding-top: 54px !important;
  }

  .filters-content > h2,
  .agro-filters > .filters-content > h2 {
    margin-bottom: 34px;
    font-size: clamp(30px, 8vw, 44px);
    text-align: center;
    transform: none !important;
  }

  .benefits-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-page .contact-form,
  .lead-form {
    padding: 24px;
  }

  .map-frame,
  .map-card,
  .contact-map iframe {
    min-height: 320px;
  }

  .video-player {
    min-height: 480px;
  }

}

/* Supervisor review: product hero composition and cleaner brand strips */
.agro-hero .agro-hero-title {
  z-index: 3;
  width: min(52vw, 720px);
}

.agro-hero .agro-hero-title h1 {
  max-width: 100%;
  font-size: clamp(34px, 3.25vw, 50px);
  line-height: 1.04;
  white-space: normal;
  text-wrap: balance;
}

.hero-filter-composition {
  position: absolute;
  right: max(22px, calc((100vw - var(--container-width)) / 2 - 28px));
  bottom: 2.5%;
  z-index: 2;
  width: min(31vw, 450px);
  margin: 0;
  pointer-events: none;
}

.hero-filter-composition picture {
  display: block;
  width: 100%;
}

.hero-filter-composition img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(2, 17, 34, .38));
}

.hero-filter-caption {
  /* Compensa a área transparente abaixo da composição dos filtros. */
  margin-top: -9%;
  font-size: .6875rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .72);
  text-align: right;
}

.agro-brands,
.heavy-brands,
.road-brands,
.construction-brands {
  position: relative !important;
  left: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  width: min(100%, 1180px) !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  column-gap: clamp(46px, 4.6vw, 82px);
  row-gap: clamp(28px, 2.8vw, 44px);
}

.agro-brands .brand-logo,
.heavy-brands .brand-logo,
.road-brands .brand-logo,
.construction-brands .brand-logo {
  display: block;
  width: min(100%, 138px) !important;
  max-width: 138px !important;
  height: 54px !important;
  margin: 0 !important;
  object-fit: contain;
  transform: none !important;
}

.agro-brands:not(.heavy-brands):not(.road-brands):not(.construction-brands) .brand-logo {
  width: min(100%, 150px) !important;
  max-width: 150px !important;
  height: 58px !important;
}

@media (max-width: 1100px) {
  .hero-filter-composition {
    right: 4px;
    width: min(36vw, 390px);
  }

  .agro-hero .agro-hero-title {
    width: min(60vw, 610px);
  }
}

@media (max-width: 900px) {
  .agro-brands,
  .heavy-brands,
  .road-brands,
  .construction-brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 24px !important;
    column-gap: clamp(30px, 6vw, 52px);
    row-gap: 32px;
  }

  .agro-brands .brand-logo,
  .heavy-brands .brand-logo,
  .road-brands .brand-logo,
  .construction-brands .brand-logo {
    width: min(100%, 132px) !important;
    max-width: 132px !important;
    height: 52px !important;
  }
}

@media (max-width: 820px) {
  .hero-filter-composition {
    right: -32px;
    bottom: 1%;
    width: min(42vw, 320px);
    opacity: .74;
  }

  .agro-hero .agro-hero-title {
    width: min(68vw, 540px);
  }
}

@media (max-width: 540px) {
  .agro-brands,
  .heavy-brands,
  .road-brands,
  .construction-brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 18px !important;
    column-gap: 34px;
    row-gap: 28px;
  }

  .agro-brands .brand-logo,
  .heavy-brands .brand-logo,
  .road-brands .brand-logo,
  .construction-brands .brand-logo,
  .agro-brands:not(.heavy-brands):not(.road-brands):not(.construction-brands) .brand-logo {
    width: min(100%, 118px) !important;
    max-width: 118px !important;
    height: 48px !important;
  }
}

@media (max-width: 639px) {
  .hero-filter-composition {
    display: none;
  }

  .agro-hero .agro-hero-title {
    width: min(calc(100% - 44px), 520px);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 44px), var(--container-width)) !important;
  }

  .brand {
    width: 128px;
  }

  .main-nav {
    right: 14px;
    left: 14px;
  }

  .conversion-hero,
  .hero-content {
    min-height: auto !important;
  }

  .hero-content {
    padding-bottom: 148px;
  }

  .hero-panel .eyebrow,
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: .1em;
  }

  .proof-grid {
    padding: 14px;
  }

  .proof-grid article {
    padding: 12px 14px;
  }

  .proof-grid strong {
    font-size: 16px;
  }

  .proof-grid span {
    font-size: 11px;
  }

  .segments-grid,
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px;
  }

  .segment-card div {
    padding: 18px;
  }

  .segment-card h3 {
    font-size: 15px;
  }

  .product-card {
    min-width: 0;
  }

  .product-card img {
    height: auto;
    max-height: 210px;
    object-fit: contain;
  }

  .hero,
  .agro-hero {
    min-height: 500px;
  }

  .hero-panel h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .hero-panel > p:not(.eyebrow),
  .hero-panel p:not(.hero-eyebrow) {
    font-size: 16px;
  }

  .certifications-grid,
  .certificate-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-page .info-grid h2 {
    font-size: 24px;
  }

  .contact-page .info-grid p {
    font-size: 16px;
  }

  .footer-notice,
  .footer-legal {
    text-align: left;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }

  .whatsapp svg {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 66px;
  }

  .brand {
    width: 118px;
  }

  .conversion-hero,
  .hero-content {
    min-height: 600px;
  }

  .hero-panel {
    padding-left: 22px;
  }

  .hero-panel::before,
  .agro-hero-title::before {
    width: 5px;
  }

  .hero-panel h1 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .hero-panel > p:not(.eyebrow) {
    font-size: 15px;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-grid article {
    padding-inline: 10px;
  }

  .segments-grid {
    grid-template-columns: 1fr !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
  }

  .product-card img {
    max-height: 170px;
  }

  .product-card h3,
  .product-card span {
    font-size: 13px;
  }

  .agro-hero-title {
    width: min(calc(100% - 28px), 520px);
    padding-left: 20px;
  }

  .agro-hero-title h1 {
    font-size: clamp(28px, 11vw, 40px);
  }

  .intro-content img,
  .about-photo,
  .history-photo {
    width: 100%;
  }

  .lead-form,
  .contact-page .contact-form {
    padding: 20px;
    border-radius: 16px;
  }

  .lead-form button,
  .contact-page .contact-form button,
  .button,
  .cta-button {
    max-width: none;
  }

  .map-frame,
  .map-card,
  .contact-map iframe {
    min-height: 300px;
  }

  .video-player {
    min-height: 420px;
  }

  .play-button {
    transform: translate(-50%, -50%) scale(.8) !important;
  }
}

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

  .product-card img {
    max-height: 220px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid article {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }

  .conversion-hero,
  .hero-content {
    min-height: auto !important;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(calc(100% - 44px), var(--container-width)) !important;
  }

  .hero-panel h1 {
    font-size: 30px;
  }

  .agro-hero-title h1 {
    font-size: 27px;
  }
}

/* Responsive normalization for legacy page-specific measurements */
@media (max-width: 1100px) {
  .agro-intro,
  .agro-content,
  .agro-benefits,
  .agro-filters,
  .filters-section,
  .products-section,
  .benefits-section,
  .segments-section,
  .contact-section,
  .about-section,
  .history-section,
  .certifications-section {
    min-height: auto !important;
  }

  .intro-content,
  .content-grid,
  .about-grid,
  .history-grid,
  .brand-logos-grid,
  .logos-grid,
  .contact-layout,
  .contact-page .contact-layout,
  .contact-page .info-grid,
  .contact-page .contact-info {
    width: 100% !important;
    max-width: var(--container-width) !important;
  }

  .intro-content,
  .content-grid,
  .contact-layout,
  .contact-page .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: clamp(28px, 5vw, 56px);
  }

  .filters-content,
  .products-content,
  .benefits-content,
  .segment-products,
  .products-showcase {
    width: min(calc(100% - 48px), var(--container-width)) !important;
    max-width: var(--container-width) !important;
    margin-inline: auto !important;
  }

  .products-grid,
  .benefits-grid,
  .certifications-grid,
  .certificate-grid {
    width: 100% !important;
    max-width: var(--container-width) !important;
  }

  .product-card,
  .benefit-card,
  .certificate-card,
  .segment-card {
    width: auto !important;
    max-width: 100% !important;
  }

  .filter-categories,
  .filters-categories,
  .categories-row {
    width: 100% !important;
    max-width: 100% !important;
  }

  .intro-content img,
  .content-grid img,
  .about-grid img,
  .history-grid img,
  .contact-layout img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 940px) {
  .site-header .container,
  .header-container {
    min-height: inherit;
  }

  .intro-content,
  .content-grid,
  .about-grid,
  .history-grid,
  .contact-layout,
  .contact-page .contact-layout,
  .contact-page .info-grid,
  .contact-page .contact-info,
  .certification-card,
  .certificate-card {
    grid-template-columns: 1fr !important;
  }

  .intro-content img,
  .content-grid img,
  .about-photo,
  .history-photo {
    justify-self: center;
    width: min(100%, 560px) !important;
  }

  .brand-logos-grid,
  .logos-grid,
  .brand-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .product-card {
    min-height: 0 !important;
  }

  .product-card img,
  .product-image img {
    width: 100%;
    max-width: 240px;
    margin-inline: auto;
  }

  .contact-page .contact-form,
  .lead-form,
  .contact-form {
    width: 100%;
  }

  .map-frame,
  .map-card,
  .contact-map,
  .contact-map iframe {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .section-head,
  .products-head,
  .filters-content > h2,
  .agro-filters > .filters-content > h2 {
    max-width: 100%;
  }

  .segments-grid,
  .products-grid,
  .benefits-grid,
  .certifications-grid,
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .brand-logos-grid,
  .logos-grid,
  .brand-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cta,
  .certifications-cta,
  .segment-cta {
    text-align: left;
  }

  .footer-grid {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .agro-hero,
  .hero {
    min-height: calc(100svh - 66px);
    max-height: 720px;
  }

  .agro-hero-title,
  .hero-panel {
    width: min(calc(100% - 44px), 520px) !important;
  }

  .segments-grid,
  .benefits-grid,
  .certifications-grid,
  .certificate-grid {
    grid-template-columns: 1fr !important;
  }

  .benefits-section {
    padding-block: 48px !important;
  }

  .benefits-layout {
    gap: 26px !important;
  }

  .benefits-layout h2 {
    max-width: 100% !important;
    font-size: clamp(24px, 7.25vw, 30px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.02em;
  }

  .benefits-grid {
    gap: 16px !important;
  }

  .benefits-grid article {
    height: clamp(220px, 62vw, 270px) !important;
    min-height: 0 !important;
  }

  .benefits-grid div {
    right: 18px !important;
    bottom: 18px !important;
    left: 18px !important;
  }

  .benefits-grid span {
    font-size: 50px !important;
  }

  .benefits-grid h3 {
    max-width: 260px !important;
    font-size: 15px !important;
    line-height: 1.12 !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-card img,
  .product-image img {
    max-width: 190px;
  }

  .button,
  .cta-button,
  .contact-page .contact-form button {
    width: 100%;
    max-width: none;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 390px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .product-card img,
  .product-image img {
    max-width: 100% !important;
  }
}

@media (max-width: 560px) {
  .whatsapp {
    right: 16px !important;
    bottom: 16px !important;
    width: 52px !important;
    height: 52px !important;
    border-width: 3px !important;
  }
  .whatsapp svg {
    width: 28px !important;
    height: 28px !important;
  }
  .contact-layout {
    padding-bottom: 60px !important;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(calc(100% - 44px), var(--container-width)) !important;
  }

  .intro-content,
  .content-grid,
  .about-grid,
  .history-grid,
  .brand-logos-grid,
  .logos-grid,
  .contact-layout,
  .contact-page .contact-layout,
  .contact-page .info-grid,
  .contact-page .contact-info {
    width: min(calc(100% - 44px), var(--container-width)) !important;
    margin-inline: auto !important;
  }

  .agro-overview {
    padding-top: 36px !important;
    padding-bottom: 48px !important;
  }

  .agro-explanation {
    margin-top: 36px !important;
  }

  .conversion-hero,
  .hero-content {
    min-height: auto !important;
  }

  .proof-grid {
    margin-top: 32px !important;
  }

  .hero-panel .eyebrow,
  .hero-eyebrow {
    white-space: nowrap !important;
  }
}

/* Shared header logo sizing. */
.site-header .brand {
  width: 132px;
}

@media (max-width: 940px) {
  .site-header .brand {
    width: 112px;
  }
}

@media (max-width: 480px) {
  .site-header .brand {
    width: 104px;
  }
}

/* Privacy policy and form notice. */
.form-privacy {
  margin: 12px 0 0;
  color: rgba(20, 52, 83, .8);
  font-size: 12px;
  line-height: 1.5;
}

.form-privacy a {
  color: var(--primary-blue, #084da3);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-page {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  padding: 88px 0 104px;
}

.privacy-content {
  max-width: 860px;
  color: var(--ink, #143453);
}

.privacy-content h1,
.privacy-content h2 {
  font-family: var(--font-display, "Barlow", Arial, sans-serif);
  color: var(--primary-blue, #084da3);
}

.privacy-content h1 {
  margin: 8px 0 24px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
  text-transform: uppercase;
}

.privacy-content h2 {
  margin: 34px 0 8px;
  font-size: clamp(21px, 3vw, 28px);
}

.privacy-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.privacy-content h1 + p {
  max-width: 720px;
  font-size: 18px;
}

.privacy-content a {
  color: var(--primary-blue, #084da3);
  font-weight: 700;
}

@media (max-width: 640px) {
  .privacy-page {
    padding: 58px 0 72px;
  }

  .privacy-content p {
    font-size: 15px;
  }
}

/* Shared segment-benefits treatment */
.agro-benefits {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: clamp(88px, 8vw, 126px) 0;
  overflow: hidden;
  background-color: var(--dark-blue);
  background-image: url("/assets/img/home-hero-1280.webp");
  background-position: center 56%;
  background-repeat: no-repeat;
  background-size: cover;
}

.agro-benefits::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(96deg, rgba(2, 17, 34, .72) 0%, rgba(2, 17, 34, .56) 41%, rgba(2, 17, 34, .28) 100%),
    linear-gradient(180deg, rgba(2, 17, 34, .10) 0%, rgba(2, 17, 34, .34) 100%);
  content: "";
  pointer-events: none;
}

.agro-benefits .benefits-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  column-gap: clamp(48px, 7vw, 112px);
  align-items: center;
}

.agro-benefits h2,
.special-filters-page .agro-benefits h2,
.cold-truck-page .agro-benefits h2,
.energy-page .agro-benefits h2,
.pneumatic-page .agro-benefits h2,
.offshore-page .agro-benefits h2 {
  grid-column: 1;
  max-width: 510px;
  margin: 0;
  color: var(--white);
  text-shadow: 0 5px 20px rgba(2, 17, 34, .44);
  transform: none;
}

.agro-benefits .benefits-grid {
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin-top: 0;
  align-content: center;
}

.agro-benefits .benefits-grid article {
  min-height: 142px;
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 16px;
  background: rgba(5, 31, 57, .42);
  box-shadow: 0 14px 30px rgba(2, 17, 34, .20);
  color: var(--white);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

@media (min-width: 1280px) {
  .agro-benefits {
    background-image: url("/assets/img/home-hero-1920.webp");
  }
}

@media (max-width: 1100px) {
  .agro-benefits {
    padding: 80px 0 88px;
  }

  .agro-benefits .benefits-content {
    grid-template-columns: 1fr;
    row-gap: 42px;
    align-items: start;
  }

  .agro-benefits h2,
  .special-filters-page .agro-benefits h2,
  .cold-truck-page .agro-benefits h2,
  .energy-page .agro-benefits h2,
  .pneumatic-page .agro-benefits h2,
  .offshore-page .agro-benefits h2 {
    grid-column: auto;
    max-width: 660px;
  }

  .agro-benefits .benefits-grid {
    grid-column: auto;
    gap: 24px;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .agro-benefits {
    padding: 64px 0 72px;
    background-position: 57% center;
  }

  .agro-benefits .benefits-content {
    row-gap: 34px;
  }

  .agro-benefits .benefits-grid {
    gap: 16px;
    margin-top: 0;
  }

  .agro-benefits .benefits-grid article {
    height: auto !important;
    min-height: 132px !important;
    padding: 20px;
    border-radius: 14px;
  }
}
