/* Blockchain na Escola - Matching MarceloReFi Style */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');

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

body {
  font-family: 'Courier Prime', monospace;
  font-size: 17px;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Typography */
h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #111;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.site-header .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #111;
}

.site-header .info h1 {
  margin-bottom: 0.25rem;
}

.site-header .info .tagline {
  color: #666;
  font-size: 0.95rem;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

nav a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 2px solid #111;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  background: #fff;
  transition: background 0.2s;
}

nav a:hover,
nav a.active {
  background: #ff6;
}

/* Cards */
.card {
  border: 2px solid #111;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 2px 2px 0 #111;
}

.card h3 {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Chips/Tags */
.chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 2px solid #111;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.chip.pink {
  background: #f9c;
}

.chip.green {
  background: #9f9;
}

.chip.yellow {
  background: #ff6;
}

.chip:hover {
  text-decoration: none;
  opacity: 0.85;
}

/* Meta info */
.meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Hero Image */
.hero-image {
  width: 100%;
  max-width: 860px;
  height: auto;
  border: 2px solid #111;
  border-radius: 12px;
  box-shadow: 2px 2px 0 #111;
  margin: 1.5rem 0;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
}

.hero .description {
  max-width: 600px;
  margin: 0 auto 1rem;
}

.hero .stats {
  font-weight: 700;
  color: #666;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-item {
  border: 2px solid #111;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  background: #fff;
  box-shadow: 2px 2px 0 #111;
}

.stat-item .number {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  color: #111;
}

.stat-item .label {
  font-size: 0.85rem;
  color: #666;
}

/* Timeline */
.timeline {
  border-left: 3px solid #111;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.timeline-item {
  margin-bottom: 1.25rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.7rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background: #9f9;
  border: 2px solid #111;
  border-radius: 50%;
}

.timeline-item .year {
  font-weight: 700;
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: #ff6;
  border: 2px solid #111;
  border-radius: 8px;
  margin-bottom: 0.25rem;
}

/* Lists */
ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Section */
section {
  margin-bottom: 2rem;
}

/* Partner/Item Cards */
.partner-card,
.item {
  border: 2px solid #111;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 2px 2px 0 #111;
}

.partner-card h3,
.item h3 {
  margin: 0 0 0.5rem 0;
}

.partner-card .details {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.partner-card .links,
.item .links {
  font-size: 0.9rem;
}

.partner-card .links a,
.item .links a {
  margin-right: 0.75rem;
}

/* Category Section */
.category {
  margin-bottom: 2rem;
}

.category > h2 {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: #f9c;
  border: 2px solid #111;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.category > h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #111;
}

/* Highlight Cards */
.highlight-card {
  border: 2px solid #111;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 2px 2px 0 #111;
}

.highlight-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.highlight-card .meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.highlight-card p:last-child {
  margin-bottom: 0;
}

/* Contact Sections */
.contact-section {
  border: 2px solid #111;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: 2px 2px 0 #111;
}

.contact-section h3 {
  margin-top: 0;
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: #9f9;
  border: 2px solid #111;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

/* Quick Links */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.quick-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 2px solid #111;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  background: #ff6;
  box-shadow: 2px 2px 0 #111;
}

.quick-links a:hover {
  background: #9f9;
}

/* Home button */
.home-btn {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: #eee;
  border: 2px solid #111;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  margin-bottom: 1rem;
}

.home-btn:hover {
  background: #ff6;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 3px solid #111;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

footer a {
  color: #666;
}

footer a:hover {
  color: #111;
}

/* Social Links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 2px solid #111;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  background: #fff;
}

.social-links a:hover {
  background: #ff6;
}

/* Responsive */
@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    text-align: center;
  }
}

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

  .wrap {
    padding: 1.5rem 1rem 3rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  nav {
    justify-content: center;
  }

  .quick-links {
    flex-direction: column;
  }

  .quick-links a {
    text-align: center;
  }
}

/* Team Photos */
.team-member {
  text-align: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #111;
  box-shadow: 2px 2px 0 #111;
}

.team-member h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.team-member .meta {
  margin-bottom: 0.5rem;
}

.team-member p:last-child {
  margin-bottom: 0;
}

/* Responsive team photos */
@media (max-width: 640px) {
  .team-member img {
    width: 120px;
    height: 120px;
  }
}

/* Media Page Styles */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(315px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.video-item {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 aspect ratio for shorts */
  height: 0;
  overflow: hidden;
  border: 2px solid #111;
  border-radius: 12px;
  box-shadow: 2px 2px 0 #111;
}

.video-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.photo-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border: 2px solid #111;
  border-radius: 12px;
  box-shadow: 2px 2px 0 #111;
  transition: transform 0.3s;
}

.photo-gallery img:hover {
  transform: scale(1.02);
}

/* Mobile responsive for media */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .photo-gallery img {
    height: 150px;
  }
}
