/* Inocêncio Jonas Landing Page */
/* ============================= */

:root {
  --ij-orange: #FF6347;
  --ij-orange-dark: #E63C2C;
  --ij-turquoise: #40E0D0;
  --ij-amber: #FFBF00;
  --ij-bronze: #CD7F32;
  --ij-green: #228B22;
  --ij-blue: #1E90FF;
  --ij-bg: #F5F5DC;
  --ij-white: #FFFFFF;
  --ij-text: #1A1A1A;
  --ij-text-secondary: #333333;
  --ij-text-muted: #666666;
  --font-title: 'Bangers', cursive;
  --font-body: 'Poppins', sans-serif;
  --font-handwritten: 'Caveat', cursive;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ij-text-secondary);
  background: var(--ij-bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--ij-orange); text-decoration: none; transition: all 0.3s ease; }
a:hover { opacity: 0.85; }
a:focus-visible { outline: 2px solid var(--ij-orange); outline-offset: 2px; }

img { max-width: 100%; height: auto; display: block; }

/* Header */
.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 220, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(205, 127, 50, 0.2);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-link {
  color: var(--ij-orange);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.back-link:hover {
  transform: translateX(-5px);
  opacity: 1;
}

/* Logo HM */
.logo-link { text-decoration: none; }

.logo-text {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 700;
  color: var(--ij-text);
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.logo-text:hover { color: var(--ij-orange); }

.language-switcher {
  display: flex;
  gap: 0.4rem;
  padding: 0.2rem;
  background: rgba(205, 127, 50, 0.15);
  border-radius: 20px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ij-text-muted);
  cursor: pointer;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.lang-btn:hover { color: var(--ij-text); background: rgba(255, 255, 255, 0.5); }
.lang-btn.active { background: var(--ij-white); color: var(--ij-orange); box-shadow: 0 2px 6px rgba(0,0,0,0.1); }

/* Hero */
.hero-section {
  text-align: center;
  padding: 100px 20px 80px;
  background: linear-gradient(to bottom, var(--ij-bg), var(--ij-white));
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 48px;
  color: var(--ij-text);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--ij-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background: var(--ij-orange);
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background: var(--ij-orange-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 99, 71, 0.3);
  opacity: 1;
}

/* Section Titles */
.section-title {
  font-family: var(--font-title);
  font-size: 36px;
  color: var(--ij-text);
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--ij-text-muted);
  text-align: center;
  margin-bottom: 40px;
}

/* Personagens */
.personagens-section {
  padding: 80px 20px;
  background: var(--ij-white);
}

.personagens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.personagem-card {
  background: var(--ij-bg);
  border: 2px solid var(--ij-bronze);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personagem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.personagem-img {
  width: 250px;
  height: 250px;
  border-radius: 10px;
  margin: 0 auto 20px;
  object-fit: cover;
}

.personagem-nome {
  font-family: var(--font-title);
  font-size: 24px;
  color: var(--ij-orange);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.personagem-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ij-text-secondary);
  margin-bottom: 15px;
}

.personagem-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ij-text-muted);
}

/* Livros */
.livros-section {
  padding: 80px 20px;
  background: var(--ij-bg);
}

.livros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.livro-card {
  background: var(--ij-white);
  border: 2px solid var(--ij-bronze);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.livro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.livro-capa {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 15px;
}

.livro-localizacao {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--ij-text-muted);
}

.livro-titulo {
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--ij-text);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.livro-sinopse {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ij-text-secondary);
  margin-bottom: 15px;
  flex-grow: 1;
}

.livro-badge {
  display: inline-block;
  background: var(--ij-amber);
  color: var(--ij-text);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
}

.livro-ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.livro-btn {
  display: block;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
}

.livro-btn:hover { opacity: 1; transform: translateY(-1px); }

.btn-br {
  background: var(--ij-orange);
  color: white;
}
.btn-br:hover { background: var(--ij-orange-dark); color: white; }

.btn-es {
  background: transparent;
  color: var(--ij-orange);
  border: 2px solid var(--ij-orange);
}
.btn-es:hover { background: var(--ij-orange); color: white; }

.btn-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* Twitter Feed */
.twitter-feed-section {
  padding: 80px 20px;
  background: var(--ij-white);
}

.twitter-feed-container {
  max-width: 800px;
  margin: 0 auto 30px;
  background: var(--ij-bg);
  border: 2px solid var(--ij-bronze);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.twitter-cta { text-align: center; }

.twitter-follow-btn {
  display: inline-block;
  background: #1DA1F2;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.twitter-follow-btn:hover {
  background: #1A8CD8;
  color: white;
  transform: translateY(-2px);
  opacity: 1;
}

/* Footer */
.site-footer {
  background: var(--ij-text);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-social-link {
  color: white;
  font-size: 24px;
  transition: color 0.3s ease;
}

.footer-social-link:hover { color: var(--ij-orange); opacity: 1; }

.footer-copyright {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  color: #666;
}

.footer-tagline a { color: var(--ij-orange); }


/* Responsive */
@media (max-width: 1024px) {
  .livros-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .hero-section {
    padding: 80px 20px 60px;
    min-height: 40vh;
  }

  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }

  .section-title { font-size: 28px; }

  .personagens-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .personagem-img {
    width: 200px;
    height: 200px;
  }

  .livros-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .livro-capa { max-width: 220px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .personagem-img { width: 180px; height: 180px; }
  .personagem-nome { font-size: 20px; }

  .site-footer { padding: 30px 20px; }
}
