/* Template AgroSolar — energia solar para o agronegócio (verde, azul, terra, branco) */

:root {
  --ag-forest-950: #052e16;
  --ag-forest-900: #14532d;
  --ag-forest-800: #166534;
  --ag-forest-700: #15803d;
  --ag-forest-600: #16a34a;
  --ag-sky-950: #082f49;
  --ag-sky-900: #0c4a6e;
  --ag-sky-800: #075985;
  --ag-sky-700: #0369a1;
  --ag-sky-500: #0ea5e9;
  --ag-earth-900: #422006;
  --ag-earth-800: #713f12;
  --ag-earth-700: #854d0e;
  --ag-earth-500: #a16207;
  --ag-earth-200: #fde68a;
  --ag-sand-100: #f7f3eb;
  --ag-sand-50: #faf8f4;
  --ag-gray-900: #1c1917;
  --ag-gray-700: #44403c;
  --ag-gray-500: #78716c;
  --ag-gray-200: #e7e5e4;
  --ag-white: #ffffff;
  --ag-radius: 12px;
  --ag-radius-lg: 20px;
  --ag-shadow: 0 4px 24px rgba(5, 46, 22, 0.07);
  --ag-shadow-lg: 0 22px 50px rgba(5, 46, 22, 0.12);
  --ag-font: "DM Sans", system-ui, -apple-system, sans-serif;
  --ag-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ag-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.tpl-agrosolar {
  margin: 0;
  font-family: var(--ag-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ag-gray-900);
  background: var(--ag-white);
  -webkit-font-smoothing: antialiased;
}

.tpl-agrosolar a {
  color: inherit;
  text-decoration: none;
}

.tpl-agrosolar a:hover {
  color: var(--ag-forest-700);
}

/* Links que são botões: cores explícitas (evita inherit do body e hover genérico) */
.tpl-agrosolar a.ag-btn--primary {
  color: var(--ag-white);
}

.tpl-agrosolar a.ag-btn--primary:hover,
.tpl-agrosolar a.ag-btn--primary:focus-visible {
  color: var(--ag-white);
}

.tpl-agrosolar a.ag-btn--ghost {
  color: var(--ag-sky-900);
}

.tpl-agrosolar a.ag-btn--ghost:hover,
.tpl-agrosolar a.ag-btn--ghost:focus-visible {
  color: var(--ag-sky-800);
}

.tpl-agrosolar a.ag-btn--outline {
  color: var(--ag-white);
}

.tpl-agrosolar a.ag-btn--outline:hover,
.tpl-agrosolar a.ag-btn--outline:focus-visible {
  color: var(--ag-white);
}

.tpl-agrosolar a.ag-btn--white {
  color: var(--ag-forest-900);
}

.tpl-agrosolar a.ag-btn--white:hover,
.tpl-agrosolar a.ag-btn--white:focus-visible {
  color: var(--ag-forest-950);
}

.tpl-agrosolar a.ag-btn--accent {
  color: var(--ag-white);
}

.tpl-agrosolar a.ag-btn--accent:hover,
.tpl-agrosolar a.ag-btn--accent:focus-visible {
  color: var(--ag-white);
}

.tpl-agrosolar a.ag-btn--outline-light {
  color: var(--ag-white);
}

.tpl-agrosolar a.ag-btn--outline-light:hover,
.tpl-agrosolar a.ag-btn--outline-light:focus-visible {
  color: var(--ag-white);
}

/* Font Awesome: evita desalinhamento vertical em flex/grid e botões */
.tpl-agrosolar .fas,
.tpl-agrosolar .fa-solid {
  line-height: 1;
}

.tpl-agrosolar .ag-btn .fas,
.tpl-agrosolar .ag-btn > i {
  flex-shrink: 0;
  line-height: 1;
}

.tpl-agrosolar .ag-logo__mark i {
  line-height: 1;
  display: block;
}

.ag-container {
  width: 100%;
  max-width: var(--ag-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.ag-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 83, 45, 0.12);
}

.ag-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  min-height: 4.5rem;
  padding-block: 0.65rem;
}

