@font-face {
  font-family: 'Hamson FY';
  src: url('../fonts/HamsonFY-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Hamson FY', 'Segoe UI', sans-serif !important; 
}

/* Header da Landing Page */
.header-landing {
    background: linear-gradient(90deg, #00c853, #40c4ff);
    padding: 10px 0;
    color: white;
    z-index: 1000;
    position: relative;
    border-bottom: 3px solid #fff; 
}

.header-landing h1,{
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.header-landing .btn {
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 30px;
}


.header-landing a {
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s;
}

.header-landing nav a:hover {
    color: #ffe082;
}


.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M5 10h30M5 20h30M5 30h30'/%3e%3c/svg%3e");
    width: 40px;
    height: 40px;
    color: white;
}


/* Seção do Slide */
.carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
}

/* Seção do Como Funciona */
#como-funciona i {
    background: #e0f7fa;
    border-radius: 50%;
    padding: 15px;
    display: inline-block;
}
#como-funciona h2,
#como-funciona h5,
#como-funciona p {
    font-family: 'Hamson FY', 'Segoe UI', sans-serif;
}

#destaques h4 {
    color: #ff6f00;
    font-weight: bold;
    font-family: 'Hamson FY', 'Segoe UI', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

#destaques p {
    font-family: 'Hamson FY', 'Segoe UI', sans-serif;
    color: #444;
    font-size: 1rem;
    line-height: 1.6;
}

#destaques img {
    max-height: 280px;
    border-radius: 15px;
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.15);
    border: 4px solid #fce4ec; /* rosa claro */
    padding: 4px;
    background-color: #fff;
    object-fit: cover;
    width: 100%;
}

#destaques .row {
    background-color: #fffde7; /* amarelo bem claro */
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

#pesquise-livro {
    background: linear-gradient(90deg, #00c853, #40c4ff);
    padding: 60px 20px;
}

#pesquise-livro h2 {
    color: #fff;
    font-family: 'Hamson FY', 'Segoe UI', sans-serif;
    font-size: 2rem;
    margin-bottom: 25px;
}

#pesquise-livro .form-control {
    border-radius: 30px;
    font-size: 1.2rem;
    padding: 12px 20px;

}

#pesquise-livro .btn-primary {
    background-color: #4f7d7c;
    font-weight: bold;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 1.1rem;
}

#pesquise-livro .btn-primary:hover {
    background-color: #1dc1bf;
}

#pesquise-livro .alert {
    border-radius: 12px;
    margin-top: 20px;
}


#historia-pronta {
    background: linear-gradient(120deg, #ffffff, #e8f5e9); /* tons de verde claro */
    padding: 60px 20px;
    text-align: center;
}

#historia-pronta h2 {
    color: #43a047;
    font-family: 'Hamson FY', 'Segoe UI', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

#historia-pronta p {
    font-size: 1.2rem;
    color: #555;
    font-style: italic;
}


#contato {
    background: #fffff0;
    padding: 60px 20px;
    color: #5d4037;
}

#contato h2 {
    color: #ef6c00;
    font-family: 'Hamson FY', 'Segoe UI', sans-serif;
    margin-bottom: 30px;
}

#contato .info-box {
    font-size: 1rem;
    margin-bottom: 20px;
}

#contato .info-box i {
    color: #ef6c00;
    margin-right: 10px;
}

#contato .info-box a {
    color: #5d4037;
    margin-right: 10px;
    text-decoration: none;
}

#contato .info-box a:hover {
    color: #ef6c00;
    margin-right: 10px;
    text-decoration: none;
}

#contato .form-control {
    border-radius: 10px;
    padding: 12px 15px;
}

#contato .btn {
    border-radius: 10px;
    padding: 10px 20px;
}

#contato .btn-outline-dark:hover {
    background-color: #5d4037;
    color: #fff;
}



@media (max-width: 768px) {
    #destaques .row {
        text-align: center;
    }
    #destaques img {
        margin-bottom: 20px;
    }
}


/* Responsividade Slide Caption */
@media (max-width: 768px) {
    .carousel-caption {
        font-size: 14px;
        padding: 10px;
    }
}

/* Limitação de largura */
.container-limit {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Botões padrão */
.btn-primary {
    background-color: #00c853;
    border-color: #00c853;
}

.btn-primary:hover {
    background-color: #009624;
    border-color: #007d20;
}

/* Footer */
.footer-landing {
    background-color: #f1f1f1;
    padding: 30px 0;
    text-align: center;
    color: #666;
    border-top: 1px solid #ddd;

}

@media (max-width: 480px) {
  body {
    background-color: #fff;
  }

  .card {
    padding: 1.5rem !important;
    border-radius: 12px;
  }

  .form-control {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  #contato .row {
    flex-direction: column-reverse !important;
  }

  #contato .col-md-5,
  #contato .col-md-7 {
    width: 100%;
    max-width: 100%;
  }

  #contato .mt-4.d-flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px !important;
  }

  #contato .info-box {
    text-align: center;
  }

  #contato img {
    display: block;
    margin: 0 auto 10px;
  }

  #contato h2.text-center {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  #contato form {
    margin-bottom: 30px;
  }
}
