/* RELM: seções da Home (lote 2), carregado só na Home por snipplets/relm/relm-head.tpl.
   Manifesto, Sobre a goma e Perguntas frequentes seguem o visual do protótipo (.claude/prototipos/goma.html) com a paleta oficial
   (tokens --relm-* em relm-base.v3.css). Kits: seção aqui; o card do Rio fica em relm-cards.v1.css.
   Seções nativas do Rio (Depoimentos, Informações de frete/pagamento, Instagram): só visual, no fim do arquivo. */

.relm-manifesto,
.relm-sobre,
.relm-kits { font-family: var(--relm-font-text); -webkit-font-smoothing: antialiased; }

.relm-home-inner { max-width: 1200px; margin: 0 auto; }
.relm-home-title {
  font-family: var(--relm-font-title);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 40px;
}

/* Botão das seções (pílula, como o botão da cena da goma) */
.relm-btn-home {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px; padding: 14px 26px; border-radius: 999px;
  background: var(--relm-verde-botao); color: var(--relm-creme);
  font-family: var(--relm-font-text); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  text-decoration: none; border: 1.5px solid var(--relm-verde-botao);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.relm-btn-home:hover { transform: translateY(-2px); background: var(--relm-verde-escuro); border-color: var(--relm-verde-escuro); color: var(--relm-creme); }
.relm-btn-home-outline { background: transparent; color: var(--relm-verde-botao); }
.relm-btn-home-outline:hover { background: var(--relm-verde-botao); border-color: var(--relm-verde-botao); color: var(--relm-creme); }
.relm-btn-home:focus-visible { outline: 2px solid var(--relm-verde-escuro); outline-offset: 3px; }

/* ---------- Manifesto: papel texturizado + lingueta de couro com botão dourado ---------- */
.relm-manifesto {
  position: relative;
  color: var(--relm-verde-escuro);
  padding: clamp(96px, 12vw, 170px) clamp(16px, 7vw, 110px) clamp(72px, 12vw, 160px);
  background-color: var(--relm-creme);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2  0 0 0 0 .2  0 0 0 0 .12  0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.relm-manifesto-strap {
  position: absolute; top: 0; left: 50%; width: 46px; height: 74px; transform: translateX(-50%); border-radius: 0 0 9px 9px;
  background: linear-gradient(90deg, #6A3714, #8B4E22 45%, #75401A);
  box-shadow: 0 6px 14px rgba(40,25,10,.25), inset 0 -2px 0 rgba(0,0,0,.15);
}
.relm-manifesto-strap::after {
  content: ""; position: absolute; left: 50%; bottom: 14px; width: 15px; height: 15px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F7E2A0, #CFA548 55%, #8F6A22); box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.relm-manifesto-quote {
  margin: 0; padding: 0; border: 0; max-width: 24ch;
  font-family: var(--relm-font-title); font-weight: 300; font-style: normal;
  font-size: clamp(30px, 4.6vw, 64px); line-height: 1.15; text-wrap: balance;
  color: var(--relm-verde-escuro);
}
.relm-manifesto-sign { margin: 36px 0 0; line-height: 0; color: var(--relm-verde-escuro); }
.relm-manifesto-sign svg { display: block; width: 120px; height: auto; }

/* ---------- Sobre a goma: grade de fatos do rótulo ---------- */
.relm-sobre {
  background: var(--relm-verde);
  color: var(--relm-creme);
  padding: clamp(64px, 9vw, 120px) clamp(16px, 7vw, 110px);
}
.relm-sobre .relm-home-title { color: var(--relm-creme); }
.relm-sobre-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px;
  background: rgba(253, 244, 235, .16); border: 1px solid rgba(253, 244, 235, .16);
}
.relm-sobre-list li { background: var(--relm-verde); padding: 28px 24px; }
.relm-sobre-list strong {
  display: block; margin-bottom: 6px;
  font-family: var(--relm-font-title); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px);
  color: var(--relm-amarelo); font-variant-numeric: tabular-nums;
}
.relm-sobre-list span { font-size: 15px; opacity: .85; }
.relm-sobre-usage { margin: 22px 0 0; font-size: 13px; opacity: .78; }
.relm-sobre-usage + .relm-sobre-usage { margin-top: 6px; }

/* ---------- Kits em destaque: card do Rio com visual novo ---------- */
.relm-kits {
  /* variáveis de cor do Rio, só dentro da seção: botão, selos e textos do card */
  --main-foreground: var(--relm-verde-escuro);
  --button-background: var(--relm-verde-botao);
  --button-foreground: var(--relm-creme);
  --label-background: var(--relm-amarelo);
  --label-foreground: var(--relm-verde-escuro);
  background: var(--relm-creme);
  color: var(--relm-verde-escuro);
  padding: clamp(64px, 9vw, 120px) clamp(16px, 5vw, 80px);
}
.relm-kits-head { text-align: center; max-width: 52ch; margin: 0 auto 40px; }
.relm-kits-head .relm-home-title { margin-bottom: 12px; }
.relm-kits-text { margin: 0; font-size: 16px; line-height: 1.6; opacity: .85; }
.relm-kits-grid { justify-content: center; row-gap: 24px; margin-left: -10px; margin-right: -10px; }

/* O card (.item-product) está em relm-cards.v1.css, compartilhado com a listagem e a página de produto. */

.relm-kits-foot { text-align: center; }
.relm-kits-note { margin: 24px 0 0; font-size: 13px; opacity: .78; }

@media (prefers-reduced-motion: reduce) {
  .relm-btn-home { transition: none; }
  .relm-btn-home:hover { transform: none; }
}

/* ---------- Perguntas frequentes (snipplets/relm/relm-faq.tpl) ---------- */
.relm-faq {
  font-family: var(--relm-font-text);
  background: var(--relm-creme-card);
  color: var(--relm-verde-escuro);
  padding: clamp(64px, 9vw, 120px) clamp(16px, 7vw, 110px);
}
.relm-faq-inner { max-width: 820px; }
.relm-faq .relm-home-title { text-align: center; }
.relm-faq-list { border-top: 1px solid rgba(27, 74, 31, .16); }
.relm-faq-item { border-bottom: 1px solid rgba(27, 74, 31, .16); }
.relm-faq-q { margin: 0; font: inherit; }
.relm-faq-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; margin: 0; padding: 22px 4px;
  background: none; border: 0; border-radius: 0; cursor: pointer; text-align: left;
  font-family: var(--relm-font-title); font-weight: 400; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35;
  color: var(--relm-verde-escuro);
}
.relm-faq-btn:hover { color: var(--relm-verde-botao); }
.relm-faq-btn:focus-visible { outline: 2px solid var(--relm-verde-botao); outline-offset: 2px; }
.relm-faq-icon { flex: none; color: var(--relm-verde-botao); transition: transform .25s ease; }
.relm-faq-btn[aria-expanded="true"] .relm-faq-icon { transform: rotate(45deg); }
.relm-faq-panel { padding: 0 4px 24px; }
.relm-faq-panel p { margin: 0; max-width: 64ch; font-size: 16px; line-height: 1.65; opacity: .88; }

