/* ===================================================
   KORPI — Componentes Mobile-First + Desktop Premium
=================================================== */

/* ── HERO GRID (split desktop) ──────────────────── */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    115deg,
    rgba(30,21,40,.96) 0%,
    rgba(61,42,90,.85) 50%,
    rgba(141,109,176,.55) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 100px 0 80px;
  align-items: center;
}

/* Texto do hero */
.hero-text { max-width: 600px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cor-ouro-claro);
  margin-bottom: 20px;
  opacity: 0;
  animation: count-up .8s .2s ease forwards;
}
.hero-eyebrow-line {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--cor-ouro);
  flex-shrink: 0;
}

.hero-titulo {
  color: white;
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 1.08;
  margin-bottom: 22px;
  font-weight: 300;
  opacity: 0;
  animation: count-up .9s .35s ease forwards;
}
.hero-titulo em { display: block; font-style: italic; }

.hero-subtitulo {
  color: rgba(255,255,255,.78);
  font-size: clamp(.88rem, 1.6vw, 1rem);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.85;
  font-weight: 300;
  letter-spacing: .02em;
  opacity: 0;
  animation: count-up .9s .5s ease forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
  opacity: 0;
  animation: count-up .9s .65s ease forwards;
}

/* Botão outline branco para hero */
.btn-outline-branco {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.btn-outline-branco:hover {
  background: rgba(255,255,255,.12);
  color: white;
  border-color: white;
  transform: translateY(-3px);
}

/* Badges hero glassmorphism */
.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  opacity: 0;
  animation: count-up .9s .8s ease forwards;
}

.hero-badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: blur(12px);
  transition: all .35s ease;
}
.hero-badge:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.hero-badge strong {
  display: block;
  font-family: var(--font-titulo);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cor-ouro-claro);
  line-height: 1;
  margin-bottom: 3px;
}
.hero-badge span {
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  font-weight: 300;
  letter-spacing: .04em;
}

/* Foto card desktop */
.hero-foto-card {
  display: none; /* esconde no mobile */
  position: relative;
}
.hero-foto-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 520px;
  box-shadow: 0 40px 100px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-foto-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: white;
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  min-width: 190px;
  animation: float-y 4s ease-in-out infinite;
}
.hero-foto-badge strong {
  display: block;
  font-family: var(--font-titulo);
  font-size: 1.2rem;
  color: var(--cor-principal);
  font-weight: 500;
  line-height: 1;
}
.hero-foto-badge span {
  font-size: .72rem;
  color: var(--cor-texto-suave);
  font-weight: 300;
}
.hero-foto-deco {
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  border: 2px solid rgba(201,169,110,.3);
  border-radius: 50%;
  pointer-events: none;
}
.hero-foto-deco::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 50%;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: float-y 2.5s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent);
  margin: 0 auto;
}

/* ── TRATAMENTOS ────────────────────────────────── */
.secao-tratamentos {
  padding: 80px 0;
  background: var(--cor-fundo);
}

.tratamentos-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.tratamentos-header-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cor-clara);
}

.card-categoria-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  color: var(--cor-principal);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ── SOBRE ──────────────────────────────────────── */
.sobre-img-wrap {
  position: relative;
  background: linear-gradient(160deg, var(--cor-clara) 0%, #c9b3e0 100%);
  border-radius: var(--raio-grande);
  overflow: visible;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sobre-img-wrap img {
  width: 88%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  border-radius: var(--raio-grande) var(--raio-grande) 0 0;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(141,109,176,.2));
}

.sobre-badge-float {
  position: absolute;
  bottom: 28px;
  left: -16px;
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--sombra-forte);
  min-width: 172px;
  animation: float-y 4.5s ease-in-out infinite;
  border: 1px solid var(--cor-clara);
}
.sobre-badge-icone {
  width: 40px; height: 40px;
  background: var(--cor-clara);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sobre-badge-float strong {
  display: block;
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  color: var(--cor-principal);
  font-weight: 500;
  line-height: 1;
}
.sobre-badge-float span {
  font-size: .7rem;
  color: var(--cor-texto-suave);
  font-weight: 300;
}

.sobre-subtitulo-role {
  color: var(--cor-acento);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sobre-texto {
  color: var(--cor-texto-suave);
  line-height: 1.9;
  margin-bottom: 14px;
  font-weight: 300;
  font-size: .95rem;
}

/* ── NÚMEROS ────────────────────────────────────── */
.secao-numeros {
  background: var(--cor-texto);
  padding: 56px 0;
  position: relative;
}
.secao-numeros::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,.4), rgba(141,109,176,.4), rgba(201,169,110,.4), transparent);
}

.numeros-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.05);
  border-radius: var(--raio);
  overflow: hidden;
}
.numero-item {
  padding: 36px 28px;
  text-align: center;
  background: var(--cor-texto);
  transition: background .3s ease;
}
.numero-item:hover { background: rgba(141,109,176,.1); }

.numero-valor {
  font-family: var(--font-titulo);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  color: var(--cor-ouro-claro);
  line-height: 1;
  margin-bottom: 8px;
}
.numero-label {
  font-size: .68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.4);
}

/* ── DEPOIMENTOS ────────────────────────────────── */
.depoimento-aspas {
  font-family: var(--font-titulo);
  font-size: 5rem;
  color: var(--cor-clara);
  line-height: .8;
  margin-bottom: 4px;
  user-select: none;
}

/* ── CTA INNER ──────────────────────────────────── */
.cta-inner { max-width: 700px; margin: 0 auto; }

/* ══════════════════════════════════════════════════
   BREAKPOINTS DESKTOP
══════════════════════════════════════════════════ */

@media (min-width: 768px) {
  /* Hero badges 4 colunas */
  .hero-badges { grid-template-columns: repeat(4, 1fr); }

  /* Tratamentos header lado a lado */
  .tratamentos-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
  }

  /* Números 4 colunas */
  .numeros-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  /* Sobre grid */
  .sobre-grid { grid-template-columns: 1fr 1fr; gap: 80px; }

  /* Imagem sobre com altura maior */
  .sobre-img-wrap { min-height: 540px; }
}
