:root {
  --navy: #1E0B45;
  --roxo: #4A1A7A;
  --magenta: #A3176F;
  --magenta-texto: #A3176F;
  --rosa: #F0568F;
  --violeta: #4B2DA8;
  --violeta-texto: #4B2DA8;
  --papel: #F8F4FB;
  --superficie: #FFFFFF;
  --texto: #241536;
  --texto-suave: #5C5070;
  --linha: #DCD2E8;
  --branco: #FFFFFF;
  --gutter: 16px;
  --max: 1160px;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --corpo: "Barlow", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --papel: #140730; --superficie: #22104F; --violeta-texto: #B9A6F5; --magenta-texto: #F472A6; --texto: #F3EDF9; --texto-suave: #CFC3E3; --linha: #3A2A5C; }
}
:root[data-theme="dark"] { --papel: #140730; --superficie: #22104F; --violeta-texto: #B9A6F5; --magenta-texto: #F472A6; --texto: #F3EDF9; --texto-suave: #CFC3E3; --linha: #3A2A5C; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font-family: var(--corpo);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--branco); color: var(--navy); padding: 8px 12px; z-index: 100; }
.pular:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Botões */
.botao {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 10px;
  transition: transform .15s ease, background .15s ease;
}
.botao:hover { transform: translateY(-2px); }
.botao-claro { background: var(--branco); color: var(--navy); }
.botao-linha { border: 2px solid rgba(255,255,255,.7); color: var(--branco); }
.botao-violeta { background: var(--violeta); color: var(--branco); }

/* Marca */
.marca { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--branco); font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.marca-ciencia, .marca-estrada { font-size: 26px; }
.atomo { width: 30px; height: 30px; color: var(--rosa); flex: none; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(30,11,69,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.topo-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.menu-btn { background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-barras, .menu-barras::before, .menu-barras::after {
  display: block; width: 26px; height: 3px; background: var(--branco); border-radius: 2px; position: relative; transition: transform .2s;
}
.menu-barras::before, .menu-barras::after { content: ""; position: absolute; left: 0; }
.menu-barras::before { top: -8px; }
.menu-barras::after { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-barras { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-barras::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-barras::after { top: 0; transform: rotate(-45deg); }
.menu { display: none; }
.menu.aberto { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px; background: var(--navy); padding: 8px var(--gutter) 20px; }
.menu a { color: var(--branco); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.menu-ig { color: var(--rosa) !important; border-bottom: 0 !important; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--branco);
  background: linear-gradient(180deg, var(--navy) 0%, var(--roxo) 58%, var(--magenta) 100%);
  padding: 48px 0 72px;
}
.hero-in { display: grid; gap: 40px; align-items: center; }
.hero-titulo { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .95; }
.hero-ciencia, .hero-estrada { font-size: clamp(40px, 11vw, 96px); }
.atomo-grande { width: clamp(34px, 9vw, 88px); height: clamp(34px, 9vw, 88px); }
.hero-prox { margin-top: 32px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: .24em; text-transform: uppercase; opacity: .92; }
.hero-gama {
  display: inline-block;
  margin-top: 4px;
  background: var(--violeta);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(76px, 22vw, 156px);
  text-transform: uppercase;
  line-height: .9;
  padding: 6px 24px 12px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.hero-datas { margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 4.5vw, 30px); text-transform: uppercase; letter-spacing: .04em; line-height: 1.1; }
.hero-lead { margin-top: 12px; font-size: 19px; max-width: 40ch; opacity: .92; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-estrada-arte { width: min(100%, 380px); justify-self: center; }
.hero-estrada-arte svg { width: 100%; height: auto; display: block; }

/* Contagem */
.contagem { background: var(--superficie); color: var(--texto); border-bottom: 1px solid var(--linha); }
.contagem-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; }
.contagem-texto { font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.contagem-itens { display: flex; gap: 22px; }
.contagem-itens li { display: flex; align-items: baseline; gap: 6px; }
.contagem-itens strong { font-family: var(--display); font-weight: 900; font-size: 40px; color: var(--violeta-texto); font-variant-numeric: tabular-nums; }
.contagem-itens span { font-size: 15px; color: var(--texto-suave); }

/* Seções */
.secao { padding: 72px 0; }
.secao h2 { font-size: clamp(38px, 8vw, 62px); font-weight: 900; text-transform: uppercase; margin-bottom: 20px; color: var(--texto); }
.secao h2 + p { max-width: 62ch; }

/* Gama */
.gama { background: var(--papel); }
.gama-in { display: grid; gap: 36px; align-items: center; }
.gama-feed { justify-self: center; width: 100%; max-width: 540px; }
.gama-feed .instagram-media { margin: 0 auto !important; min-width: 0 !important; max-width: 540px !important; width: 100% !important; }
.gama-info h2 { color: var(--violeta-texto); }
.gama-lead { font-size: 19px; margin: 6px 0 24px; max-width: 46ch; }
.fatos { display: grid; gap: 0; margin: 0 0 28px; border-top: 2px solid var(--navy); }
.fatos > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.fatos dt { font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--violeta-texto); }
.fatos dd { margin: 0; }
.aviso { display: block; color: var(--texto-suave); font-size: 15px; margin-top: 4px; }
.gama .botao-violeta { font-size: 19px; }

/* Projeto */
.projeto { background: var(--superficie); }
.projeto-topo { max-width: 780px; margin-bottom: 36px; }
.projeto-topo p { font-size: 20px; line-height: 1.5; margin-top: 18px; font-style: italic; color: var(--texto); }
.projeto-topo .assinatura { font-style: normal; font-size: 16px; font-weight: 600; color: var(--violeta-texto); margin-top: 10px; }
.projeto-foto { margin: 0 0 36px; }
.projeto-foto img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.projeto-corpo { display: grid; gap: 18px; max-width: 760px; font-size: 18px; }
.realizacao { display: grid; gap: 22px; margin-top: 44px; padding-top: 28px; border-top: 2px solid var(--linha); }
.realizacao p { font-weight: 600; color: var(--texto); }
.rotulo { display: block; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--magenta-texto); margin-bottom: 2px; }

/* Atrações */
.atracoes { background: var(--papel); }
.atracoes-lead { font-size: 18px; margin-bottom: 36px; max-width: 60ch; color: var(--texto-suave); }
.lista-atracoes { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 2px solid var(--navy); }
.lista-atracoes li { padding: 22px 0; border-bottom: 1px solid var(--linha); }
.lista-atracoes h3 { font-size: 30px; font-weight: 800; text-transform: uppercase; color: var(--violeta-texto); margin-bottom: 6px; }
.lista-atracoes p { color: var(--texto); max-width: 60ch; }
.nomes { margin-top: 48px; background: var(--navy); color: var(--branco); padding: 28px 24px; border-radius: 18px; }
.nomes h3 { font-size: 28px; font-weight: 800; text-transform: uppercase; color: var(--rosa); margin-bottom: 14px; }
.nomes li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; }
.nomes li:last-child { border-bottom: 0; }
.nomes strong { font-family: var(--display); font-weight: 800; font-size: 22px; display: block; text-transform: uppercase; letter-spacing: .01em; }

/* Paradas */
.paradas { background: var(--superficie); }
.linha-tempo { margin-top: 28px; position: relative; display: grid; gap: 0; }
.linha-tempo::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 3px; background: var(--linha); border-radius: 2px; }
.linha-tempo li { position: relative; padding: 0 0 26px 40px; display: grid; gap: 2px; }
.linha-tempo li::before { content: ""; position: absolute; left: 0; top: 6px; width: 17px; height: 17px; border-radius: 50%; background: var(--branco); border: 3px solid var(--violeta); }
.linha-tempo .data { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--magenta-texto); text-transform: uppercase; letter-spacing: .04em; }
.linha-tempo .cidade { font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1.05; }
.linha-tempo .nota { color: var(--texto-suave); font-size: 15px; }
.linha-tempo .proxima::before { background: var(--magenta); border-color: var(--magenta-texto); width: 21px; height: 21px; left: -2px; top: 4px; }
.linha-tempo .proxima .cidade { color: var(--violeta-texto); }
.linha-tempo .proxima .nota { color: var(--texto); font-weight: 600; }

/* Blog (chamada na home) */
.blog-teaser { background: var(--papel); }
.blog-teaser-in { display: grid; gap: 32px; align-items: start; }
.blog-teaser h2 { margin-bottom: 16px; }
.blog-teaser p { font-size: 18px; max-width: 46ch; margin-bottom: 26px; }
.teaser-lista { display: grid; gap: 0; border-top: 2px solid var(--navy); }
.teaser-lista li { border-bottom: 1px solid var(--linha); }
.teaser-lista a { display: block; padding: 16px 0; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; color: var(--violeta-texto); }
.teaser-lista a:hover { color: var(--magenta-texto); }

/* Chamada final */
.chamada { background: linear-gradient(135deg, var(--roxo) 0%, var(--magenta) 100%); color: var(--branco); padding: 72px 0; text-align: center; }
.chamada-in { display: grid; gap: 18px; justify-items: center; }
.chamada h2 { font-size: clamp(40px, 9vw, 68px); font-weight: 900; text-transform: uppercase; }
.chamada p { font-size: 19px; max-width: 46ch; }

/* Rodapé */
.rodape { background: var(--navy); color: var(--branco); padding: 40px 0 48px; }
.rodape-in { display: grid; gap: 14px; }
.marca-rodape { font-size: 22px; }
.marca-rodape .atomo { width: 26px; height: 26px; }
.rodape-links a { color: var(--rosa); font-weight: 600; }
.rodape-credito { font-size: 14px; opacity: .8; max-width: 70ch; }

/* ----- Blog: lista e matérias ----- */
.migalhas { font-size: 15px; color: var(--texto-suave); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.migalhas a { color: var(--violeta-texto); }
.blog-topo { background: var(--navy); color: var(--branco); padding: 40px 0 48px; }
.blog-topo .migalhas { color: rgba(255,255,255,.75); }
.blog-topo .migalhas a { color: var(--rosa); }
.blog-topo h1 { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 9vw, 72px); text-transform: uppercase; line-height: .98; }
.blog-lead { font-size: 19px; margin-top: 16px; max-width: 58ch; opacity: .92; }
.blog-corpo { padding-top: 56px; padding-bottom: 24px; }
.blog-secao { margin-bottom: 52px; }
.blog-secao h2 { font-size: 36px; font-weight: 900; text-transform: uppercase; color: var(--violeta-texto); margin-bottom: 8px; }
.blog-lista { border-top: 2px solid var(--navy); }
.blog-lista li { padding: 16px 0; border-bottom: 1px solid var(--linha); display: grid; gap: 4px; }
.blog-lista a { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; text-decoration: none; color: var(--texto); }
.blog-lista a:hover { color: var(--magenta-texto); }
.blog-lista span { color: var(--texto-suave); font-size: 16px; }

.artigo { padding: 40px 0 24px; }
.artigo-in { max-width: 740px; }
.artigo-cat { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; color: var(--magenta-texto); letter-spacing: .03em; }
.artigo h1 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 8vw, 60px); text-transform: uppercase; color: var(--texto); margin: 8px 0 18px; line-height: 1; }
.artigo-lead { font-size: 21px; line-height: 1.5; color: var(--texto-suave); margin-bottom: 30px; }
.artigo-texto { display: grid; gap: 18px; font-size: 18px; }
.artigo-texto h2 { font-size: 30px; font-weight: 800; text-transform: uppercase; color: var(--violeta-texto); margin-top: 14px; }
.artigo-texto ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.artigo-texto li::marker { color: var(--magenta-texto); }
.conversa { background: var(--superficie); border: 1px solid var(--linha); border-radius: 12px; padding: 18px 20px; display: grid; gap: 6px; }
.conversa p { font-size: 17px; }
.conversa strong { font-family: var(--display); font-size: 20px; text-transform: uppercase; color: var(--magenta-texto); }
.artigo-convite { margin-top: 44px; background: var(--navy); color: var(--branco); border-radius: 18px; padding: 24px; display: grid; gap: 18px; justify-items: start; }
.artigo-convite p { font-size: 18px; }
.relacionados { margin-top: 48px; padding-top: 28px; border-top: 2px solid var(--navy); }
.relacionados h2 { font-size: 30px; font-weight: 800; text-transform: uppercase; color: var(--violeta-texto); margin-bottom: 12px; }
.relacionados ul { border-top: 1px solid var(--linha); }
.relacionados li { border-bottom: 1px solid var(--linha); }
.relacionados a { display: block; padding: 14px 0; font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; text-decoration: none; color: var(--texto); }
.relacionados a:hover { color: var(--magenta-texto); }
.voltar { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--violeta-texto); }

