/* ============================================================
   TIPOS DE DEPILAÇÃO — Layout catálogo com abas F/M
   ============================================================ */

.tipos-section {
  background-color: #f1e6da;
  padding-block: var(--space-20);
}

/* ---------- Abas Feminino / Masculino ---------- */
.tipos-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: var(--space-12);
  border: 1.5px solid rgba(180,120,150,0.30);
  border-radius: var(--radius-full);
  overflow: hidden;
  width: fit-content;
  margin-inline: auto;
}
.tipos-tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  background: transparent;
  border: none;
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  color: rgba(45,21,6,0.40);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.tipos-tab:first-child { border-right: 1.5px solid rgba(180,120,150,0.25); }

/* ── Feminino: rosa ── */
.tipos-tab[data-panel="feminino"] { color: #b85a7a; }
.tipos-tab[data-panel="feminino"]:not(.tipos-tab--active):hover {
  background: rgba(212,104,138,0.10);
  color: #9e3d62;
}
.tipos-tab[data-panel="feminino"].tipos-tab--active {
  background: #d4688a;
  color: #fff;
}

/* ── Masculino: azul ── */
.tipos-tab[data-panel="masculino"] { color: #4d7faa; }
.tipos-tab[data-panel="masculino"]:not(.tipos-tab--active):hover {
  background: rgba(91,142,196,0.10);
  color: #2e5f87;
}
.tipos-tab[data-panel="masculino"].tipos-tab--active {
  background: #5b8ec4;
  color: #fff;
}

.tipos-tab__symbol { font-size: 1.1em; }

/* ---------- Painel ---------- */
.tipos-panel { display: none; flex-direction: column; gap: var(--space-6); }
.tipos-panel--active { display: flex; }

/* ---------- Card de cada tipo ---------- */
.tipo-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: var(--space-10);
  align-items: center;
  max-width: 960px;
  margin-inline: auto;
  width: 100%;
  /* isolation evita que stacking contexts filhos vazem entre colunas */
  isolation: isolate;
}
.tipo-card--reverse { grid-template-columns: 1fr 44%; }
.tipo-card--reverse .tipo-card__img  { order: 2; }
.tipo-card--reverse .tipo-card__body { order: 1; }

.tipo-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 8px 32px rgba(45,21,6,0.16);
}

.tipo-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.tipo-card__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-xl), 2.8vw, var(--text-3xl));
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2D1506;
  line-height: 1.25;
}

/* ── Caixa de texto: design original ── */
.tipo-card__desc {
  position: relative;
  padding: 22px 26px 22px 30px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(212, 168, 75, 0.28);
  border-left: 3px solid rgba(212, 168, 75, 0.70);
  border-radius: 0 14px 14px 0;
  font-size: var(--text-sm);
  color: #3D2010;
  line-height: var(--leading-loose);
  box-shadow: 4px 6px 24px rgba(45, 21, 6, 0.07);
}

/* Ponto dourado decorativo no topo da borda esquerda */
.tipo-card__desc::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -5px;
  width: 8px;
  height: 8px;
  background: rgba(212, 168, 75, 0.80);
  border-radius: 50%;
}

/* Ponto dourado no fundo */
.tipo-card__desc::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -5px;
  width: 8px;
  height: 8px;
  background: rgba(212, 168, 75, 0.40);
  border-radius: 50%;
}

.tipo-card__desc p { margin: 0; }
.tipo-card__desc p + p {
  margin-top: var(--space-3);
  color: rgba(61, 32, 16, 0.80);
}

/* ===================== SEÇÃO MÉTODOS ===================== */
.metodos-section {
  background-color: #f7f0e6;
  padding-block: var(--space-20);
}
/* As imagens SVG têm fundo próprio — arredonda e adiciona sombra leve */
.metodo-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(45, 21, 6, 0.12);
  object-fit: cover;
}

/* ---------- Responsivo ---------- */
@media (max-width: 700px) {
  .tipo-card, .tipo-card--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .tipo-card--reverse .tipo-card__img  { order: 0; }
  .tipo-card--reverse .tipo-card__body { order: 1; }
  .tipo-card__desc {
    border-radius: 0 10px 10px 0;
    padding: 16px 18px 16px 22px;
  }
  .tipos-tab { padding: var(--space-3) var(--space-5); }
}
