/* ============================================================
   CONVIVÊNCIA DESENHADA — True Rise Tattoo
   Referências: Chronic Ink (estrutura CTA) + Ghost Studios (tipografia ousada)
   Paleta: brand True Rise — creme #F4ECDD · dourado #CAAE7F
   ============================================================ */

:root {
  --cream:      #F4ECDD;
  --cream-dark: #EAE0CB;
  --cream-mid:  #E2D5BE;
  --dark:       #1A1714;
  --dark-2:     #3A3530;
  --gold:       #CAAE7F;
  --gold-dark:  #A88D5A;
  --muted:      #8C826F;
  --border:     #DDD3BF;
  --font:       'Outfit', sans-serif;
  --mg:         clamp(20px, 5.5vw, 88px);
  --radius:     3px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── TIPOGRAFIA ─────────────────────────────────────────────── */

.label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.label-dark {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 { font-size: clamp(48px, 8.5vw, 116px); font-weight: 900; line-height: 0.95; }
h2 { font-size: clamp(30px, 5vw, 62px);    font-weight: 900; line-height: 1.0; }
h3 { font-size: clamp(20px, 2.8vw, 30px);  font-weight: 900; line-height: 1.1; }

p { color: var(--dark-2); line-height: 1.75; max-width: 580px; }

.rule      { width: 100%; height: 1px; background: var(--border); border: none; }
.rule-gold { width: 40px; height: 2px; background: var(--gold);   border: none; margin: 16px 0; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--mg);
  gap: 16px;
}

.nav__logo {
  display: flex; align-items: center; gap: 10px;
  opacity: 0.75; transition: opacity 0.2s; flex-shrink: 0;
}
.nav__logo:hover { opacity: 1; }
.nav__logo img { width: 26px; height: auto; filter: brightness(0); }
.nav__brand {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}

.nav__center {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  position: absolute; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
}

/* CTA sticky no nav — igual Chronic Ink */
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--dark); color: var(--cream);
  padding: 10px 20px; border-radius: var(--radius);
  transition: background 0.2s; white-space: nowrap;
}
.nav__cta:hover { background: var(--dark-2); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
  border-bottom: 1px solid var(--border);
}

.hero__text {
  padding: clamp(48px, 8vw, 112px) var(--mg);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  border-right: 1px solid var(--border);
}

.hero__eyebrow { display: flex; align-items: center; gap: 14px; }
.hero__eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.hero__title { color: var(--dark); }
.hero__title em { font-style: normal; color: var(--gold-dark); }

.hero__lead {
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--dark-2); line-height: 1.7; max-width: 480px;
}

.hero__pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.pill {
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 6px 14px;
  border: 1px solid var(--border); border-radius: 100px;
  color: var(--muted);
}

.hero__image {
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; min-height: 480px;
}
.hero__image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.92);
}
.hero__image-placeholder {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; color: var(--muted); text-align: center; padding: 40px;
}
.hero__image-placeholder .placeholder-icon {
  width: 64px; height: 64px; border: 2px dashed var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--border);
}
.hero__image-placeholder span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--border);
}

/* ── SEÇÃO GENÉRICA ─────────────────────────────────────────── */
.section {
  padding: clamp(48px, 7vw, 100px) var(--mg);
  border-bottom: 1px solid var(--border);
}

.section__header {
  margin-bottom: 48px;
  display: flex; flex-direction: column; gap: 10px;
}

/* ── COMO FUNCIONA ──────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.step {
  background: var(--cream); padding: 40px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.step__num {
  font-size: clamp(48px, 5vw, 72px); font-weight: 900;
  line-height: 1; color: var(--cream-mid);
}
.step__title {
  font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.step__desc {
  font-size: 14px; color: var(--muted); line-height: 1.65; max-width: none;
}

/* ── SOBRE O PROGRAMA ────────────────────────────────────────── */
.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.sobre-col { background: var(--cream); padding: 48px 40px; }
.sobre-col p { font-size: 16px; line-height: 1.8; max-width: none; }

.nao-lista, .e-lista {
  list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 20px;
}
.nao-lista li {
  font-size: 14px; color: var(--muted);
  padding-left: 20px; position: relative;
}
.nao-lista li::before {
  content: '×'; position: absolute; left: 0;
  color: var(--cream-mid); font-weight: 900;
}
.e-lista li {
  font-size: 14px; font-weight: 600;
  padding-left: 20px; position: relative;
}
.e-lista li::before {
  content: '→'; position: absolute; left: 0; color: var(--gold-dark);
}