.ag-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ag-forest-900);
  font-family: var(--ag-display);
  z-index: 102;
}

.ag-logo__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--ag-forest-800), var(--ag-sky-800));
  color: var(--ag-white);
  border-radius: 11px;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(22, 101, 52, 0.35);
}

.ag-logo__text span {
  color: var(--ag-sky-700);
}

.ag-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 102;
}

.ag-nav__toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--ag-forest-900);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.ag-nav-open .ag-nav__toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.ag-nav-open .ag-nav__toggle span:nth-child(2) {
  opacity: 0;
}

.ag-nav-open .ag-nav__toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.ag-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.ag-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.65rem, 1.2vw, 1.15rem);
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.ag-nav__list li {
  flex-shrink: 0;
}

.ag-nav__list a {
  display: inline-block;
  font-weight: 500;
  font-size: 0.8125rem;
  line-height: 1.25;
  color: var(--ag-gray-700);
  white-space: nowrap;
}

.ag-nav__list a:hover {
  color: var(--ag-forest-800);
}

.ag-nav__cta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ag-header .ag-nav__cta .ag-btn {
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.3;
  white-space: nowrap;
}

/* Buttons */
.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-align: center;
  line-height: 1.35;
}

.ag-btn:hover {
  transform: translateY(-1px);
}

.ag-btn--primary {
  background: linear-gradient(135deg, var(--ag-forest-800), var(--ag-forest-700));
  color: var(--ag-white);
  box-shadow: 0 4px 16px rgba(22, 101, 52, 0.38);
}

.ag-btn--primary:hover {
  color: var(--ag-white);
  filter: brightness(1.06);
}

.ag-btn--ghost {
  background: transparent;
  color: var(--ag-sky-900);
  border-color: var(--ag-gray-200);
}

.ag-btn--ghost:hover {
  border-color: var(--ag-sky-500);
  color: var(--ag-sky-800);
}

.ag-btn--outline {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ag-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.ag-btn--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--ag-white);
}

.ag-btn--accent {
  background: linear-gradient(135deg, var(--ag-earth-700), var(--ag-earth-800));
  color: var(--ag-white);
  box-shadow: 0 4px 14px rgba(66, 32, 6, 0.25);
}

.ag-btn--accent:hover {
  color: var(--ag-white);
  filter: brightness(1.05);
}

.ag-btn--lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.875rem;
}

.ag-btn--white {
  background: var(--ag-white);
  color: var(--ag-forest-900);
  border-color: var(--ag-white);
}

.ag-btn--white:hover {
  background: var(--ag-sand-100);
  color: var(--ag-forest-950);
}

.ag-btn--outline-light {
  background: transparent;
  color: var(--ag-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.ag-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ag-white);
}

/* Hero */
.ag-hero {
  position: relative;
  min-height: min(80vh, 800px);
  display: flex;
  align-items: center;
  padding: 2.75rem 0 3.5rem;
  overflow: hidden;
}

.ag-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ag-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.ag-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(5, 46, 22, 0.82) 0%,
    rgba(5, 46, 22, 0.68) 48%,
    rgba(8, 47, 73, 0.42) 100%
  );
}

.ag-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.022;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ag-hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.ag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ag-earth-200);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.ag-eyebrow i {
  line-height: 1;
  font-size: 0.92em;
  margin-top: 1px;
}

.ag-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--ag-display);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ag-white);
  letter-spacing: -0.02em;
}

.ag-hero__lead {
  margin: 0 0 1.4rem;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
}

.ag-hero__lead strong {
  color: var(--ag-white);
}

.ag-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.ag-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}

.ag-hero__trust strong {
  color: var(--ag-earth-200);
}

.ag-hero__panel {
  position: relative;
}

.ag-hero__card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--ag-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--ag-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.ag-hero__card-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ag-sky-800);
}

.ag-hero__metric-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ag-gray-500);
}

.ag-hero__metric-value {
  margin: 0.25rem 0 0;
  font-family: var(--ag-display);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--ag-forest-800);
  line-height: 1.1;
}

.ag-hero__metric-sub {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--ag-gray-500);
}

