html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    border-radius: 0 !important;
}

body {}

#home,
#fazenda,
#leilao,
#animais,
#pecuaria,
#agropecuaria,
#contato {
    scroll-margin-top: 120px;
}

.top-navbar {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 1100;
}

.navbar-meagro {
    position: relative;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.navbar-meagro-container {
    padding: 0;
    display: block;
}

.navbar-meagro-nav {
    gap: 0.7rem;
}

.navbar-meagro .navbar-toggler {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #df7f11 0%, #f09b28 100%);
    box-shadow: 0 16px 34px rgba(84, 40, 3, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar-meagro .navbar-toggler:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(84, 40, 3, 0.34);
}

.navbar-meagro .navbar-toggler:focus {
    box-shadow: none;
}

.navbar-meagro .navbar-collapse {
    position: absolute;
    top: 78px;
    left: 0;
    min-width: min(320px, calc(100vw - 36px));
    padding: 1rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(223, 127, 17, 0.96) 0%, rgba(240, 155, 40, 0.93) 100%);
    box-shadow: 0 26px 48px rgba(62, 31, 6, 0.3);
    backdrop-filter: blur(10px);
    transform-origin: top left;
}

.navbar-meagro .navbar-collapse.collapse:not(.show) {
    display: block;
    height: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    box-shadow: none;
}

.navbar-meagro .navbar-collapse.collapsing {
    position: absolute;
    top: 78px;
    left: 0;
    min-width: min(320px, calc(100vw - 36px));
    padding: 1rem;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(223, 127, 17, 0.96) 0%, rgba(240, 155, 40, 0.93) 100%);
    box-shadow: 0 26px 48px rgba(62, 31, 6, 0.3);
    overflow: hidden;
}

.navbar-meagro .nav-item {
    opacity: 0;
    transform: translate(18px, -14px) scale(0.94);
    transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

.navbar-meagro .navbar-collapse.show .nav-item {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.navbar-meagro .nav-item:nth-child(1) {
    transition-delay: 0.04s;
}

.navbar-meagro .nav-item:nth-child(2) {
    transition-delay: 0.08s;
}

.navbar-meagro .nav-item:nth-child(3) {
    transition-delay: 0.12s;
}

.navbar-meagro .nav-item:nth-child(4) {
    transition-delay: 0.16s;
}

.navbar-meagro .nav-item:nth-child(5) {
    transition-delay: 0.2s;
}

.navbar-meagro .nav-item:nth-child(6) {
    transition-delay: 0.24s;
}

.navbar-meagro .nav-item:nth-child(7) {
    transition-delay: 0.28s;
}

.navbar-meagro .nav-link {
    display: inline-flex;
    align-items: center;
    min-width: 100%;
    padding: 0.8rem 1rem !important;
    border-radius: 16px;
    color: #fff8ed !important;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(255, 248, 237, 0.12);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.navbar-meagro .nav-link:hover,
.navbar-meagro .nav-link:focus,
.navbar-meagro .nav-link.active {
    background: rgba(255, 248, 237, 0.22);
    color: #ffffff !important;
    transform: translateX(6px);
}

.banner {
    position: relative;
    /* referência para a logo */
    width: 100%;
    height: auto;
    overflow: hidden;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    /* efeito clareado */
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
}

.btn-verde-musgo {
    background-color: #1b3022 !important;
    /* Cor exata da imagem */
    cursor: pointer;
    transition: filter 0.2s;
}

.btn-verde-musgo:hover {
    filter: brightness(1.2);
}

/* garante que o ícone continue visível */
.btn-verde-musgo i,
.btn-verde-musgo svg {
    color: rgb(43, 55, 30);
    transition: color 0.3s ease;
}

/* ícone no hover */
.btn-verde-musgo:hover i,
.btn-verde-musgo:hover svg {
    color: #556B2F;
}

.saude-animal {
    background-color: #005331;
    padding: 100px 0;
}

.saude-animal .icone i {
    font-size: 48px;
    color: #d4a24c;
    /* dourado */
    margin-bottom: 20px;
    display: inline-block;
    text-align: center;
    margin-top: 40px;
}


.saude-animal h1,
.saude-animal p span:not(.destaque) {
    color: #ffffff;
    text-align: center
}

.saude-animal h1 {
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    font-weight: 600;
}

.saude-animal p,
.icone {
    text-align: center !important;
}

.saude-animal p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-top: 50px;
}

.secao-leilao {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 110px 24px;
    background:
        radial-gradient(circle at top right, rgba(181, 127, 36, 0.28) 0%, transparent 28%),
        radial-gradient(circle at left center, rgba(114, 84, 29, 0.2) 0%, transparent 34%),
        linear-gradient(180deg, #040404 0%, #0e0e0d 55%, #080808 100%);
    background-size: 155% 155%, 145% 145%, 100% 100%;
    animation: leilaoAmbientGlow 9s ease-in-out infinite alternate;
}

.secao-leilao::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 140px 140px;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.95) 100%);
    opacity: 0.34;
    animation: leilaoGridDrift 12s ease-in-out infinite alternate;
}

