
/* ===== Produtos: linhas TOCTUS ===== */
.produtos-sec { position: relative; background: var(--creme-2); overflow: hidden; overflow: clip; }
.produtos-sec::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 169, 55, .16), transparent 65%); pointer-events: none; }
.produtos-sec .secao-cabeca h2 em { font-style: italic; color: var(--verde); }

/* Abas das linhas */
.linhas-abas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 auto 34px; max-width: 980px; }
.aba { --cor: var(--verde); position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 18px 15px 40px; border-radius: 18px; border: 1.5px solid rgba(18, 61, 34, .1); background: var(--branco); color: var(--verde-escuro); font-family: var(--titulo); font-size: 22px; font-weight: 700; line-height: 1.1; text-align: left; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s, background .25s; }
.aba small { font-family: var(--corpo); font-size: 12.5px; font-weight: 600; color: var(--texto-suave); line-height: 1.35; }
.aba-ponto { position: absolute; left: 17px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--cor); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cor) 18%, transparent); }
.aba:hover { transform: translateY(-2px); border-color: var(--cor); }
.aba[aria-selected="true"] { background: var(--cor); border-color: var(--cor); color: #fff; box-shadow: 0 16px 30px -16px var(--cor); }
.aba[aria-selected="true"] small { color: rgba(255, 255, 255, .85); }
.aba[aria-selected="true"] .aba-ponto { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.aba:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; }

/* Painel de cada linha */
.linha { position: relative; border-radius: 34px; background: var(--cor-suave); padding: 34px; margin-bottom: 26px; }
.linha[hidden] { display: none; }
.linha.entrando { animation: linhaEntra .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes linhaEntra { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.linha-capa { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; margin-bottom: 34px; }
.linha-capa-foto { position: relative; aspect-ratio: 5 / 4; border-radius: 200px 200px 26px 26px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 24px 44px -26px var(--cor-escura); }
.linha-capa-foto::after { content: ""; position: absolute; inset: 10px; border-radius: 190px 190px 18px 18px; border: 1.5px solid rgba(255, 255, 255, .7); pointer-events: none; }
.linha-capa-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.linha:hover .linha-capa-foto img { transform: scale(1.03); }
.linha-capa-texto { position: relative; }
.linha-num { position: absolute; right: 0; top: -112px; font-family: var(--titulo); font-size: 130px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--cor); opacity: .35; pointer-events: none; }
.linha-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--cor); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.linha-capa-texto h3 { position: relative; font-family: var(--script); font-weight: 400; font-size: clamp(54px, 6.5vw, 84px); line-height: 1; color: var(--cor-escura); margin: 14px 0 10px; }
.linha-capa-texto p { position: relative; color: var(--texto); font-size: 18px; max-width: 460px; }
.linha-selos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.linha-selos li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--cor); color: var(--cor-escura); font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .55); }
.linha-selos li::before { content: ""; width: 9px; height: 9px; border-radius: 0 100% 0 100%; background: var(--cor); }

