:root {
  --warning:#E57C0B;
}
@media (max-width: 1229px) {
  header {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}
header #hamburguer {
  position: absolute;
  top: 14px;
  right: 15px;
}
@media (max-width: 1229px) {
  .menu {
    margin-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
  }
}
.menu > li > a {
  border-top: 3px solid white;
  color: #333;
}
@media (max-width: 1229px) {
  .menu > li > a {
    margin-top: 15px;
  }
}
@media (min-width: 1230px) {
  .menu > li > a:hover {
    border-top-color: var(--warning);
    color: var(--warning);
  }
}
.menu > li > ul {
  top: 75px;
}
@media (min-width: 1230px) {
  .menu > li:hover > ul {
    display: block;
  }
}
.menu > li > ul a {
  color: #333;
  text-decoration: none;
  padding: 15px;
  background-color: white;
}
@media(max-width: 1229px){
  .menu > li > ul a {
    padding: 7.5px;
  }
}
.menu > li > ul a:hover {
  background-color: var(--warning);
  color: white;
}
@media(max-width: 1229px){
  #menu-categorias {
    margin-top: 10px;
  }
}
.card {
  border-top-left-radius: 25px;
  border-bottom-right-radius: 25px;
}
.card:hover {
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 25px;
  border-bottom-left-radius: 25px;
}

.hero {
  background-image: url("../img/medriobanner.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  }
.hero form {
  background-color: var(--warning);
  width: 350px;
}
@media (max-width: 1229px) {
  .hero form {
    margin: 0 auto;
    margin-top: 50px;
    width: 100%;
  }
}
.hero h4 {
  letter-spacing: 1px;
}
.hero p {
  line-height: 25px;
}
.hero h2 {
  line-height: 60px;
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}
.hero h3 {
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}
.servicos .d-flex > div {
  width: 33.33%;
}
@media (max-width: 1229px) {
  .servicos .container > div:not(:last-child) {
    margin-bottom: 50px;
  }
}

.servicos h2 {
  color: var(--dark);
}
.servicos .capa {
  background-size: cover;       /* cobre toda a área */
  background-position: center;  /* centraliza a imagem */
  height: 200px;                /* ou qualquer altura desejada */
  border-radius: 0.5rem;        /* opcional: deixa bordas arredondadas */
  /* background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-top-left-radius: 30px;
  border-bottom-right-radius: 30px; */
  transition: all 0.3s ease; /* deixa suave */
  border-radius: 12px;       /* estado inicial */
  overflow: hidden;
}
.servicos .capa:hover {
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
  transform: scale(1.05) rotate(-1deg); /* dá vida com zoom + leve inclinação */
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); /* sombra elegante */
}
.servicos p {
  line-height: 22.5px;
  color: var(--dark);
}
.servicos a {
  color: var(--warning);
}
.servicos a span {
  background-color: var(--success);
  padding: 6px 10px;
}
.servicos a:hover span {
  border-radius: 50%;
  background-color: var(--warning);
}
.servicos .row >div:not(:nth-child(n+4)){
  margin-bottom: 50px;
}
.sobre {
  background-color: var(--success);
}
.sobre p {
  line-height: 22.5px;
}
.sobre .d-flex > div:last-child {
  padding-left: 50px;
}
.sobre .d-flex h3 {
  margin-bottom: 5px;
}

/* Produtos */

.produtos h2 {
  margin-bottom: 100px;
  color: rgba(0, 0, 0, 0.5);
}
.produtos .imagem img {

  display: flex;
  justify-content: center; /* centraliza horizontal */
  align-items: center;     /* centraliza vertical */
  overflow: hidden;        /* evita estourar o container */
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

 /* max-width: 150px;   
  max-height: 150px;  
  width: auto;        
  height: auto;       
  object-fit: contain; 
  display: flex;
  justify-content: center; 
  align-items: center;      */
  
}  

.produtos h3 {

  margin-top: 15px;
  color: var(--dark);
}
.produtos p {
  margin-top: 15px;
  color: rgba(0, 0, 0, 0.5);
}
@media (max-width: 1229px) {
  .produtos .container > div:not(:last-child) {
    margin-bottom: 30px;
  }
}
.produtos .d-lg-flex > div {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 23%;
}

.produtos2 {
  background-color: rgba(0, 0, 0, 0.05);
}
@media (min-width: 1230px) {
  .numeros .container > div:not(:last-child)::after {
    content: "";
    width: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 10%;
    right: 0;
    bottom: 10%;
  }
}
@media (max-width: 1229px) {
  .numeros .container > div:not(:last-child) {
    margin-bottom: 30px;
  }
}
.galeria h2 {
  color: var(--dark);
}
.galeria .imagem {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 300px; /* ou o valor que desejar */
  width: 400px;    /* se quiser que ocupe a largura do container */
  /* background-position: center center;
  background-repeat: no-repeat;
  background-size: cover; */
  transition: transform 0.8s ease, box-shadow 0.8s ease;
}
.galeria .imagem:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1229px) {
  .planos .container {
    overflow-x: scroll;
  }
}
.planos table {
  border-collapse: collapse;
}
.planos td {
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px;
}
.planos table tr:first-child td:first-child {
  border-top: none;
  border-left: none;
}
.planos table tr:last-child td:first-child {
  border-left: none;
  border-bottom: none;
}
.planos table tr:first-child td:nth-child(3) {
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
}
.planos table tr:nth-child(2) td:nth-child(n + 2) {
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
}
.planos table tr:nth-child(odd) td {
  background-color: rgba(0, 0, 0, 0.05);
}
.planos table tr:first-child td {
  background-color: white;
}
.marcas-atendidas h2 {
  color: var(--dark);
}
.marcas-atendidas table {
  border-collapse: collapse;
}
.marcas-atendidas td {
  height: 150px;
  border: 1px solid rgba(0, 0, 0, 0.125);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 10px;
  transition: all 0.6s ease; /* animação suave */
  transform: scale(1);       /* estado inicial */
  cursor: pointer;
  overflow: hidden;
}
.marcas-atendidas tr:first-child td {
  border-top: none;
}
.marcas-atendidas tr:last-child td {
  border-bottom: none;
}
.marcas-atendidas tr td:first-child {
  border-left: none;
}
.marcas-atendidas tr td:last-child {
  border-right: none;
}

