/* WINFIT AGRO+ — HOME V2 | NAVBAR + HERO COM BANNERS
   Carregar DEPOIS de global.css, components.css, home.css e responsive.css.
   O restante do site e a seção stats-bridge permanecem intactos.
*/
:root {
  --wf-forest: #004d35;
  --wf-deep: #063b2e;
  --wf-lime: #8bd500;
  --wf-ink: #12332d;
  --wf-muted: #53645e;
}
body { padding-top: 88px; }
/* Mantém o banner proporcional e evita deformações no Bootstrap */
.wf-hero-v5 .wf-banner-carousel .carousel-item > img { position: absolute; inset: 0; }
/* NAVEGAÇÃO */
.wf-navbar { background: rgba(255,255,255,.98); box-shadow: 0 2px 18px rgba(0,40,20,.07); min-height: 88px; z-index: 1050; font-family: 'Montserrat', sans-serif; }
.wf-navbar .navbar-brand { margin-right: 1.2rem; }
.wf-navbar .wf-logo { width: 155px; max-height: 62px; object-fit: contain; }
.wf-navbar .nav-link { color: var(--wf-ink); font-size: .83rem; font-weight: 600; white-space: nowrap; padding: .65rem .45rem !important; }
.wf-navbar .nav-link:hover, .wf-navbar .nav-link:focus { color: #4b9c05; }
.wf-navbar .dropdown-menu { border: 1px solid #e2eee5; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,55,30,.12); padding: .55rem; }
.wf-navbar .dropdown-item { border-radius: 9px; font-size: .86rem; padding: .65rem .8rem; }
.wf-navbar .dropdown-item:hover { background: #eff9e9; color: var(--wf-forest); }
.wf-nav-actions { display: flex; align-items: center; gap: .55rem; margin-left: 1rem; }
.wf-nav-actions .wf-action { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; text-decoration: none; font-size: .77rem; font-weight: 700; padding: .68rem .85rem; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.wf-action-primary { background: var(--wf-lime); color: #153423; }
.wf-action-primary:hover { background: #75ba00; color: #123423; transform: translateY(-1px); }
.wf-action-secondary { border: 1px solid #c8e0d1; color: var(--wf-forest); background: #fff; }
.wf-action-secondary:hover { background: #f2f9f2; color: var(--wf-forest); }
.wf-action-login { color: var(--wf-forest); background: #f2f8f3; }
.wf-action-login:hover { color: var(--wf-forest); background: #e7f2e8; }
/* PRIMEIRA SEÇÃO */
.wf-hero-v5 { position: relative; overflow: hidden; min-height: 650px; padding: 78px 0 95px; background-image: url(/images/fundoteste9.png),linear-gradient(110deg,#fff 45%,#f5fbf2 100%); font-family: 'Montserrat', sans-serif; }
.wf-hero-v5::before { content: ''; position: absolute; width: 600px; height: 600px; right: -260px; top: -270px; border: 1px solid rgba(112,191,45,.15); border-radius: 50%; pointer-events: none; }
.wf-hero-v5::after { content: ''; position: absolute; left: -5%; right: -5%; bottom: -90px; height: 160px; background: linear-gradient(100deg,#2b8a24,#a4dd40); transform: rotate(-4deg); opacity: .16; pointer-events: none; }
.wf-hero-v5 .container { position: relative; z-index: 1; }
.wf-hero-v5 .wf-eyebrow { display: flex; align-items: center; gap: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #365249; margin-bottom: 25px; }
.wf-hero-v5 .wf-eyebrow::before { content: ''; width: 30px; height: 3px; background: var(--wf-lime); }
.wf-hero-v5 h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(2.3rem,3.8vw,4.25rem); letter-spacing: -.055em; line-height: 1.15; color: #0a3028; margin: 0 0 22px; }
.wf-hero-v5 h1 .wf-accent { color: #6cba00; }
.wf-hero-v5 .wf-hero-lead { font-size: clamp(1rem,1.35vw,1.16rem); line-height: 1.65; color: #52625d; max-width: 610px; margin-bottom: 32px; }
/* CARTÕES DE SOLUÇÃO */
.wf-hero-v5 .wf-solutions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.wf-hero-v5 .wf-solution-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 260px; padding: 0; overflow: hidden; border: 1px solid #d9e6dd; background: rgba(255,255,255,.96); border-radius: 22px; box-shadow: 0 14px 35px rgba(17,71,43,.07); color: var(--wf-ink); transition: transform .2s,box-shadow .2s,border-color .2s; }
.wf-hero-v5 .wf-solution-card:hover { transform: translateY(-4px); border-color: #8bd500; box-shadow: 0 20px 38px rgba(17,71,43,.13); }
.wf-hero-v5 .wf-solution-card.is-selected { border-color: #83ce13; box-shadow: 0 15px 38px rgba(21,105,43,.13); }
.wf-hero-v5 .wf-solution-preview { width: 100%; padding: 24px 24px 10px; border: 0; background: transparent; color: inherit; text-align: left; display: flex; flex-direction: column; align-items: flex-start; cursor: pointer; font-family: inherit; }
.wf-hero-v5 .wf-solution-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #e9f8d9; color: #087042; font-size: 1.55rem; margin-bottom: 13px; }
.wf-hero-v5 .wf-solution-heading { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.14rem; line-height: 1.25; margin-bottom: 10px; }
.wf-hero-v5 .wf-solution-description { color: #586660; font-size: .85rem; line-height: 1.55; }
.wf-hero-v5 .wf-solution-link { display: inline-flex; gap: 8px; align-items: center; padding: 12px 24px 20px; margin-top: auto; text-decoration: none; color: var(--wf-forest); font-size: .84rem; font-weight: 800; }
.wf-hero-v5 .wf-solution-link:hover { text-decoration: underline; }
.wf-hero-v5 .wf-hero-note { margin-top: 18px; font-size: .8rem; color: #64766c; }
/* CARROSSEL DE BANNERS: SEM NOTEBOOK, SEM MOLDURA DE COMPUTADOR */
.wf-hero-v5 .wf-carousel-visual { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 490px; padding: 24px 0; }
.wf-hero-v5 .wf-visual-glow { position: absolute; inset: 5% -5%; background: radial-gradient(circle,#d5f1c2 0%,rgba(213,241,194,0) 70%); pointer-events: none; }
.wf-hero-v5 .wf-banner-shell { position: relative; z-index: 1; width: 100%; border-radius: 24px; box-shadow: 0 24px 55px rgba(0,65,43,.16); background: #eef6f0; }
.wf-hero-v5 .wf-banner-carousel { width: 100%; overflow: hidden; border-radius: 24px; }
.wf-hero-v5 .wf-banner-carousel .carousel-inner { width: 100%; }
.wf-hero-v5 .wf-banner-carousel .carousel-item { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #eef6f0; }
.wf-hero-v5 .wf-banner-carousel .wf-banner-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.wf-hero-v5 .wf-banner-carousel [hidden] { display: none !important; }
.wf-hero-v5 .wf-banner-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; width: 100%; height: 100%; padding: 28px; background: linear-gradient(145deg,#f7fcf4,#e4f3dc); color: #176345; text-align: center; }
.wf-hero-v5 .wf-banner-placeholder i { font-size: 3.3rem; }
.wf-hero-v5 .wf-banner-placeholder strong { font-family: 'Poppins',sans-serif; font-size: clamp(1.1rem,2vw,1.7rem); }
.wf-hero-v5 .wf-banner-placeholder span { font-size: .9rem; color: #597565; }
.wf-hero-v5 .wf-banner-caption { position: absolute; z-index: 2; bottom: 18px; left: 18px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--wf-forest); box-shadow: 0 8px 25px rgba(0,49,24,.12); font-size: .8rem; font-weight: 800; }
.wf-hero-v5 .wf-banner-caption i { color: #6fba00; font-size: 1.1rem; }




/* AUMENTAR DIMENSÕES DO CARROSSEL */

.wf-banner-carousel {
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    overflow: hidden;
    border-radius: 24px;
}

/* Proporção do banner */
.wf-banner-carousel .carousel-item {
    aspect-ratio: 4 / 3;
}

/* Imagem preenchendo o banner */
.wf-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* AUMENTAR APENAS A ALTURA DO BANNER */

.wf-banner-carousel .carousel-item {
    aspect-ratio: auto;
    height: 650px;
}

.wf-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}






.wf-hero-v5 .wf-carousel-controls { position: relative; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 13px; margin-top: 25px; }
.wf-hero-v5 .wf-carousel-arrow { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #d7e6dc; background: #fff; color: #0b5138; border-radius: 50%; cursor: pointer; }
.wf-hero-v5 .wf-carousel-arrow:hover { background: #e9f8d9; }
.wf-hero-v5 .wf-carousel-dot { width: 10px; height: 10px; border: 0; border-radius: 99px; padding: 0; background: #b7cec0; cursor: pointer; transition: width .2s,background .2s; }
.wf-hero-v5 .wf-carousel-dot.is-active { width: 27px; background: #6cba00; }
.wf-hero-v5 .wf-solution-preview:focus-visible, .wf-hero-v5 .wf-solution-link:focus-visible, .wf-hero-v5 .wf-carousel-controls button:focus-visible { outline: 3px solid #76b900; outline-offset: 3px; }
/* RESPONSIVIDADE */
@media (max-width: 1399.98px) {
  .wf-navbar .nav-link { font-size: .76rem; padding: .55rem .32rem !important; }
  .wf-nav-actions { gap: .35rem; margin-left: .5rem; }
  .wf-nav-actions .wf-action { font-size: .7rem; padding: .6rem .65rem; }
  .wf-navbar .wf-logo { width: 135px; }
}
@media (max-width: 1199.98px) {
  .wf-navbar .nav-link { font-size: .71rem; }
  .wf-nav-actions .wf-action { font-size: .67rem; padding: .55rem .5rem; }
  .wf-navbar .wf-logo { width: 115px; }
  .wf-hero-v5 { padding: 65px 0 90px; }
  .wf-hero-v5 .wf-solution-preview { padding: 19px 19px 10px; }
  .wf-hero-v5 .wf-solution-link { padding: 12px 19px 18px; }
}
/* Menu colapsa mais cedo para evitar sobreposição dos links em desktop médio */
@media (min-width: 992px) and (max-width: 1279.98px) {
  .wf-navbar .navbar-collapse { flex-wrap: wrap; justify-content: flex-end; row-gap: 0; }
  .wf-navbar .navbar-nav { margin-left: auto; }
  .wf-nav-actions { margin-left: auto; }
}
@media (max-width: 991.98px) {
  body { padding-top: 74px; }
  .wf-navbar { min-height: 74px; }
  .wf-navbar .wf-logo { width: 140px; }
  .wf-navbar .navbar-collapse { padding: 14px 0 20px; max-height: calc(100vh - 74px); overflow-y: auto; }
  .wf-navbar .nav-link { font-size: .95rem; padding: .65rem .4rem !important; }
  .wf-nav-actions { margin: 12px 0 0; flex-wrap: wrap; }
  .wf-nav-actions .wf-action { font-size: .82rem; padding: .7rem .85rem; }
  .wf-hero-v5 .wf-carousel-visual { margin-top: 10px; min-height: 370px; }
}
@media (max-width: 575.98px) {
  .wf-hero-v5 { padding: 44px 0 75px; }
  .wf-hero-v5 .wf-eyebrow { font-size: .62rem; }
  .wf-hero-v5 h1 { font-size: 2.2rem; }
  .wf-hero-v5 .wf-solutions { grid-template-columns: 1fr; }
  .wf-hero-v5 .wf-solution-card { min-height: 0; }
  .wf-hero-v5 .wf-carousel-visual { min-height: 0; }
  .wf-hero-v5 .wf-banner-shell, .wf-hero-v5 .wf-banner-carousel { border-radius: 16px; }
  .wf-hero-v5 .wf-banner-caption { bottom: 10px; left: 10px; padding: 7px 10px; font-size: .67rem; }
  .wf-hero-v5 .wf-carousel-controls { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .wf-hero-v5 .wf-solution-card, .wf-nav-actions .wf-action, .wf-hero-v5 .wf-carousel-dot { transition: none !important; }
}

@media (max-width: 767px) {
    .wf-banner-carousel {
        max-width: 100%;
        border-radius: 16px;
    }

    .wf-banner-carousel .carousel-item {
        aspect-ratio: 4 / 3;
    }
}

/* Ajuste para celulares */
@media (max-width: 767px) {
    .wf-banner-carousel .carousel-item {
        height: 350px;
    }
}