/* ---------- Depoimentos (nativo do Rio: snipplets/home/home-testimonials.tpl) ---------- */
.template-home .section-testimonials-home {
  background: var(--relm-creme);
  color: var(--relm-verde-escuro);
  font-family: var(--relm-font-text);
  padding: clamp(56px, 8vw, 104px) 0;
  margin: 0;
}
.template-home .section-testimonials-home .js-section-testimonials { padding: 0 !important; }
.template-home .section-testimonials-home .section-title {
  font-family: var(--relm-font-title); font-weight: 300; font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15; letter-spacing: 0; text-transform: none; color: var(--relm-verde-escuro);
  margin-bottom: 40px !important;
}
.template-home .section-testimonials-home .swiper-slide { height: auto; }
.template-home .section-testimonials-home .js-testimonial-slide {
  display: flex; flex-direction: column; align-items: center;
  background: var(--relm-creme-card);
  border: 1px solid rgba(27, 74, 31, .12);
  border-radius: 18px;
  padding: 32px 24px 28px;
}
.template-home .section-testimonials-home .js-testimonial-slide::before {
  content: "\201C"; display: block; margin-bottom: 4px;
  font-family: var(--relm-font-title); font-weight: 300; font-size: 56px; line-height: .8;
  color: var(--relm-amarelo);
}
.template-home .section-testimonials-home .testimonials-image { width: 72px; height: 72px; }
.template-home .section-testimonials-home .js-testimonial-description {
  padding: 0 !important; font-size: 16px; line-height: 1.65; color: var(--relm-verde-escuro);
}
.template-home .section-testimonials-home .js-testimonial-name {
  margin-top: auto; font-family: var(--relm-font-text); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--relm-verde-botao);
}
.template-home .section-testimonials-home .swiper-pagination-bullet { background: var(--relm-verde); }

