/* ========================================
   PÁGINA LIXO 
   ======================================== */

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: #ffffff !important;
    font-family: "Rawline";
    overflow-x: hidden;
    max-width: 100vw;
}

/* ========================================
   CONTAINER PRINCIPAL
   ======================================== */

.lixo {
    margin-top: 20px;
    padding: 0 15px;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

@media (min-width: 992px) {
    .lixo {
        column-gap: 3rem;
        display: flex;
        margin-top: 80px;
        padding: 0;
    }

    .lixo__col-left {
        padding-right: 4rem;
        width: 50%;
    }

    .lixo__col-right {
        border-left: 2px solid black;
        padding-left: 4rem;
        width: 50%;
    }
}

/* ========================================
    ELEMENTOS DE SEPARAÇÃO
   ======================================== */

.lixo__divider {
    width: 95%;
    border: 1px solid black;
    opacity: 1;
    margin: 50px 0;
}

/* ========================================
    LISTA RURAL
   ======================================== */

.lixo__rural-list {
    max-width: 100%;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .lixo__rural-list {
        max-width: 80%;
        margin: 50px 0;
    }
}

.lixo__rural-item {
    padding: 10px 0;
    border-bottom: 2px solid #99ff00;
}

.lixo__rural-item p {
    margin: 0;
}

.lixo__rural-item p:first-child {
    margin-bottom: 5px;
    font-weight: 700;
}

.lixo__rural-item:last-child {
    border-bottom: 0;
}

/* ========================================
   CARDS DE AÇÃO
   ======================================== */

.lixo__cards {
    display: flex;
    margin: 20px auto;
    gap: 15px;
}

@media (max-width: 768px) {
    .lixo__cards > div {
        width: 50%;
    }
}

/* ========================================
   6. BUSCA E SUGESTÕES
   ======================================== */

.lixo__search {
    position: relative;
    display: flex;
    align-items: center;
    border: 3px solid #99ff00;
    border-radius: 40px;
    height: 48px;
    padding-left: 60px;
    margin: 25px 0 30px 0;
    z-index: 10;
    background: white;
}

.lixo__search-bubble {
    position: absolute;
    left: 0;
    width: 44px;
    height: 44px;
    background: #99ff00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #99ff00;
}

.lixo__search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    font-style: italic;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .lixo__search-input {
        font-size: 18px;
    }
}

.lixo__search-input::placeholder {
    color: #9b9b9b;
}

.lixo__suggestions {
    background: #ececec;
    border-radius: 0 0 20px 20px;
    padding: 15px 18px;
    margin-top: -48px;
    padding-top: 30px;
    display: none;
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.lixo__suggestion-item {
    font-size: 16px;
    padding: 12px 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

@media (min-width: 768px) {
    .lixo__suggestion-item {
        font-size: 22px;
    }
}

.lixo__suggestion-item + .lixo__suggestion-item {
    margin-top: 6px;
}

.lixo__suggestion-item:hover {
    text-decoration: underline;
}

/* ========================================
    TIPOGRAFIA E TEXTOS
   ======================================== */

.lixo__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #333;
}

@media (min-width: 768px) {
    .lixo__title {
        font-size: 48px;
    }
}

.lixo__subtitle {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
    color: #444;
}

@media (max-width: 768px) {
    .lixo__subtitle {
        font-size: 22px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
}

.lixo__text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #444;
}

@media (min-width: 768px) {
    .lixo__text {
        font-size: 18px;
    }
}

/* ========================================
   IMAGEM HERO
   ======================================== */

.lixo__image-main {
    border-radius: 0 0 0 80px;
    overflow: hidden;
    background-color: #99ff00;
    margin-bottom: 35px;
}

@media (min-width: 768px) {
    .lixo__image-main {
        border-radius: 0 0 0 200px;
    }
}

.lixo__hero-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
}

@media (min-width: 768px) {
    .lixo__hero-img {
        height: 320px;
    }
}

/* ========================================
    RESULTADOS DA BUSCA
   ======================================== */

.lixo__result {
    margin: 25px 0 40px 0;
    max-width: 100%;
    display: none;
}

@media (min-width: 768px) {
    .lixo__result {
        max-width: 80%;
    }
}

.lixo__result-title {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #333;
}

@media (min-width: 768px) {
    .lixo__result-title {
        font-size: 40px;
    }
}

.lixo__result-desc {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #555;
}

@media (min-width: 768px) {
    .lixo__result-desc {
        font-size: 18px;
    }
}

.lixo__result-actions-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 30px 0;
}

@media (min-width: 768px) {
    .lixo__result-actions-title {
        font-size: 18px;
    }
}

