/*****************************/

#home {
  background-color: var(--main-empresa);
  background-position: bottom center;
  width: 100%;
  height: 1200px;
}

#home .box{
  display: flex;
  justify-content: center;
  align-items: end;
  margin-top: -200px;
}

#home h1{
  font-family: 'Aquarium';
  font-size: 54px;
  margin-bottom: 10px;
  color: var(--main-white);
}

#home h2{
  color: var(--main-white);
  font-size: 42px;
  font-weight: bold;
}

@media(max-width: 767px){
  #home h1{
    font-size: 42px;
  }

  #home h2{
    font-size: 34px;
  }
}

/*****************************/
#sobre{
  padding-top: 30px;
  background-color: var(--main-empresa);
  padding-bottom: 150px;
  border-bottom-left-radius: 30%;
  border-bottom-right-radius: 30%;
  -moz-border-bottom-left-radius: 30%;
  -moz-border-bottom-right-radius: 30%;
  -webkit-border-bottom-left-radius: 30%;
  -webkit-border-bottom-right-radius: 30%;
}

#sobre .faixa{
  background-color: var(--main-azul);
  height: 3px;
  width: 100px;
}

#sobre p{
  font-size: 21px;
  color: var(--main-white);
}

@media(max-width: 767px){
  #sobre{
    padding-bottom: 70px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    -moz-border-bottom-left-radius: 20px;
    -moz-border-bottom-right-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -webkit-border-bottom-right-radius: 20px;
  }
}
/*****************************************/

#fundador h1{
  font-size: 54px;
  color: var(--main-empresa);
  display: flex;
  align-items: center; /* Centraliza a linha verticalmente com o texto */
  text-align: center;
}

#fundador h1 span{
  font-size: 62px;
  font-family: 'Aquarium';
  color: var(--main-azul);
  margin-left: 10px;
}

#fundador h1::before,
#fundador h1::after {
  content: "";
  flex: 1; /* Faz a linha ocupar todo o espaço disponível */
  height: 1px; /* Espessura da linha */
  background: rgba(0, 0, 0, 0.3); /* Cor da linha com transparência */
}

/* Espaçamento entre as linhas e o texto */
#fundador h1::before {
  margin-right: 20px;
}

#fundador h1::after {
  margin-left: 20px;
}

#fundador img{
  max-width: 100%;
  border-radius: 30px;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
}

#fundador .btn{
  padding-left: 30px;
  padding-right: 30px;
}

@media(max-width: 767px){
  #fundador h1{
    font-size: 28px;    
  }

  #fundador h1 span{
    font-size: 34px;
  }
}

/********************************************/
#unidades{
  background-color: #d8d8d8;
  padding-top: 40px;
  padding-bottom: 40px;
}

#unidades h1{
  font-size: 54px;
  color: var(--main-empresa);
  display: flex;
  align-items: center; /* Centraliza a linha verticalmente com o texto */
  text-align: center;
}

#unidades h1 span{
  font-size: 62px;
  font-family: 'Aquarium';
  color: var(--main-azul);
  margin-left: 10px;
}

#unidades h1::before,
#unidades h1::after {
  content: "";
  flex: 1; /* Faz a linha ocupar todo o espaço disponível */
  height: 1px; /* Espessura da linha */
  background: rgba(0, 0, 0, 0.3); /* Cor da linha com transparência */
}

/* Espaçamento entre as linhas e o texto */
#unidades h1::before {
  margin-right: 20px;
}

#unidades h1::after {
  margin-left: 20px;
}

#unidades .btn-ano {
  background: #e0e0e0;
  border: none;
  border-radius: 20px;
  padding: 5px 25px;
  color: var(--main-empresa);
  font-weight: bold;
  transition: 0.3s;
  margin-left: 5px;
  margin-right: 5px;
}

#unidades .btn-ano.active {
  background: #002d5b; /* Azul escuro do seu exemplo */
  color: var(--main-white);
}

#unidades .card-historia {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 20px;
  margin: 10px; /* Espaço entre os slides */
  min-height: 350px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

#unidades .ano-label {
  font-size: 24px;
  color: #ccc;
  font-weight: bold;
  display: block;  
}

#unidades .card-historia h4 {
    color: #002d5b;
    font-size: 16px;
    margin-top: 15px;
}

#unidades .faixa-ano{
  background-color: var(--main-empresa);
  height: 3px;
  width: 40px;
  margin-bottom: 10px;
}

.slider-controls-historia {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-controls-historia button {
  background-color: var(--main-azul);
  color: var(--main-white);
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 5px; /* Quadradinho arredondado igual à imagem */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
}

.slider-controls-historia button i{
  color: var(--main-white);
}

.slider-controls-historia button:hover {
  background-color: var(--main-empresa);
  color: #fff;
}

@media(max-width: 767px){
  #unidades h1{
    font-size: 28px;    
  }

  #unidades h1 span{
    font-size: 34px;
  }
  #unidades .btn-ano {
    width: 40%;
    margin-bottom: 10px;
  }
}

/********************************************/

.elementos{
  background-position: center center;
  background-color: var(--main-white);
  width: 100%;
  height: 200px;
}

/********************************************/