/* Telas maiores */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .menu { display: flex; flex-direction: row; gap: 26px; position: static; background: none; padding: 0; }
  .menu a { border: 0; padding: 6px 0; font-size: 18px; }
  .menu-btn { display: none; }
  .topo-in { justify-content: space-between; }
  .hero { padding: 72px 0 104px; }
  .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
  .hero-estrada-arte { justify-self: end; width: min(100%, 440px); }
  .gama-in { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .gama-feed { justify-self: start; }
  .lista-atracoes { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .realizacao { grid-template-columns: 1fr 1fr; }
  .nomes { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: start; }
  .nomes ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .nomes li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
  .blog-teaser-in { grid-template-columns: 1fr 1fr; gap: 56px; }
  .blog-lista li { grid-template-columns: minmax(0, 1fr); }
  .blog-lista span { max-width: 70ch; }
}

@media (min-width: 1000px) {
  .linha-tempo { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .linha-tempo::before { display: none; }
  .linha-tempo li { padding: 0 0 30px 0; border-left: 3px solid var(--linha); padding-left: 22px; }
  .linha-tempo li::before { left: -11px; }
  .linha-tempo .proxima::before { left: -13px; }
  .blog-secao { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
  .blog-secao h2 { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.feed-ig { background: var(--superficie); }
.feed-lead { font-size: 18px; margin: 0 0 28px; max-width: 60ch; color: var(--texto-suave); }
.feed-grade { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 16px; }
.feed-grade .instagram-media { flex: 0 0 326px; min-width: 326px !important; max-width: 326px !important; margin: 0 !important; scroll-snap-align: start; }
@media (min-width: 1080px) {
  .feed-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .feed-grade .instagram-media { flex: none; min-width: 0 !important; max-width: none !important; width: 100% !important; }
}