.lixo__result-box {
    background: #fff;
    border: 2px solid #99ff00;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lixo__result-box-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

@media (min-width: 768px) {
    .lixo__result-box-title {
        font-size: 18px;
    }
}

/* ========================================
   1GRID DE CARDS DE RESÍDUOS
   ======================================== */

.lixo__res-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 25px 0 20px 0;
    max-width: 100%;
}

@media (min-width: 768px) {
    .lixo__res-grid {
        gap: 24px;
        margin: 28px 0 14px 0;
    }
}

/* ========================================
    SEÇÃO DE COLETA
   ======================================== */

.lixo__coleta {
    font-size: 16px;
    font-weight: 700;
    background-color: #eaeaea;
    padding: 18px;
    border-radius: 0 0 15px 15px;
    max-width: 100%;
    margin-bottom: 45px;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .lixo__coleta {
        font-size: 18px;
        padding: 20px;
        max-width: 80%;
        margin-bottom: 50px;
    }
}

/* ========================================
   GLOSSÁRIO
   ======================================== */

.lixo__glossary {
    background: #f5f5f5;
    padding: 40px 0;
    margin-top: 45px;
    margin-bottom: 50px;
    width: 100vw;
}

@media (min-width: 768px) {
    .lixo__glossary {
        background: #f5f5f5;
        padding: 40px 0;
        margin-bottom: 80px;
        margin-left: -180px;
        margin-right: 0;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .lixo__glossary {
        margin-left: -15px;
        padding-left: 15px;
    }
}

.lixo__glossary-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .lixo__glossary-container {
        padding: 0;
    }
}

.lixo__glossary-title {
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 8px;
    color: #333;
}

@media (max-width: 768px) {
    .lixo__glossary-title {
        font-size: 22px;
    }
}

.lixo__glossary-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 18px;
    font-style: italic;
}

@media (min-width: 768px) {
    .lixo__glossary-subtitle {
        font-size: 18px;
        text-align: left;
    }
}

.lixo__glossary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .lixo__glossary-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .lixo__glossary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

.lixo__glossary-col {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lixo__glossary-item {
    font-size: 16px;
    margin: 10px 0;
    display: block;
    width: 102%;
}

@media (min-width: 768px) {
    .lixo__glossary-item {
        font-size: 16px;
        margin: 10px 0;
        width: 102%;
    }
}

.lixo__glossary-highlight {
    margin-top: 30px;
    background: #99ff00;
    border-radius: 32px;
}

@media (min-width: 768px) {
    .lixo__glossary-highlight {
        margin-top: 30px;
        border-radius: 32px;
    }
}

.lixo__glossary-highlight-title {
    font-weight: 800;
    font-style: italic;
    font-size: 24px;
    padding: 20px;
    color: #333;
}

@media (min-width: 768px) {
    .lixo__glossary-highlight-title {
        font-size: 22px;
        padding: 20px;
        text-align: left;
    }
}

.lixo__glossary-highlight-inner {
    background: #fff;
    border: 2px solid #99ff00;
    border-radius: 32px;
    padding: 22px 26px;
    font-size: 16px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .lixo__glossary-highlight-inner {
        border-radius: 32px;
        padding: 22px 26px;
        font-size: 16px;
        line-height: 1.6;
    }
}

.lixo__glossary-link {
    color: inherit;
    text-decoration: none;
}

.lixo__glossary-link:hover {
    text-decoration: underline;
    cursor: pointer;
    color: inherit;
}

.lixo__glossary-link--active {
    font-weight: 700;
    font-style: italic;
}

/* ========================================
    CLASSES UTILITÁRIAS
   ======================================== */

.is-hidden {
    display: none !important;
}

.is-visible {
    display: block;
}

/* ========================================
   AJUSTES MOBILE
   ======================================== */

@media (max-width: 767px) {
    * {
        box-sizing: border-box !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    .container,
    .container-fluid {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .mobile-padding-fix {
        margin-top: -0.5rem !important;
    }

    .lixo__result-actions {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 20px 0;
        flex-wrap: nowrap;
    }

    .lixo__result-actions .card-lixo {
        width: calc(50% - 7.5px);
        margin: 0;
        min-height: 160px;
        flex-shrink: 0;
        max-width: calc(50% - 7.5px);
    }

    .lixo__col-left > div {
        margin-bottom: 35px;
    }

    .lixo__col-left > div:last-child {
        margin-bottom: 0;
    }

    .breadcrumb {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }
}

/* ========================================
   BOTÃO DE FEEDBACK
   ======================================== */

.lixo__forms-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 12px 32px;
    font-family: "Rawline", sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.lixo__forms-button:hover {
    background-color: #333333;
    color: #ffffff;
}

@media (max-width: 991px) {
    .lixo__forms-button {
        width: 100%;
        max-width: 300px;
    }
}
