/* ==========================================================================
   REDE DIVERSA — Folha de estilos principal
   Cores, fontes e espaçamentos ficam centralizados aqui em variáveis (:root)
   Para trocar a paleta de cores do site inteiro, edite só o bloco :root abaixo.
   ========================================================================== */

:root{
  /* ---- Cores de marca ---- */
  --bg-0: #12021f;          /* fundo mais escuro (rodapé, seções alternadas) */
  --bg-1: #19042d;          /* fundo padrão das páginas */
  --bg-2: #220a3a;          /* cartões / superfícies elevadas */
  --bg-3: #2b1049;          /* cartões em hover / bordas sutis */

  --text-hi: #ffffff;       /* texto principal */
  --text-mid: #cabfdb;      /* texto secundário */
  --text-low: #9184a8;      /* texto terciário / legendas */

  --pink:   #ff2e8a;
  --orange: #ff8a2e;
  --yellow: #ffd23f;
  --green:  #7ed957;
  --teal:   #2ee6c8;
  --blue:   #3f6be4;
  --purple: #8b3ff0;

  --grad-brand: linear-gradient(90deg, var(--purple) 0%, var(--blue) 55%, var(--teal) 100%);
  --grad-text:  linear-gradient(90deg, #a06cf0 0%, #5b8bf0 55%, #3fd1e8 100%);
  --grad-rainbow: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow), var(--green), var(--teal), var(--blue), var(--purple));

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1200px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg-1);
  color: var(--text-hi);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before{
  content:"";
  width: 18px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.1;
}

.text-grad{
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rainbow-rule{
  height: 3px;
  width: 220px;
  border-radius: 3px;
  background: var(--grad-rainbow);
  background-size: 200% 100%;
  margin: 18px 0 0;
}

/* ---- Botões ---- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn-primary{
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(139,63,240,.35);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px rgba(139,63,240,.5); }
.btn-outline{
  background: transparent;
  color: var(--text-hi);
  border: 1.5px solid var(--bg-3);
}
.btn-outline:hover{ border-color: var(--teal); color: var(--teal); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18,2,31,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 84px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height: 42px; width:auto; }

.main-nav ul{
  display:flex;
  align-items:center;
  gap: 34px;
}
.main-nav a{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  color: var(--text-mid);
  transition: color .2s ease;
  position: relative;
}
.main-nav a:hover, .main-nav a.active{ color: var(--text-hi); }
.main-nav a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom: -6px;
  height:2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ transform: scaleX(1); }

.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items:center; justify-content:center; gap:5px;
}
.nav-toggle span{ width: 22px; height: 2px; background: var(--text-hi); border-radius: 2px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  padding: 96px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before{
  content:"";
  position:absolute;
  top:-200px; right:-200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,63,240,.35), transparent 70%);
  pointer-events:none;
}
.hero .container{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items:center;
  position:relative;
}
.hero h1{
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero-sub{
  margin-top: 24px;
  font-size: 18px;
  color: var(--text-mid);
  max-width: 480px;
}
.hero-actions{
  margin-top: 36px;
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-media{
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.hero-media img{ width:100%; height:100%; object-fit: cover; }
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(18,2,31,.55));
}

/* ==========================================================================
   SEÇÃO GENÉRICA
   ========================================================================== */
.section{ padding: 96px 0; }
.section-alt{ background: var(--bg-0); }
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2{
  font-size: clamp(28px, 3vw, 40px);
  margin-top: 14px;
  max-width: 640px;
}
.section-head p{
  color: var(--text-mid);
  max-width: 460px;
  font-size: 15.5px;
}

/* ==========================================================================
   NOTÍCIAS
   ========================================================================== */
.news-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.news-card{
  background: var(--bg-2);
  border-radius: var(--radius-m);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .25s ease, border-color .25s ease;
  display:flex;
  flex-direction: column;
}
.news-card:hover{ transform: translateY(-4px); border-color: var(--teal); }
.news-card.featured{ grid-row: span 2; }
.news-thumb{
  aspect-ratio: 16/10;
  background: var(--grad-brand);
  position: relative;
  overflow:hidden;
}
.news-card.featured .news-thumb{ aspect-ratio: 16/13; }
.news-thumb img{ width:100%; height:100%; object-fit:cover; }
.news-tag{
  position:absolute;
  top:16px; left:16px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(18,2,31,.75);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 999px;
}
.news-body{
  padding: 22px 22px 24px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  flex:1;
}
.news-card.featured .news-body h3{ font-size: 24px; }
.news-body h3{
  font-size: 17px;
  font-weight: 700;
  line-height:1.3;
}
.news-body p{
  color: var(--text-mid);
  font-size: 14px;
  flex:1;
}
.news-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-low);
  margin-top: 4px;
}
.news-meta .dot{ width:3px; height:3px; border-radius:50%; background: var(--text-low); }

.news-more{
  text-align:center;
  margin-top: 44px;
}

/* ==========================================================================
   PODCAST / SPOTIFY
   ========================================================================== */
.podcast-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.podcast-embed{
  background: var(--bg-2);
  border-radius: var(--radius-m);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.05);
}
.podcast-embed iframe{ width:100%; display:block; border:0; }