/* Cartões de produto */
.pc-trilho { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.pc { display: flex; flex-direction: column; background: #fff; border-radius: 24px; padding: 12px 12px 20px; box-shadow: 0 1px 0 rgba(0, 0, 0, .03); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.pc:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 40px -24px var(--cor-escura); }
.pc-foto { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 16px 16px; overflow: hidden; background: #f6f4f1; }
.pc-foto::before { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, color-mix(in srgb, var(--cor-suave) 60%, transparent)); z-index: 1; pointer-events: none; }
.pc-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pc-foto.contem { background: #fff; }
.pc-foto.contem img { object-fit: contain; padding: 8% 8% 2%; }
.pc-foto.contem.larga img { padding: 22% 6% 6%; }
.pc-foto.pos-dir img { object-position: 80% 50%; }
.pc:hover .pc-foto img { transform: scale(1.06); }
.pc-info { display: flex; flex-direction: column; flex: 1; padding: 16px 8px 0; }
.pc h4 { font-family: var(--titulo); font-size: 23px; font-weight: 700; line-height: 1.15; color: var(--cor-escura); margin-bottom: 10px; }
.pc-ben { list-style: none; display: grid; gap: 6px; margin-bottom: 18px; flex: 1; }
.pc-ben li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.4; color: var(--texto-suave); }
.pc-ben li::before { content: ""; position: absolute; left: 0; top: 5px; width: 10px; height: 10px; border-radius: 0 100% 0 100%; background: var(--cor); opacity: .85; }
.pc-pedir { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--cor-suave); color: var(--cor-escura); font-weight: 800; font-size: 14px; transition: background .25s, color .25s; }
.pc-pedir .ico { width: 17px; height: 17px; }
.pc-pedir:hover { background: var(--cor); color: #fff; }

/* Outros produtos */
.outros { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.outros-titulo { font-family: var(--script); font-size: 32px; color: var(--dourado-escuro); }
.outros-lista { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.outro { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid rgba(18, 61, 34, .08); font-weight: 700; font-size: 14.5px; color: var(--verde-escuro); }
.outro img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.produtos-sec .produtos-acao { margin-top: 38px; }
.produtos-sec .produtos-acao p { color: var(--texto-suave); margin-bottom: 14px; }

/* Sem JavaScript: todas as linhas aparecem, abas viram atalhos */
html:not(.js) .linhas-abas { display: none; }

@media (max-width: 960px) {
  .linhas-abas { grid-template-columns: 1fr 1fr; }
  .linha { padding: 24px; border-radius: 28px; }
  .linha-capa { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .linha-capa-foto { max-width: 460px; width: 100%; margin: 0 auto; }
  .linha-capa-texto p { margin-inline: auto; }
  .linha-selos { justify-content: center; }
  .linha-num { display: none; }
}
@media (max-width: 600px) {
  .linhas-abas { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: 0; padding: 4px 2px 8px; scrollbar-width: none; }
  .linhas-abas::-webkit-scrollbar { display: none; }
  .aba { flex: 0 0 auto; min-width: 190px; scroll-snap-align: start; font-size: 20px; }
  .linha { padding: 20px 16px 24px; margin-inline: 0; }
  .linha-capa { padding: 0; }
  .linha-capa-texto p { font-size: 16.5px; }
  .pc-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 6px 2px 14px; scrollbar-width: none; }
  .pc-trilho::-webkit-scrollbar { display: none; }
  .pc { flex: 0 0 76%; scroll-snap-align: center; }
  .pc:hover { transform: none; }
  .outros { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .linha.entrando { animation: none; }
  .pc, .pc-foto img, .linha-capa-foto img { transition: none; }
}

/* ===== Grupos: foto única com todos os produtos + lista explicada ===== */
.produtos-sec .grupos { display: grid; gap: 28px; margin-top: 46px; }
.produtos-sec .grupo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; background: #fbf8f1; border-radius: 34px; padding: 34px; border: 1px solid #ebe3d2; }
.produtos-sec .grupo-foto { border-radius: 26px; overflow: hidden; background: #f3ede2; }
.produtos-sec .grupo-foto img { display: block; width: 100%; height: auto; }
.produtos-sec .grupo h3 { font-family: "Cormorant Garamond", serif; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; margin: 6px 0 12px; color: var(--verde-escuro, #123d22); }
.produtos-sec .grupo-texto > p { color: var(--texto-suave, #4a4a42); margin-bottom: 18px; }
.produtos-sec .grupo-lista { list-style: none; counter-reset: item; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.produtos-sec .grupo-lista li { counter-increment: item; display: grid; gap: 2px; padding-left: 26px; position: relative; font-size: 0.95rem; line-height: 1.4; }
.produtos-sec .grupo-lista li::before { content: counter(item); position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: #d4a937; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.produtos-sec .grupo-lista strong { color: var(--verde-escuro, #123d22); }
.produtos-sec .grupo-lista span { color: var(--texto-suave, #4a4a42); }
@media (max-width: 820px) {
  .produtos-sec .grupo { grid-template-columns: 1fr; padding: 20px; gap: 22px; border-radius: 26px; }
  .produtos-sec .grupo-lista { grid-template-columns: 1fr; }
}

.produtos-sec .grupo[hidden] { display: none; }

/* Mobile: centralizar botões de cards, seção Sobre e rodapé */
@media (max-width: 600px) {
  .produtos-sec .btn,
  .produto .btn,
  .card-destaque .btn,
  .sobre-texto .btn {
    display: flex;
    width: fit-content;
    margin: 18px auto 0;
    align-self: center;
    justify-content: center;
  }
  .rodape-marca { justify-content: center; }
  .rodape-col { text-align: center; }
  .rodape-col a { margin-left: auto; margin-right: auto; }
  .rodape-base { justify-content: center; text-align: center; }
}
