/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400; /* Regular */
    line-height: 1.6;
    color: #333333;
    background-color: #F5F5F5;
}

.italic {
    font-style: italic;
}

.content {
    padding-top: 0px; /* Espaço para top bar (50px) + navbar (60px) */
}

.bg-laranja {
    background-color: #ff6b00;
}

.color-laranja {
    color: #ff6b00;
}
/* Top Bar */
.top-bar {
    background-color: #FFFFFF;
    height: 90px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.top-bar .container {
    height: 100%;
}

.top-bar-logo {
    width: 100px;
    height: auto;
    margin-top: 10px;
}

.contact-info span {
    font-size: 16px;
    font-weight: 600;
    font-style: bold;
    color: #707070;
    margin-right: 100px;
}

.contact-info i {
    color: #00672c;
    margin-right: 0px;
}

/* Navbar */
.navbar {
    background-color: #00672c;
    height: 60px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 9;
}

.navbar-logo {
    width: 120px; /* For offcanvas */
    height: auto;
}

.navbar-nav .nav-link {
    color: #FFFFFF !important;
    fill: #fff;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.5s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #ff6b00;
    border-radius: 1%;       /* torna o fundo circular */
    transition: background-color 0.5s ease;
}

/* Campo de busca (Navbar) */
.search-input {
    border: 1px solid #FFFFFF;
    border-radius: 20px 0 0 20px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 400;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #00672c;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
    outline: none;
}

.btn-search {
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-left: none;
    border-radius: 0 20px 20px 0;
    color: #00672c;
    padding: 8px 12px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-search:hover {
    background-color: #00672c;
    color: #FFFFFF;
}

/* Offcanvas */
.offcanvas {
    background-color: #00672c;
}

.offcanvas .nav-link {
    color: #FFFFFF !important;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.offcanvas .nav-link:hover {
    color: #ff6b00;
    
}

/* Hero Section (Homepage) */
.hero-section {
    height: 50vh;
    background: url('../img/parallax-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Ensure hero-section is below top bar and navbar */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay para contraste */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 30px;
    max-width: 700px;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 40px;
    font-weight: 600; /* Semi-bold */
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.search-form {
    max-width: 400px;
    margin: 0 auto;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-section .search-input {
    border: none;
    border-radius: 30px 0 0 30px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 400;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section .search-input:focus {
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
    transform: scale(1.02);
}

.hero-section .btn-search {
    border-radius: 0 30px 30px 0;
    background-color: #00672c;
    color: #FFFFFF;
    padding: 10px 15px;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-section .btn-search:hover {
    background-color: #00672c;
    transform: scale(1.05);
}

/* inicio history e carrossel */
/* History Section (Carousel) */
.history-section {
    background-color: #F5F5F5;
    padding: 50px 0;
}

.history-title {
    font-size: 32px;
    font-weight: 600; /* Semi-bold */
    color: #333333;
    text-align: center;
    margin-bottom: 40px;
}

.history-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2; /* Ensure slide images are visible */
}

.history-slide-1 {
    background-image: url('../img/history-slide-1.jpg');
}

.history-slide-2 {
    background-image: url('../img/history-slide-2.png');
}

.history-slide-3 {
    background-image: url('../img/history-slide-3.png');
}

.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3; /* Overlay above slide image */
}

.history-content {
    text-align: center;
    color: #FFFFFF;
    padding: 20px;
    max-width: 700px;
    z-index: 4; /* Content above overlay */
}

.history-content h3 {
    font-size: 36px;
    font-weight: 600; /* Semi-bold */
    margin-bottom: 15px;
}

.history-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 5; /* Controls above content */
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 30px;
    color: #FFFFFF;
}

.carousel-control-prev-icon::before {
    content: '\f053'; /* Font Awesome left arrow */
}

.carousel-control-next-icon::before {
    content: '\f054'; /* Font Awesome right arrow */
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    color: #4CAF50;
}

/* fim history e carrossel */

.icon-box {
    padding: 20px;
    transition: transform 0.3s;
    color: white;
    font-size: 1.2rem;
  }
  
  .icon-box:hover {
    transform: scale(1.1);
    color: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.055); /* Fundo semitransparente para destacar o desfoque */
    backdrop-filter: blur(0.3px); /* Aplica o desfoque ao fundo */
    /* padding: 20px; */
    border-radius: 30px; /* Opcional: cantos arredondados */
  }

/* card das categorias */
.efeito-card {
    /* background-color: #fff; */
    border-radius: 20px;
  }
  
  .efeito-card:hover {
    cursor: pointer;
    /* background-color: #818181; */
    /* border: 1px solid rgba(123,25,27,.2470588235); */
    box-shadow: 0 10px 30px rgba(131, 131, 131, 0.235);
    transition: transform 0.2s;
    transform: scale(1.05);
  }
  
  .overlay-text {
    position: absolute;
    bottom: 50px;
    width: 100%;
    background: rgba(0, 0, 0, 0.496); /* Fundo preto com transparência */
    color: #fff;
    text-align: center;
    padding: 10px 0;
  }
  /* titulo dentro dos cards */
  .item-name {
    margin: 0;
    font-size: 0.8rem;
  }
  
/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fonte-12-14 {
    font-size: 14px;
    font-weight: bold;
}

.fonte-10-12 {
    font-size: 12px;
}
/* Imagens fluidas */
img {
    max-width: 100%;
    height: auto;
}

/* Container geral */
.container {
    max-width: 1200px;
}

/* Footer */
.footer {
    color: #00672c;
    background-image: url('../img/cinza-1.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-top {
    padding: 30px 0;
}

.footer-top h5 {
    font-size: 20px;
    font-weight: 500; /* Semi-bold */
    margin-bottom: 20px;
}

.footer-top p, .footer-top li {
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    margin-bottom: 10px;
}

.footer-top ul.list-unstyled li i {
    margin-right: 10px;
    color: #ff6b00
}

.social2-icon {
    font-size: 25px;
    color: #ffffff;
    transition: color 0.3s ease;

    border-radius: 50%;       /* torna o fundo circular */
    width: 30px;
    height: 30px;
    text-align: center;
}

.social-icon:hover {
    color: #ff6b00;
}

.footer-top a {
    color: #424242;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-top a:hover {
    color: #ff6b00;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 25px;
    color: #504c4c;
    background-color: rgba(241, 240, 240, 0.694);
    transition: color 0.3s ease;

    border-radius: 20%;       /* torna o fundo circular */
    width: 30px;
    height: 25px;
    text-align: center;
    justify-content: center;  /* horizontal */
}

.social2-icon:hover {
    color: #ff6b00;
}


.footer-bottom {
    background-color: #ffffff;
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    font-weight: 400;
    color: #383535;
    margin: 0;
}


.elementor-slide-heading {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    text-align: center;
    margin: 0;
    animation: fadeInUp 0.6s ease-in-out;
}

.elementor-slide-heading b {
    font-weight: 700;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries para responsividade */

/* Mobile (até 576px) */
@media (max-width: 800px) {
    .content {
        padding-top: 0px; /* Ajuste para top bar e navbar empilhados */
    }

    .top-bar {
        height: auto;
        padding: 10px 0;
    }

    .top-bar-logo {
        width: 120px;
        margin: 0 auto;
    }

    .contact-social {
        flex-direction: column;
        align-items: center;
        margin-top: 10px;
    }

    .contact-info {
        flex-direction: column;
        text-align: center;
        margin-right: 0;
    }

    .contact-info span {
        font-size: 12px;
        margin: 5px 0;
    }

    .social-icons {
        justify-content: center;
        margin-top: 10px;
    }

    .social-icon {
        font-size: 14px;
        border-radius: 50%; 
        width: 30px;
        height: 30px;
        text-align: center;
    }

    .social2-icon {
        font-size: 30px;
        border-radius: 50%; 
        width: 45px;
        height: 45px;
        text-align: center;
        color: #ff6b00;
    }

    .navbar-logo {
        width: 100px;
    }

    .hero-section {
        height: 40vh; /* Ajuste para mobile */
        background-attachment: scroll; /* Desativa parallax em mobile */
    }

    .elementor-slide-heading {
        font-size: 24px;
        font-weight: 500;
        line-height: 1.2;
        color: #ffffff;
        font-family: "Roboto", sans-serif;
        text-align: center;
        margin: 0;
        animation: fadeInUp 0.6s ease-in-out;
    }
    
    .elementor-slide-heading b {
        font-weight: 600;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-content {
        padding: 20px;
    }

    .search-form {
        max-width: 90%;
    }

    .hero-section .search-input {
        font-size: 12px;
        padding: 8px 12px;
    }

    .hero-section .btn-search {
        padding: 8px 12px;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-top {
        padding: 15px 0;
    }

    .footer-top h5 {
        font-size: 16px;
        text-align: center;
    }

    .footer-top p, .footer-top li {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* history carrossel */
    .history-section {
        padding: 30px 0;
    }

    .history-title {
        font-size: 24px;
    }

    .history-slide {
        height: 400px;
    }

    .history-content h3 {
        font-size: 24px;
    }

    .history-content p {
        font-size: 14px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        font-size: 20px;
    }

    .efeito-card {
        transform: scale(0.85); /* Reduz o tamanho do card em 15% */
    }

    .efeito-card:hover {
        transform: scale(0.9); /* Ajusta o hover para manter proporção */
    }

    .card1 {
        max-width: 500px; /* Limita a largura do card */
        margin: 0 auto; /* Centraliza o card */
    }

    .card-img-top {
        height: 150px; /* Reduz a altura da imagem */
        object-fit: cover; /* Garante que a imagem preencha sem distorção */
    }

    .overlay-text {
        bottom: 30px; /* Ajusta a posição do texto */
        padding: 8px 0; /* Reduz o padding */
    }

    .item-name {
        font-size: 0.8rem; /* Reduz o tamanho da fonte */
    }

    .fonte-12-14 {
        font-size: 12px;
        font-weight: bold;
    }
    
    .fonte-10-12 {
        font-size: 10px;
    }

    .icon-box {
        padding: 10px;
        transition: transform 0.3s;
        color: white;
        font-size: 0.8rem;
      }
      
}


/* Desktop (acima de 768px) */
@media (min-width: 768px) {
    .hero-section {
        background-attachment: fixed;
    }

    .navbar-nav .nav-link {
        padding: 10px 20px;
    }
}

/* Desktop largo (acima de 992px) */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        justify-content: flex-end;
    }

    .search-input {
        width: 200px;
    }
}

.download-btn {
    display: block;
    margin: 1rem auto; /* Centers the button horizontally and adds vertical spacing */
    padding: 0.75rem 1.5rem; /* Comfortable padding */
    background-color: #00672c; /* Bootstrap primary blue */
    color: #fff; /* White text */
    text-align: center;
    text-decoration: none; /* Removes underline from <a> */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Matches your component */
    font-size: 1rem;
    font-weight: 500;
    border: none; /* No border */
    border-radius: 8px; /* Rounded corners like your pdf-container */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: background-color 0.2s ease, transform 0.1s ease; /* Smooth hover effects */
    max-width: 200px; /* Prevents the button from being too wide */
}

.download-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
    color: #fff;
    text-decoration: none;
}

.download-btn:active {
    transform: translateY(0); /* Reset lift on click */
    background-color: #004085; /* Even darker blue on click */
}