/*
 * Wemov Agro , tema editorial premium
 * Paleta aprovada no artigo 1, compartilhada pelos artigos 2 a 8.
 */

body.agro-premium {
  --navy:          #0D0C0B;
  --navy-mid:      #1B1815;
  --navy-light:    #68462F;
  --blue:          #211C18;
  --blue-mid:      #80583C;
  --blue-lt:       #EEE9E4;
  --blue-glow:     #C6A98F;
  --accent:        #B69173;
  --off:           #F7F6F4;
  --gray:          #EEECE9;
  --border:        #DEDAD5;
  --muted:         #665F59;
  --body:          #4D4945;
  --strong:        #181614;

  --wm-forest:      #181512;
  --wm-forest-deep: #080706;
  --wm-green:       #7A5135;
  --wm-green-soft:  #D7BEA7;
  --wm-green-pale:  #F2EFEC;
  --wm-green-line:  #D8D1CA;
  --wm-terra:       #68442E;
  --wm-terra-soft:  #B18B6D;
  --wm-sand:        #F6F4F1;
  --wm-ink:         #181614;
  --wm-body-c:      #504B46;
  --wm-mute:        #665F59;
  --wm-line:        #E2DED9;
  --wm-amber:       #69645F;
  --wm-amber-bg:    #F1F0EE;
  --wm-amber-line:  #D4D0CA;
  --wm-red:         #8B4236;
  --wm-red-bg:      #F7EFED;
  --wm-red-line:    #DEC9C4;
  --wm-shadow-sm:   0 1px 2px rgba(20,17,15,.04), 0 7px 20px rgba(20,17,15,.055);
  --wm-shadow-md:   0 2px 5px rgba(20,17,15,.05), 0 18px 42px rgba(20,17,15,.09);
  --wm-radius:      12px;

  background: #F7F6F4;
}

body.agro-premium::selection {
  background: #D7BEA7;
  color: #181512;
}

.agro-premium #nav {
  background: rgba(12,11,10,.84);
  border-bottom-color: rgba(198,169,143,.22);
  box-shadow: 0 8px 32px rgba(0,0,0,.16);
}

.agro-premium .dropdown-menu {
  background: #11100F;
  border-color: rgba(198,169,143,.22);
}

.agro-premium .dropdown-menu a:hover {
  background: #68442E;
}

.agro-premium #nav .btn-primary {
  background: #F5F2EE;
  color: #181614;
}

.agro-premium #nav .btn-primary:hover {
  background: #80583C;
  color: #fff;
  box-shadow: none;
}

.agro-premium #reading-progress {
  background: linear-gradient(90deg, #0C0B0A 0%, #68442E 55%, #B18B6D 100%);
  box-shadow: 0 0 12px rgba(104,68,46,.28);
}

.agro-premium .post-hero {
  border-bottom-color: #68442E;
}

.agro-premium .post-hero::before {
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cg fill='none' stroke='%23B18B6D' stroke-width='1.1'%3E%3Cpath d='M-50 520 C 150 460 350 560 550 500 S 900 460 980 500'/%3E%3Cpath d='M-50 560 C 150 500 350 600 550 540 S 900 500 980 540'/%3E%3Cpath d='M-50 480 C 150 420 350 520 550 460 S 900 420 980 460'/%3E%3Cpath d='M-50 440 C 150 380 350 480 550 420 S 900 380 980 420'/%3E%3Cpath d='M-50 400 C 150 340 350 440 550 380 S 900 340 980 380'/%3E%3C/g%3E%3C/svg%3E");
}

.agro-premium .post-hero::after {
  background: radial-gradient(circle, rgba(122,81,53,.28) 0%, transparent 68%);
}