/* ── PILARES ────────────────────────────────────────────────── */
.pilares {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  margin-top: 1px;
}
.pilar { background: var(--cream); padding: 32px 28px; }
.pilar__num { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--gold); }
.pilar__title {
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-top: 8px; line-height: 1.3;
}
.pilar__desc { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: none; margin-top: 8px; }

/* ── CARDS DE EVENTO ─────────────────────────────────────────── */
.eventos-grid {
  display: grid; grid-template-columns: 1fr;
  border: 1px solid var(--border);
}

.evento-card { background: var(--cream); display: flex; flex-direction: column; }

/* Foto do evento — topo do card */
.evento-card__photo {
  aspect-ratio: 3/4; background: var(--cream-dark);
  overflow: hidden; position: relative;
}
.evento-card__photo img {
  width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease;
}
.evento-card:hover .evento-card__photo img { transform: scale(1.03); }
.evento-card__photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--border); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
}

.evento-card__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }

.evento-card__title { font-size: 20px; font-weight: 900; line-height: 1.1; }
.evento-card__instructor { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; }

hr.evento-card__rule { border: none; border-top: 1px solid var(--border); }

.evento-card__meta { display: flex; flex-wrap: wrap; gap: 18px; }
.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-item .meta-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.meta-item .meta-val { font-size: 14px; font-weight: 700; }

.vagas-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
  background: var(--cream-dark); color: var(--dark-2);
  border: 1px solid var(--border); width: fit-content;
}
.vagas-badge::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold); flex-shrink: 0;
}
.vagas-badge.urgente {
  background: #FDF3E3; border-color: #E8C07A; color: #6B4300;
}
.vagas-badge.urgente::before { background: #D4820A; }
.vagas-badge.esgotado {
  background: var(--cream-dark); border-color: var(--border); color: var(--muted);
}
.vagas-badge.esgotado::before { background: var(--border); }

/* ── BOTÕES ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 14px 26px; border: none; cursor: pointer;
  transition: all 0.18s; border-radius: var(--radius); text-decoration: none;
}
.btn-primary { background: var(--dark); color: var(--cream); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--gold-dark); color: var(--cream); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.btn-full { width: 100%; }
.btn-lg { font-size: 13px; padding: 17px 32px; }

/* ── HISTÓRICO DE EVENTOS ───────────────────────────────────── */
.historico-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}

.historico-card { background: var(--cream); display: flex; flex-direction: column; }

.historico-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden; position: relative;
  background: var(--cream-dark);
  filter: grayscale(30%);
  transition: filter 0.3s;
}
.historico-card:hover .historico-card__photo { filter: grayscale(0%); }
.historico-card__photo img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.4s ease;
}
.historico-card:hover .historico-card__photo img { transform: scale(1.03); }

.historico-card__body {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--border);
}

.historico-data {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; color: var(--muted);
}

.historico-card__title {
  font-size: 15px; font-weight: 900;
  line-height: 1.2; color: var(--dark);
}

.historico-instructor {
  font-size: 12px; font-weight: 500;
  color: var(--muted); letter-spacing: 0.06em;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  padding: 48px var(--mg);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer__logo img { width: 72px; filter: brightness(0); opacity: 0.45; }
.footer__info { font-size: 12px; color: var(--muted); line-height: 1.7; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); transition: color 0.2s;
}
.footer__links a:hover { color: var(--dark); }

/* ── TABLET / IPAD ───────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  .nav__center { display: flex; font-size: 12px; gap: 14px; }
  .historico-grid { grid-template-columns: repeat(2, 1fr); }
  .pilares { grid-template-columns: repeat(3, 1fr); }
}

/* ── RESPONSIVO ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__image { min-height: 320px; border-right: none; border-bottom: 1px solid var(--border); order: -1; }
  .hero__text { border-right: none; }
  .steps { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: repeat(2, 1fr); }
  .nav__center { display: none; }
  .historico-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav__brand { display: none; }
  .pilares { grid-template-columns: 1fr; }
  .eventos-grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
  .historico-grid { grid-template-columns: 1fr; }
}
