@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,700;0,800;0,900;1,400&family=Inter:wght@300;400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;1,400&display=swap');

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

:root {
  --navy:    #1E154A; /* Deep solid Indigo */
  --navy2:   #120A33; /* Deeper Indigo for sections */
  --purple:  #6236FF; /* Vibrant Violet */
  --purple2: #7D3CFF; /* Secondary Violet */
  --cyan:    #4DB8C4; /* Steel Teal / Green-Blue */
  --cyan2:   #4A90E2; /* Bright Teal/Blue */
  --cream:   #F8F7FA; /* Light clean background */
  --warm:    #ECE9F2; /* Soft grey-purple neutral */
  --text:    #120A33; /* Deep contrast indigo */
  --muted:   #544E68; /* Slate purple secondary text */
  --border:  rgba(98, 54, 255, 0.15);
  --grad:    linear-gradient(135deg, #6236FF 0%, #4DB8C4 100%);
  --grad-text: linear-gradient(90deg, #6236FF 0%, #4DB8C4 100%);
  --ff-serif: 'Montserrat', sans-serif; /* Modern high-impact titles */
  --ff-alt:   'Libre Baskerville', Georgia, serif; /* Editorial quotes */
  --ff-sans:  'Inter', sans-serif; /* Clean body reading text */
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.7;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(30, 21, 74, 0.96); /* Matching Instagram Deep Indigo */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(98, 54, 255, 0.2);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-logo:hover img {
  transform: scale(1.02);
}

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cyan); }

.nav-cta {
  background: var(--purple);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover { 
  background: var(--purple2) !important; 
  color: #fff !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}

.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--cyan); border-radius: 2px; transition: 0.3s;
}

.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--navy2); z-index: 99;
  padding: 1.5rem 2rem 2rem;
  flex-direction: column; gap: 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(98, 54, 255, 0.15);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--cyan); }

/* ─── HERO ─── */
#home {
  background: var(--cream);
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 8vw, 7rem) clamp(4rem, 8vw, 6rem);
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(98, 54, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 5% 90%, rgba(77, 184, 196, 0.08) 0%, transparent 50%);
}

.hero-shape {
  position: absolute;
  bottom: -100px; right: -100px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(98, 54, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.hero-line {
  display: none;
}

.hero-label {
  color: var(--purple);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  color: var(--navy);
  line-height: 1.15;
  max-width: 850px;
  font-weight: 900;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  font-family: var(--ff-alt);
  font-weight: 400;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-top: 2rem;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 650px;
  line-height: 1.8;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn-primary {
  background: var(--purple);
  color: #fff;
  padding: 0.9rem 2.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 14px rgba(98, 54, 255, 0.25);
}

.btn-primary:hover { 
  background: var(--purple2); 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(98, 54, 255, 0.35);
}

.btn-outline {
  color: var(--navy);
  padding: 0.9rem 2.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid rgba(30, 21, 74, 0.25);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  display: inline-block;
  text-align: center;
}

.btn-outline:hover { 
  border-color: var(--purple); 
  color: var(--purple); 
  transform: translateY(-2px);
}

.hero-commissions {
  margin-top: 4rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards;
}

.hero-tag {
  border: 1.5px solid rgba(98, 54, 255, 0.2);
  color: var(--navy);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  background: rgba(98, 54, 255, 0.03);
  font-weight: 600;
}

/* ─── PAGE HEADER (Secondary Pages) ─── */
.page-header {
  background: var(--navy);
  position: relative;
  padding: clamp(6.5rem, 11vw, 9rem) clamp(1.5rem, 8vw, 7rem) clamp(3.5rem, 6vw, 4.5rem);
  overflow: hidden;
  border-bottom: 2px solid rgba(77, 184, 196, 0.25);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(98, 54, 255, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(77, 184, 196, 0.12) 0%, transparent 50%);
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs span.separator {
  color: rgba(255, 255, 255, 0.25);
}

.page-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  color: #fff;
  line-height: 1.15;
  font-weight: 800;
}

.page-title em {
  font-style: italic;
  font-family: var(--ff-alt);
  font-weight: 400;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SHARED SECTION STYLES ─── */
section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 8vw, 7rem); }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.divider {
  width: 48px; height: 4px;
  background: var(--grad);
  margin-bottom: 2rem;
  border-radius: 2px;
}

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

/* ─── ABOUT / INSTITUTO ─── */
#instituto {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-left { position: sticky; top: 100px; }

.about-right p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
}

.about-right p strong {
  color: var(--text);
  font-weight: 700;
}

.info-block {
  margin-top: 2.5rem;
  padding: 1.6rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  background: #fff;
  border-left: 4px solid var(--purple);
  box-shadow: 0 4px 12px rgba(30, 21, 74, 0.03);
}

.info-block h4 {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.info-block p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

/* ─── MANIFESTO ─── */
#manifesto {
  background: var(--navy);
  position: relative; overflow: hidden;
}

#manifesto .section-title { color: #fff; }
#manifesto .section-label { color: var(--cyan); }
#manifesto .divider { background: var(--grad); }

.manifesto-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(98, 54, 255, 0.12) 0%, transparent 60%);
}

.manifesto-body {
  max-width: 760px;
  position: relative; z-index: 1;
}