/* ---------- Informações de frete/pagamento (nativo do Rio: snipplets/banner-services/) ---------- */
.template-home .section-informative-banners {
  background: var(--relm-creme);
  color: var(--relm-verde-escuro);
  font-family: var(--relm-font-text);
  padding: 40px 0;
  margin: 0;
  border-top: 1px solid rgba(27, 74, 31, .12);
  border-bottom: 1px solid rgba(27, 74, 31, .12);
}
.template-home .section-informative-banners .service-item a { color: inherit; text-decoration: none; }
.template-home .section-informative-banners svg.icon-7x { width: 40px; height: 40px; font-size: 40px; margin-bottom: 14px !important; color: var(--relm-verde-botao); fill: var(--relm-verde-botao); }
.template-home .section-informative-banners .service-item-image { max-height: 48px; margin-bottom: 14px !important; }
.template-home .section-informative-banners h3 {
  font-family: var(--relm-font-title); font-weight: 400; font-size: 18px; line-height: 1.3;
  letter-spacing: 0; text-transform: none; margin-bottom: 6px !important; color: var(--relm-verde-escuro);
}
.template-home .section-informative-banners p { font-size: 14px; line-height: 1.55; opacity: .82; }
.template-home .section-informative-banners .swiper-pagination-bullet { background: var(--relm-verde); }

/* ---------- Instagram (nativo do Rio: snipplets/home/home-instafeed.tpl) ---------- */
.template-home .section-instafeed-home {
  background: var(--relm-creme);
  color: var(--relm-verde-escuro);
  font-family: var(--relm-font-text);
  padding: clamp(56px, 8vw, 96px) 0;
  margin: 0;
}
.template-home .section-instafeed-home .instafeed-title { padding: 0 0 28px; text-align: center; }
.template-home .section-instafeed-home .instafeed-title a,
.template-home .section-instafeed-home a { color: var(--relm-verde-escuro); text-decoration: none; }
.template-home .section-instafeed-home .instafeed-title .row { justify-content: center; align-items: center; }
.template-home .section-instafeed-home .instafeed-title svg { color: var(--relm-verde-botao); fill: var(--relm-verde-botao); }
.template-home .section-instafeed-home .instafeed-user {
  font-family: var(--relm-font-title); font-weight: 300; font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0; text-transform: none; vertical-align: middle;
}
.template-home .section-instafeed-home .btn-secondary {
  border-radius: 999px; background: transparent; color: var(--relm-verde-botao);
  border: 1.5px solid var(--relm-verde-botao); font-weight: 700;
}
.template-home .section-instafeed-home .instafeed-link { border-radius: 14px; }

@media (prefers-reduced-motion: reduce) {
  .relm-faq-icon { transition: none; }
}
