@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Gerais #F2A20C*/
:root {
    --color01: #A52203;
    --color02: #F27405;
    --color03: #0D0D0D;
    --color04: #F2D022;
    --color05: #F29F05;

    --font-default: "Noto Sans";
}

section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 800;
    color: var(--color02);
}

.content-img {
    max-width: 450px;
    width: 100%;
    height: auto; /* mantém a proporção da imagem */
    margin: 0 auto;
    display: block; /* garante centralização */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Cards de Produtos e Conteúdos */
.card {
    display: block;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    padding-bottom: 10px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card h3 {
    margin: 10px 0;
    color: var(--color02);
    font-size: 1.1em;
}

.card h3:hover {
    color: var(--color01);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

/* LISTAS */
ul
{
    max-width: 85%;
    justify-content: center;
    list-style-position: inside;
    padding-left: 0;
    margin: 0 auto;
}

li
{
    margin-bottom: 10px;
    text-align: left;
}

ol
{
    max-width: 85%;
    justify-content: center;
    list-style-position: inside;
    padding-left: 0;
    margin: 0 auto;
}

.tamanho-ul[data-size="75%"] { max-width: 75%; }
.tamanho-ul[data-size="70%"] { max-width: 70%; }
.tamanho-ul[data-size="65%"] { max-width: 65%; }
.tamanho-ul[data-size="60%"] { max-width: 60%; }
.tamanho-ul[data-size="55%"] { max-width: 55%; }
.tamanho-ul[data-size="50%"] { max-width: 50%; }
.tamanho-ul[data-size="45%"] { max-width: 45%; }
.tamanho-ul[data-size="40%"] { max-width: 40%; }
.tamanho-ul[data-size="35%"] { max-width: 35%; }
.tamanho-ul[data-size="30%"] { max-width: 30%; }
.tamanho-ul[data-size="25%"] { max-width: 25%; }
.tamanho-ul[data-size="20%"] { max-width: 20%; }

.produto-ul {
    max-width: 450px;
    justify-content: center;
    list-style-position: inside;
    padding-left: 0;
    margin: 0 auto;
}

/* IMAGENS */
.images-inline
{
    display: flex;
    justify-content: center; /* Centraliza no container */
    align-items: center; /* Alinha verticalmente */
    flex-wrap: wrap; /* Permite quebrar em telas pequenas */
    max-width: 840px; /* mantém responsivo */
    margin: 0 auto; /* centraliza o container */
}

.images-inline img
{
    max-width: 100%;
    width: 400px; /* ou qualquer tamanho fixo */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* BARRA DE PESQUISA DE CONTEÚDOS */
.search-box {
  position: relative;
  max-width: 400px;
  margin: auto;
}

#searchInput {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #ccc;
}

.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
}

.suggestions div {
  padding: 10px;
  cursor: pointer;
}

.suggestions div:hover {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .tamanho-ul[data-size="75%"],
    .tamanho-ul[data-size="70%"],
    .tamanho-ul[data-size="65%"],
    .tamanho-ul[data-size="60%"],
    .tamanho-ul[data-size="55%"],
    .tamanho-ul[data-size="50%"],
    .tamanho-ul[data-size="45%"],
    .tamanho-ul[data-size="40%"],
    .tamanho-ul[data-size="35%"],
    .tamanho-ul[data-size="30%"],
    .tamanho-ul[data-size="25%"],
    .tamanho-ul[data-size="20%"] {
        max-width: 85%;
  }
}

/* ============================= */
/* SUMÁRIO (TOC) */
/* ============================= */
.toc-box {
    background: rgba(242, 159, 5, 0.12); /* var(--color05) suave */
    padding: 18px;
    border-radius: 16px;
    margin: 20px auto;
    border: 2px solid rgba(165, 34, 3, 0.35); /* var(--color01) suave */
    max-width: 750px;
}

.toc-box p {
    margin: 0 0 10px 0;
    font-weight: 800;
    font-size: 16px;
    color: var(--color01);
    text-align: center;
}

.toc-box ul {
    margin: 0;
    padding-left: 18px;
}

.toc-box li {
    margin: 7px 0;
}

.toc-box a {
    color: var(--color03);
    text-decoration: none;
    font-weight: 700;
}

.toc-box a:hover {
    color: var(--color01);
    text-decoration: underline;
}


/* ============================= */
/* CARD DO PRODUTO + BOTÃO CTA */
/* ============================= */
.product-box {
    background: rgba(242, 208, 34, 0.20); /* var(--color04) suave */
    border: 2px solid rgba(242, 116, 5, 0.55); /* var(--color02) */
    padding: 20px;
    border-radius: 18px;
    margin: 25px auto;
    max-width: 750px;
    text-align: center;
}

.product-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 900;
    color: var(--color01);
    text-shadow: -1px 1px 0px rgba(0,0,0,0.35);
}

.product-box p {
    margin: 0;
    margin-bottom: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: var(--color03);
}


/* ============================= */
/* BOTÃO PRINCIPAL (CTA) */
/* ============================= */
.cta-btn {
    display: block; /* isso garante responsividade real */
    width: fit-content;
    max-width: 100%;
    margin: 12px auto 12px auto;

    background: var(--color01);
    color: white;

    padding: 14px 18px;
    border-radius: 14px;

    font-weight: 900;
    font-size: 16px;

    text-decoration: none;
    text-align: center;

    box-shadow: -3px 3px 0px black;
    border: 2px solid rgba(0,0,0,0.7);

    transition: 0.2s ease;
}

.cta-btn:hover {
    background: var(--color02);
    transform: scale(1.02);
}

.cta-btn:active {
    transform: scale(0.97);
}


/* ============================= */
/* TEXTO PEQUENO DE AVISO */
/* ============================= */
.small-note {
    font-size: 13px;
    opacity: 0.6;
    color: var(--color03);
    font-weight: 600;
    margin-top: 12px;
}


/* ============================= */
/* RESPONSIVO (MOBILE) */
/* ============================= */
@media (max-width: 600px) {

    .toc-box {
        padding: 14px;
        border-radius: 14px;
        max-width: 95%;
    }

    .product-box {
        padding: 16px;
        border-radius: 16px;
        max-width: 95%;
    }

    .product-box h3 {
        font-size: 18px;
    }

    .cta-btn {
        width: 100%; /* agora sim ele ocupa tudo */
        padding: 14px;
        font-size: 16px;
        border-radius: 14px;
        box-sizing: border-box;
    }
}