.ag-hero__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
  height: 130px;
  margin: 1.5rem 0 0.75rem;
  padding: 0 0.5rem;
}

.ag-bar {
  width: 56px;
  height: var(--h);
  background: linear-gradient(180deg, var(--ag-gray-500), var(--ag-gray-200));
  border-radius: 8px 8px 4px 4px;
  position: relative;
}

.ag-bar span {
  position: absolute;
  bottom: -1.65rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ag-gray-500);
  white-space: nowrap;
}

.ag-bar--green {
  background: linear-gradient(180deg, var(--ag-forest-600), #4ade80);
}

.ag-hero__note {
  margin: 2rem 0 0;
  font-size: 0.6875rem;
  color: var(--ag-gray-500);
  line-height: 1.45;
}

.ag-hero__badge {
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--ag-radius);
  font-size: 0.8125rem;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ag-hero__badge i {
  color: #bbf7d0;
  font-size: 1.05rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

/* Strip */
.ag-strip {
  padding: 1.35rem 0;
  background: linear-gradient(90deg, var(--ag-sand-100) 0%, var(--ag-white) 50%, var(--ag-sand-100) 100%);
  border-bottom: 1px solid var(--ag-gray-200);
}

.ag-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ag-strip__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ag-forest-800);
  font-family: var(--ag-display);
}

.ag-strip__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ag-strip__tag {
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ag-sky-900);
  background: var(--ag-white);
  border-radius: 999px;
  border: 1px solid rgba(7, 89, 133, 0.2);
}

/* Sections */
.ag-section {
  padding: 4.5rem 0;
}

.ag-section--alt {
  background: var(--ag-sand-50);
}

.ag-section--dark {
  background: linear-gradient(165deg, var(--ag-forest-950) 0%, var(--ag-sky-950) 100%);
  color: var(--ag-white);
}

.ag-section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.ag-section__head--light .ag-section__title {
  color: var(--ag-white);
}

.ag-section__head--light .ag-section__desc {
  color: rgba(255, 255, 255, 0.78);
}

.ag-section__title {
  margin: 0 0 0.75rem;
  font-family: var(--ag-display);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  color: var(--ag-forest-900);
  letter-spacing: -0.02em;
}

.ag-section__desc {
  margin: 0;
  color: var(--ag-gray-500);
  font-size: 1.0625rem;
}

/* Applications grid */
.ag-grid-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ag-app-card {
  background: var(--ag-white);
  border: 1px solid var(--ag-gray-200);
  border-radius: var(--ag-radius);
  padding: 1.5rem;
  box-shadow: var(--ag-shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ag-section--alt .ag-app-card {
  background: var(--ag-white);
}

.ag-app-card:hover {
  border-color: rgba(21, 128, 61, 0.35);
  box-shadow: 0 10px 36px rgba(5, 46, 22, 0.08);
}

.ag-app-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--ag-white);
  margin-bottom: 1rem;
}

.ag-app-card__icon i {
  line-height: 1;
}

.ag-app-card__icon--green {
  background: linear-gradient(135deg, var(--ag-forest-800), var(--ag-forest-600));
}

.ag-app-card__icon--blue {
  background: linear-gradient(135deg, var(--ag-sky-800), var(--ag-sky-500));
}

.ag-app-card__icon--earth {
  background: linear-gradient(135deg, var(--ag-earth-800), var(--ag-earth-500));
}

.ag-app-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ag-forest-900);
}

.ag-app-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ag-gray-500);
}

/* Benefits */
.ag-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ag-benefit {
  background: var(--ag-white);
  border-radius: var(--ag-radius);
  padding: 1.65rem;
  border: 1px solid var(--ag-gray-200);
  box-shadow: var(--ag-shadow);
}

.ag-benefit > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ag-sky-800);
  background: rgba(7, 89, 133, 0.09);
  border-radius: 11px;
  border: 1px solid rgba(7, 89, 133, 0.12);
}

.ag-benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ag-forest-900);
}

.ag-benefit p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ag-gray-500);
}

