:root {
  --ink: #0b0e13;
  --ink-2: #141922;
  --paper: #f5f3ee;
  --paper-2: #ebe8e1;
  --white: #fff;
  --muted: #676d78;
  --line: rgba(11, 14, 19, .14);
  --accent: #7c5cff;
  --green: #73f2bd;
  --cyan: #45d7ec;
  --blue: #4f86ff;
  --amber: #ffbd5a;
  --violet: #8c69ff;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(5, 8, 13, .12);
  --container: min(1220px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--white); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.news-flash { color: var(--white); background: var(--ink); font-size: .76rem; letter-spacing: .02em; }
.news-flash__inner { min-height: 34px; display: flex; align-items: center; gap: 10px; }
.news-flash__inner strong { text-transform: uppercase; font-size: .68rem; letter-spacing: .15em; }
.news-flash__date { margin-left: auto; color: #aab0ba; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(115, 242, 189, .12); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(245, 243, 238, .94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-main { height: 78px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--white); background: var(--ink); border-radius: 11px 4px 11px 4px; font-weight: 900; font-size: 1.2rem; }
.brand > span:last-child { display: flex; font-size: 1.22rem; letter-spacing: -.04em; }
.brand strong { font-weight: 900; }
.brand em { color: var(--accent); font-style: normal; font-weight: 700; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; font-size: .82rem; font-weight: 700; }
.main-nav a { position: relative; padding-block: 28px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--accent); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.search-trigger, .menu-toggle { display: grid; place-items: center; border: 0; background: transparent; }
.search-trigger { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; }
.search-trigger svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.menu-toggle { display: none; gap: 4px; margin-left: auto; }
.menu-toggle span:not(.sr-only) { width: 22px; height: 2px; background: var(--ink); }
.search-panel { padding: 20px 0 26px; background: var(--white); border-top: 1px solid var(--line); }
.search-panel label { display: block; margin-bottom: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.search-panel input { width: 100%; padding: 15px 0; border: 0; border-bottom: 2px solid var(--ink); outline: 0; background: transparent; font-size: 1.4rem; }

.hero { padding-block: 42px 72px; }
.section-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-kicker span:first-child { color: var(--ink); }
.section-kicker .line { width: 42px; height: 1px; background: var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .8fr); gap: 22px; }
.lead-story { position: relative; min-height: 590px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--white); background: var(--ink-2); border-radius: 24px; box-shadow: var(--shadow); }
.lead-story__visual { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(circle at 70% 15%, rgba(255,255,255,.18), transparent 28%), linear-gradient(135deg, #171b29, #5139b4 72%, #7c5cff); }
.lead-story__visual::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7, 9, 14, .94)); }
.lead-story__visual .category-pill { position: absolute; top: 24px; left: 24px; z-index: 2; }
.tech-orbit { position: absolute; width: 330px; height: 330px; right: 6%; top: 5%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.tech-orbit::before, .tech-orbit::after, .tech-orbit i { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.tech-orbit::before { inset: 40px; }
.tech-orbit::after { inset: 90px; background: radial-gradient(circle at 35% 30%, #b8aaff, #5139b4 60%, #22195b); box-shadow: 0 0 55px rgba(140, 105, 255, .55); }
.tech-orbit i:nth-child(1) { width: 15px; height: 15px; background: var(--green); border: 0; top: 38px; left: 38px; box-shadow: 0 0 18px var(--green); }
.tech-orbit i:nth-child(2) { width: 8px; height: 8px; background: var(--cyan); border: 0; right: 18px; top: 160px; }
.tech-orbit i:nth-child(3) { inset: -35px; border-style: dashed; opacity: .7; }
.lead-story__content { position: relative; z-index: 2; padding: 38px; max-width: 800px; }
.lead-story h1 { max-width: 780px; margin: 8px 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.45rem, 5.2vw, 4.9rem); line-height: .96; letter-spacing: -.055em; }
.lead-story h1 a:hover { color: #d7ceff; }
.lead-story__content > p { max-width: 650px; margin: 0 0 24px; color: #d0d4db; font-size: 1.02rem; }
.eyebrow { color: var(--accent); font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.lead-story .eyebrow, .opportunities .eyebrow, .article-hero .eyebrow { color: var(--green); }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.lead-story .meta { color: #aeb5c0; }
.meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 18px; vertical-align: middle; background: currentColor; border-radius: 50%; }
.category-pill { display: inline-flex; width: max-content; padding: 7px 10px; color: var(--ink); background: var(--white); border-radius: 999px; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.category-pill--light { color: var(--ink); background: var(--green); }
.side-stories { display: grid; gap: 22px; }
.side-story { display: grid; grid-template-columns: 42% 1fr; min-height: 284px; overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: 0 15px 40px rgba(7, 9, 14, .06); }
.side-story__visual { position: relative; display: block; overflow: hidden; }
.side-story__visual::before, .news-card__visual::before { content: ""; position: absolute; width: 140px; height: 140px; right: -42px; bottom: -42px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.08), 0 0 0 60px rgba(255,255,255,.05); }
.side-story__number { position: absolute; left: 16px; bottom: 12px; color: rgba(255,255,255,.8); font-family: Georgia, serif; font-size: 2.5rem; }
.side-story > div { align-self: center; padding: 24px 20px; }
.side-story h2 { margin: 8px 0 11px; font-family: Georgia, serif; font-size: clamp(1.25rem, 1.7vw, 1.7rem); line-height: 1.08; letter-spacing: -.035em; }
.side-story p { margin: 0; color: var(--muted); font-size: .84rem; }
.tone-violet { background: linear-gradient(145deg, #171b29, var(--violet)); }
.tone-cyan { background: linear-gradient(145deg, #111b22, #139db4); }
.tone-blue { background: linear-gradient(145deg, #121824, var(--blue)); }
.tone-green { background: linear-gradient(145deg, #12201d, #27a879); }
.tone-amber { background: linear-gradient(145deg, #261b0e, #dc8f1d); }

.content-shell { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; padding-bottom: 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-heading h2 { margin: 3px 0 0; font-family: Georgia, serif; font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -.045em; }
.section-heading > a { font-size: .76rem; font-weight: 800; }
.section-heading > a span { color: var(--accent); }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
.news-card { min-width: 0; }
.news-card__visual { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; }
.news-card__visual .category-pill { position: absolute; top: 14px; left: 14px; }
.news-card__glyph { position: absolute; width: 72px; height: 72px; right: 22px; top: 50%; border: 1px solid rgba(255,255,255,.5); transform: translateY(-50%) rotate(45deg); }
.news-card__glyph::after { content: ""; position: absolute; inset: 13px; background: rgba(255,255,255,.18); }
.news-card__body { padding: 14px 2px 0; }
.news-card h3 { margin: 9px 0 8px; font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.03em; }
.news-card h3 a:hover, .side-story h2 a:hover { color: var(--accent); }
.news-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.sidebar { display: grid; align-content: start; gap: 22px; }
.trending-panel { padding: 24px; background: var(--white); border-radius: var(--radius); }
.panel-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 2px solid var(--ink); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 700; }
.pulse { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px rgba(124,92,255,.13); }
.trending-panel ol { margin: 0; padding: 0; list-style: none; }
.trending-panel li { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trending-panel li:last-child { border-bottom: 0; padding-bottom: 0; }
.trending-panel li > span { color: var(--accent); font-family: Georgia, serif; font-size: 1.6rem; }
.trending-panel small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.trending-panel a { display: block; font-family: Georgia, serif; font-size: .98rem; font-weight: 700; line-height: 1.2; }
.newsletter-panel { padding: 28px; color: var(--white); background: var(--ink); border-radius: var(--radius); }
.newsletter-panel h2 { margin: 5px 0 8px; font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.newsletter-panel > p { color: #aeb5c0; font-size: .84rem; }
.newsletter-form { display: grid; gap: 9px; margin-top: 22px; }
.newsletter-form input { width: 100%; padding: 13px 14px; color: var(--white); background: #1c222c; border: 1px solid #2b3441; border-radius: 8px; outline: 0; }
.newsletter-form input:focus { border-color: var(--green); }
.newsletter-form button, .button { display: inline-flex; justify-content: center; padding: 13px 16px; color: var(--ink); background: var(--green); border: 0; border-radius: 8px; font-weight: 900; }
.newsletter-form small { color: #8f97a4; font-size: .64rem; }

.opportunities { padding-block: 78px 90px; color: var(--white); background: var(--ink); }
.section-heading--light { align-items: end; border-color: rgba(255,255,255,.16); }
.section-heading--light > p { max-width: 360px; margin: 0; color: #aeb5c0; font-size: .82rem; }
.opportunity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: #343944; border: 1px solid #343944; border-radius: var(--radius); }
.opportunity-grid article { position: relative; min-height: 310px; padding: 34px; background: #151a22; }
.opportunity-grid article:hover { background: #1a2029; }
.opportunity-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 48px; color: var(--green); border: 1px solid #3a424e; border-radius: 50%; font-family: Georgia, serif; }
.opportunity-grid small { color: var(--accent); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.opportunity-grid h3 { margin: 8px 0 12px; font-family: Georgia, serif; font-size: 1.75rem; line-height: 1.08; }
.opportunity-grid p { color: #aeb5c0; font-size: .84rem; }
.opportunity-grid a { position: absolute; bottom: 30px; font-size: .78rem; font-weight: 800; }
.opportunity-grid a span { color: var(--green); }

.site-footer { padding-block: 64px 24px; background: #07090d; color: #b1b6c0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 70px; }
.brand--footer { color: var(--white); }
.brand--footer + p { max-width: 370px; }
.footer-grid strong { color: var(--white); }
.footer-grid p { font-size: .8rem; }
.footer-grid ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: .8rem; line-height: 2; }
.footer-grid a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid #242832; font-size: .68rem; }

.article-hero { padding-block: 88px; color: var(--white); }
.article-hero__inner { max-width: 920px; }
.article-hero .category-pill { margin-bottom: 28px; }
.article-hero h1 { margin: 10px 0 18px; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6.3rem); line-height: .94; letter-spacing: -.06em; }
.article-hero p { max-width: 720px; font-size: 1.16rem; color: rgba(255,255,255,.78); }
.article-hero .meta { margin-top: 28px; color: rgba(255,255,255,.65); }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 290px; justify-content: center; gap: 80px; padding-block: 72px 100px; }
.article-content { font-family: Georgia, serif; font-size: 1.16rem; line-height: 1.85; }
.article-content p { margin: 0 0 1.55em; }
.article-content h2 { margin: 1.7em 0 .55em; font-size: 2.2rem; line-height: 1.1; letter-spacing: -.04em; }
.article-aside { align-self: start; position: sticky; top: 115px; display: grid; }
.category-page { padding-block: 70px 100px; }
.category-header { max-width: 700px; margin-bottom: 46px; }
.category-header h1 { margin: 5px 0 12px; font-family: Georgia, serif; font-size: clamp(3.5rem, 7vw, 6rem); line-height: .95; letter-spacing: -.06em; }
.category-header p { color: var(--muted); font-size: 1.05rem; }
.news-grid--category { grid-template-columns: repeat(3, 1fr); }
.empty-state { min-height: 55vh; display: flex; flex-direction: column; align-items: start; justify-content: center; max-width: 720px; }
.empty-state h1, .empty-state h2 { margin: 8px 0; font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); line-height: .95; }
.empty-state .button { margin-top: 16px; }

@media (max-width: 1040px) {
  .main-nav { position: fixed; inset: 112px 20px auto; display: none; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 7px; }
  .main-nav a::after { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid, .content-shell { grid-template-columns: 1fr; }
  .side-stories { grid-template-columns: 1fr 1fr; }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 700px); }
  .article-aside { position: static; }
  .news-grid--category { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --container: min(100% - 28px, 1220px); }
  .news-flash__inner > span:nth-child(3) { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .news-flash__date { display: none; }
  .header-main { height: 66px; gap: 12px; }
  .main-nav { top: 100px; }
  .hero { padding-block: 24px 50px; }
  .hero-grid { gap: 16px; }
  .lead-story { min-height: 510px; }
  .lead-story__content { padding: 26px 22px; }
  .lead-story h1 { font-size: 2.75rem; }
  .tech-orbit { width: 260px; height: 260px; right: -30px; }
  .side-stories, .news-grid, .sidebar, .opportunity-grid, .footer-grid, .news-grid--category { grid-template-columns: 1fr; }
  .side-story { min-height: 250px; }
  .content-shell { gap: 46px; padding-bottom: 60px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading--light > p { max-width: none; }
  .opportunity-grid { gap: 1px; }
  .footer-grid { gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .article-hero { padding-block: 58px; }
  .article-layout { padding-block: 48px 70px; }
}

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

/* Capas, fonte, newsletter (painel) */
.has-cover { position: relative; overflow: hidden; }
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has-cover .news-card__glyph, .has-cover .tech-orbit, .has-cover .side-story__number { display: none; }
.has-cover .category-pill { position: absolute; left: 14px; top: 14px; z-index: 2; }
.article-cover { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; }
.article-cover img { display: block; width: 100%; height: auto; }
.article-source { margin: 22px 0 0; color: var(--muted); font-size: .72rem; opacity: .75; }
.article-source a { color: inherit; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; margin: 10px 0; }
.newsletter-consent input { width: auto; margin-top: 3px; }
.newsletter-form small { display: block; margin-top: 8px; }
.search-page-form input { width: 100%; max-width: 520px; margin-top: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.article-layout--page { display: block; max-width: 820px; padding-block: 48px; }
.article-layout--page h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 20px; }

/* ===== Dinamismo: ticker, padrões, carrossel, mosaicos, movimento ao rolar ===== */
html { scroll-padding-top: 90px; }

/* Ticker de manchetes (no lugar do texto fixo) */
.ticker { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; flex: none; }
.ticker__group a { padding-inline: 22px; white-space: nowrap; position: relative; opacity: .88; }
.ticker__group a::after { content: "◆"; position: absolute; right: -4px; color: var(--green); font-size: .5rem; top: 50%; transform: translateY(-50%); }
.ticker__group a:hover { opacity: 1; text-decoration: underline; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Arte gerada: cinco padrões estáveis por notícia, sobre a cor da editoria */
.art::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6; mix-blend-mode: soft-light; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.pat-1::after { background: radial-gradient(circle, rgba(255,255,255,.55) 0 2px, transparent 3px) 0 0 / 24px 24px; }
.pat-2::after { background: repeating-linear-gradient(135deg, rgba(255,255,255,.3) 0 2px, transparent 2px 16px); }
.pat-3::after { background: radial-gradient(circle at 82% 18%, rgba(255,255,255,.6), transparent 42%), radial-gradient(circle at 12% 92%, rgba(0,0,0,.5), transparent 48%); }
.pat-4::after { background: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px) 0 0 / 28px 28px; }
.pat-5::after { background: repeating-radial-gradient(circle at 88% 112%, rgba(255,255,255,.35) 0 2px, transparent 2px 24px); }
.lead-story__visual.art::after { inset: 0; z-index: 0; }
.lead-story__visual .tech-orbit, .lead-story__visual .category-pill { z-index: 2; }
.has-cover::after { display: none; }

/* Carrossel */
.carousel { padding-block: 10px 34px; }
.carousel__controls { display: flex; gap: 8px; }
.carousel__controls button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); transition: transform .2s, background .2s, color .2s; }
.carousel__controls button:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.carousel__controls svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 14px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
.carousel__slide { flex: 0 0 clamp(250px, 29%, 360px); scroll-snap-align: start; }
.carousel__visual { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; }
.carousel__visual .category-pill { position: absolute; left: 14px; top: 14px; z-index: 2; }
.carousel__visual::before { content: ""; position: absolute; width: 150px; height: 150px; right: -40px; bottom: -40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); box-shadow: 0 0 0 26px rgba(255,255,255,.05), 0 0 0 52px rgba(255,255,255,.04); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.carousel__slide:hover .carousel__visual::before { transform: scale(1.25) rotate(8deg); }
.carousel__slide .meta { margin-top: 12px; }
.carousel__slide h3 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1.12; letter-spacing: -.02em; }
.carousel__slide h3 a:hover { color: var(--accent); }
.carousel__progress { height: 3px; border-radius: 99px; background: var(--line); overflow: hidden; }
.carousel__progress span { display: block; height: 100%; width: 25%; border-radius: 99px; background: var(--accent); transition: transform .25s ease-out; transform-origin: 0 50%; }

/* Mosaico: um destaque e duas notícias pequenas */
.mosaic-section { padding-block: 26px 14px; }
.mosaic { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: 20px; }
.mosaic--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.mosaic--flip .news-feature { order: 2; }
.news-feature { position: relative; grid-row: 1 / 3; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; border-radius: 20px; color: var(--white); isolation: isolate; }
.news-feature::before { content: ""; position: absolute; inset: 40% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(7, 9, 14, .92)); }
.news-feature .cover-img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.news-feature:hover .cover-img, .news-feature:hover::after { transform: scale(1.06); }
.news-feature__link { position: absolute; inset: 0; z-index: 3; }
.news-feature__content { position: relative; z-index: 2; padding: 28px; max-width: 640px; }
.news-feature h3 { margin: 12px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.04; letter-spacing: -.035em; }
.news-feature p { margin: 0 0 14px; color: #d0d4db; font-size: .95rem; }
.news-feature .meta { color: #aeb5c0; }
.news-mini { display: grid; grid-template-columns: 38% 1fr; gap: 16px; align-items: center; padding: 14px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.news-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-mini__visual { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; }
.news-mini__body .eyebrow { color: var(--accent); }
.news-mini h3 { margin: 6px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: 1.12; letter-spacing: -.02em; }
.news-mini h3 a:hover { color: var(--accent); }

/* Movimento nos cartões existentes */
.news-card__visual, .side-story__visual { transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.news-card:hover .news-card__visual { transform: translateY(-5px); box-shadow: 0 22px 40px rgba(5, 8, 13, .18); }
.news-card:hover .art::after, .news-mini:hover .art::after, .carousel__slide:hover .art::after { transform: scale(1.12); }
.side-story { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.side-story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cover-img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.news-card:hover .cover-img, .carousel__slide:hover .cover-img, .news-mini:hover .cover-img, .lead-story:hover .cover-img { transform: scale(1.06); }
.live-dot { animation: dot-pulse 1.8s ease-out infinite; }
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(115, 242, 189, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(115, 242, 189, 0); } }
.tech-orbit i:nth-child(3) { animation: orbit-spin 38s linear infinite; }
.tech-orbit { animation: orbit-float 9s ease-in-out infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-float { 50% { transform: translateY(-14px); } }
.content-shell--solo { grid-template-columns: 1fr; }
.sidebar { position: sticky; top: 96px; align-self: start; }
.more-reading { padding-block: 40px 70px; }

/* Barra de leitura e cabeçalho vivo: animados pela rolagem, sem JavaScript */
.read-progress { position: fixed; z-index: 90; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.site-header { position: sticky; top: 0; z-index: 40; }

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .lead-story__visual { animation: hero-parallax linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
        @keyframes hero-parallax { to { transform: translateY(70px) scale(1.06); } }
        .read-progress { animation: read-grow linear both; animation-timeline: scroll(root); }
        @keyframes read-grow { to { transform: scaleX(1); } }
        .site-header { animation: header-shrink linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
        @keyframes header-shrink { to { box-shadow: 0 10px 30px rgba(5, 8, 13, .12); background: rgba(255, 255, 255, .92); } }
    }
}
@media (max-width: 1040px) {
    .mosaic, .mosaic--flip { grid-template-columns: 1fr; grid-template-rows: auto; }
    .news-feature { grid-row: auto; min-height: 380px; }
    .mosaic--flip .news-feature { order: 0; }
    .sidebar { position: static; }
}
@media (max-width: 720px) {
    .carousel__slide { flex-basis: 78%; }
    .news-mini { grid-template-columns: 34% 1fr; }
    .ticker__track { animation-duration: 55s; }
    .news-feature { min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
    .ticker__track, .tech-orbit, .tech-orbit i, .live-dot { animation: none !important; }
    .ticker { overflow-x: auto; }
    .read-progress { display: none; }
}
.cover-credit { margin: 6px 2px 0; color: var(--muted); font-size: .68rem; opacity: .75; }

.brand__logo { display: block; width: auto; height: 38px; max-width: 100%; }
.brand--footer .brand__logo { height: 44px; }
@media (max-width: 640px) { .brand__logo { height: 32px; } }

/* Texto legível sobre qualquer capa: véu escuro em toda a altura do cartão e sombra leve nas letras.
   Capas claras (medidas no upload: .cover-light) recebem um véu mais forte. */
.lead-story__visual.has-cover::after { display: block; z-index: 1; opacity: 1; mix-blend-mode: normal; transform: none; inset: 0; background: linear-gradient(180deg, rgba(7,9,14,.28) 0%, rgba(7,9,14,.5) 40%, rgba(7,9,14,.92) 100%); }
.lead-story.cover-light .lead-story__visual.has-cover::after { background: linear-gradient(180deg, rgba(7,9,14,.5) 0%, rgba(7,9,14,.72) 40%, rgba(7,9,14,.95) 100%); }
.news-feature.has-cover::before { opacity: 1; mix-blend-mode: normal; inset: 0; background: linear-gradient(180deg, rgba(7,9,14,.25) 0%, rgba(7,9,14,.5) 45%, rgba(7,9,14,.92) 100%); }
.news-feature.has-cover.cover-light::before { background: linear-gradient(180deg, rgba(7,9,14,.5) 0%, rgba(7,9,14,.74) 45%, rgba(7,9,14,.95) 100%); }
.lead-story.has-cover h1, .lead-story .lead-story__content h1, .news-feature.has-cover h3 { text-shadow: 0 2px 18px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.5); }
.lead-story.cover-light .lead-story__content > p, .news-feature.cover-light p, .lead-story.cover-light .meta, .news-feature.cover-light .meta { color: #eef1f6; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.lead-story__visual.has-cover { position: absolute; inset: 0; display: block; }

/* Destaque com 3 matérias ao lado: cartões compactos que acompanham a altura da principal */
.side-stories { grid-auto-rows: 1fr; }
.side-story { min-height: 180px; }
.side-story > div { padding: 16px 18px; }
.side-story h2 { font-size: clamp(1.05rem, 1.35vw, 1.35rem); margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.side-story p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 720px) { .side-stories { grid-auto-rows: auto; } .side-story { min-height: 150px; } }

/* ===== Vida: cor, brilho e movimento ===== */
:root {
  --navy: #061a36;
  --navy-2: #0a2a5c;
  --sky: #00a3ff;
  --mint: #2fd9a0;
  --pink: #ff5c9d;
  --paper: #f3f6ff;
  --accent: #5b5bff;
}
body { background: var(--paper); position: relative; overflow-x: clip; }
/* Manchas de cor que flutuam devagar atrás da página */
body::before, body::after { content: ""; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(90px); opacity: .55; }
body::before { width: 52vw; height: 52vw; left: -14vw; top: -12vw; background: radial-gradient(circle, rgba(0,163,255,.5), transparent 68%); animation: glow-a 26s ease-in-out infinite alternate; }
body::after { width: 46vw; height: 46vw; right: -12vw; top: 28vh; background: radial-gradient(circle, rgba(124,92,255,.42), transparent 68%); animation: glow-b 32s ease-in-out infinite alternate; }
@keyframes glow-a { to { transform: translate(14vw, 22vh) scale(1.15); } }
@keyframes glow-b { to { transform: translate(-16vw, 18vh) scale(1.2); } }

.news-flash { background: linear-gradient(90deg, var(--navy), var(--navy-2), var(--navy)); background-size: 200% 100%; animation: shimmer 14s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.site-header { background: rgba(255,255,255,.78); border-bottom: 1px solid rgba(0,163,255,.18); }
.main-nav a::after { background: linear-gradient(90deg, var(--sky), var(--accent)); height: 3px; border-radius: 3px; }
.main-nav a:hover { color: var(--sky); }

.eyebrow { background: linear-gradient(90deg, var(--sky), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-story .eyebrow, .opportunities .eyebrow, .article-hero .eyebrow { background: none; color: var(--mint); }
.section-heading { border-bottom: 0; position: relative; }
.section-heading::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--sky), var(--accent) 45%, var(--pink) 80%, transparent); transform-origin: 0 50%; }
html.js .section-heading.reveal::after { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .25s; }
html.js .section-heading.reveal.is-in::after { transform: scaleX(1); }

/* Etiquetas coloridas por editoria */
.category-pill { color: #fff; background: var(--navy); box-shadow: 0 6px 18px rgba(6,26,54,.25); }
.category-pill--light { color: #fff; }
.cat-inteligencia-artificial { background: linear-gradient(135deg, #7c5cff, #b45cff); }
.cat-tecnologia { background: linear-gradient(135deg, #0a84ff, #00c2ff); }
.cat-hardware { background: linear-gradient(135deg, #ff7a3d, #ff4d6d); }
.cat-sistemas-operacionais { background: linear-gradient(135deg, #1fbf8f, #2fd9a0); color: #05301f; }
.cat-cursos { background: linear-gradient(135deg, #ffb020, #ff8a00); color: #3a2200; }

/* Destaque e cartões */
.lead-story { box-shadow: 0 30px 80px rgba(6,26,54,.28), 0 0 0 1px rgba(255,255,255,.06) inset; }
.side-story, .news-card__body, .trending-panel { background: rgba(255,255,255,.92); }
.side-story { box-shadow: 0 14px 40px rgba(6,26,54,.1); border: 1px solid rgba(0,163,255,.1); }
.side-story:hover, .news-card:hover .news-card__visual { box-shadow: 0 22px 54px rgba(0,163,255,.25); }
.news-card h3 a, .side-story h2 a, .carousel__slide h3 a, .news-mini h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .4s ease, color .2s; }
.news-card:hover h3 a, .side-story:hover h2 a, .carousel__slide:hover h3 a, .news-mini:hover h3 a { background-size: 100% 2px; color: var(--sky); }
.trending-panel { border: 1px solid rgba(124,92,255,.14); box-shadow: 0 14px 40px rgba(6,26,54,.08); }
.trending-panel li > span { background: linear-gradient(135deg, var(--sky), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel-title { border-bottom-color: var(--sky); }
.pulse { background: var(--sky); animation: dot-pulse 1.8s ease-out infinite; }

/* Faixa escura do carrossel */
.carousel-band { position: relative; margin-block: 40px 30px; padding-block: 56px 40px; color: #fff; background: radial-gradient(900px 380px at 12% 0%, rgba(0,163,255,.38), transparent 60%), radial-gradient(800px 420px at 92% 100%, rgba(124,92,255,.4), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2)); overflow: hidden; }
.carousel-band .carousel { padding-block: 0; }
.carousel-band .section-heading h2 { color: #fff; }
.carousel-band .section-heading::after { background: linear-gradient(90deg, var(--sky), var(--pink) 60%, transparent); }
.carousel-band .carousel__controls button { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.carousel-band .carousel__controls button:hover { background: var(--sky); border-color: var(--sky); }
.carousel-band .carousel__slide h3 a { color: #fff; }
.carousel-band .meta { color: #a9c3e6; }
.carousel-band .carousel__progress { background: rgba(255,255,255,.18); }
.carousel-band .carousel__progress span { background: linear-gradient(90deg, var(--sky), var(--pink)); }
.carousel__track.is-auto { scroll-snap-type: none; scroll-behavior: auto; }
.carousel__visual { box-shadow: 0 18px 44px rgba(0,0,0,.35); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.carousel__slide:hover .carousel__visual { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0,163,255,.4); }

/* Painéis coloridos nos mosaicos */
.mosaic-section { margin-block: 22px; padding: 30px; border-radius: 30px; }
.mosaic-section--0 { background: linear-gradient(135deg, rgba(0,163,255,.13), rgba(124,92,255,.1)); }
.mosaic-section--1 { background: linear-gradient(135deg, rgba(47,217,160,.16), rgba(0,163,255,.1)); }
.mosaic-section--2 { background: linear-gradient(135deg, rgba(255,176,32,.16), rgba(255,92,157,.12)); }
@media (max-width: 720px) { .mosaic-section { padding: 18px; border-radius: 22px; margin-inline: -8px; } }

/* Newsletter, botões, seleção e rodapé */
.newsletter-panel { background: radial-gradient(420px 220px at 100% 0%, rgba(0,163,255,.45), transparent 70%), linear-gradient(145deg, var(--navy), #1b1560); box-shadow: 0 24px 60px rgba(27,21,96,.35); }
.newsletter-form button, .button { color: #fff; background: linear-gradient(135deg, var(--sky), var(--accent)); box-shadow: 0 10px 26px rgba(0,163,255,.4); transition: transform .25s, box-shadow .25s, filter .25s; }
.newsletter-form button:hover, .button:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 34px rgba(0,163,255,.5); }
.opportunities { background: radial-gradient(700px 360px at 85% 0%, rgba(124,92,255,.45), transparent 65%), radial-gradient(600px 340px at 5% 100%, rgba(0,163,255,.35), transparent 65%), linear-gradient(135deg, var(--navy), #0b1f4d); }
.opportunity-grid { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); }
.opportunity-grid article { background: rgba(6,26,54,.72); transition: background .35s, transform .35s; }
.opportunity-grid article:hover { background: rgba(0,163,255,.2); transform: translateY(-4px); }
.opportunity-icon { color: var(--sky); border-color: rgba(0,163,255,.5); }
.opportunity-grid small { color: var(--mint); }
.site-footer { background: linear-gradient(180deg, #05142b, #030b18); }
::selection { background: var(--sky); color: #fff; }

/* Entrada da página */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .section-kicker { animation: rise .7s backwards; }
  .lead-story { animation: pop .9s cubic-bezier(.2,.7,.2,1) .1s backwards; }
  .lead-story__content > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) backwards; }
  .lead-story__content > :nth-child(1) { animation-delay: .35s; }
  .lead-story__content > :nth-child(2) { animation-delay: .5s; }
  .lead-story__content > :nth-child(3) { animation-delay: .65s; }
  .lead-story__content > :nth-child(4) { animation-delay: .8s; }
  .side-story:nth-child(1) { animation: rise .8s cubic-bezier(.2,.7,.2,1) .35s backwards; }
  .side-story:nth-child(2) { animation: rise .8s cubic-bezier(.2,.7,.2,1) .5s backwards; }
  .side-story:nth-child(3) { animation: rise .8s cubic-bezier(.2,.7,.2,1) .65s backwards; }
  .lead-story__visual .cover-img { animation: ken-burns 22s ease-in-out infinite alternate; }
  @keyframes ken-burns { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.2%, -1%); } }
  .live-dot { animation-duration: 1.4s; }

  /* Revelação ao rolar (liga em app.js, vale para todos os navegadores) */
  html.js .reveal { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 90ms); will-change: opacity, transform; }
  html.js .reveal.is-in { opacity: 1; transform: none; will-change: auto; }
  html.js .reveal.is-in:hover { transition-delay: 0s; }
  /* A imagem desliza dentro do cartão enquanto ele passa pela tela (Chrome/Edge) */
  @supports (animation-timeline: view()) {
    .news-feature .cover-img, .news-card__visual .cover-img { animation: img-slide linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes img-slide { from { transform: scale(1.18) translateY(-5%); } to { transform: scale(1.18) translateY(5%); } }
  }
}
@media (prefers-reduced-motion: reduce) { body::before, body::after, .news-flash { animation: none; } }

/* Cartão de notícia: uma peça só (foto e texto no mesmo bloco arredondado) */
.news-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid rgba(0,163,255,.12); border-radius: 20px; box-shadow: 0 12px 34px rgba(6,26,54,.09); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s; }
.news-card__visual { border-radius: 0; }
.news-card__body { flex: 1; padding: 16px 20px 22px; background: transparent; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,163,255,.22); }
.news-card:hover .news-card__visual { transform: none; box-shadow: none; }

/* ===== Em alta (fileira) e newsletter em faixa larga ===== */
.trending { padding-block: 34px 10px; }
.trending__live { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .74rem; font-weight: 700; }
.trending__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: dot-pulse 1.8s ease-out infinite; }
.rank-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(190px, 1fr)); gap: 18px; }
.rank-card { position: relative; display: flex; align-items: flex-end; min-height: 190px; overflow: hidden; isolation: isolate; color: #fff; border-radius: 22px; background: var(--navy-2); box-shadow: 0 16px 44px rgba(6,26,54,.16); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.rank-card--first { grid-column: 1 / span 2; grid-row: 1 / span 2; min-height: 400px; }
.rank-card .cover-img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.rank-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,9,14,.22) 0%, rgba(7,9,14,.5) 42%, rgba(7,9,14,.9) 100%); }
.rank-card.cover-light::before { background: linear-gradient(180deg, rgba(7,9,14,.45) 0%, rgba(7,9,14,.7) 42%, rgba(7,9,14,.94) 100%); }
.rank-card::after { display: none; }
.rank-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0,163,255,.3); }
.rank-card:hover .cover-img { transform: scale(1.07); }
.rank-card__link { position: absolute; inset: 0; z-index: 3; }
.rank-card__num { position: absolute; z-index: 2; top: 14px; right: 18px; font-family: Georgia, serif; font-size: 3.4rem; font-weight: 700; line-height: 1; letter-spacing: -.05em; color: rgba(255,255,255,.92); text-shadow: 0 4px 22px rgba(0,0,0,.45); }
.rank-card--first .rank-card__num { font-size: 6rem; top: 20px; right: 26px; }
.rank-card__body { position: relative; z-index: 2; display: grid; gap: 9px; padding: 20px 22px 22px; pointer-events: none; }
.rank-card__body .category-pill { position: static; }
.rank-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: 1.1; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0,0,0,.5); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rank-card--first h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.04; letter-spacing: -.035em; -webkit-line-clamp: 4; }
.rank-card .meta { color: #cfd8e6; }
@media (max-width: 1040px) { .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; } .rank-card--first { grid-column: 1 / -1; grid-row: auto; min-height: 340px; } .rank-card { min-height: 220px; } }
@media (max-width: 560px) { .rank-grid { grid-template-columns: 1fr; } .rank-card--first .rank-card__num { font-size: 4.4rem; } }

.newsletter-panel--wide { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 56px; align-items: center; margin-block: 44px 20px; padding: 48px 52px; overflow: hidden; border-radius: 32px; background: radial-gradient(520px 300px at 0% 0%, rgba(0,163,255,.5), transparent 65%), radial-gradient(520px 320px at 100% 100%, rgba(255,92,157,.38), transparent 65%), linear-gradient(135deg, var(--navy), #1b1560); box-shadow: 0 30px 80px rgba(27,21,96,.4); }
.newsletter-panel--wide::before { content: ""; position: absolute; width: 360px; height: 360px; right: -90px; top: -120px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 44px rgba(255,255,255,.04), 0 0 0 88px rgba(255,255,255,.03); animation: orbit-float 11s ease-in-out infinite; pointer-events: none; }
.newsletter-panel--wide > .eyebrow, .newsletter-panel--wide > h2, .newsletter-panel--wide > p { grid-column: 1; position: relative; }
.newsletter-panel--wide .eyebrow { background: none; color: var(--mint); }
.newsletter-panel--wide h2 { margin: 8px 0 12px; font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.04; letter-spacing: -.03em; }
.newsletter-panel--wide > p { max-width: 460px; margin: 0; color: #c3d2ea; font-size: .98rem; }
.newsletter-panel--wide .newsletter-form { grid-column: 2; grid-row: 1 / span 3; position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin: 0; padding: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; backdrop-filter: blur(8px); }
.newsletter-panel--wide .newsletter-form input[type=email] { padding: 16px 18px; font-size: 1rem; background: rgba(255,255,255,.95); color: var(--ink); border: 0; border-radius: 14px; }
.newsletter-panel--wide .newsletter-form button { padding: 16px 26px; border-radius: 14px; white-space: nowrap; font-size: 1rem; }
.newsletter-panel--wide .newsletter-consent, .newsletter-panel--wide .newsletter-form small { grid-column: 1 / -1; color: #c3d2ea; margin: 2px 0 0; }
.newsletter-panel--wide .newsletter-consent { font-size: .78rem; }
@media (max-width: 900px) { .newsletter-panel--wide { grid-template-columns: 1fr; padding: 30px 22px; row-gap: 18px; border-radius: 26px; } .newsletter-panel--wide .newsletter-form { grid-column: 1; grid-row: auto; grid-template-columns: 1fr; padding: 16px; } }

/* Mais publicações em largura total, três colunas */
.content-shell--solo { padding-top: 34px; }
.news-grid--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 1040px) { .news-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-grid--wide { grid-template-columns: 1fr; } }

/* Menu "Mais": editorias que não cabem na barra */
.nav-more { position: relative; }
.nav-more summary { display: inline-flex; align-items: center; gap: 4px; padding-block: 28px; cursor: pointer; list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; transition: transform .25s; }
.nav-more[open] summary svg { transform: rotate(180deg); }
.nav-more summary:hover { color: var(--sky); }
.nav-more__menu { position: absolute; right: 0; top: calc(100% - 10px); z-index: 50; display: grid; min-width: 220px; padding: 8px; background: #fff; border: 1px solid rgba(0,163,255,.18); border-radius: 16px; box-shadow: 0 24px 60px rgba(6,26,54,.2); animation: pop .25s cubic-bezier(.2,.7,.2,1); }
.nav-more__menu a { padding: 11px 14px; border-radius: 10px; }
.nav-more__menu a::after { display: none; }
.nav-more__menu a:hover { background: rgba(0,163,255,.1); }
@media (max-width: 1040px) { .nav-more summary { padding-block: 7px; } .nav-more__menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 10px; animation: none; } }

/* Cores das novas editorias */
.cat-redes-sociais { background: linear-gradient(135deg, #ff4d8d, #ff7a3d); }
.cat-marketing-digital { background: linear-gradient(135deg, #7a3cff, #ff4d8d); }
.cat-criacao-de-conteudo { background: linear-gradient(135deg, #00b8d9, #2f6bff); }
.cat-aplicativos { background: linear-gradient(135deg, #12b886, #00a3ff); }
.trending__item.cat-redes-sociais a::before { background: linear-gradient(90deg, #ff4d8d, #ff7a3d); }
.opportunity-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .opportunity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .opportunity-grid { grid-template-columns: 1fr; } .opportunity-grid article { min-height: 260px; } }

/* Menu "Categorias" (substitui a lista de editorias na barra) */
.nav-cats { position: relative; }
.nav-cats summary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; color: #fff; background: linear-gradient(135deg, var(--sky), var(--accent)); border-radius: 999px; box-shadow: 0 10px 24px rgba(0,163,255,.35); cursor: pointer; list-style: none; transition: transform .25s, box-shadow .25s; }
.nav-cats summary::-webkit-details-marker { display: none; }
.nav-cats summary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,163,255,.45); }
.nav-cats summary svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; transition: transform .25s; }
.nav-cats[open] summary svg { transform: rotate(180deg); }
.nav-cats__menu { position: absolute; right: 0; top: calc(100% + 14px); z-index: 50; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: min(460px, 92vw); padding: 12px; background: #fff; border: 1px solid rgba(0,163,255,.18); border-radius: 22px; box-shadow: 0 30px 70px rgba(6,26,54,.24); animation: pop .25s cubic-bezier(.2,.7,.2,1); }
.nav-cats__menu a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; font-size: .86rem; }
.nav-cats__menu a::after { display: none; }
.nav-cats__menu a:hover { background: rgba(0,163,255,.1); color: var(--ink); }
.nav-cats__menu i { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(6,26,54,.08); }
.main-nav .nav-cats a::after { display: none; }
@media (max-width: 1040px) { .nav-cats summary { justify-self: start; } .nav-cats__menu { position: static; width: auto; margin-top: 10px; box-shadow: none; border: 0; padding: 0; animation: none; grid-template-columns: 1fr; } }

/* Primeira dobra: o destaque cabe na tela e a faixa das últimas notícias aparece "cortada" embaixo,
   chamando para rolar a página. */
@media (min-width: 1041px) {
  .lead-story { min-height: clamp(400px, calc(100svh - 440px), 560px); }
  .side-story { min-height: 140px; }
  .side-story > div { padding: 12px 16px; }
  .side-story p { -webkit-line-clamp: 1; }
  .hero { padding-bottom: 0; }
}
.carousel-band { margin-block: 26px 30px; padding-block: 38px 40px; }
.carousel-band .section-heading { margin-bottom: 20px; }
@media (min-width: 1041px) {
  .lead-story { min-height: clamp(380px, calc(100svh - 520px), 540px); }
  .side-story { min-height: 118px; }
  .side-story p { display: none; }
  .side-story h2 { -webkit-line-clamp: 2; margin-bottom: 0; }
  .side-stories { gap: 14px; }
  .lead-story h1 { font-size: clamp(2.2rem, 3.8vw, 3.9rem); }
}
.carousel-band { padding-block: 30px 34px; margin-top: 22px; }
.carousel-band .section-heading { margin-bottom: 16px; padding-bottom: 12px; }
.carousel-band .section-heading h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }

/* ===== Página da matéria ===== */
:root { --art-w: 700px; --aside-w: 300px; --art-gap: clamp(40px, 6vw, 84px); }
.article-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) clamp(38px, 5vw, 60px); }
.article-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 88% 0%, rgba(255,255,255,.16), transparent 60%), linear-gradient(180deg, rgba(6,26,54,.08), rgba(6,26,54,.38)); pointer-events: none; }
.article-hero::after { content: ""; position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.article-hero__inner { position: relative; z-index: 1; max-width: calc(var(--art-w) + var(--aside-w) + var(--art-gap)); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; color: rgba(255,255,255,.7); font-size: .74rem; font-weight: 600; }
.breadcrumb a { color: inherit; transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.article-hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.article-hero .category-pill { margin: 0; }
.article-hero h1 { max-width: 920px; margin: 0 0 18px; font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 22px rgba(0,0,0,.25); }
.article-hero__lead { max-width: 700px; margin: 0; color: rgba(255,255,255,.86); font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.55; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.byline__mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; color: var(--navy); background: linear-gradient(135deg, #fff, var(--mint)); font-size: .74rem; font-weight: 900; letter-spacing: .02em; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.byline__text { display: grid; gap: 2px; font-size: .78rem; color: rgba(255,255,255,.72); }
.byline__text strong { color: #fff; font-size: .86rem; }

.article-layout { grid-template-columns: minmax(0, var(--art-w)) var(--aside-w); gap: var(--art-gap); padding-block: 44px 96px; align-items: start; }
.article-main { min-width: 0; }
.article-cover { margin: 0 0 22px; border-radius: 20px; box-shadow: 0 22px 60px rgba(6,26,54,.16); }
.article-cover img { aspect-ratio: 16 / 9; object-fit: cover; }
.article-cover + .share { margin-top: 4px; }
.cover-credit { margin-top: 10px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.share__label { margin-right: 4px; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.share__btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; color: var(--ink); background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .74rem; font-weight: 700; cursor: pointer; transition: transform .2s, border-color .2s, color .2s, background .2s; }
.share__btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share__btn:hover { color: var(--sky); border-color: var(--sky); transform: translateY(-1px); }
.share__btn.is-done { color: #067a52; border-color: #2fd9a0; background: #e9fbf4; }

.article-content { font-size: 1.12rem; line-height: 1.82; color: #17202e; font-kerning: normal; text-wrap: pretty; }
.article-content > p:first-child { color: var(--ink); font-size: 1.3rem; line-height: 1.62; font-weight: 500; }
.article-content p { margin: 0 0 1.45em; }
.article-content h2 { position: relative; margin: 2.1em 0 .6em; padding-top: 18px; font-size: clamp(1.55rem, 2.6vw, 2rem); line-height: 1.14; letter-spacing: -.03em; scroll-margin-top: 96px; }
.article-content h2::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sky), var(--accent) 60%, var(--pink)); }
.article-content h3 { margin: 1.7em 0 .4em; padding-left: 14px; border-left: 3px solid var(--sky); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.05rem; line-height: 1.35; color: var(--navy); }
.article-content h3 + p { color: #3a4556; }
.article-content a { color: #0a63c9; text-decoration: underline; text-decoration-color: rgba(10,99,201,.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.article-content a:hover { text-decoration-color: currentColor; }
.article-content ul, .article-content ol { margin: 0 0 1.5em; padding-left: 0; list-style: none; }
.article-content li { position: relative; margin: 0 0 .6em; padding-left: 28px; }
.article-content ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--accent)); }
.article-content ol { counter-reset: item; }
.article-content ol li { counter-increment: item; }
.article-content ol li::before { content: counter(item); position: absolute; left: 0; top: .22em; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--navy); font: 800 .7rem Inter, sans-serif; }
.article-content blockquote { margin: 2em 0; padding: 22px 26px; color: var(--navy); background: linear-gradient(135deg, rgba(0,163,255,.08), rgba(124,92,255,.08)); border-left: 4px solid var(--sky); border-radius: 0 16px 16px 0; font-size: 1.22rem; line-height: 1.5; font-style: italic; }
.article-content blockquote p { margin: 0; }
.article-content strong { color: var(--ink); }
.article-content img { max-width: 100%; height: auto; border-radius: 14px; }
.article-content hr { margin: 2.4em 0; border: 0; height: 1px; background: var(--line); }

.article-source { display: flex; align-items: center; gap: 10px; margin: 34px 0 0; padding: 14px 16px; color: var(--muted); background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 14px; font-size: .8rem; opacity: 1; }
.article-source svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.article-source a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(0,163,255,.5); }

/* Coluna lateral */
.article-aside { position: static; display: flex; flex-direction: column; gap: 30px; align-self: stretch; }
.toc { padding: 20px 20px 14px; background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 18px; }
.toc ol { margin: 12px 0 0; padding: 0; list-style: none; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { position: relative; display: block; padding: 10px 0 10px 14px; border: 0; color: #2a3446; font-size: .84rem; font-weight: 600; line-height: 1.35; transition: color .2s, padding .2s; }
.toc a::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--sky); transform: translateY(-50%); transition: height .2s; }
.toc a:hover, .toc a.is-active { color: var(--sky); }
.toc a.is-active::before { height: 18px; }
.aside-related { display: grid; }
.aside-related .eyebrow { margin-bottom: 8px; }
.aside-related a { display: grid; gap: 5px; padding: 16px 0; border-top: 1px solid var(--line); transition: transform .2s; }
.aside-related a:hover { transform: translateX(3px); }
.aside-related a:hover strong { color: var(--sky); }
.aside-related small { color: var(--accent); font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.aside-related strong { font-size: .98rem; line-height: 1.25; transition: color .2s; }
.aside-pick { position: sticky; top: 100px; display: grid; gap: 10px; }
.aside-pick .eyebrow { margin: 0; }

/* Preços e descontos (compartilhado) */
.inline-product__price, .pick-card__price, .product-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 2px; font-style: normal; }
.inline-product__price s, .pick-card__price s, .product-card__price s { color: #7b8494; font-size: .78rem; font-weight: 500; text-decoration-thickness: 1px; }
.inline-product__price b, .pick-card__price b, .product-card__price b { color: var(--navy); font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.inline-product__off, .pick-card__off, .product-card__flag { display: inline-flex; align-items: center; padding: 3px 8px; color: #065f42; background: #dcf8ec; border: 1px solid #aeeed4; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .01em; line-height: 1.2; }

/* Sugestão no meio do texto: discreta */
.inline-product { margin: 2.2em 0; }
.inline-product a { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; padding: 12px 18px 12px 12px; color: inherit; text-decoration: none; background: #fff; border: 1px solid rgba(6,26,54,.1); border-left: 4px solid var(--sky); border-radius: 16px; box-shadow: 0 8px 26px rgba(6,26,54,.07); transition: transform .3s, box-shadow .3s, border-color .3s; }
.inline-product a:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,163,255,.16); border-left-color: var(--accent); }
.inline-product__img { position: relative; display: block; width: 88px; height: 88px; overflow: hidden; background: #f3f6ff; border-radius: 12px; }
.inline-product__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.inline-product__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.inline-product__body small { color: var(--muted); font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.inline-product__body strong { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: .95rem; line-height: 1.28; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.inline-product__cta { margin-top: 2px; color: #0a63c9; font-size: .78rem; font-weight: 800; }

/* Seleção na coluna lateral */
.pick-card { display: grid; grid-template-columns: 1fr; overflow: hidden; background: #fff; border: 1px solid rgba(6,26,54,.1); border-radius: 18px; box-shadow: 0 14px 36px rgba(6,26,54,.1); transition: transform .3s, box-shadow .3s; }
.pick-card:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(0,163,255,.2); }
.pick-card__img { position: relative; display: block; height: 176px; overflow: hidden; background: #f3f6ff; }
.pick-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pick-card:hover .pick-card__img img { transform: scale(1.05); }
.pick-card__body { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px 16px; }
.pick-card__body small { color: var(--accent); font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pick-card__body strong { display: -webkit-box; overflow: hidden; font-size: .9rem; line-height: 1.28; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.pick-card__cta { margin-top: 4px; color: #0a63c9; font-size: .78rem; font-weight: 800; }

/* Produtos no fim da matéria */
.products { margin-top: 48px; padding: 26px 24px 20px; background: #fff; border: 1px solid rgba(6,26,54,.1); border-radius: 24px; box-shadow: 0 18px 50px rgba(6,26,54,.08); overflow: hidden; }
.products__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.products__head h2 { margin: 4px 0 0; font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: -.025em; }
.products__note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; line-height: 1.55; }
.carousel--products { padding-block: 26px 20px; }
.carousel--products .carousel__slide { flex: 0 0 clamp(190px, 44%, 232px); }
.carousel--products .carousel__track { gap: 14px; padding-bottom: 6px; }
.product-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; color: inherit; background: #fff; border: 1px solid rgba(6,26,54,.1); border-radius: 18px; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(0,163,255,.4); box-shadow: 0 18px 42px rgba(0,163,255,.18); }
.product-card__img { position: relative; display: block; height: 168px; overflow: hidden; background: #f3f6ff; }
.product-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__flag { position: absolute; left: 10px; top: 10px; z-index: 1; box-shadow: 0 6px 16px rgba(6,26,54,.12); }
.product-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 15px 16px; min-width: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.product-card__body small { color: var(--accent); font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.product-card__body strong { display: -webkit-box; overflow: hidden; color: var(--ink); font-size: .88rem; line-height: 1.3; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.product-card__price { flex-direction: column; align-items: flex-start; gap: 1px; margin-top: auto; padding-top: 6px; }
.product-card__price b { font-size: 1.2rem; }
.product-card__price .product-card__off { display: none; }
.product-card__cta { display: inline-flex; align-items: center; gap: 6px; width: max-content; margin-top: 8px; padding: 8px 13px; color: var(--navy); border: 1px solid rgba(6,26,54,.18); border-radius: 999px; font-size: .74rem; font-weight: 800; transition: background .25s, color .25s, border-color .25s, gap .25s; }
.product-card__cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.product-card:hover .product-card__cta { gap: 9px; color: #fff; background: var(--navy); border-color: var(--navy); }
.carousel--products .carousel__controls button { background: #fff; }

@media (max-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 720px); justify-content: center; }
  .article-aside { gap: 24px; }
  .aside-pick { position: static; }
  .toc { display: none; }
}
@media (max-width: 720px) {
  .article-layout { padding-block: 28px 64px; }
  .article-content { font-size: 1.06rem; }
  .article-content > p:first-child { font-size: 1.18rem; }
  .article-cover { border-radius: 16px; }
  .share__label { width: 100%; }
  .inline-product a { grid-template-columns: 72px 1fr; gap: 12px; padding-right: 12px; }
  .inline-product__img { width: 72px; height: 72px; }
  .products { padding: 20px 16px 16px; border-radius: 20px; }
  .carousel--products .carousel__slide { flex-basis: 62%; }
}
@media (prefers-reduced-motion: reduce) { .inline-product a, .product-card, .pick-card, .share__btn, .aside-related a { transition: none; } .product-card:hover, .pick-card:hover { transform: none; } }