.manifesto-body p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

.manifesto-body .highlight {
  font-family: var(--ff-alt);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: var(--cyan);
  line-height: 1.45;
  margin: 2.5rem 0;
  padding-left: 2rem;
  border-left: 4px solid var(--purple);
}

/* ─── MISSÃO ─── */
#missao {
  background: var(--warm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.mvv-col {
  padding: clamp(2.5rem, 4vw, 3.5rem);
  border-right: 1px solid rgba(98, 54, 255, 0.15);
  background: #fff;
}

.mvv-col:last-child { border-right: none; }

.mvv-col h3 {
  font-family: var(--ff-serif);
  color: var(--purple);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 800;
}

.mvv-col p, .mvv-col li {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 400;
}

.mvv-col ul { list-style: none; }

.mvv-col ul li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(98, 54, 255, 0.08);
  display: flex; align-items: center; gap: 0.6rem;
}

.mvv-col ul li::before {
  content: '–';
  color: var(--cyan);
  font-weight: bold;
  flex-shrink: 0;
}

.mvv-col ul li:last-child { border-bottom: none; }

.mvv-header {
  grid-column: 1 / -1;
  padding: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 0;
  border-bottom: 1px solid rgba(98, 54, 255, 0.15);
  background: #fff;
}

/* ─── COMISSÕES ─── */
#comissoes { background: var(--cream); }

.commissions-intro {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.commissions-intro p { color: var(--muted); font-weight: 400; }

.commissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem; /* Gap with space instead of continuous borders to look modern */
}

.commission-card {
  background: #fff;
  padding: 2.2rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(30, 21, 74, 0.03);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.commission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.commission-card:hover { 
  transform: translateY(-5px);
  border-color: var(--cyan);
  box-shadow: 0 8px 25px rgba(30, 21, 74, 0.08);
}
.commission-card:hover::before { transform: scaleX(1); }

.commission-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: var(--purple);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 1rem;
  font-weight: 700;
}

.commission-card h4 {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.commission-card p.commission-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.8rem;
  font-weight: 400;
  line-height: 1.6;
}

/* ─── GESTÃO ─── */
#gestao { background: var(--navy); }
#gestao .section-title { color: #fff; }
#gestao .section-label { color: var(--cyan); }
#gestao .divider { background: var(--grad); }

.gestao-text {
  max-width: 600px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.gestao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.member-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(77, 184, 196, 0.18);
  border-radius: 8px;
  padding: 2.2rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, background-color 0.3s;
}

.member-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.07);
}

.member-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--purple);
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--ff-serif);
  border: 2px solid var(--cyan);
}

.member-name {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.member-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 1rem;
}

.member-bio {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  line-height: 1.6;
}

/* ─── COMO FAZER PARTE / PARTICIPAR ─── */
#participar {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.profiles-list {
  list-style: none;
  margin-top: 1.5rem;
}

.profiles-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--muted);
  font-weight: 500;
  display: flex; align-items: center; gap: 1rem;
}

.profiles-list li:last-child { border-bottom: none; }

.profile-icon {
  width: 34px; height: 34px;
  background: rgba(98, 54, 255, 0.08);
  border: 1.5px solid rgba(98, 54, 255, 0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--purple);
  font-size: 0.9rem;
}

/* ─── FORMULÁRIO / CONTATO ─── */
#contato { background: var(--navy2); }
#contato .section-title { color: #fff; }
#contato .section-label { color: var(--cyan); }
#contato .divider { background: var(--grad); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  margin-top: 2rem;
}

.contato-info p {
  color: rgba(255,255,255,0.65);
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.8;
}

.contato-detail {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}

.contato-item {
  display: flex; align-items: center; gap: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}

.contato-item-icon {
  width: 36px; height: 36px;
  background: rgba(98, 54, 255, 0.15);
  border: 1px solid rgba(98, 54, 255, 0.3);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
  flex-shrink: 0;
}

form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(77, 184, 196, 0.25);
  border-radius: 4px;
  color: #fff;
  padding: 0.8rem 1rem;
  font-family: var(--ff-sans);
  font-size: 0.9rem;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.form-group select option { background: var(--navy2); color: #fff; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(98, 54, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group input[type="checkbox"] {
  width: auto; margin-right: 0.5rem;
}

.checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.checkbox-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  font-weight: 500;
}

.checkbox-item input[type="checkbox"] {
  accent-color: var(--cyan);
  border: none; background: none; padding: 0;
}

form button {
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* ─── FOOTER ─── */
footer {
  background: #0D0826; /* Deeper indigo matching bottom visual identity */
  padding: 3rem clamp(1.5rem, 8vw, 7rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(98, 54, 255, 0.2);
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 38px;
  width: auto;
  display: block;
}

.footer-text {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1; transform: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  #instituto { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-left { position: static; }

  #missao { grid-template-columns: 1fr; }
  .mvv-col { border-right: none; border-bottom: 1px solid rgba(98, 54, 255, 0.15); }
  .mvv-col:last-child { border-bottom: none; }
  .mvv-header { padding-bottom: 0; }

  #participar { grid-template-columns: 1fr; gap: 2.5rem; }

  .contato-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .checkboxes { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
}
