body {
    margin: 0;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: #131010; */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader img {
    width: 120px;
    /* ajuste conforme necessário */
    height: auto;
    animation: spin 5.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* GERAL PARA TODAS AS SECTIONS */
section {
    margin-top: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* HOME SECTION */
.home-section .titulo_small {
    font-weight: 700;
}

.home-section {
    text-align: center;
    position: relative;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../assets/images/account.jpg') no-repeat center center;
    background-size: cover;
    color: white;
}

.home-section h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
}

.home-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    max-width: 900px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.home-section p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #fafafa;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}


/* SEGUNDO SECTION */
.section-services {
    background: rgba(28, 124, 235, 0.1);
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.section-services h2 {
    position: relative;
    margin-bottom: 40px;
    font-weight: 900;
}

/* GRID DE SERVIÇOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    background: transparent;
}

.service-card {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 36px;
    margin-bottom: 12px;
    color: #2d3e50;
}

/* Botão “Saiba mais” nos service-cards */
/* 1) Ícones dos service-cards menores */
.service-card i {
    font-size: 28px;
    /* antes era 36px */
    margin-bottom: 12px;
    color: #2d3e50;
}

/* 2) Botão “Ver mais” */
.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding: 0.6em 1.2em;
    background: #1c7ceb;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5em;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 3) Hover laranja e efeito de elevação */
.service-btn:hover {
    background: #FF6B00;
    transform: translateY(-7px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #1c2631;
}

.service-btn a:hover {
    color: #1c2631;
    text-decoration: none;
}

/* 4) Ícone dentro do botão menor */
.service-btn small i {
    font-size: 1.2rem;
    /* ajusta conforme necessário */
    vertical-align: middle;
    color: #ddd;
}

/*SEGUNDA SECTION*/
  /* Ajustes gerais */
  .why-choose-us .service-card {
    padding: 1.5rem;
    word-wrap: break-word;
  }
  .why-choose-us .service-card h3,
  .why-choose-us .service-card p {
    margin-bottom: .75rem;
  }

  /* Media queries para responsividade */
  @media (max-width: 992px) {
    .why-choose-us h1 {
      font-size: 2rem;
    }
    .why-choose-us .lead {
      font-size: 1rem;
    }
    .why-choose-us .service-card {
      padding: 1.25rem;
    }
    .why-choose-us .service-card h3 {
      font-size: 1.25rem;
    }
    .why-choose-us .service-card p {
      font-size: .95rem;
    }
  }

  @media (max-width: 767px) {
    .why-choose-us {
      padding: 2rem 0;
    }
    .why-choose-us h1 {
      font-size: 1.75rem;
      line-height: 1.2;
      margin-bottom: 1rem;
      word-break: break-word;
    }
    .why-choose-us .lead {
      font-size: .9rem;
      line-height: 1.4;
    }
    .why-choose-us .row {
      --bs-gutter-x: .5rem;
    }
    .why-choose-us .service-card {
      padding: 1rem;
      margin-bottom: 1rem;
    }
    .why-choose-us .service-card h3 {
      font-size: 1.1rem;
      line-height: 1.2;
    }
    .why-choose-us .service-card p {
      font-size: .9rem;
      line-height: 1.4;
    }
    .why-choose-us .service-card i {
      font-size: 1.5rem;
      margin-bottom: .5rem;
    }
  }

/* TERCEIRA SECTION */
.overlay-section {
    position: relative;
    width: 100%;
    height: 70vh;
    background: url('../assets/images/coins/coin_5.jpg') no-repeat center center;
    background-size: cover;
    margin-top: 60px;
    margin-bottom: 60px;
}

.overlay-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 115, 0, 0.7), rgba(0, 0, 14, 0.3));
    z-index: 0;
}

.overlay-section .content {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 2em;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

/* === CONTAINER PRINCIPAL === */
#container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* === LADO DA IMAGEM === */
.image-side {
  flex: 1 1 50%;
  background: url('../assets/images/Bground.jpg') no-repeat center center;
  background-size: cover;
  min-height: 60vh;
}

/* === LADO DO CONTEÚDO === */
.content-side {
  flex: 1 1 50%;
  padding: 2rem;
  color: #393c47;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === TIPOGRAFIA BASE === */
.content-side h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.content-side p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* === RESPONSIVIDADE === */
/* Médio (tablets) */
@media (max-width: 992px) {
  #container {
    max-width: 90%;
  }
  .image-side {
    flex: 1 1 100%;
    min-height: 40vh;
  }
  .content-side {
    flex: 1 1 100%;
    padding: 1.5rem;
  }
  .content-side h1 {
    font-size: 2rem;
  }
  .content-side p {
    font-size: 1rem;
  }
}

/* Pequeno (smartphones) */
@media (max-width: 576px) {
  .image-side {
    min-height: 30vh;
  }
  .content-side {
    padding: 1rem;
  }
  .content-side h1 {
    font-size: 1.75rem;
    text-align: center;
  }
  .content-side p {
    font-size: 0.95rem;
  }
}

/* SEPARADOR OPCIONAL ENTRE SECTIONS */
.section-separator {
    height: 3px;
    width: 100px;
    margin: 40px auto;
    background: #1c7ceb;
    border-radius: 2px;
}

/* O CSS DA PÁGINA DOS SERVIÇOS ESTÁ NELA MESMA */

/* FOOTER */
footer {
    background: linear-gradient(to right, #084285, #1c2631);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 60px;
    gap: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.footer-col {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    align-items: center;
    text-align: center;
}

.footer-logo img {
    max-width: 80px;
    margin-bottom: 10px;
}

.company-name {
    font-size: 1.1rem;
    font-weight: 600;
}

.company-name small {
    display: block;
    font-weight: 300;
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 4px;
}

.footer-text {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.4;
}

#about a {
    color: #ddd;
    text-decoration: none;
    margin: 4px 0;
    transition: color 0.3s ease;
}

.footer-nav a {
    color: #ddd;
    text-decoration: none;
    margin: 4px 0;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    /* color: #ffffff;
    text-decoration: underline; */
    color: #FF6B00;
    font-weight: 800;
}

#about a:hover {
    /* color: #ffffff; */
    text-decoration: underline;
    color: #FF6B00;
    font-weight: 800;
}

/*RESPONSIVIDADE*/

/* ===== RESPONSIVIDADE DO HEADER ===== */
@media (max-width: 768px) {

    /* mostrar hamburger */
    .nav-toggle-label {
        display: flex;
    }

    /* esconder menu inicialmente */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(28, 124, 235, 0.1);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease-in-out;
    }

    /* quando checkbox estiver marcado, exibe menu */
    .nav-toggle:checked~.nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked~.nav-toggle-label span::before {
        transform: rotate(45deg);
        translate: 5px 5px;
    }

    .nav-toggle:checked~.nav-toggle-label span::after {
        transform: rotate(-45deg);
        translate: 5px -5px;
    }

    .nav-toggle:checked~.nav-menu {
        max-height: 300px;
        /* altura suficiente para todos os itens */
    }
}

@media (max-width: 768px) {
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
    }

    .footer-col {
        flex: unset;
        width: 100%;
        max-width: 400px;
    }
}