.secao-leilao::after {
    content: "";
    position: absolute;
    inset: -10% -8%;
    background:
        radial-gradient(circle at 18% 88%, rgba(214, 166, 74, 0.28) 0%, rgba(214, 166, 74, 0.14) 12%, transparent 32%),
        radial-gradient(circle at 52% 82%, rgba(255, 241, 214, 0.16) 0%, rgba(255, 241, 214, 0.07) 11%, transparent 26%),
        radial-gradient(circle at 84% 86%, rgba(214, 166, 74, 0.24) 0%, rgba(214, 166, 74, 0.1) 14%, transparent 30%),
        linear-gradient(115deg, transparent 18%, rgba(214, 166, 74, 0.16) 35%, transparent 54%),
        linear-gradient(65deg, transparent 24%, rgba(255, 244, 227, 0.12) 42%, transparent 62%);
    pointer-events: none;
    mix-blend-mode: screen;
    filter: blur(18px);
    opacity: 1;
    transform-origin: center center;
    animation: leilaoLightSweep 7s ease-in-out infinite alternate;
}

@keyframes leilaoAmbientGlow {
    0% {
        background-position: 100% 0%, 0% 50%, 0 0;
    }

    50% {
        background-position: 84% 14%, 14% 36%, 0 0;
    }

    100% {
        background-position: 96% 2%, 4% 62%, 0 0;
    }
}

@keyframes leilaoGridDrift {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0.24;
    }

    100% {
        transform: translate3d(-26px, 18px, 0);
        opacity: 0.42;
    }
}

@keyframes leilaoLightSweep {
    0% {
        transform: translate3d(-6%, -2%, 0) scale(1.05) rotate(-2deg);
        opacity: 0.72;
    }

    50% {
        transform: translate3d(4%, 2%, 0) scale(1.13) rotate(1.4deg);
        opacity: 1;
    }

    100% {
        transform: translate3d(7%, -3%, 0) scale(1.07) rotate(2.8deg);
        opacity: 0.78;
    }
}

