:root {
  --brand: #5d486e;
  --brand-dark: #411268;
  --accent: #cdb7df;
  --text-dark: #212529; 
  --text-muted: #474c4a;
  --bg-light: #ffffff;
  --bg-alt: #ededed;
  --shadow: 0 8px 30px rgba(0,0,0,0.1);
  --radius: 14px;
}

/* GLOBAL */
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

section {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

p.lead {
  color: var(--text-muted);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.btn-dark, .btn-outline, .btn-light {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dark {
  background: var(--brand-dark);
  color: #fff;
}

.btn-dark:hover { background: var(--brand); }

.btn-outline {
  border: 2px solid var(--brand-dark);
  color: var(--brand-dark);
}

.btn-outline:hover { background: var(--brand-dark); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: var(--shadow);
  margin-top: 1rem;
}

.cta {
  text-align: center;
  margin-top: 1.6rem;
}

/* ====================== HERO IMAGE ====================== */
.hero-image {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: opacity 0.8s ease, filter 0.8s ease;
  overflow: hidden;
}

.hero-image .overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 33, 33, 0.45);
  z-index: 1;
}

.hero-image .hero-content {
  position: relative;
  z-index: 2;
  /* max-width: 780px; */
  max-width: 1080px;
  padding: 0 2rem;
}

.hero-image h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-image p {
  font-size: 1.2rem;
  color: #eaeaea;
}

/* Lazy Load Transition */
.hero-image:not(.loaded) {
  opacity: 0.6;
  /* filter: blur(2px); */
}

.hero-image.loaded {
  opacity: 1;
  filter: none;
}

/* ====================== INSPIRE-SE ====================== */
.inspire {
  background: var(--bg-alt);
  text-align: center;
}

.inspire h2 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  margin: 2rem auto;
  max-width: 1200px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ====================== HORIZONTAL BLOCKS ====================== */
.section.horizontal {
  padding: 0;
}

.section.horizontal .block {
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.section.horizontal .block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}

.block-content {
  color: #fff;
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 8%;
}

.block-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* Parallax control */
.parallax {
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ====================== AUTORES ====================== */


.authors {
  background: #fff;
  text-align: center;
}

.authors-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 2rem;
  scroll-snap-type: x mandatory;
}


.author-card {
  flex: 0 0 250px;
  scroll-snap-align: center;
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.author-card:hover { transform: translateY(-5px); }


.author-card h3 {
  font-weight: 200;
  letter-spacing: -0.02em;
  min-height: 120px;
}

.author-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.author-card h3 { margin: 0; color: var(--brand-dark); }

.author-card p { color: var(--text-muted); font-size: 0.9rem; }

.author-card .link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--brand-dark);
  font-weight: 600;
}

/* === Navegação do carrossel === */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(65, 18, 104, 0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.3s ease, transform 0.2s;
}

.carousel-arrow:hover {
  background: rgba(93, 72, 110, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left { left: 12px; }
.carousel-arrow.right { right: 12px; }

.carousel-arrow i {
  font-size: 1.3rem;
}

/* Oculta setas em telas pequenas */
@media (max-width: 768px) {
  .carousel-arrow {
    display: none;
  }
}

/* ====================== PARCEIROS ====================== */
.partners {
  background: linear-gradient(180deg, #f8f8fa, #ffffff);
  text-align: center;
}

.partners h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.partners-logos img {
  width: 100%;
  filter: grayscale(100%);
  transition: 0.3s;
  opacity: 0.9;
}

.partners-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ====================== MANIFESTO ====================== */
.manifesto {
  background: #f8f8fa;
  text-align: center;
  padding: 6rem 2rem;
}

.manifesto h2 { color: var(--brand-dark); margin-bottom: 1rem; }

.manifesto p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ====================== RESPONSABILIDADE ====================== */
.custom {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
  padding: 8rem 2rem;
}

.custom h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

/* ====================== REVEAL EFFECT ====================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ====================== RESPONSIVIDADE ====================== */
@media (max-width: 992px) {
  .block-content { margin: 0 2rem; }
  .block-content h2 { font-size: 1.8rem; }
  .section.horizontal .block { height: 70vh; }
}

@media (max-width: 768px) {
  .hero-image {
    height: 80vh;
    background-attachment: scroll;
  }
  .gallery img { height: 160px; }
  .author-card { flex: 0 0 220px; }
  .block-content { margin: 0 1.5rem; }
}
@media (max-width: 768px) {
  .btn-light, .btn-dark {
      width: 100%;
  }
}