/* Seiva MT — Bootstrap 5.3.8 + identidade visual original. */
:root { --bs-body-font-family: 'Poppins', sans-serif; --bs-body-color:#777; --bs-body-bg:#fff; --bs-primary:#087b22; --bs-link-color:#005111; --bs-link-hover-color:#139330; }
html,body { margin:0; padding:0; width:100%; }
body { font-size:1rem; line-height:1.5; }
a { text-decoration:none; }
img { max-width:100%; height:auto; }
h1,h2,h3,h4,h5,h6 { color:#0a1026; line-height:1.2; }
h1 { font-size:calc(1.375rem + 1.5vw); } h2 { font-size:calc(1.325rem + .9vw); }
h4 { font-size:1.5rem; } h5 { font-size:1.25rem; } h6 { font-size:1rem; }
@media(min-width:1200px) { h1{font-size:2.5rem;} h2{font-size:2rem;} .display-3{font-size:4.5rem;} }
.display-3 { font-weight:300; line-height:1.2; }
.bg-dark { background-color:#3A6300!important; } .bg-primary { background-color:#FFC600!important; }
.text-primary { color:#D9CEBD!important; } .text-secondary { color:#005111!important; }
.btn-primary { --bs-btn-color:#fff; --bs-btn-bg:#087b22; --bs-btn-border-color:#087b22; --bs-btn-hover-color:#fff; --bs-btn-hover-bg:#139330; --bs-btn-hover-border-color:#139330; --bs-btn-active-bg:#005111; --bs-btn-active-border-color:#005111; --bs-btn-focus-shadow-rgb:8,123,34; }
.btn-secondary { --bs-btn-bg:#23A036; --bs-btn-border-color:#23A036; --bs-btn-hover-bg:#156121; --bs-btn-hover-border-color:#156121; }
/* Compatibilidade dos conteúdos existentes com os utilitários do Bootstrap 5. */
.mr-auto {margin-right:auto!important;} .mr-2 {margin-right:.5rem!important;} .mr-3 {margin-right:1rem!important;}
.font-weight-normal {font-weight:400!important;} .font-weight-bold {font-weight:700!important;}
@media(min-width:768px){.text-md-left{text-align:left!important;}}
.embed-responsive {position:relative;width:100%;aspect-ratio:16/9;}
.embed-responsive-item {position:absolute;inset:0;width:100%;height:100%;border:0;}
.secao {display:none;} .secao.ativa {display:block;}
/********** Custom CSS ************/
h1,
.font-weight-bolder {
  font-weight: 800 !important;
}

h2,
h3,
.font-weight-bold {
  font-weight: 700 !important;
}

h5,
.font-weight-semi-bold {
  font-weight: 600 !important;
}

h6,
.font-weight-medium {
  font-weight: 500 !important;
}

.btn {
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 100px;
}

.form-control {
  border-radius: 30px;
}

.btn-social {
  width: 45px;
  height: 45px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  border-radius: 45px;
}

.icon-box {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 75px;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 11;
}

.section-title {
  position: relative;
  padding-left: 60px;
}

.section-title::before {
  position: absolute;
  content: "";
  top: 10px;
  left: 0;
  width: 45px;
  height: 2px;
  background: #D9CEBD;
}

.section-title::after {
  position: absolute;
  content: "";
  top: 14px;
  left: 0;
  width: 45px;
  height: 2px;
  background: #63685F;
}

.navbar-light .navbar-nav .nav-link {
  padding: 30px 15px;
  color: #0a1026;
  font-size: 17px;
  font-weight: 600;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: #919191;
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 5px 0;
  }
}

.carousel-item {
  max-height: 600px;
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: left;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.carousel-indicators {
  width: 60px;
  top: 0;
  right: calc(100% - 60px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-indicators button {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: #FFC600;
  opacity: 1;
}

.carousel-indicators .active {
  background-color: #005111;
}

@media (max-width: 991.98px) {
  .carousel-indicators {
    width: 45px;
    right: calc(100% - 45px);
  }
  .carousel-indicators button {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 575.98px) {
  .carousel-caption h5 {
    font-size: 14px;
    font-weight: 400;
  }
  .carousel-caption h1 {
    font-size: 25px;
    font-weight: 500 !important;
  }
  .carousel-caption .btn {
    font-weight: 400;
    padding: 5px 12px !important;
  }
}

@media (min-width: 992px) {
  .contact-info .contact-info-item {
    min-height: 200px;
  }
}

.btn-play {
  position: relative;
  display: block;
  box-sizing: content-box;
  width: 16px;
  height: 26px;
  border-radius: 100%;
  border: none;
  outline: none !important;
  padding: 18px 20px 20px 28px;
  background: #23A036;
}

.btn-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 60px;
  height: 60px;
  background: #23A036;
  border-radius: 100%;
  animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 60px;
  height: 60px;
  background: #23A036;
  border-radius: 100%;
  transition: all 200ms;
}

.btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  left: -1px;
  border-left: 16px solid #FFC600;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
    opacity: 0;
  }
}

#videoModal .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

#videoModal .modal-body {
  position: relative;
  padding: 0px;
}

#videoModal .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

.bg-about {
  background: url(../img/about.jpg), no-repeat center center;
  background-size: cover;
}

.bg-about2 {
  background: url(../img/corretora.jpg), no-repeat center center;
  background-size: cover;
}

.bg-service {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg), no-repeat center center;
  background-size: cover;
}

.bg-wbcv {
  background: url(../img/quem-somos.jpg), no-repeat center center;
  background-size: cover;
}

.bg-seguros {
  background: url(../img/seguros2.png), no-repeat center center;
  background-size: cover;
}

.bg-portfolio {
  background: url(../img/contatos.jpg), no-repeat center center;
  background-size: cover;
}

.bg-testimonial {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-3.jpg), no-repeat center center;
  background-size: cover;
}

.owl-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 40px;
  top: 50%;
  left: 0;
  margin-top: -20px;
  padding: 0 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #23A036;
  background: #FFC600;
  border-radius: 40px;
  font-size: 22px;
  opacity: .1;
  transition: .3s;
}

.owl-carousel:hover .owl-nav .owl-prev,
.owl-carousel:hover .owl-nav .owl-next {
  opacity: 1;
}

.portfolio-item .portfolio-img {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .5s;
}

.portfolio-item:hover .portfolio-img {
  top: 100%;
}

.portfolio-item .portfolio-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: -100%;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .5s;
}

.portfolio-item:hover .portfolio-text {
  top: 0;
}

.team .team-img {
  position: relative;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .5s;
}

.team:hover .team-img {
  left: 75px;
}

.team .team-social {
  position: absolute;
  width: 75px;
  top: 0;
  bottom: 0;
  left: -75px;
  z-index: 1;
  transition: .5s;
}

.team:hover .team-social {
  left: 0;
}

.testimonial-carousel .owl-item img {
  width: 75px;
  height: 75px;
  border-radius: 75px;
}

.testimonial-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 10px;
  background: #dddddd;
}

