/* ============================================================
   TÉCNICAS — estilos compartilhados (Rit / Ur / Tyr)
   ============================================================ */

/* ---------- HERO TÉCNICA ---------- */
.tecnica-hero {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

.tecnica-hero__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 760px) {
  .tecnica-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tecnica-hero__symbol { margin: 0 auto; }
}

.tecnica-hero__symbol {
  width: clamp(120px, 16vw, 190px);
  flex-shrink: 0;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.25));
}
.tecnica-hero__symbol img { width: 100%; height: auto; }

.tecnica-hero h1 { margin-bottom: 1rem; }
.tecnica-hero .lead { margin-bottom: 1.8rem; }

.tecnica-hero__rune {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  opacity: 0.06;
  pointer-events: none;
}
@media (max-width: 900px) { .tecnica-hero__rune { display: none; } }

/* ---------- COMO FUNCIONA ---------- */
.como-funciona {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: passo;
}
@media (max-width: 860px) {
  .como-funciona { grid-template-columns: 1fr; gap: 2.5rem; }
}
.como-funciona__item {
  position: relative;
  padding-top: 0.5rem;
}
.como-funciona__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--dourado);
  line-height: 1;
  margin-bottom: 0.8rem;
  display: block;
}
.como-funciona__item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.como-funciona__item p { font-size: 0.95rem; color: rgba(26,38,32,0.78); }

/* ---------- BENEFÍCIOS ---------- */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}
.beneficio-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.4rem 1.5rem;
  background: var(--branco);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.beneficio-item svg {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--dourado-escuro);
  margin-top: 2px;
}
.beneficio-item span { font-weight: 500; font-size: 0.98rem; }

/* ---------- PARA QUEM / CHECKLIST ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 2rem;
}
@media (max-width: 700px) {
  .checklist { grid-template-columns: 1fr; }
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.97rem;
  line-height: 1.5;
}
.checklist svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--dourado);
  margin-top: 3px;
}

/* ---------- BÔNUS ---------- */
.bonus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .bonus { grid-template-columns: 1fr; }
  .bonus__img { order: -1; }
}
.bonus__img img {
  width: 100%;
  border-radius: var(--radius-lg);
}
.bonus__list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bonus__list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.bonus__list-item .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--dourado);
  line-height: 1.2;
  flex-shrink: 0;
  width: 2ch;
}
.bonus__list-item h4 { font-size: 1.05rem; margin-bottom: 0.2rem; color: var(--pergaminho); }
.bonus__list-item p { font-size: 0.92rem; color: rgba(246,241,230,0.75); }

/* ---------- CTA TÉCNICA ---------- */
.tecnica-cta {
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  background: linear-gradient(135deg, var(--verde-floresta), var(--verde-escuro));
  color: var(--pergaminho);
}
.tecnica-cta h2 { color: var(--pergaminho); max-width: 24ch; margin: 0 auto 1rem; }
.tecnica-cta p.lead { margin: 0 auto 2rem; color: rgba(246,241,230,0.82); }
.tecnica-cta .btn-row { justify-content: center; }
.section .tecnica-cta .btn--outline {
  border-color: rgba(246,241,230,0.5) !important;
  color: var(--pergaminho) !important;
}
.section .tecnica-cta .btn--outline:hover {
  background: rgba(246,241,230,0.1) !important;
  border-color: var(--pergaminho) !important;
}

/* ---------- AVISO PROCESSO ---------- */
.processo-aviso {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--dourado);
  background: var(--salvia);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 2rem;
}
.processo-aviso svg {
  width: 24px; height: 24px;
  color: var(--dourado-escuro);
  flex-shrink: 0;
  margin-top: 2px;
}
.processo-aviso p { font-size: 0.95rem; }

/* ============================================================
   CURSORES CUSTOMIZADOS — por técnica
   ============================================================ */

/* Rit: cursor é o ícone da técnica */
body.page-rit,
body.page-rit a,
body.page-rit button,
body.page-rit .btn {
  cursor: url('../img/cursors/tecnica-rit-cursor.png') 32 32, pointer;
}
body.page-rit * {
  cursor: url('../img/cursors/tecnica-rit-cursor.png') 32 32, auto;
}

/* Ur */
body.page-ur,
body.page-ur a,
body.page-ur button,
body.page-ur .btn {
  cursor: url('../img/cursors/tecnica-ur-cursor.png') 32 32, pointer;
}
body.page-ur * {
  cursor: url('../img/cursors/tecnica-ur-cursor.png') 32 32, auto;
}

/* Tyr */
body.page-tyr,
body.page-tyr a,
body.page-tyr button,
body.page-tyr .btn {
  cursor: url('../img/cursors/tecnica-tyr-cursor.png') 32 32, pointer;
}
body.page-tyr * {
  cursor: url('../img/cursors/tecnica-tyr-cursor.png') 32 32, auto;
}

/* Garante que inputs de texto ainda usam cursor padrão */
body.page-rit input,
body.page-ur  input,
body.page-tyr input,
body.page-rit textarea,
body.page-ur  textarea,
body.page-tyr textarea {
  cursor: text !important;
}

/* ============================================================
   TÉCNICA HERO — Fundo claro com swirl (substitui section--dark)
   ============================================================ */
.tecnica-hero {
  background-image: url('../img/fundo-claro.png') !important;
  background-size: cover !important;
  background-position: center right !important;
  background-color: #EAF3EE !important;
  position: relative;
  overflow: hidden;
}

/* Overlay suave para contraste do texto */
.tecnica-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.72) 0%,
    rgba(234,243,238,0.55) 50%,
    rgba(255,255,255,0.30) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.tecnica-hero .container { position: relative; z-index: 2; }

/* Textos do hero — agora escuros */
.tecnica-hero .eyebrow { color: var(--dourado-escuro) !important; }
.tecnica-hero h1      { color: var(--verde-floresta) !important; }
.tecnica-hero .lead   { color: rgba(16,56,44,0.80) !important; }

/* Botão outline — escuro no fundo claro */
.tecnica-hero .btn--outline {
  border-color: var(--verde-floresta) !important;
  color: var(--verde-floresta) !important;
}
.tecnica-hero .btn--outline:hover {
  background: var(--verde-floresta) !important;
  color: var(--pergaminho) !important;
}

/* Rune SVG de fundo — ajustar visibilidade */
.tecnica-hero__rune {
  opacity: 0.12;
  mix-blend-mode: multiply;
}

/* Ícone da técnica — adicionar glow suave */
#tecnica-icon-container img {
  filter: drop-shadow(0 6px 24px rgba(193,162,101,0.30));
}

/* ============================================================
   ANIMAÇÕES NAS TÉCNICAS
   ============================================================ */

/* Hover nos cards de como funciona */
.como-funciona-item {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.como-funciona-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(16,56,44,0.10);
}

/* Bônus cards: shimmer na borda */
.bonus-card {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bonus-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 28px rgba(193,162,101,0.20);
}

/* CTA das técnicas: pulso suave */
.tecnica-cta .btn--gold {
  animation: ctaGoldPulse 3.5s ease-in-out infinite;
}
@keyframes ctaGoldPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(193,162,101,0.30); }
  50%       { box-shadow: 0 6px 32px rgba(193,162,101,0.55); }
}

@media (prefers-reduced-motion: reduce) {
  .como-funciona-item:hover,
  .bonus-card:hover { transform: none; }
  .tecnica-cta .btn--gold { animation: none; }
}
