/* =====================================================================
   Página inicial (redesenho de 19/10/2026) — templates/home/home.php
   Paleta das artes da Tropicus: verde-escuro, creme e o laranja do logo.
   ===================================================================== */

.th {
  --th-verde: #12261a;
  --th-verde-2: #1d3a28;
  --th-laranja: #dd702d;
  --th-laranja-escuro: #b85a20;
  --th-creme: #fbf3e6;
  --th-creme-2: #f3e5cf;
  --th-texto: #1f1b16;
  --th-suave: #6a5f52;
  --th-borda: #eadfcd;
  --th-wa: #1f9d55;
  --th-titulo: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --th-corpo: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  padding: 0;
  font-family: var(--th-corpo);
  color: var(--th-texto);
  background: #fff;
}
.th *, .th *::before, .th *::after { box-sizing: border-box; }
.th h1, .th h2, .th h3 { font-family: var(--th-titulo); font-weight: 600; letter-spacing: -.01em; margin: 0; }
.th p { margin: 0; }

.th-limite { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.th-limite--estreito { max-width: 820px; }
.th-centro { text-align: center; margin-top: 40px !important; }

.th-kicker {
  font-family: var(--th-corpo);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--th-laranja-escuro);
  margin-bottom: 12px !important;
}
.th-kicker--claro { color: #f3b383; }

/* Botões */
.th-botoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.th-botoes--centro { justify-content: center; }
.th-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-family: var(--th-corpo); font-size: 15px; font-weight: 600;
  text-decoration: none !important;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.th-btn svg { width: 20px; height: 20px; flex: none; }
.th-btn:hover { transform: translateY(-2px); }
.th-btn--wa { background: var(--th-wa); color: #fff !important; box-shadow: 0 8px 22px rgba(31,157,85,.28); }
.th-btn--wa:hover { background: #188547; }
.th-btn--contorno-claro { border: 1.5px solid rgba(255,255,255,.7); color: #fff !important; }
.th-btn--contorno-claro:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.th-btn--escuro { background: var(--th-verde); color: #fff !important; }
.th-btn--escuro:hover { background: var(--th-verde-2); }

/* Topo */
.th-hero {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 24px clamp(70px, 9vw, 110px);
  background:
    linear-gradient(100deg, rgba(10,22,14,.92) 0%, rgba(10,22,14,.78) 45%, rgba(10,22,14,.35) 100%),
    var(--th-hero-img) center/cover no-repeat;
  color: #fff;
}
.th-hero__conteudo { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.th-hero h1 {
  max-width: 680px;
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  line-height: 1.08;
  color: #fff;
}
.th-hero__apoio {
  max-width: 560px;
  margin-top: 22px !important;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255,255,255,.86);
}
.th-selos {
  list-style: none; margin: 46px 0 0; padding: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 14px 34px;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 900px;
}
.th-selos li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.9); }
.th-selos svg { width: 22px; height: 22px; color: #f3b383; flex: none; }

/* Seções */
.th-secao { padding: clamp(64px, 8vw, 104px) 0; }
.th-secao--creme { background: var(--th-creme); }
.th-secao--verde { background: var(--th-verde); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.th-titulo { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.th-titulo h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; color: var(--th-texto); }
.th-titulo > p:last-child:not(.th-kicker) { margin-top: 14px; color: var(--th-suave); font-size: 1.02rem; line-height: 1.7; }

/* Categorias */
.th-categorias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.th-cat {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--th-borda);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.th-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31,27,22,.10); border-color: #dccbb0; }
.th-cat__img { display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.th-cat__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .4s; }
.th-cat:hover .th-cat__img img { transform: scale(1.04); }
.th-cat__texto { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; border-top: 1px solid var(--th-borda); flex: 1; }
.th-cat__texto strong { font-family: var(--th-titulo); font-size: 1.3rem; font-weight: 600; color: var(--th-texto); }
.th-cat__texto span { font-size: .9rem; line-height: 1.55; color: var(--th-suave); flex: 1; }
.th-cat__texto em { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--th-laranja-escuro); margin-top: 8px; }

/* Como funciona */
.th-passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: none; }
.th-passos li { background: #fff; border: 1px solid var(--th-borda); border-radius: 16px; padding: 30px 28px; }
.th-passos__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--th-laranja); color: #fff;
  font-family: var(--th-titulo); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 18px;
}
.th-passos h3 { font-size: 1.35rem; margin-bottom: 8px; color: var(--th-texto); }
.th-passos p { color: var(--th-suave); line-height: 1.65; font-size: .95rem; }

/* Diferenciais */
.th-diferenciais { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.th-diferenciais li { text-align: center; padding: 0 8px; }
.th-diferenciais svg { width: 34px; height: 34px; color: #f3b383; margin-bottom: 14px; }
.th-diferenciais h3 { font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.th-diferenciais p { font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.75); }

/* Inspirações */
.th-inspiracoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.th-insp { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; text-decoration: none !important; }
.th-insp img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.th-insp:hover img { transform: scale(1.05); }
.th-insp__legenda {
  position: absolute; inset: auto 0 0 0;
  display: flex; flex-direction: column; gap: 4px;
  padding: 60px 22px 20px;
  background: linear-gradient(transparent, rgba(10,22,14,.85));
  color: #fff;
}
.th-insp__legenda strong { font-family: var(--th-titulo); font-size: 1.3rem; font-weight: 600; }
.th-insp__legenda span { font-size: .85rem; color: rgba(255,255,255,.85); }

/* Sobre */
.th-sobre { text-align: center; }
.th-sobre h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 18px; }
.th-sobre p:last-child { color: var(--th-suave); line-height: 1.85; font-size: 1rem; }
.th-sobre strong { color: var(--th-texto); font-weight: 600; }

/* Chamada final */
.th-final {
  padding: clamp(64px, 8vw, 96px) 0;
  text-align: center;
  color: #fff;
  background: radial-gradient(120% 140% at 50% 0%, var(--th-verde-2) 0%, var(--th-verde) 60%);
}
.th-final h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.th-final p { margin-top: 14px !important; color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.7; }

/* Telas menores */
@media (max-width: 1024px) {
  .th-categorias { grid-template-columns: repeat(3, 1fr); }
  .th-diferenciais { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 760px) {
  .th-categorias { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .th-cat__texto { padding: 14px; }
  .th-cat__texto strong { font-size: 1.12rem; }
  .th-cat__texto span { font-size: .82rem; }
  .th-passos, .th-inspiracoes { grid-template-columns: 1fr; }
  .th-inspiracoes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .th-insp__legenda { padding: 40px 12px 12px; }
  .th-insp__legenda strong { font-size: 1.02rem; }
  .th-insp__legenda span { display: none; }
  .th-btn { width: 100%; }
  .th-selos { gap: 12px; }
}
@media (max-width: 380px) {
  .th-categorias { gap: 10px; }
  .th-limite { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .th *, .th *::before, .th *::after { transition: none !important; }
}