.agro-premium .post-chip {
  border: 1px solid rgba(215,190,167,.48);
  background: rgba(12,10,9,.64);
  color: #EFE2D5;
  box-shadow: none;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.agro-premium .post-chip::before {
  background: #B18B6D;
}

.agro-premium .post-chip-secondary {
  border-color: rgba(215,190,167,.3);
  background: rgba(255,255,255,.045);
  color: #D7C6B7;
}

.agro-premium .post-h1 {
  letter-spacing: -.035em;
}

.agro-premium .post-h1 em {
  color: #D7BEA7;
}

.agro-premium .post-h1 em::after {
  bottom: -.08em;
  height: 2px;
  background: linear-gradient(90deg, #68442E, #B18B6D);
}

.agro-premium .post-author-img {
  border-color: #B18B6D;
  box-shadow: 0 0 0 3px rgba(177,139,109,.14);
}

.agro-premium .breadcrumb span {
  color: rgba(215,190,167,.58);
}

.agro-premium .post-content h2::before {
  width: 36px;
  height: 3px;
  background: #68442E;
}

.agro-premium .post-content ul li::before {
  background: #68442E;
}

.agro-premium .lede::first-letter {
  color: #68442E;
}

.agro-premium .wm-thesis {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F3F0 100%);
  box-shadow: var(--wm-shadow-sm);
}

.agro-premium .wm-thesis::before {
  background: #68442E;
}

.agro-premium .wm-thesis::after {
  border-color: rgba(104,68,46,.045);
}

.agro-premium .wm-thesis-icon {
  background: linear-gradient(145deg, #181512, #35271E);
  box-shadow: 0 10px 22px rgba(20,17,15,.16);
}

.agro-premium .wm-thesis:hover {
  border-color: #B9A89A;
  box-shadow: 0 18px 38px rgba(20,17,15,.09);
}

.agro-premium .liq-scale {
  background: linear-gradient(90deg, #181512 0%, #68442E 38%, #8B8680 65%, #8B4236 100%);
}

.agro-premium .liq-card.verde {
  border-color: #CFC7C0;
}

.agro-premium .liq-card.verde::before {
  background: #68442E;
}

.agro-premium .liq-card.verde .liq-icon-svg {
  background: #EEE9E4;
  color: #68442E;
}

.agro-premium .liq-card.verde h4 {
  color: #35271E;
}

.agro-premium .liq-card.amarelo {
  border-color: #D4D0CA;
}

.agro-premium .liq-card.amarelo::before {
  background: #8B8680;
}

.agro-premium .liq-card.amarelo .liq-icon-svg {
  background: #F1F0EE;
  color: #69645F;
}

.agro-premium .liq-card.amarelo h4 {
  color: #5E5A56;
}

.agro-premium .dre-grid::before {
  background: linear-gradient(180deg, #68442E 0%, #8B8680 50%, #8B4236 100%);
}

.agro-premium .dre-formula {
  color: #4A3224 !important;
}

.agro-premium .dre-card.ok {
  border-color: #D8D1CA;
  border-left-color: #68442E;
}

.agro-premium .dre-card.ok .dre-icon-svg {
  background: #EEE9E4;
  color: #68442E;
}

.agro-premium .dre-card.ok h4 {
  color: #4A3224;
}

.agro-premium .dre-card.aviso {
  border-color: #D4D0CA;
  border-left-color: #8B8680;
}

.agro-premium .dre-card.aviso .dre-icon-svg {
  background: #F1F0EE;
  color: #69645F;
}

.agro-premium .dre-card.aviso h4 {
  color: #5E5A56;
}

.agro-premium .fluxo-wrap::before {
  background: linear-gradient(90deg, #181512, #68442E, #A8A29C);
}

.agro-premium .fluxo-step .step-num {
  background: linear-gradient(150deg, #68442E, #422B1E);
  box-shadow: 0 5px 14px rgba(62,42,30,.24);
  outline-color: #D8D1CA;
}

.agro-premium .fluxo-arrow {
  color: #68442E;
}

.agro-premium .wm-sim {
  background: linear-gradient(160deg, #FBFAF8 0%, #EEEAE6 100%);
}

.agro-premium .wm-sim::before {
  background: linear-gradient(90deg, #181512, #68442E);
}

.agro-premium .wm-sim-badge {
  color: #4A3224;
}

.agro-premium .sim-bar .seg.giro {
  background: linear-gradient(90deg, #181512 0%, #68442E 100%);
}

.agro-premium .sim-legend .lg-giro i {
  background: #68442E;
}

.agro-premium .sim-field input[type="text"]:focus,
.agro-premium .money-input:focus-within {
  border-color: #68442E;
  box-shadow: 0 0 0 4px rgba(104,68,46,.11);
}

.agro-premium .aeo-q:hover,
.agro-premium .aeo-item.open .aeo-q {
  background: #F1F0EE;
  color: #35271E;
}

.agro-premium .aeo-item.open .aeo-q .faq-icon {
  background: #68442E;
}

.agro-premium .aeo-a {
  background: #F1F0EE;
}

.agro-premium .toc-link:hover,
.agro-premium .toc-link.active {
  color: #68442E;
  border-left-color: #68442E;
}

.agro-premium .serie-step.atual {
  color: #4A3224;
}

.agro-premium .side-cta {
  background: linear-gradient(150deg, #181512 0%, #080706 100%) !important;
  border-color: #302820 !important;
}

.agro-premium .side-cta::before {
  background: radial-gradient(circle, rgba(177,139,109,.18) 0%, transparent 70%);
}

.agro-premium .side-cta .btn {
  background: #80583C !important;
  border-color: #80583C !important;
  box-shadow: 0 6px 16px rgba(62,42,30,.25);
}

.agro-premium .rel-card:hover {
  border-color: #80583C;
}

.agro-premium .rel-card::after {
  color: #80583C;
}

.agro-premium .tag:hover {
  border-color: #80583C;
  color: #68442E;
}

.agro-premium .side-box a[style*="#16a34a"],
.agro-premium .side-box a[style*="#7A5135"] {
  color: #68442E !important;
}

.agro-premium .side-box[style*="var(--wm-green-pale)"] {
  background: #F1F0EE !important;
  border-color: #D4D0CA !important;
}

.agro-premium .side-box[style*="var(--wm-green-pale)"] h4 {
  color: #4A3224 !important;
}

.agro-premium .zoom-tab span {
  color: #68442E;
}

.agro-premium #footer {
  background: #0D0C0B;
}

.agro-premium .f-social:hover {
  background: #68442E;
  border-color: #68442E;
}

.agro-premium .f-contact-item svg {
  color: #B18B6D;
}

/* ==========================================================
   Home do Blog Agro
   Editorial executivo com a mesma identidade dos artigos.
   ========================================================== */

.agro-blog-home {
  background: #F7F6F4;
}

.agro-blog-home .hero-agro.sec {
  min-height: 570px;
  display: flex;
  align-items: center;
  padding: 168px 0 92px !important;
  text-align: left;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6,5,4,.96) 0%, rgba(10,8,7,.9) 42%, rgba(16,12,10,.66) 72%, rgba(8,7,6,.82) 100%),
    linear-gradient(180deg, rgba(8,7,6,.38), rgba(8,7,6,.82)),
    url('../../assets/capa_artigo_agro.png') center/cover no-repeat;
  border-bottom: 3px solid #68442E;
}

.agro-blog-home .hero-agro::before {
  opacity: .18;
  background-image:
    linear-gradient(rgba(177,139,109,.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(177,139,109,.2) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.86), transparent 82%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.86), transparent 82%);
}

.agro-blog-home .hero-agro::after {
  right: -120px;
  top: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(177,139,109,.22) 0%, rgba(104,68,46,.08) 38%, transparent 70%);
}

.agro-blog-home .hero-agro-copy {
  position: relative;
  max-width: 980px;
}

.agro-blog-home .hero-agro-badge {
  margin-bottom: 24px;
  border: 1px solid rgba(215,190,167,.48);
  background: rgba(12,10,9,.66);
  color: #EFE2D5;
  box-shadow: none;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.agro-blog-home .hero-agro-badge::before {
  background: #B18B6D;
}

.agro-blog-home .hero-agro h1 {
  max-width: 940px;
  margin: 0 0 28px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 6.3vw, 5.35rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.052em;
}

.agro-blog-home .hero-agro h1 span,
.agro-blog-home .hero-agro h1 em {
  display: block;
}

.agro-blog-home .hero-agro h1 em {
  position: relative;
  width: fit-content;
  padding-bottom: 10px;
  color: #D7BEA7;
  font-style: normal;
}

.agro-blog-home .hero-agro h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #68442E, #B18B6D 68%, transparent);
}

.agro-blog-home .hero-agro p {
  max-width: 900px;
  margin: 0;
  padding-left: 22px;
  border-left: 2px solid #B18B6D;
  color: rgba(255,255,255,.78);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.agro-blog-home .hero-agro + .sec {
  position: relative;
  background:
    radial-gradient(circle at 8% 4%, rgba(177,139,109,.08), transparent 28%),
    #F7F6F4 !important;
}

.agro-blog-home .blog-grid {
  gap: 28px;
  margin-top: 56px;
}

.agro-blog-home .blog-card {
  overflow: hidden;
  border: 1px solid #DEDAD5;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--wm-shadow-sm);
}

.agro-blog-home .blog-card::after {
  right: 22px;
  bottom: 20px;
  color: #80583C;
  font-size: 1.1rem;
}

.agro-blog-home .blog-card > img {
  filter: saturate(.72) contrast(1.04) sepia(.08);
  transition: filter .35s ease, transform .45s ease;
}

.agro-blog-home .blog-card:hover {
  border-color: #A58A75;
  transform: translateY(-5px);
  box-shadow: 0 3px 8px rgba(20,17,15,.06), 0 22px 48px rgba(20,17,15,.12);
}

.agro-blog-home .blog-card:hover > img {
  filter: saturate(.92) contrast(1.06) sepia(.04);
  transform: scale(1.025);
}

.agro-blog-home .blog-card:focus-visible {
  outline: 3px solid rgba(128,88,60,.3);
  outline-offset: 4px;
}

.agro-blog-home .blog-chip {
  border: 1px solid #D8D1CA;
  border-radius: 999px;
  background: #EEE9E4;
  color: #4A3224;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.agro-blog-home .badge-agro {
  border-color: #D8D1CA !important;
  background: #EEE9E4 !important;
  color: #4A3224 !important;
}

.agro-blog-home .badge-gold {
  border-color: #D4D0CA !important;
  background: #F1F0EE !important;
  color: #69645F !important;
}

.agro-blog-home .blog-title {
  color: #181614;
  letter-spacing: -.018em;
}

.agro-blog-home .blog-desc {
  color: #5E5A56;
}

.agro-blog-home .blog-divider {
  background: #E2DED9;
}

.agro-blog-home .blog-author img {
  border: 1px solid #B18B6D;
  box-shadow: 0 0 0 3px rgba(177,139,109,.1);
}

.agro-blog-home .blog-author span {
  color: #35271E;
}

.agro-blog-home .blog-date,
.agro-blog-home .blog-readtime {
  color: #665F59;
}

.agro-blog-home .page-btn {
  border-color: #D8D1CA;
  border-radius: 10px;
  background: #fff;
  color: #35271E;
  box-shadow: 0 2px 8px rgba(20,17,15,.04);
}

.agro-blog-home .page-btn:hover:not(:disabled) {
  border-color: #80583C;
  color: #68442E;
}

.agro-blog-home .page-btn.active {
  border-color: #68442E;
  background: #68442E;
  color: #fff;
}

.agro-blog-home #footer {
  border-top: 1px solid rgba(177,139,109,.18);
}

@media (max-width: 900px) {
  .agro-blog-home .hero-agro.sec {
    min-height: 530px;
    padding: 150px 0 78px !important;
  }

  .agro-blog-home .hero-agro h1 {
    font-size: clamp(2.8rem, 8vw, 4.35rem);
  }
}

@media (max-width: 600px) {
  .agro-blog-home .hero-agro.sec {
    min-height: auto;
    padding: 126px 0 66px !important;
    background:
      linear-gradient(180deg, rgba(6,5,4,.82) 0%, rgba(8,7,6,.9) 52%, rgba(6,5,4,.97) 100%),
      url('../../assets/capa_artigo_agro.png') 58% center/cover no-repeat;
  }

  .agro-blog-home .hero-agro::before {
    opacity: .12;
    background-size: 48px 48px;
  }

  .agro-blog-home .hero-agro h1 {
    margin-bottom: 24px;
    font-size: clamp(2.35rem, 11.7vw, 3.1rem);
    line-height: 1.01;
  }

  .agro-blog-home .hero-agro p {
    padding-left: 16px;
    font-size: .98rem;
    line-height: 1.62;
  }

  .agro-blog-home .blog-grid {
    gap: 22px;
    margin-top: 34px;
  }

  .agro-blog-home .blog-card > img {
    height: 188px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agro-blog-home .blog-card,
  .agro-blog-home .blog-card > img {
    transition: none;
  }
}