.reveal-on-scroll .reveal-step {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.visivel .reveal-step {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll.visivel .reveal-step:nth-child(1) {
    transition-delay: 0.05s;
}

.reveal-on-scroll.visivel .reveal-step:nth-child(2) {
    transition-delay: 0.14s;
}

.reveal-on-scroll.visivel .reveal-step:nth-child(3) {
    transition-delay: 0.23s;
}

.reveal-on-scroll.visivel .reveal-step:nth-child(4) {
    transition-delay: 0.32s;
}

.reveal-on-scroll.visivel .reveal-step:nth-child(5) {
    transition-delay: 0.41s;
}

.reveal-on-scroll.visivel .reveal-step:nth-child(6) {
    transition-delay: 0.5s;
}

.secao-leilao-conteudo {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    margin: 0 auto;
    text-align: center;
    color: #f7f2e8;
}

.leilao-etiqueta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.15rem;
    margin-bottom: 18px;
    border: 1px solid rgba(214, 166, 74, 0.42);
    border-radius: 999px;
    color: #e3b15a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    background: rgba(227, 177, 90, 0.08);
}

.secao-leilao-conteudo>h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.secao-leilao-conteudo>h3 {
    margin: 12px 0 28px;
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.secao-leilao-conteudo h3+h1 {
    display: none;
}

.leilao-texto {
    margin: 0 auto;
    max-width: 900px;
    color: rgba(247, 242, 232, 0.9);
    font-size: 1.08rem;
    line-height: 1.9;
}

.leilao-texto strong {
    color: #f1c36d;
    font-weight: 700;
}

.leilao-texto-secundario {
    margin-top: 18px;
    color: rgba(247, 242, 232, 0.78);
}

.leilao-botao-youtube {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: 28px auto 0;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: #d71920;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.leilao-botao-youtube:hover,
.leilao-botao-youtube:focus {
    background: #b9151b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.34);
}

.leilao-botao-youtube i {
    font-size: 1.1rem;
    line-height: 1;
}

.leilao-detalhes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: min(780px, 100%);
    margin: 38px auto 0;
}

.leilao-card {
    padding: 22px 24px;
    border: 1px solid rgba(214, 166, 74, 0.2);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    text-align: left;
}

.leilao-card span {
    display: block;
    margin-bottom: 10px;
    color: #d6a64a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.leilao-card strong {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
}

.secao-animais {
    padding: 96px 24px 110px;
    background:
        radial-gradient(circle at top center, rgba(212, 162, 76, 0.12) 0%, transparent 24%),
        linear-gradient(180deg, #f6f0e1 0%, #fbf8ef 48%, #efe2c2 100%);
}

.secao-animais-topo {
    width: min(840px, 100%);
    margin: 0 auto 34px;
    text-align: center;
}

.animais-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(46, 59, 34, 0.08);
    color: #6c4b10;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.secao-animais-topo h2 {
    margin: 0 0 14px;
    color: #24321f;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    font-weight: 800;
    text-transform: uppercase;
}

.secao-animais-topo p {
    margin: 0 auto;
    max-width: 700px;
    color: #4f5842;
    font-size: 1.05rem;
    line-height: 1.8;
}

.animais-tabs-wrap {
    width: min(1280px, 100%);
    margin: 0 auto;
}

.animais-tabs {
    --bs-nav-pills-link-active-bg: #2d3a22;
    --bs-nav-pills-link-active-color: #fffaf0;
    justify-content: center;
    gap: 14px;
    margin-bottom: 96px;
}

.animais-tabs .nav-link {
    padding: 0.95rem 1.45rem;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.66);
    color: #33412a;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 24px rgba(41, 50, 25, 0.08);
    transition: none !important;
    outline: none !important;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.animais-tabs .nav-link:hover,
.animais-tabs .nav-link:focus {
    color: #c57d16;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 24px rgba(41, 50, 25, 0.08);
}

.animais-tabs .nav-link:focus-visible,
.animais-tabs .nav-link:active {
    color: #c57d16;
    background: linear-gradient(135deg, #2d3a22 0%, #4d6038 100%) !important;
    box-shadow: 0 18px 28px rgba(31, 40, 24, 0.18) !important;
}

.animais-tabs .nav-link.active {
    background: linear-gradient(135deg, #2d3a22 0%, #4d6038 100%);
    color: #fffaf0;
    box-shadow: 0 18px 28px rgba(31, 40, 24, 0.18);
}

.animais-tabs .nav-link.active:hover,
.animais-tabs .nav-link.active:focus,
.animais-tabs .nav-link.active:focus-visible,
.animais-tabs .nav-link.active:active,
.animais-tabs .show>.nav-link {
    background: linear-gradient(135deg, #2d3a22 0%, #4d6038 100%) !important;
    color: #fffaf0 !important;
    box-shadow: 0 18px 28px rgba(31, 40, 24, 0.18);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background: linear-gradient(135deg, #2d3a22 0%, #4d6038 100%);
    color: #fffaf0;
}

.animais-paineis .tab-pane {
    padding: 6px 0 0;
}

.animais-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.animais-grid .animal-card {
    display: none;
}

.animais-grid .animal-card.ativo-mobile {
    display: block;
    animation: animaisCardEntrada 0.45s ease;
}

.animal-card {
    overflow: hidden;
    border: 1px solid rgba(6, 7, 4, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 20px 34px rgba(39, 45, 29, 0.08);
    backdrop-filter: blur(12px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.animal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(39, 45, 29, 0.12);
}

.animal-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.animal-info {
    padding: 22px 22px 24px;
}

.animal-info p {
    margin: 0 0 10px;
    color: #40513c;
    line-height: 1.7;
    font-size: 0.96rem;
}

.animal-info p:last-child {
    margin-bottom: 0;
}

.animal-info strong {
    color: #26361f;
}

.animais-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 22px;
}

.animais-mobile-seta {
    width: 46px;
    height: 46px;
    border: 0;
    background: #2d3a22;
    color: #fffaf0;
    font-size: 1.7rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 24px rgba(31, 40, 24, 0.16);
}

.animais-mobile-indicador {
    min-width: 76px;
    text-align: center;
    color: #314028;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes animaisCardEntrada {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.secao-pecuaria {
    position: relative;
    overflow: hidden;
    padding: 100px 24px 110px;
    background: #e28719;
}

.secao-pecuaria::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.24;
    pointer-events: none;
}

.secao-pecuaria-topo {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    margin: 0 auto 52px;
    text-align: center;
}

.pecuaria-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #2f4a2f;
    color: #d9f0d1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(29, 54, 28, 0.22);
}

.secao-pecuaria-topo h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    font-weight: 800;
    text-transform: uppercase;
}

.secao-pecuaria-topo p {
    margin: 0 auto;
    max-width: 920px;
    color: #1f1a14;
    font-size: 1.06rem;
    line-height: 1.9;
}

.pecuaria-racas {
    position: relative;
    z-index: 1;
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
}

.pecuaria-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 34px;
    border: 1px solid rgba(28, 39, 19, 0.12);
    border-radius: 34px;
    background: #ffffff;
    box-shadow: 0 24px 48px rgba(39, 45, 29, 0.12);
    backdrop-filter: blur(10px);
}

.pecuaria-card-nelore {
    background: rgba(47, 58, 31, 0.9);
}

.pecuaria-card-imagem img {
    width: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    box-shadow: 0 22px 34px rgba(30, 36, 22, 0.16);
}

.pecuaria-card-conteudo {
    max-width: none;
}

.pecuaria-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(212, 162, 76, 0.16);
    color: #8b5a0f;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pecuaria-card h3 {
    margin: 0 0 18px;
    color: #24321f;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 800;
}

.pecuaria-card p {
    margin: 0 0 16px;
    color: #4d5442;
    font-size: 1.02rem;
    line-height: 1.85;
}

.pecuaria-card p:last-child {
    margin-bottom: 0;
}

.pecuaria-card-nelore .pecuaria-tag {
    background: rgba(255, 248, 237, 0.14);
    color: #f2c979;
}

.pecuaria-card-nelore h3,
.pecuaria-card-nelore p {
    color: #fff8ed;
}

.linha {
    width: 320px;
    /* comprimento da linha */
    height: 2px;
    /* espessura */
    background-color: #d4a24c;
    /* dourado */
    margin: 25px auto 40px;
    /* centraliza e espaça */
    border-radius: 2px;
    /* suaviza as bordas */
}


.texto-quebrado span {
    display: block;
}

.texto-quebrado .destaque {
    color: #d4a24c;
}


.bloco-genetica {
    background-image: url("../images/68329_1_167244969536983641.jpg");
    background-size: cover;
    background-position: center;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}


.bloco-genetica::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(43, 55, 30, 0.7);
}

/* Estilização do texto */
.bloco-genetica p {
    position: relative;
    z-index: 1;
    color: #ffffff;
    /* Texto branco para contraste */
    text-align: center;
    max-width: 900px;
    font-size: 22px;
    line-height: 1.6;
}

.bloco-genetica .destaque {
    color: #d4a24c;
    font-weight: bold;
    display: block;
}


.bloco-tabapua {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 80px 10%;
    background-color: #fbfaef;
}


.bloco-tabapua .imagem img {
    width: 450px;
    max-width: 100%;
    border: 8px solid #5a6a3f;
    /* Verde musgo da moldura */
    border-radius: 4px;
    box-shadow: 15px 15px 0px rgba(43, 55, 30, 0.1);
    /* Sombra suave */
}

/* Conteúdo de Texto */
.bloco-tabapua .conteudo {
    max-width: 500px;
}

.bloco-tabapua h2 {
    font-size: 48px;
    color: #2f3a1f;
    /* Verde escuro para o título */
    margin-bottom: 20px;
    font-weight: 800;
}

.bloco-tabapua .subtitulo {
    color: #a36b0a;
    /* Dourado */
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.bloco-tabapua .texto p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.bloco-nelore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 80px 18%;
    background-color: #d4a24c;
}


.bloco-nelore .imagem img {
    width: 420px;
    max-width: 100%;
    border: 8px solid #fbfaef;
    /* Moldura bege claro */
    border-radius: 4px;
    box-shadow: 15px 15px 0px rgba(47, 58, 31, 0.2);
}

/* TEXTO */
.bloco-nelore .conteudo {
    max-width: 450px;
}

.bloco-nelore h2 {
    font-size: 52px;
    color: #fbfaef;
    margin-bottom: 24px;
    font-weight: 800;
}

.bloco-nelore .subtitulo {
    font-size: 18px;
    color: #2e3b22;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.bloco-nelore .texto p {
    font-size: 18px;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 15px;
}


/* Configuração da Seção */
.secao-qualidade {
    background-color: #2e3b22;
    /* Verde escuro do topo */
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.titulo-principal {
    text-transform: uppercase;
    color: white;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 60px;
}

.secao-qualidade {
    background-color: #2e3b22;
    color: white;
    text-align: center;
    padding: 60px 0;
}


.stats-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    width: 100%;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 400px;
}


.faixa-numero {
    background-color: #5b6a3e;
    width: 100%;
    padding: 20px 0;
    margin: 10px 0;
}

.stat-numero {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0;
}

.stat-item i {
    font-size: 3.5rem;
    color: #a36b0a;
    margin-bottom: 5px;
}

.stat-legenda {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 10px;
    max-width: 250px;
}

.carrossel-rebanho {
    background-color: #5b6a3e;
    /* Verde do fundo das fotos */
    padding: 60px 20px;
    text-align: center;
}

.titulo-sessao {
    color: white;
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.setas-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.card-overflow {
    overflow: hidden;
    width: 90%;
}

.card-track {
    display: flex;
    gap: 20px;
    /* Espaço entre as fotos */
    transition: transform 0.4s ease-in-out;
}

.card-rebanho {
    flex: 0 0 calc(33.333% - 14px);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-rebanho img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Estilização das Setas */
.seta {
    background: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.seta:hover {
    background: #f0f0f0;
}

.sobre-nos {
    padding: 120px 10%;
    background-color: #f9f9f9;
    font-family: 'Montserrat', sans-serif;
}

.sobre-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.sobre-imagem {
    flex: unset;
    width: min(620px, 100%);
}

.moldura-foto img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0px #2e3b22;
    /* Cor verde escuro do topo */
}

.sobre-conteudo {
    flex: unset;
    width: min(1040px, 100%);
    text-align: center;
}

.subtitulo {
    color: #a36b0a;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.titulo-sobre {
    color: #2e3b22;
    /* Verde escuro */
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    font-weight: 800;
    margin-bottom: 25px;
}

.texto-descricao p {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}


.btn-contato {
    display: inline-block;
    padding: 15px 35px;
    background-color: #2e3b22;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: 0.3s ease;
}

.btn-contato:hover {
    background-color: #a36b0a;
    /* Troca para dourado no hover */
    transform: translateY(-3px);
}

.rodape-contatos {
    padding: 88px 24px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(218, 132, 21, 0.18), transparent 42%),
        linear-gradient(180deg, #1c2718 0%, #10170e 100%);
}

.footer-grid {
    width: min(980px, 100%);
    margin: 0 auto;
    display: block;
}

.footer-conteudo h2 {
    margin: 0 0 18px;
    color: #fff7e8;
    font-size: clamp(2.1rem, 3.8vw, 3.4rem);
    font-weight: 800;
    text-transform: uppercase;
}

.footer-conteudo p {
    max-width: 720px;
    margin: 0 0 30px;
    color: rgba(255, 248, 237, 0.82);
    font-size: 1.02rem;
    line-height: 1.9;
}

.footer-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    margin-bottom: 16px;
    background: #d18a22;
    color: #1b2416;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-contatos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.footer-contato-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.footer-contato-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(209, 138, 34, 0.5);
}

.footer-contato-card i {
    color: #d18a22;
    font-size: 1.45rem;
    line-height: 1;
}

.footer-contato-texto {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contato-texto strong {
    color: #fff7e8;
    font-size: 0.98rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-contato-texto span {
    color: rgba(255, 248, 237, 0.82);
    font-size: 0.98rem;
    line-height: 1.6;
    text-transform: none;
}

.mapa-footer {
    width: 100%;
    height: 300px;
}

.mapa-footer iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.whatsapp-fixo {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #1f9d49;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 34px rgba(10, 54, 24, 0.28);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.whatsapp-fixo i {
    font-size: 1.45rem;
    line-height: 1;
}

.whatsapp-fixo:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif !important;
}

.banner {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    background: linear-gradient(to right, #ffffff 0 34%, #cf7a22 34% 100%);
}

.banner-slides {
    position: absolute;
    inset: 0 0 0 34%;
}

.banner-slide {
    position: absolute;
    inset: 0;
    background-position: 72% center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.05);
    animation: bannerFade 15s infinite;
}

.slide-1 {
    background-image: url("../images/foto (17).jpeg");
    animation-delay: 0s;
}

.slide-2 {
    background-image: url("../images/foto (9).jpeg");
    animation-delay: 5s;
}

.slide-3 {
    background-image: url("../images/foto (14).jpeg");
    animation-delay: 10s;
}

@keyframes bannerFade {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }

    6% {
        opacity: 0.15;
    }

    28% {
        opacity: 0.15;
        transform: scale(1);
    }

    33% {
        opacity: 0;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

.banner-layout {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: grid;
    grid-template-columns: 34% 66%;
}

.banner-left,
.banner-right {
    min-height: 100vh;
    min-height: 100svh;
}

.banner-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.banner-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.banner-leilao-chamada {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 52px 44px;
    text-align: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 80% 18%, rgba(214, 166, 74, 0.32) 0%, transparent 28%),
        radial-gradient(circle at 18% 86%, rgba(255, 236, 199, 0.18) 0%, transparent 30%),
        linear-gradient(180deg, rgba(5, 5, 5, 0.96) 0%, rgba(17, 15, 12, 0.94) 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.banner-leilao-chamada.encerrada {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.banner-leilao-etiqueta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(214, 166, 74, 0.42);
    color: #e3b15a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: rgba(227, 177, 90, 0.08);
    opacity: 0;
    transform: translateY(18px);
    animation: bannerLeilaoEntrada 0.65s ease 0.15s forwards;
}

.banner-leilao-logo {
    width: min(420px, 88%);
    height: auto;
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
    animation: bannerLeilaoEntrada 0.7s ease 0.45s forwards;
}

.banner-leilao-chamada h2 {
    width: min(680px, 100%);
    margin: 0;
    color: #ffffff;
    font-size: clamp(1rem, 1.55vw, 1.35rem);
    font-weight: 600;
    line-height: 1.55;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(22px);
    animation: bannerLeilaoEntrada 0.7s ease 0.75s forwards;
}

.banner-leilao-imagens {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: min(440px, 100%);
    opacity: 0;
    transform: translateY(22px);
    animation: bannerLeilaoEntrada 0.7s ease 1.05s forwards;
}

.banner-leilao-imagens img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

.banner-leilao-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 17px;
    background: #d71920;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    opacity: 0;
    transform: translateY(18px);
    animation: bannerLeilaoEntrada 0.65s ease 1.35s forwards;
    transition: transform 0.2s ease, background 0.2s ease;
}

.banner-leilao-link:hover,
.banner-leilao-link:focus {
    background: #b9151b;
    color: #ffffff;
    transform: translateY(-2px);
}

.banner-leilao-link i {
    font-size: 1rem;
}

@keyframes bannerLeilaoEntrada {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.banner-right-content {
    width: min(760px, 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.logo,
.btn-verde-musgo {
    z-index: 2;
}

.banner>.position-absolute {
    z-index: 3;
}

.btn-verde-musgo {
    position: relative;
}

@media (max-width: 991px) {

    .footer-conteudo p {
        max-width: 100%;
    }

    .bloco-tabapua,
    .bloco-nelore,
    .sobre-container {
        gap: 40px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .bloco-tabapua,
    .sobre-container {
        flex-direction: column;
    }

    .bloco-nelore {
        flex-direction: column-reverse;
    }

    .bloco-tabapua .conteudo,
    .bloco-nelore .conteudo,
    .sobre-conteudo,
    .sobre-imagem {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }

    .stats-grid {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
        max-width: 520px;
    }

    .card-rebanho {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .banner {
        min-height: 100dvh;
    }

    .logo {
        width: min(340px, 82vw);
    }

    .linha {
        width: min(320px, 70vw);
    }

    .saude-animal,
    .bloco-genetica,
    .secao-qualidade,
    .carrossel-rebanho,
    .sobre-nos,
    .rodape-contatos {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rodape-contatos {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .footer-contatos-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-fixo {
        right: 16px;
        bottom: 16px;
        padding: 12px 14px;
        font-size: 0.88rem;
    }

    .saude-animal {
        padding-top: 12px;
        padding-bottom: 36px;
    }

    .saude-animal h1,
    .titulo-principal,
    .titulo-sessao,
    .titulo-sobre,
    .bloco-tabapua h2,
    .bloco-nelore h2 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .saude-animal p,
    .bloco-genetica p,
    .bloco-tabapua .texto p,
    .bloco-nelore .texto p,
    .texto-descricao p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .bloco-tabapua,
    .bloco-nelore,
    .sobre-nos {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .bloco-tabapua .imagem img,
    .bloco-nelore .imagem img {
        width: 100%;
        box-shadow: 10px 10px 0 rgba(43, 55, 30, 0.12);
    }

    .moldura-foto img {
        box-shadow: 12px 12px 0 #2e3b22;
    }

    .card-overflow {
        width: 100%;
    }

    .card-track {
        gap: 16px;
    }

    .card-rebanho {
        flex: 0 0 100%;
    }

    .card-rebanho img {
        height: 280px;
    }

    .setas-container {
        gap: 12px;
    }

    .seta {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .container-contatos {
        justify-content: flex-start;
        gap: 24px;
    }

    .contato-item {
        width: 100%;
    }

    .contato-info span {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
        word-break: break-word;
    }
}

.logo-stack {
    width: min(420px, 82%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.logo {
    position: static;
    transform: none;
    max-width: 100%;
    height: auto;
}

.logo-principal {
    width: min(320px, 100%);
    opacity: 0;
    filter: blur(10px);
    transform: translateY(28px) scale(0.92);
    animation: revealPrimaryLogo 0.9s ease forwards;
    animation-delay: 0.15s;
}

.banner-slogan {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-align: center;
}

.banner-slogan span {
    display: inline-block;
    width: auto;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    border-right: none;
    opacity: 0;
    animation: fadeInSlogan 0.8s ease 1.05s forwards;
}

.banner-slogan b {
    font-family: "Cedarville Cursive", cursive;
    font-size: clamp(2rem, 2.6vw, 3rem);
    font-weight: 400;
}

.logos-secundarios {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 36px);
    width: 100%;
    opacity: 0;
    transform: translateY(24px);
    animation: revealSecondaryRow 0.7s ease 1.95s forwards;
}

.logo-secundaria {
    width: min(150px, 40%);
    opacity: 0;
    filter: brightness(0) invert(1) blur(10px);
    transform: translateY(28px) scale(0.92);
    animation: revealSecondaryLogo 0.9s ease forwards;
    animation-delay: 2.1s;
}

.logo-tabapua {
    animation-delay: 2.25s;
    width: min(220px, 56%);
}

.logo-me {
    animation-delay: 2.1s;
    width: min(190px, 19vw);
}

@keyframes revealSecondaryLogo {
    0% {
        opacity: 0;
        filter: brightness(0) invert(1) blur(10px);
        transform: translateY(28px) scale(0.92);
    }

    100% {
        opacity: 1;
        filter: brightness(0) invert(1) blur(0);
        transform: translateY(0) scale(1);
    }
}

@keyframes revealPrimaryLogo {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(28px) scale(0.92);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

@keyframes typingLine {
    from {
        width: 0;
    }

    to {
        width: 39ch;
    }
}

@keyframes blinkCursor {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: #ffffff;
    }
}

@keyframes fadeInSlogan {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes hideCursor {
    from {
        border-right-color: transparent;
        border-right-width: 3px;
    }

    to {
        border-right-color: transparent;
        border-right-width: 0;
    }
}

@keyframes revealSecondaryRow {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .banner {
        min-height: auto;
        padding-bottom: 88px;
        background: linear-gradient(to bottom, #ffffff 0 42vh, #cf7a22 42vh 100%);
        background: linear-gradient(to bottom, #ffffff 0 42svh, #cf7a22 42svh 100%);
    }

    .logo-stack {
        width: 100%;
        gap: 22px;
    }

    .banner-layout {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .banner-slides {
        inset: auto 0 0 0;
        top: 42vh;
        top: 42svh;
    }

    .banner-left,
    .banner-right {
        min-height: auto;
    }

    .banner-left {
        min-height: 42vh;
        min-height: 42svh;
        padding: 28px 20px;
        background: #ffffff;
    }

    .banner-right {
        position: relative;
        z-index: 2;
        width: 100%;
        min-height: 54vh;
        min-height: 54svh;
        padding: 36px 20px 32px;
        background-color: transparent;
    }

    .banner-leilao-chamada {
        padding: 26px 18px;
        gap: 12px;
    }

    .banner-leilao-logo {
        width: min(180px, 76%);
    }

    .banner-leilao-chamada h2 {
        font-size: 0.72rem;
        line-height: 1.45;
    }

    .banner-leilao-imagens {
        width: min(220px, 82%);
        gap: 10px;
    }

    .banner-leilao-link {
        padding: 9px 13px;
        font-size: 0.72rem;
    }

    .banner-slide {
        background-position: center;
    }

    .banner-right-content {
        width: 100%;
        max-width: 320px;
        gap: 22px;
    }

    .logo-principal {
        width: min(230px, 70vw);
    }

    .logos-secundarios {
        gap: 14px;
        flex-wrap: wrap;
    }

    .logo-secundaria {
        width: min(110px, 34vw);
    }

    .logo-me {
        width: min(95px, 30vw);
    }

    .banner-slogan {
        width: 100%;
        font-size: clamp(1.1rem, 5vw, 1.35rem);
        line-height: 1.35;
    }

    .banner-slogan span {
        display: block;
        width: auto;
        max-width: 100%;
        white-space: normal;
        overflow: visible;
        border-right: none;
        animation: fadeInSlogan 0.8s ease 1.05s forwards;
        opacity: 0;
    }
}

.galeria-fazenda {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #f8f3e7 0%, #efe1be 100%);
}

.galeria-topo {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px 32px;
    text-align: center;
}

.titulo-galeria {
    color: #24321f;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    margin: 12px 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.descricao-galeria {
    margin: 0 auto;
    max-width: 700px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #4b4f3d;
}

.galeria-carrossel {
    width: 100%;
}

.galeria-viewport {
    overflow: hidden;
    width: 100%;
}

.galeria-controles {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    pointer-events: none;
}

.galeria-track {
    display: flex;
    will-change: transform;
}

.galeria-item {
    position: relative;
    flex: 0 0 25%;
    border: 0;
    padding: 0;
    margin: 0;
    background: #1f2818;
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

.galeria-seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 106, 0, 0.88);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    pointer-events: auto;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, background 0.25s ease;
}

.galeria-seta:hover {
    background: #24321f;
    transform: translateY(-50%) scale(1.06);
}

.galeria-seta span {
    font-size: 50px;
    line-height: 1;
    margin-top: -5px;
}

.galeria-seta-esquerda {
    left: -27px;
}

.galeria-seta-direita {
    right: -27px;
}

.galeria-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.28) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.galeria-item:hover::after {
    opacity: 1;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.12);
    filter: saturate(0.92) contrast(0.96);
    transition: transform 0.75s ease, opacity 0.75s ease, filter 0.75s ease;
}

.galeria-item img.ativo {
    opacity: 1;
    transform: scale(1);
    filter: saturate(1) contrast(1);
}

.galeria-item:hover img {
    transform: scale(1.08);
}

.lightbox-fazenda {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(13, 16, 10, 0.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

.lightbox-fazenda.aberto {
    opacity: 1;
    visibility: visible;
}

.lightbox-imagem {
    max-width: min(92vw, 1300px);
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    transform: scale(0.94);
    transition: transform 0.3s ease;
}

.lightbox-fazenda.aberto .lightbox-imagem {
    transform: scale(1);
}

.lightbox-fechar {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-aberto {
    overflow: hidden;
}

@media (max-width: 1199px) {
    .galeria-controles {
        max-width: none;
    }

    .galeria-seta-esquerda {
        left: 12px;
    }

    .galeria-seta-direita {
        right: 12px;
    }
}

@media (max-width: 767px) {

    .galeria-topo {
        padding: 0 20px 24px;
    }

    .galeria-item {
        flex-basis: 50%;
        min-height: 0;
    }

    .galeria-seta {
        width: 44px;
        height: 44px;
    }

    .galeria-seta span {
        font-size: 1.8rem;
    }

    .lightbox-fazenda {
        padding: 18px;
    }

    .lightbox-fechar {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 520px) {
    .galeria-item {
        flex-basis: 100%;
    }
}

@media (max-width: 991px) {
    .animais-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pecuaria-card,
    .pecuaria-card-nelore {
        gap: 28px;
    }

    .pecuaria-racas {
        grid-template-columns: 1fr;
    }

    .top-navbar {
        top: 10px;
        left: 10px;
    }

    .navbar-meagro .navbar-toggler {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .navbar-meagro .navbar-collapse {
        top: 70px;
        min-width: min(280px, calc(100vw - 20px));
    }

    .navbar-meagro-nav {
        gap: 0.45rem;
    }

    .navbar-meagro .nav-link {
        padding: 0.72rem 0.9rem !important;
        font-size: 0.92rem;
    }
}

@media (max-width: 767px) {
    .secao-animais {
        padding: 78px 18px 88px;
    }

    .secao-pecuaria {
        padding: 78px 18px 88px;
    }

    .animais-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .animais-tabs .nav-link {
        width: 100%;
    }

    .animais-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .animais-grid .animal-card {
        display: none;
    }

    .animais-grid .animal-card.ativo-mobile {
        display: block;
    }

    .animais-mobile-nav {
        display: flex;
    }

    .animal-info {
        padding: 18px 18px 20px;
    }

    .secao-pecuaria-topo p,
    .pecuaria-card p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .pecuaria-card {
        padding: 20px;
        border-radius: 24px;
    }

    .pecuaria-card-imagem img {
        min-height: 260px;
        border-radius: 18px;
    }

    .secao-leilao {
        min-height: 100vh;
        min-height: 100svh;
        padding: 84px 20px;
    }

    .secao-leilao-conteudo>h3 {
        letter-spacing: 0.16em;
    }

    .leilao-texto {
        font-size: 1rem;
        line-height: 1.8;
    }

    .leilao-detalhes {
        grid-template-columns: 1fr;
    }

    .leilao-card {
        padding: 20px;
        text-align: center;
    }
}