/* Services */
.ag-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.ag-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ag-services__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9375rem;
  color: var(--ag-gray-700);
  line-height: 1.5;
}

.ag-services__list i {
  color: var(--ag-forest-700);
  margin-top: 0.15em;
  flex-shrink: 0;
  line-height: 1;
  width: 1.2rem;
  text-align: center;
  font-size: 1.05rem;
}

.ag-services__panel {
  background: linear-gradient(155deg, var(--ag-forest-900), var(--ag-sky-900));
  color: var(--ag-white);
  border-radius: var(--ag-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  box-shadow: var(--ag-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ag-services__panel h3 {
  margin: 0;
  font-family: var(--ag-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.ag-services__panel p {
  margin: 0;
  opacity: 0.92;
  font-size: 0.9375rem;
}

.ag-services__panel .ag-btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

/* Mid CTA */
.ag-mid-cta {
  padding: 3rem 0;
  background: linear-gradient(
    95deg,
    var(--ag-earth-800) 0%,
    var(--ag-forest-900) 38%,
    var(--ag-sky-900) 100%
  );
  color: var(--ag-white);
}

.ag-mid-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ag-mid-cta__title {
  margin: 0 0 0.5rem;
  font-family: var(--ag-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  max-width: 36rem;
}

.ag-mid-cta__text {
  margin: 0;
  opacity: 0.92;
  max-width: 36rem;
  font-size: 0.975rem;
}

/* Cases */
.ag-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ag-case {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ag-radius);
  padding: 1.75rem;
  transition: background 0.2s;
}

.ag-case:hover {
  background: rgba(255, 255, 255, 0.11);
}

.ag-case__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #86efac;
  margin-bottom: 0.75rem;
}

.ag-case h3 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.ag-case p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
}

.ag-case__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}

.ag-case__stats li {
  padding: 0.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ag-case__stats strong {
  color: var(--ag-earth-200);
}

/* Results */
.ag-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ag-result {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--ag-white);
  border-radius: var(--ag-radius);
  border: 1px solid var(--ag-gray-200);
  box-shadow: var(--ag-shadow);
}

.ag-result__value {
  display: block;
  font-family: var(--ag-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ag-sky-800);
  line-height: 1.2;
}

.ag-result__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ag-gray-500);
  line-height: 1.4;
}

/* Quotes */
.ag-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ag-quote {
  margin: 0;
  padding: 1.75rem;
  background: var(--ag-white);
  border-radius: var(--ag-radius);
  border: 1px solid var(--ag-gray-200);
  box-shadow: var(--ag-shadow);
  display: flex;
  flex-direction: column;
}

.ag-quote p {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--ag-gray-700);
  font-style: italic;
  flex: 1;
}

.ag-quote footer {
  font-size: 0.8125rem;
}

.ag-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--ag-forest-900);
}

.ag-quote footer span {
  color: var(--ag-gray-500);
}

/* CTA band */
.ag-cta-band {
  padding: 4rem 0;
  background: linear-gradient(
    128deg,
    var(--ag-forest-900) 0%,
    var(--ag-sky-950) 50%,
    var(--ag-earth-900) 100%
  );
  color: var(--ag-white);
}

.ag-cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ag-cta-band__text {
  max-width: 520px;
}

.ag-cta-band__text h2 {
  margin: 0 0 0.75rem;
  font-family: var(--ag-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ag-cta-band__text p {
  margin: 0;
  opacity: 0.92;
  font-size: 1rem;
}

.ag-cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: min(100%, 340px);
}

/* Footer */
.ag-footer {
  background: var(--ag-forest-950);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 0;
}

.ag-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.ag-logo--footer {
  color: var(--ag-white);
}

.ag-logo--footer .ag-logo__text span {
  color: #7dd3fc;
}

.ag-footer__brand p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  max-width: 300px;
  line-height: 1.55;
}

.ag-footer__title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #86efac;
}

.ag-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.ag-footer__links li {
  margin-bottom: 0.5rem;
}

.ag-footer a:hover {
  color: var(--ag-white);
}

.ag-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
}

.ag-footer__bottom-inner p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.48);
}

