/* =========================================================
   FONTES
   - Anton      -> títulos grandes e em negrito (nome, cards)
   - Bebas Neue -> rótulos pequenos em caixa alta
   Se os arquivos não existirem, o site cai automaticamente nas
   fontes de sistema abaixo — nada quebra.
   ========================================================= */
@font-face {
  font-family: 'Anton';
  src: url('../fonts/Anton/Anton-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'BebasNeue';
  src: url('../fonts/Bebas_Neue/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

:root{
  --bg: #000000;
  --white: #ffffff;
  --gray-1: #8a8a8f;
  --gray-2: #c7c7cc;
  --gray-dark: #1c1c1e;
  --red: #e8382f;
  --grad-warm: linear-gradient(90deg, #ff8a5c, #ff3d6e);
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-heading: 'Anton', 'Arial Black', 'Segoe UI', system-ui, sans-serif;
  --font-label: 'BebasNeue', 'Arial Narrow', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --max-w: 480px;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }

body{
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a{ text-decoration:none; color:inherit; }

/* ===================== IMAGENS / FALLBACK ===================== */
.media{
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #232323, #0e0e0e);
}
.media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media img.is-broken{ display: none; }

/* ===================== HERO ===================== */
.hero{
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0a0a;
}
.hero .hero-media{ position:absolute; inset:0; }
.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 78%, rgba(0,0,0,.97) 100%);
  pointer-events: none;
}
.hero-content{
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-bar{
  flex-shrink: 0;
  width: 4px;
  height: 60px;
  background: var(--white);
  border-radius: 2px;
}
.hero-name{
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
}

/* ===================== LAYOUT GERAL ===================== */
.wrap{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px 8px;
}

/* ===================== REDES SOCIAIS ===================== */
.socials{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  padding: 22px 0 20px;
}
.social-btn{
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease, transform .2s ease;
}
.social-btn:hover{ opacity: .7; transform: translateY(-2px); }
.social-icon{
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}
.social-icon.is-broken{ display: none; }
.social-fallback{ display: none; }

/* ===================== LISTA DE LINKS ===================== */
.links{
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 8px;
}
.card{
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform .2s ease;
}
.card:hover{ transform: translateY(-3px); }

/* ---- Card tipo Brand: texto + logo inline em fundo azul-marinho ---- */
.card-brand{
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 0 20px;
  background: linear-gradient(160deg, #0e1c30 0%, #060c15 75%);
}
.brand-label{
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: .06em;
  color: var(--white);
  text-transform: uppercase;
}
.brand-row{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.brand-word{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 50px;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
}
.brand-logo{
  height: 62px;
  width: auto;
  object-fit: contain;
  display: block;
}
.brand-logo.is-broken{ display: none; }

/* ---- Card tipo A: overlay de texto sobre foto ---- */
.card-overlay{
  aspect-ratio: 16 / 8.2;
  background: #111;
}
.card-overlay .media{ position:absolute; inset:0; }
.overlay-grad{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.2) 100%);
}
.overlay-text{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 0 20px;
  gap: 2px;
}
.ov-small{
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .06em;
  color: var(--white);
  text-transform: uppercase;
}
.ov-big{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.02;
  letter-spacing: .01em;
  color: var(--white);
  text-transform: uppercase;
}

/* ---- Card tipo B: foto à esquerda + texto à direita ---- */
.card-split{
  display: flex;
  align-items: stretch;
  min-height: 148px;
  background: radial-gradient(120% 140% at 0% 0%, #2e2e32 0%, #1a1a1c 45%, #0a0a0b 100%);
}
.split-media{
  width: 42%;
  flex-shrink: 0;
}
.split-text{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 16px 18px;
  gap: 4px;
}

/* ---- Variação: foto inteira como fundo do card (em vez de dividir 42/58) ---- */
.card-split-full .split-media{
  position: absolute;
  inset: 0;
  width: 100%;
}
.split-scrim{
  display: none;
}
.card-split-full .split-scrim{
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.2) 100%);
}
.card-split-full .split-text{
  position: relative;
  z-index: 1;
}
.sp-small{
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .05em;
  color: var(--white);
  text-transform: uppercase;
}
.sp-big{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  text-transform: uppercase;
}
.sp-desc{
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .04em;
  line-height: 1.4;
  color: var(--gray-2);
  text-transform: uppercase;
  margin-top: 2px;
}
.grad-text{
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Card tipo C: card de destaque (feature promo) ---- */
.card-feature{
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 190px;
  padding: 18px;
  background: radial-gradient(120% 140% at 0% 0%, #3a0f0d 0%, #1a0505 45%, #0a0303 100%);
}
.feature-mocks{
  position: relative;
  width: 38%;
  flex-shrink: 0;
  height: 130px;
}
.feature-thumb{
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.4);
}
.feature-badge{
  position: absolute;
  bottom: 4px;
  right: 6px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 4px 12px rgba(0,0,0,.5);
}
.feature-text{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-tag{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  color: var(--white);
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .06em;
}
.feature-title{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
}
.feature-desc{
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-2);
}

/* ---- Card tipo D: card branco com miniatura ---- */
.card-white{
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: #111;
  padding: 16px;
  min-height: 130px;
}
.white-text{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.white-title{
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 23px;
  line-height: 1.1;
  color: #0a0a0a;
  text-transform: none;
}
.hl{
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 1px 8px;
  border-radius: 6px;
  transform: rotate(-2deg);
}
.white-desc{
  font-size: 13px;
  line-height: 1.45;
  color: #55555a;
}
.white-thumb{
  width: 140px;
  height: 125px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

/* ---- Variação: card do podcast com fundo escuro (cor da capa) ---- */
.card-podcast{
  background: #271d1a;
  min-height: 0;
  padding: 0;
  position: relative;
  align-items: stretch;
}
.card-podcast .white-title{ color: var(--white); }
.card-podcast .white-desc{ color: var(--gray-2); }
.card-podcast .white-text{
  padding: 18px;
  padding-right: 180px;
  justify-content: center;
}
.card-podcast .white-thumb{
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 165px;
  height: 100%;
  background: transparent;
  border-radius: 0;
}
.card-podcast .white-thumb img{
  object-fit: contain;
}
.thumb-caption{
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  background: rgba(0,0,0,.72);
  color: var(--white);
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  padding: 4px 6px;
  border-radius: 6px;
  text-align: center;
}
.hl-caption{ color: var(--red); }

/* ---- Variação do card branco: capa dos livros em destaque no topo ---- */
.card-books{
  flex-direction: column;
  align-items: stretch;
}
.card-books .white-thumb{
  width: 100%;
  height: 190px;
  border-radius: var(--radius-sm);
  background: transparent;
}
.card-books .white-thumb img{
  object-fit: contain;
  padding: 0;
}
.card-books .white-text{ padding-top: 2px; }

/* ===================== FOOTER ===================== */
.footer{
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  padding: 22px 16px 34px;
  color: var(--gray-1);
  font-size: 12px;
  line-height: 1.8;
}
.footer a{ color: var(--gray-1); }
.footer a:hover{ color: var(--white); }
.legal-links{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin: 0 0 2px; }

/* ===================== RESPONSIVO ===================== */
@media (min-width: 560px){
  .hero-name{ font-size: 50px; }
}

/* ---- Compactação para telas de celular pequenas/médias ---- */
@media (max-width: 430px){
  .wrap{ padding: 0 14px 8px; }
  .hero-content{ left: 16px; right: 16px; bottom: 18px; gap: 8px; }
  .hero-bar{ height: 48px; }
  .hero-name{ font-size: 36px; }

  .socials{ gap: 20px; padding: 18px 0 16px; }
  .social-icon{ width: 24px; height: 24px; }

  .links{ gap: 11px; }
  .card{ border-radius: var(--radius-md); }

  .card-brand{ min-height: 126px; padding: 0 16px; }
  .brand-label{ font-size: 15px; }
  .brand-word{ font-size: 36px; }
  .brand-logo{ height: 44px; }

  .overlay-text{ padding: 0 16px; }
  .ov-small{ font-size: 14px; }
  .ov-big{ font-size: 32px; }

  .card-split{ min-height: 126px; }
  .split-text{ padding: 12px 14px; }
  .sp-small{ font-size: 13px; }
  .sp-big{ font-size: 30px; }
  .sp-desc{ font-size: 12px; }

  .card-feature{ min-height: 158px; padding: 14px; gap: 12px; }
  .feature-mocks{ height: 108px; }
  .feature-badge{ width: 28px; height: 28px; }
  .feature-title{ font-size: 19px; }
  .feature-desc{ font-size: 12px; }
  .feature-tag{ font-size: 13px; }

  .card-white{ padding: 12px; gap: 10px; min-height: 110px; }
  .white-title{ font-size: 19px; }
  .white-desc{ font-size: 12px; }

  .card-podcast .white-text{ padding: 14px; padding-right: 128px; }
  .card-podcast .white-thumb{ width: 118px; }

  .card-books .white-thumb{ height: 155px; }

  .footer{ padding: 18px 14px 26px; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; }
}