/* efeito hover */
.marcas-atendidas td:hover {
 transform: scale(1.15) rotate(-1deg); /* aumenta e dá leve inclinação */
  opacity: 1;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  /* border-radius: 15px; */
  filter: grayscale(0%); /* volta a cor */
  
}


.depoimentos {
  background-color: var(--success);
}
@media (max-width: 1229px) {
  .depoimentos iframe {
    width: 100%;
  }
}
@media (max-width: 1229px) {
  .depoimentos .container > iframe:not(:last-child) {
    margin-bottom: 30px;
  }
}

.blog .capa {
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 200px;
  border-top-left-radius: 25px;
  border-bottom-right-radius: 25px;
}
.blog h3 {
  color: var(--dark);
}
.blog p {
  line-height: 22.5px;
}
.blog a {
  color: var(--warning);
  /* comentario */
}
@media (max-width: 1229px) {
  .blog .container > div:not(:last-child) {
    margin-bottom: 30px;
  }
}
.dados {
  background-color: var(--success);
}


.mapa div {

  position: absolute;
  top: 10px;
  left: 10px;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 290px; 
  border-radius: 0;
}

.mapa iframe {
  height: 500px;
}


.call-to-action {
  background-color: var(--success);
}
.call-to-action a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 2px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  padding: 15px 90px;
  border-radius: 10px;
}
.call-to-action a:hover {
  background-color: white;
  color: var(--success);
}
.formulario h2 {
  color: var(--dark);
}

footer {
  background-color: var(--dark);
}
footer .container:first-child ul > li:not(:last-child) {
  margin-bottom: 5px;
}
footer a {
  text-decoration: none;
  color: white;
}
footer a:hover {
  color: var(--warning);
}
footer .d-flex:first-child > div {
  width: 25%;
}
footer input {
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  box-sizing: border-box;
}
footer button {
  padding: 10px 30px;
  margin-top: 15px;
  background-color: var(--success);
  color: white;
  border-radius: 5px;
  border: 2px solid var(--success);
}


/* Colaboradores */

.colaboradores h2 {
  margin-bottom: 100px;
  color: rgba(0, 0, 0, 0.5);
  margin-top: 15px;
  color: var(--dark);

}
.colaboradores .imagem img {
  height: 250px; 
  max-width: 100%;
  transition: none; /*impede animações de crescimento*/
  object-fit: contain;
}

.colaboradores p {
  margin-top: 15px;
  color: rgba(0, 0, 0, 0.5);
}
@media (max-width: 1229px) {
  .colaboradores .container > div:not(:last-child) {
    margin-bottom: 30px;
  }
}
.colaboradores .d-lg-flex >div {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 10%;
}
.colaboradores {
  background-color: rgba(0, 0, 0, 0.05);
  flex: 1 0 calc(10% - 12px); /* 4 por linha com gap */
  box-sizing: border-box;
  text-align: center;
}

/* BOTAO PRA VOLTAR A PAGINA INICIAL */

/* Centralizar só em telas menores que 1229px */
@media (max-width: 1229px) {
  #btn-back-to-top {
    left: auto !important;
    right: 15px !important;
    transform: translateX(-50%);
  }
}
 
.back-to-top {
  position: fixed;
  display: none;
  background: #ff0000;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition:background 5.0s;
  z-index: 11;
}

#btn-back-to-top:hover {
  background-color: darkorange; /* laranja mais escuro no hover */
}
 
.back-to-top i {
  padding-top: 12px;
  color: #fff;
  font-size: 20px;
  line-height: 50px; /* centraliza o ícone */
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
}

.produto-thumbnail h3 {
 min-height: 48px;
 margin-bottom: 0;
}
.produto-thumbnail p {
  margin-bottom: 0;
}
#corpo-carrinho img{
  max-width: 70px;
  max-height: 70px;
}


.carousel-indicators [data-bs-target] {
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid white;
}

.text-warning {
  color: var(--warning) !important;
}
a.text-white{
  color: white !important;
}
.btn-warning{
  background-color: var(--warning);
  color: white;
  border-color: var(--warning);
}
.bg-warning{
  background-color: var(--warning) !important;
}
.shadow {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5) !important;
}