/* Responsive */
@media (max-width: 1024px) {
  .ag-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ag-hero__panel {
    max-width: min(100%, 440px);
    margin: 0.25rem auto 0;
    width: 100%;
  }

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

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

  .ag-cases,
  .ag-quotes {
    grid-template-columns: 1fr;
  }

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

  .ag-services {
    grid-template-columns: 1fr;
  }

  .ag-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ag-mid-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ag-header__inner {
    justify-content: space-between;
  }

  .ag-nav__toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .ag-nav {
    order: 3;
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    flex: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--ag-sand-50);
    padding: 5rem 1.5rem 2rem;
    gap: 1.75rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 101;
  }

  .ag-nav-open .ag-nav {
    transform: translateX(0);
  }

  .ag-nav__list {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1.1rem;
    text-align: center;
  }

  .ag-nav__list a {
    white-space: normal;
  }

  .ag-nav__cta {
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    max-width: 320px;
  }

  .ag-header .ag-nav__cta .ag-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .ag-hero {
    min-height: unset;
    padding-top: 2.75rem;
  }

  .ag-hero__actions .ag-btn {
    width: 100%;
    justify-content: center;
  }

  .ag-grid-apps {
    grid-template-columns: 1fr;
  }

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

  .ag-results {
    grid-template-columns: 1fr;
  }

  .ag-cta-band__actions {
    width: 100%;
  }

  .ag-cta-band__actions .ag-btn {
    width: 100%;
    justify-content: center;
  }

  .ag-footer__grid {
    grid-template-columns: 1fr;
  }

  .ag-mid-cta .ag-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ag-btn:hover,
  .ag-bar {
    transform: none;
    transition: none;
  }

  .ag-nav {
    transition: none;
  }
}