.testimonial-carousel .owl-dot.active {
  background: #FFC600;
}

.blog-date {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 0 5px 0 0;
  background: #FFC600;
}

.contact-form .help-block ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* Correções de largura, navegação e enquadramento sem alterar o layout. */
.seiva-header {position:relative;z-index:20;background:#fff;}
.seiva-header .navbar {min-height:84px;}
.seiva-header .navbar-brand img {width:auto;max-height:76px;object-fit:contain;}
.seiva-header .dropdown-menu {max-width:min(660px,calc(100vw - 32px));}
.seiva-header .dropdown-item {white-space:normal;overflow-wrap:break-word;padding:.65rem 1rem;}
.seiva-header .dropdown-toggle:focus-visible,.navbar-toggler:focus-visible {outline:3px solid #087b22;outline-offset:3px;}
#header-carousel .carousel-item > img {width:100%;height:auto;display:block;}
.carousel-indicators button {padding:0;border:0!important;flex:0 0 auto;}
.portfolio-item {position:relative;}
.portfolio-item h4 {font-size:clamp(1rem,1.65vw,1.5rem);}
.portfolio-item:focus-within .portfolio-text {top:0;}
.portfolio-item:focus-within .portfolio-img {top:100%;}
.cotacao-box {width:100%;min-width:0;overflow:auto;}
.widget-noticias {max-width:100%;overflow:auto;}
.container-fluid.bg-dark .navbar-brand {max-width:100%;}
.container-fluid.bg-dark p {overflow-wrap:break-word;}
.back-to-top.is-visible {display:inline-flex;align-items:center;justify-content:center;}
@media(max-width:1199.98px) and (min-width:992px){
 .navbar-light .navbar-nav .nav-link{font-size:15px;padding:30px 9px;}
 .seiva-header .btn{padding:10px 14px;font-size:14px;}
}
@media(max-width:991.98px){
 .seiva-header .navbar{padding:10px 0!important;}
 .seiva-header .navbar-brand img{max-width:min(230px,65vw);max-height:68px;}
 .seiva-header .navbar-collapse{padding:10px 0;}
 .seiva-header .dropdown-menu{max-width:100%;border:0;background:#f5f5f5;}
 .navbar-light .navbar-nav .nav-link{padding:10px 0;}
 #header-carousel .carousel-item{max-height:none;}
 #header-carousel .carousel-caption>.p-5{padding:20px 35px!important;}
 #header-carousel .display-3{font-size:clamp(1.35rem,4.4vw,3rem);}
 #header-carousel .carousel-caption h5{font-size:clamp(.65rem,1.8vw,1rem);}
}
@media(max-width:575.98px){
 #header-carousel .carousel-caption h1{font-size:clamp(1.1rem,4.8vw,1.8rem);margin-bottom:0!important;}
 #header-carousel .carousel-caption h5{font-size:.65rem;margin-bottom:.4rem!important;}
 .section-title{padding-left:40px;font-size:1.65rem;}
 .section-title:before,.section-title:after{width:28px;}
 .portfolio-item .portfolio-text{top:0;background:rgba(10,16,38,.72);}
 .portfolio-item:hover .portfolio-img,.portfolio-item:focus-within .portfolio-img{top:0;}
 .portfolio-item h4{font-size:1.25rem;}
 .back-to-top{right:15px;bottom:15px;}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}}
/* V8 — submenu amplo e indicadores circulares compatíveis com Bootstrap 5. */
@media(min-width:992px){
 .seiva-header .navbar .nav-item.dropdown{position:relative;}
 .seiva-header .navbar .dropdown-menu{inset:100% auto auto 0!important;transform:none!important;width:max-content;min-width:min(650px,calc(100vw - var(--seiva-menu-left,16px) - 16px));max-width:calc(100vw - var(--seiva-menu-left,16px) - 16px);margin-top:0!important;}
 .seiva-header .navbar .dropdown-item{white-space:normal;}
}
.seiva-header .navbar .dropdown-menu{padding:8px 0;background:#fff;border:1px solid #e0e5dc;box-shadow:0 12px 28px rgba(12,38,16,.16);z-index:1050;}
.seiva-header .navbar .dropdown-item{display:block;padding:17px 24px;line-height:1.55;font-size:15px;font-weight:500;color:#263529;overflow-wrap:normal;border-bottom:1px solid #e6eadd;transition:background-color .16s ease,color .16s ease;}
.seiva-header .navbar .dropdown-item:last-child{border-bottom:0;}
.seiva-header .navbar .dropdown-item:hover,.seiva-header .navbar .dropdown-item:focus,.seiva-header .navbar .dropdown-item:active{background:#ffc600;color:#17351b;}
.seiva-header .navbar .dropdown-item:focus-visible{outline:2px solid #005111;outline-offset:-3px;}
#header-carousel .carousel-indicators{position:absolute;inset:50% auto auto 18px;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:28px;height:auto;margin:0;padding:0;z-index:5;}
#header-carousel .carousel-indicators [data-bs-target]{box-sizing:border-box;display:block;flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;margin:0;padding:0;border:0!important;border-radius:50%;background:#ffc600;background-clip:border-box;opacity:1;text-indent:-9999px;cursor:pointer;box-shadow:0 1px 5px rgba(0,0,0,.2);}
#header-carousel .carousel-indicators [data-bs-target].active{background:#00811b;opacity:1;}
#header-carousel .carousel-indicators [data-bs-target]:focus-visible{outline:2px solid #fff;outline-offset:4px;}
@media(max-width:991.98px){
 .seiva-header .navbar .dropdown-menu{position:static!important;inset:auto!important;transform:none!important;width:100%;min-width:0;max-width:100%;box-shadow:none;}
 .seiva-header .navbar .dropdown-item{white-space:normal;padding:15px 18px;font-size:14px;}
 #header-carousel .carousel-indicators{left:12px;width:18px;gap:12px;}
 #header-carousel .carousel-indicators [data-bs-target]{flex-basis:18px;width:18px;height:18px;min-width:18px;min-height:18px;}
}

/* V13 — padrão de títulos baseado em Cotações do agro. */
.section-title,.secao>h2{position:relative;padding-left:20px;font-family:Arial,Helvetica,sans-serif;color:#0a3314;font-size:clamp(1.8rem,3.2vw,2.8rem);font-weight:800!important;letter-spacing:-.04em;line-height:1.2;text-align:left;}
.section-title::before,.secao>h2::before{position:absolute;content:"";left:0;top:6px;bottom:5px;width:5px;height:auto;background:#e6b81f;}
.section-title::after,.secao>h2::after{content:none;display:none;}
.secao>h2{font-size:clamp(1.3rem,2.2vw,1.9rem);}
.seiva-titulo-invertido{color:#fff!important;}
/* Títulos sobre fotos: mesma família e negrito, mantendo contraste e escala. */
#header-carousel .carousel-caption h1{position:relative;font-family:Arial,Helvetica,sans-serif;font-weight:800!important;letter-spacing:-.04em;padding-left:20px;}
#header-carousel .carousel-caption h1::before{position:absolute;content:"";left:0;top:.12em;bottom:.12em;width:5px;background:#e6b81f;}
.portfolio-text h4{font-family:Arial,Helvetica,sans-serif;font-weight:800!important;letter-spacing:-.025em;}
/* Rodapé: mesma identidade com tamanho proporcional e texto claro. */
.container-fluid.bg-dark h4,.container-fluid.bg-dark h5{position:relative;padding-left:14px;font-family:Arial,Helvetica,sans-serif;font-weight:800!important;letter-spacing:-.025em;color:#fff!important;}
.container-fluid.bg-dark h4::before,.container-fluid.bg-dark h5::before{position:absolute;content:"";left:0;top:3px;bottom:3px;width:3px;background:#e6b81f;}
@media(max-width:575.98px){.section-title{font-size:1.85rem;padding-left:20px;}.section-title::before{width:5px;}.secao>h2{font-size:1.35rem;}}