/* ==========================================================================
   YOUTUBE
   ========================================================================== */
.youtube-wrap{
  display:grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items:center;
}
.video-frame{
  position:relative;
  border-radius: var(--radius-l);
  overflow:hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  background: var(--bg-2);
}
.video-frame iframe{ width:100%; height:100%; border:0; }
.youtube-info h2{ font-size: clamp(26px, 3vw, 34px); }
.youtube-info p{ color: var(--text-mid); margin-top: 16px; }
.youtube-info .btn{ margin-top: 26px; }

/* ==========================================================================
   COMUNIDADE / CTA
   ========================================================================== */
.cta-band{
  background: var(--grad-brand);
  border-radius: var(--radius-l);
  padding: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2{ font-size: clamp(26px, 3vw, 36px); max-width: 520px; }
.cta-band .btn-outline{ border-color: rgba(255,255,255,.5); }
.cta-band .btn-outline:hover{ background: rgba(255,255,255,.15); border-color:#fff; color:#fff; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{
  background: var(--bg-0);
  padding: 72px 0 28px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-top{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img{ height: 40px; margin-bottom: 16px; }
.footer-brand p{ color: var(--text-low); font-size: 14px; max-width: 280px; }
.footer-col h4{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-low);
  margin-bottom: 18px;
}
.footer-col li{ margin-bottom: 12px; }
.footer-col a{ color: var(--text-mid); font-size: 14.5px; transition: color .2s ease; }
.footer-col a:hover{ color: var(--teal); }
.social-row{ display:flex; gap: 12px; margin-top: 20px; }
.social-row a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--bg-3);
  display:flex; align-items:center; justify-content:center;
  transition: border-color .2s ease, transform .2s ease;
}
.social-row a:hover{ border-color: var(--teal); transform: translateY(-2px); }
.social-row svg{ width:16px; height:16px; fill: var(--text-hi); }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display:flex;
  justify-content:space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-low);
}
.footer-bottom a{ color: var(--text-low); }
.footer-bottom a:hover{ color: var(--text-hi); }

/* ==========================================================================
   PÁGINA SOBRE
   ========================================================================== */
.page-hero{
  padding: 72px 0 56px;
  text-align:center;
}
.page-hero h1{ font-size: clamp(36px, 4.5vw, 54px); }
.page-hero .rainbow-rule{ margin: 22px auto 0; }
.page-hero p{
  color: var(--text-mid);
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 16.5px;
}
.tagline-strip{
  text-align:center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--text-low);
  padding-bottom: 64px;
}
.tagline-strip strong{ color: var(--teal); }

.org-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.org-card{
  background: var(--bg-2);
  border-radius: var(--radius-m);
  padding: 28px 26px;
  border-top: 3px solid var(--card-color, var(--teal));
  transition: transform .25s ease;
}
.org-card:hover{ transform: translateY(-4px); }
.org-card .org-icon{
  width: 46px; height: 46px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: color-mix(in srgb, var(--card-color, var(--teal)) 18%, transparent);
  margin-bottom: 18px;
}
.org-card .org-icon svg{ width:22px; height:22px; stroke: var(--card-color, var(--teal)); }
.org-card h3{ font-size: 19px; margin-bottom: 16px; color: var(--card-color, var(--teal)); }
.org-card ul li{
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.org-card ul li:first-child{ border-top:none; }
.org-card ul li b{ display:block; font-size: 14.5px; font-weight:700; color: var(--text-hi); }
.org-card ul li span{ font-size: 13px; color: var(--text-low); }

.about-story{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items:center;
}
.about-story .stat-row{
  display:flex;
  gap: 36px;
  margin-top: 32px;
}
.about-story .stat b{
  font-family: var(--font-display);
  font-size: 30px;
  display:block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-story .stat span{ font-size: 13px; color: var(--text-low); }
.about-story p{ color: var(--text-mid); margin-top: 18px; }
.about-media{
  border-radius: var(--radius-l);
  overflow:hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 980px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-media{ order:-1; }
  .news-grid{ grid-template-columns: 1fr 1fr; }
  .news-card.featured{ grid-column: span 2; grid-row: span 1; }
  .podcast-grid{ grid-template-columns: 1fr; }
  .youtube-wrap{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .org-grid{ grid-template-columns: 1fr 1fr; }
  .about-story{ grid-template-columns: 1fr; }
}
@media (max-width: 700px){
  .main-nav{ position:fixed; inset: 84px 0 0 0; background: var(--bg-1); padding: 32px; transform: translateY(-110%); transition: transform .3s ease; z-index: 90; }
  .main-nav.open{ transform: translateY(0); }
  .main-nav ul{ flex-direction:column; align-items:flex-start; gap: 22px; }
  .nav-toggle{ display:flex; }
  .news-grid{ grid-template-columns: 1fr; }
  .news-card.featured{ grid-column: span 1; }
  .footer-top{ grid-template-columns: 1fr; }
  .org-grid{ grid-template-columns: 1fr; }
  .cta-band{ padding: 40px 28px; flex-direction:column; text-align:center; }
}