/* —— Hero: Simulação Instantânea (paleta AgroSolar) —— */
.ag-hero__card--sim {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.ag-hero__sim-note {
  margin: 0.15rem 0 0;
  padding-top: 0.35rem;
  border-top: 1px solid var(--ag-gray-200);
  font-size: 0.6875rem;
  color: var(--ag-gray-700);
  line-height: 1.45;
  text-align: center;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-sim-card {
  --st-premium-orange: #166534;
  --st-premium-orange-mid: #22c55e;
  --st-premium-orange-soft: rgba(22, 101, 52, 0.22);
  position: relative;
  background: var(--ag-white);
  border-radius: var(--ag-radius-lg);
  padding: 1.35rem 1.35rem 1.2rem;
  box-shadow: 0 18px 48px rgba(5, 46, 22, 0.11);
  border: 1px solid var(--ag-gray-200);
  overflow: hidden;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-sim-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ag-forest-800) 0%, var(--ag-sky-700) 100%);
  border-radius: var(--ag-radius-lg) var(--ag-radius-lg) 0 0;
  opacity: 0.92;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-bottom: 1.1rem;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-header {
  flex: 1;
  min-width: 180px;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ag-forest-800);
  margin-bottom: 0.35rem;
  font-family: var(--ag-font);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-badge i {
  font-size: 0.75rem;
  line-height: 1;
  color: var(--ag-sky-800);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-title {
  font-family: var(--ag-display);
  font-size: clamp(1.28rem, 3.2vw, 1.42rem);
  font-weight: 700;
  color: var(--ag-gray-900);
  line-height: 1.22;
  margin: 0;
  letter-spacing: -0.02em;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-savings {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(22, 101, 52, 0.08);
  border-radius: 12px;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(22, 101, 52, 0.14);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-savings-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--ag-forest-800), var(--ag-forest-700));
  color: var(--ag-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-savings-icon i {
  line-height: 1;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-savings-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-savings-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ag-gray-700);
  font-family: var(--ag-font);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-savings-value {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ag-forest-950);
  font-family: var(--ag-display);
  transition: transform 0.2s ease;
  line-height: 1.2;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-form {
  margin: 0;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-value-display {
  background: var(--ag-sand-50);
  border: 1px solid rgba(20, 83, 45, 0.1);
  border-radius: 12px;
  padding: 1rem 0.9rem 0.9rem;
  text-align: center;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-value-label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ag-gray-700);
  margin-bottom: 0.55rem;
  font-family: var(--ag-font);
  line-height: 1.35;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-value-label i {
  color: var(--st-premium-orange);
  line-height: 1;
  flex-shrink: 0;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-value-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  line-height: 1;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-currency,
.tpl-agrosolar .ag-hero__card--sim .st-premium-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ag-gray-500);
  font-family: var(--ag-font);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-value {
  font-family: var(--ag-display);
  font-size: clamp(2.15rem, 7vw, 2.75rem);
  font-weight: 800;
  color: var(--st-premium-orange);
  line-height: 1;
  transition: transform 0.2s ease;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-value-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--ag-gray-700);
  font-family: var(--ag-font);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-value-hint i {
  opacity: 0.75;
  line-height: 1;
  flex-shrink: 0;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-slider-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-slider-track {
  position: relative;
  height: 14px;
  margin: 0.35rem 0 0.15rem;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-slider-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  background: var(--ag-gray-200);
  border-radius: 999px;
  z-index: 0;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-slider-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  width: 0;
  max-width: 100%;
  background: linear-gradient(90deg, var(--ag-forest-800) 0%, var(--st-premium-orange-mid) 100%);
  border-radius: 999px;
  z-index: 1;
  pointer-events: none;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-slider-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ag-white);
  border: 4px solid var(--st-premium-orange);
  box-shadow:
    0 0 0 5px rgba(21, 128, 61, 0.12),
    0 6px 18px var(--st-premium-orange-soft);
  z-index: 2;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-slider-thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--st-premium-orange);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-slider {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 36px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-range-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-range-label {
  font-family: var(--ag-font);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ag-gray-700);
  background: var(--ag-sand-100);
  border: 1px solid rgba(20, 83, 45, 0.12);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-range-label:hover {
  background: rgba(22, 101, 52, 0.08);
  border-color: rgba(21, 128, 61, 0.35);
  color: var(--ag-forest-800);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-range-center {
  font-size: 0.75rem;
  color: var(--ag-gray-500);
  letter-spacing: 2px;
  user-select: none;
  opacity: 0.65;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  font-family: var(--ag-font);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ag-white);
  background: linear-gradient(135deg, var(--ag-forest-800), var(--ag-forest-700));
  border: none;
  border-radius: 11px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(22, 101, 52, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tpl-agrosolar .ag-hero__card--sim a.st-premium-submit--link {
  text-decoration: none;
  box-sizing: border-box;
}

.tpl-agrosolar .ag-hero__card--sim a.st-premium-submit--link:hover {
  color: var(--ag-white);
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(22, 101, 52, 0.42);
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-submit-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-submit-icon i {
  line-height: 1;
  font-size: 0.78rem;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem 1.1rem;
  padding-top: 0.1rem;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--ag-gray-700);
  font-weight: 500;
  font-family: var(--ag-font);
  line-height: 1.3;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-trust-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(22, 101, 52, 0.1);
  color: var(--ag-forest-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  flex-shrink: 0;
}

.tpl-agrosolar .ag-hero__card--sim .st-premium-trust-icon i {
  line-height: 1;
}

@media (max-width: 520px) {
  .tpl-agrosolar .ag-hero__card--sim .st-premium-sim-card {
    padding: 1.35rem 1.1rem 1.15rem;
  }

  .tpl-agrosolar .ag-hero__card--sim .st-premium-head-row {
    flex-direction: column;
  }

  .tpl-agrosolar .ag-hero__card--sim .st-premium-savings {
    width: 100%;
    justify-content: center;
  }

  .tpl-agrosolar .ag-hero__card--sim .st-premium-trust {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tpl-agrosolar .ag-hero__card--sim .st-premium-savings-value,
  .tpl-agrosolar .ag-hero__card--sim .st-premium-value,
  .tpl-agrosolar .ag-hero__card--sim a.st-premium-submit--link {
    transition: none;
  }

  .tpl-agrosolar .ag-hero__card--sim a.st-premium-submit--link:hover {
    transform: none;
  }
}
