/* =========================================================
   Imprensa MS — Portal de Notícias
   Layout rigorosamente baseado no modelo visual fornecido
   ========================================================= */

:root {
  --navy: #0B1E33;
  --navy-2: #102a45;
  --navy-deep: #071525;
  --green: #1B7A3D;
  --green-2: #2FA65A;
  --red: #C62828;
  --red-hot: #E30613;
  --blue-tag: #1E6FB8;
  --blue-widget: #1565A8;
  --text: #1a1a1a;
  --muted: #5c6770;
  --line: #e2e6ea;
  --bg: #f4f6f8;
  --white: #ffffff;
  --container: 1240px;
  --radius: 6px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Montserrat", "Segoe UI", sans-serif;
  --shadow: 0 2px 10px rgba(11, 30, 51, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
ul, ol { list-style: none; }

.container {
  width: min(100% - 1.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue-tag);
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  line-height: 1.2;
}

.tag--corumba,
.tag--mato-grosso-do-sul { background: #1565A8; }
.tag--policia { background: #1B4F8A; }
.tag--saude { background: #0D8A6A; }
.tag--politica { background: #5B4B8A; }
.tag--pantanal { background: #2E7D32; }
.tag--brasil { background: #C62828; }
.tag--esportes { background: #E65100; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 50; }

.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.85);
  font-size: 0.78rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 34px;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  white-space: nowrap;
}

.topbar__sep { opacity: .35; }
.topbar__weather {
  color: #ffd54a;
  font-weight: 700;
  margin-left: 0.15rem;
}

.topbar__social {
  display: flex;
  gap: 0.35rem;
}

.topbar__social a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background .15s;
}

.topbar__social a:hover { background: var(--green); }
.topbar__social svg { width: 12px; height: 12px; }

.topbar__search {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 20px;
  overflow: hidden;
  height: 26px;
}

.topbar__search input {
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0 0.7rem;
  width: 130px;
  outline: none;
}

.topbar__search input::placeholder { color: rgba(255,255,255,.55); }

.topbar__search button {
  width: 28px;
  height: 26px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.topbar__search svg { width: 14px; height: 14px; }

/* Brand bar */
.brandbar { background: var(--white); border-bottom: 1px solid var(--line); }

.brandbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.35rem;
  min-height: 108px;
  padding-block: 0.7rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.logo img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(11, 30, 51, 0.16);
}
.logo__text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1;
}
.logo__text strong { font-weight: 800; }
.logo__text em {
  font-style: normal;
  background: var(--green);
  color: #fff;
  padding: 0.22rem 0.48rem;
  border-radius: 5px;
  font-size: 1.2rem;
}
.logo__text--light { color: #fff; }
.logo--footer {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.logo--footer img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

.brandbar__ad {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 90px;
}

.btn-live {
  display: grid;
  gap: 0.1rem;
  background: var(--red-hot);
  color: #fff;
  padding: 0.55rem 0.95rem;
  border-radius: 4px;
  text-align: center;
  min-width: 128px;
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.35);
  position: relative;
  transition: transform .15s, filter .15s;
}

.btn-live:hover { filter: brightness(1.05); transform: translateY(-1px); }

.btn-live__label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  opacity: .9;
}

.btn-live strong {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
}

.btn-live__pulse {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Main nav */
.mainnav {
  background: linear-gradient(180deg, #0c2744 0%, var(--navy) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(7, 21, 37, 0.18);
}

.mainnav__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 50px;
}

.mainnav__home {
  display: grid;
  place-items: center;
  width: 50px;
  flex: 0 0 auto;
  color: #fff;
  background: rgba(255,255,255,.04);
  border-right: 1px solid rgba(255,255,255,.12);
  transition: background .15s, color .15s;
}

.mainnav__home svg { width: 20px; height: 20px; }
.mainnav__home:hover,
.mainnav__home.is-active {
  background: rgba(47, 166, 90, 0.22);
  color: #7dffa8;
}

.mainnav__list {
  display: flex;
  flex: 1;
  align-items: stretch;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.mainnav__list::-webkit-scrollbar { display: none; }

.mainnav__list li {
  display: flex;
  position: relative;
}

.mainnav__list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28%;
  bottom: 28%;
  width: 1px;
  background: rgba(255,255,255,.1);
}

.mainnav__list a {
  display: flex;
  align-items: center;
  padding: 0 0.95rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255,255,255,.9);
  border-bottom: 3px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}

.mainnav__list a:hover,
.mainnav__list a.is-active {
  background: rgba(255,255,255,.08);
  border-bottom-color: var(--green-2);
  color: #fff;
}

.mainnav__more {
  width: 50px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: none;
  gap: 5px;
  place-content: center;
  border-left: 1px solid rgba(255,255,255,.12);
  transition: background .15s;
}

.mainnav__more:hover { background: rgba(255,255,255,.08); }

.mainnav__more span {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* =========================================================
   HOME
   ========================================================= */
.home { padding: 0.55rem 0 1.5rem; }

/* Plantão */
.plantao {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.55rem;
  min-height: 40px;
  box-shadow: var(--shadow);
}

.plantao__badge {
  background: var(--red-hot);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  display: grid;
  place-items: center;
  padding: 0 0.9rem;
  flex-shrink: 0;
}

.plantao__track {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
}

.plantao__item {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  padding-inline: 1.2rem;
  animation: ticker 22s linear infinite;
}

.plantao__item:hover { color: var(--blue-tag); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.78fr) minmax(280px, 0.88fr);
  grid-template-areas:
    "main side widgets"
    "ad   ad   widgets";
  gap: 0.7rem;
  margin-bottom: 0.75rem;
  align-items: stretch;
}

.hero-main {
  grid-area: main;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
  min-height: 0;
}

.hero-main__slide {
  position: absolute;
  inset: 0;
}
.hero-main__slide.is-active { position: relative; }
.hero-main__slide[hidden] { display: none !important; }

.hero-main__link {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  height: 100%;
  min-height: 380px;
  background: var(--navy);
}

.hero-main__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.hero-main__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.15rem 3.2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 37, 0.55) 35%, rgba(7, 21, 37, 0.94) 100%);
  color: #fff;
}

.hero-main__tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.5rem;
  border-radius: 3px;
  background: var(--red-hot);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-main__title {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.22;
  margin: 0;
  max-width: 34ch;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero-main__controls {
  position: absolute;
  right: 0.75rem;
  bottom: 0.7rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-main__btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.hero-main__btn:hover { background: #fff; }
.hero-main__dots {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  background: rgba(0,0,0,.35);
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
}
.hero-main__dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.hero-main__dots button.is-active { background: #fff; }

/* Side cards */
.hero-side {
  grid-area: side;
  display: grid;
  gap: 0.55rem;
  align-content: stretch;
  grid-auto-rows: 1fr;
  min-height: 0;
}

.side-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 0;
}

.side-card a {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.5rem;
  height: 100%;
  min-height: 86px;
}

.side-card img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
}

.side-card h2 {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0.25rem;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.side-card a:hover h2 { color: var(--blue-tag); }

/* Widgets */
.hero-widgets {
  grid-area: widgets;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  align-items: start;
}

.hero-ad {
  grid-area: ad;
  min-width: 0;
  align-self: start;
}

.hero-ad .ad-slot {
  margin: 0;
  width: 100%;
  justify-items: stretch;
  gap: 0.3rem;
}

.hero-ad .ad-slot__label {
  margin: 0;
  text-align: left;
  width: 100%;
}

.hero-ad .ad-slot__track {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-height: 90px;
  border-radius: var(--radius);
  border: 1px solid #d5dde6;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero-ad .ad-banner__link,
.hero-ad .ad-banner__house {
  width: 100%;
  min-height: 90px;
}

.hero-ad .ad-banner__link img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  object-position: center;
}

.hero-ad .ad-banner__house {
  aspect-ratio: auto;
  height: 90px;
}

.hero-ad .ad-slot__dots {
  justify-content: flex-start;
  padding-left: 0.1rem;
}

.widget-forecast {
  align-self: start;
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.widget-forecast__title {
  margin: 0;
  background: #1a73e8;
  color: #fff;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 0.6rem;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  width: 78%;
  margin: 0 auto;
}

.widget-forecast__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  line-height: 0;
}

.widget-forecast__player iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.widget-weather {
  background: linear-gradient(160deg, #1874c0, #0f4f8a);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow);
  min-height: 150px;
}

.widget-weather__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  opacity: .9;
  margin-bottom: 0.7rem;
}

.widget-weather__body {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.widget-weather__icon { width: 56px; }
.widget-weather__temp {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.widget-weather__desc {
  font-size: 0.88rem;
  opacity: .9;
}

.widget-wa {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 48%, #25d366 140%);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .15s, filter .15s;
}

.widget-wa:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.widget-wa__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.widget-wa__icon svg {
  width: 22px;
  height: 22px;
}

.widget-wa__copy span {
  display: block;
  font-size: 0.68rem;
  opacity: .85;
  margin-bottom: 0.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.widget-wa__copy strong {
  display: block;
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.widget-wa__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #075e54;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Category strip */
.cat-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.cat-tile {
  position: relative;
  min-height: 92px;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: end start;
  padding: 0.7rem 0.65rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,21,37,.15), rgba(7,21,37,.82)),
    var(--cat-bg) center/cover no-repeat;
  box-shadow: var(--shadow);
  transition: transform .18s;
}

.cat-tile:hover { transform: translateY(-2px); }

.cat-tile span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(0.68rem, 0.55rem + 0.35vw, 0.8rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}

/* Mid grid */
.mid-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem 1rem;
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 0.45rem;
  margin-bottom: 0.75rem;
}

.panel__head h2,
.section-head h2 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.panel__head a,
.section-head a {
  font-size: 0.78rem;
  color: var(--blue-tag);
  font-weight: 600;
}

.latest-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.55rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.latest-list li:last-child { border-bottom: 0; }

.latest-list time {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red-hot);
  padding-top: 0.15rem;
}

.latest-list a {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
  color: var(--navy);
}

.latest-list a:hover { color: var(--blue-tag); }

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--red-hot);
  color: #fff;
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
}

.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}

.tv-player--home {
  position: relative;
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 10;
}

.tv-player--home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: opacity .2s, transform .35s;
}

.tv-player--home:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.tv-player--home .tv-player__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 0;
  background: rgba(227, 6, 19, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform .18s, filter .18s;
}

.tv-player--home .tv-player__play svg { width: 28px; height: 28px; margin-left: 3px; }
.tv-player--home:hover .tv-player__play {
  filter: brightness(1.08);
  transform: translate(-50%, -50%) scale(1.06);
}

.most-read li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.55rem;
  align-items: start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.most-read li:last-child { border-bottom: 0; }

.most-read__n {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.most-read a {
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
  color: var(--navy);
}

.most-read a:hover { color: var(--blue-tag); }

/* Lower: conteúdo + cotações/banner na mesma altura (sem vazio ao lado do 728) */
.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.85rem;
}

.lower-grid__main {
  min-width: 0;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.lower-grid__main > .ad-slot {
  margin: 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 0.35rem;
  margin: 0;
}

.section-head--videos { margin-top: 0.15rem; }

.destaques,
.videos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.card-news,
.card-video {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-news a,
.card-video a {
  display: block;
  padding-bottom: 0.85rem;
}

.card-news figure,
.card-video figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd;
}

.card-news img,
.card-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

.card-news a:hover img,
.card-video a:hover img { transform: scale(1.04); }

.card-news .tag {
  margin: 0.7rem 0.75rem 0.35rem;
}

.card-news h3,
.card-video h3 {
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  padding: 0 0.75rem;
}

.card-video h3 { margin-top: 0.7rem; }

.card-video__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
}

.card-video__play svg { width: 18px; height: 18px; margin-left: 2px; }

.card-video__time {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}

.ad-vertical {
  position: sticky;
  top: 110px;
  align-self: start;
  display: grid;
  gap: 0.75rem;
  width: 300px;
  max-width: 100%;
}

.widget-cotacao {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #d9e2ec;
}

.widget-cotacao__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.95rem 1rem 0.85rem;
  background: linear-gradient(145deg, #071525 0%, #0f3358 58%, #155a9c 100%);
  color: #fff;
}

.widget-cotacao__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}

.widget-cotacao__head p {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  opacity: .72;
  letter-spacing: 0.02em;
}

.widget-cotacao__head time {
  font-size: 0.68rem;
  opacity: .7;
  white-space: nowrap;
  padding-top: 0.15rem;
}

.widget-cotacao__list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
}

.widget-cotacao__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.78rem 1rem;
  border-bottom: 1px solid #eef2f6;
}

.widget-cotacao__item:last-child { border-bottom: 0; }

.widget-cotacao__code {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.widget-cotacao__flag {
  flex: 0 0 auto;
  width: 2.7rem;
  height: 1.85rem;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  background: #1a73e8;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.widget-cotacao__flag[data-code="USD"] { background: #1b5e20; }
.widget-cotacao__flag[data-code="EUR"] { background: #1a237e; }
.widget-cotacao__flag[data-code="ARS"] { background: #0277bd; }
.widget-cotacao__flag[data-code="BOB"] { background: #b71c1c; }
.widget-cotacao__flag[data-code="BTC"] { background: #e65100; }

.widget-cotacao__code strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.15;
}

.widget-cotacao__code small {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.68rem;
  color: #7a8794;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.widget-cotacao__values {
  text-align: right;
  display: grid;
  gap: 0.18rem;
  justify-items: end;
}

.widget-cotacao__bid {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}

.widget-cotacao__var {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  line-height: 1.2;
}

.widget-cotacao__var.is-up {
  color: #146c2e;
  background: rgba(27, 138, 62, 0.12);
}
.widget-cotacao__var.is-down {
  color: #b71c1c;
  background: rgba(198, 40, 40, 0.12);
}
.widget-cotacao__var.is-flat {
  color: #607d8b;
  background: rgba(120, 144, 156, 0.12);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.85);
  margin-top: 1rem;
  padding: 2rem 0 1.5rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.site-footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  max-width: 34ch;
  color: rgba(255,255,255,.7);
}

.site-footer__links {
  display: grid;
  gap: 0.45rem;
  padding-top: 0.35rem;
}

.site-footer__links a {
  font-weight: 600;
  font-size: 0.9rem;
}

.site-footer__links a:hover { color: var(--green-2); }

.site-footer__social ul {
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
  margin-bottom: 0.85rem;
}

.site-footer__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
}

.site-footer__social a:hover { background: var(--green); }
.site-footer__social svg { width: 14px; height: 14px; }

.site-footer__copy {
  text-align: right;
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .logo img { width: 76px; height: 76px; }
  .logo__text { font-size: 1.6rem; }
  .brandbar__inner { min-height: 96px; }
  .mainnav__list a { padding: 0 0.72rem; font-size: 0.74rem; }
  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas:
      "main side"
      "ad ad"
      "widgets widgets";
  }
  .hero-widgets { grid-template-columns: 1fr 1fr; }
  .mid-grid { grid-template-columns: 1fr 1fr; }
  .panel--tv { grid-column: 1 / -1; }
  .destaques, .videos { grid-template-columns: repeat(2, 1fr); }
  .lower-grid { grid-template-columns: 1fr; }
  .ad-vertical {
    width: 100%;
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .cat-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .topbar__social { display: none; }
  .brandbar__inner { grid-template-columns: 1fr auto; }
  .brandbar__ad { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "side"
      "ad"
      "widgets";
  }
  .hero-widgets { grid-template-columns: 1fr; }
  .hero-main__link { min-height: 280px; }
  .mid-grid { grid-template-columns: 1fr; }
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__social ul,
  .site-footer__copy { justify-content: flex-start; text-align: left; }
  .logo img { width: 68px; height: 68px; }
  .logo__text { font-size: 1.45rem; }
  .logo__text em { font-size: 1rem; }
  .brandbar__inner { min-height: 88px; }
  .mainnav__more { display: grid; }
  .mainnav__list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 40;
    flex-direction: column;
    background: #0b2138;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 28px rgba(0,0,0,.28);
    max-height: min(70vh, 420px);
    overflow-y: auto;
  }
  .mainnav__list.is-open { display: flex; }
  .mainnav__list li + li::before { display: none; }
  .mainnav__list a {
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-left: 3px solid transparent;
  }
  .mainnav__list a:hover,
  .mainnav__list a.is-active {
    border-bottom-color: rgba(255,255,255,.08);
    border-left-color: var(--green-2);
  }
  .mainnav { position: relative; }
}

@media (max-width: 480px) {
  .destaques, .videos, .cat-strip { grid-template-columns: 1fr; }
  .side-card a { grid-template-columns: 96px 1fr; }
  .side-card img { width: 96px; height: 72px; }
}

/* ===== Listagens (Ver todas) ===== */
.list-page { padding: 1.25rem 0 2.75rem; }
.list-page__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: .85rem;
  border-bottom: 2px solid var(--navy);
}
.list-page__head h1 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
}
.list-page__head p { color: var(--muted); margin-top: .25rem; }
.list-page__eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-tag);
  margin-bottom: .2rem !important;
}
.list-page__back {
  font-weight: 700;
  color: var(--blue-tag);
  font-size: .9rem;
}
.list-page__search {
  display: flex;
  gap: .4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .25rem .25rem .25rem .9rem;
  box-shadow: var(--shadow);
}
.list-page__search input {
  border: 0;
  outline: none;
  min-width: 180px;
  background: transparent;
}
.list-page__search button {
  border: 0;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: .45rem .9rem;
  cursor: pointer;
}
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.list-grid--video { grid-template-columns: repeat(4, 1fr); }
.list-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.list-card a { display: block; color: inherit; }
.list-card figure {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #dfe6ec;
  overflow: hidden;
}
.list-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.list-card a:hover img { transform: scale(1.04); }
.list-card__body { padding: .85rem .9rem 1rem; }
.list-card__body h2 {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin: .4rem 0 .35rem;
}
.list-card__body p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: .45rem;
}
.list-card__body time {
  font-size: .78rem;
  font-weight: 700;
  color: var(--red-hot);
}
.list-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(227, 6, 19, .92);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .85rem;
}
.list-card__time {
  position: absolute;
  right: 8px; bottom: 8px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .4rem;
  border-radius: 3px;
}
.list-section-title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  margin: 1.5rem 0 .85rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--navy);
}
.list-empty {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  box-shadow: var(--shadow);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  font-weight: 700;
}
.pagination a { color: var(--blue-tag); }
@media (max-width: 960px) {
  .list-grid, .list-grid--video { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .list-grid, .list-grid--video { grid-template-columns: 1fr; }
}

/* Marca d'água (overlay para embeds / URLs externas) */
.wm { position: relative; }
.wm__logo {
  position: absolute;
  width: clamp(42px, 12%, 88px);
  height: auto;
  border-radius: 6px;
  opacity: .82;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  z-index: 2;
}
.wm--br .wm__logo { right: 10px; bottom: 10px; }
.wm--bl .wm__logo { left: 10px; bottom: 10px; }
.wm--tr .wm__logo { right: 10px; top: 10px; }
.wm--tl .wm__logo { left: 10px; top: 10px; }

/* =========================================================
   PUBLICIDADE
   ========================================================= */
.ad-slot {
  --ad-w: 728;
  --ad-h: 90;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  margin: 0.85rem 0;
  width: 100%;
}
.ad-slot__label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a96a3;
  font-weight: 700;
}
.ad-slot__track {
  width: min(100%, calc(var(--ad-w) * 1px));
  max-width: 100%;
  background: linear-gradient(90deg, #eef3f8, #f7fafc 40%, #eef3f8);
  border: 1px solid #d5dde6;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  line-height: 0;
}
.ad-banner { width: 100%; }
.ad-banner[hidden] { display: none !important; }
.ad-banner__link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.ad-banner__link img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  vertical-align: top;
  object-fit: contain;
}
.ad-banner__house {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: var(--ad-w) / var(--ad-h);
  min-height: 70px;
  background: linear-gradient(135deg, #e8f0fe 0%, #fff8e6 100%);
  text-align: center;
  padding: 0.5rem;
  gap: 0.2rem;
  line-height: 1.2;
  text-decoration: none;
  color: inherit;
}
.ad-banner__house strong {
  font-family: var(--display);
  font-size: clamp(0.85rem, 2.5vw, 1.15rem);
  color: var(--navy);
}
.ad-banner__house span {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.ad-slot__dots {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
}
.ad-slot__dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #c5d0db;
  cursor: pointer;
}
.ad-slot__dots button.is-active { background: var(--navy); }

.ad-slot--brandbar { margin: 0; }
.ad-slot--brandbar .ad-slot__label { display: none; }
.ad-slot--brandbar .ad-slot__track {
  width: min(100%, 728px);
  border-style: solid;
}

.ad-slot--band .ad-slot__track { margin-inline: auto; }
.ad-slot--band-left {
  justify-items: start;
  margin: 0;
  width: 100%;
}
.ad-slot--band-left .ad-slot__track {
  margin-inline: 0;
  width: 100%;
  max-width: 728px;
}
.ad-slot--band-left .ad-banner__link img,
.ad-slot--band-left .ad-banner__house {
  width: 100%;
}
.ad-slot--widget {
  margin: 0.15rem 0 0;
  width: 100%;
  justify-items: stretch;
}
.ad-slot--widget .ad-slot__label {
  text-align: left;
  width: 100%;
}
.ad-slot--widget .ad-slot__track {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 300 / 250;
  height: auto;
  min-height: 0;
  border-style: solid;
  box-shadow: var(--shadow);
  background: #f3f6fa;
}
.ad-slot--widget .ad-banner,
.ad-slot--widget .ad-banner__link {
  height: 100%;
}
.ad-slot--widget .ad-banner__link {
  display: grid;
  place-items: center;
  background: #f3f6fa;
}
.ad-slot--widget .ad-banner__link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.ad-slot--widget .ad-banner__house {
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  padding: 1.1rem 1rem;
  gap: 0.4rem;
  background: linear-gradient(160deg, #0b2a4a 0%, #143d66 52%, #1a73e8 100%);
  color: #fff;
}
.ad-slot--widget .ad-banner__house strong {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.2;
}
.ad-slot--widget .ad-banner__house span {
  color: rgba(255,255,255,.8);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-widgets .ad-slot--widget {
  margin-top: 0;
}
.ad-slot--tower {
  margin: 0;
  justify-items: stretch;
  width: 300px;
  max-width: 100%;
}
.ad-slot--tower .ad-slot__label {
  text-align: left;
  width: 100%;
}
/* Na lateral da home (com cotações), usa 300×250 para não invadir o rodapé */
.ad-vertical .ad-slot--tower {
  --ad-w: 300;
  --ad-h: 250;
}
.ad-slot--tower .ad-slot__track,
.ad-vertical .ad-slot--tower .ad-slot__track {
  width: 300px;
  max-width: 100%;
  height: 250px;
  aspect-ratio: auto;
  border-style: solid;
  box-shadow: var(--shadow);
  background: #f3f6fa;
}
.ad-slot--tower .ad-banner,
.ad-slot--tower .ad-banner__link {
  height: 100%;
}
.ad-slot--tower .ad-banner__link {
  display: grid;
  place-items: center;
  background: #f3f6fa;
}
.ad-slot--tower .ad-banner__link img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: contain;
  object-position: center;
}
.ad-slot--tower .ad-banner__house {
  min-height: 100%;
  height: 100%;
  aspect-ratio: auto;
  padding: 1.15rem 1rem;
  gap: 0.4rem;
  background:
    linear-gradient(165deg, #0b2a4a 0%, #143d66 48%, #1a73e8 100%);
  color: #fff;
}
.ad-slot--tower .ad-banner__house strong {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.2;
  max-width: 11ch;
}
.ad-slot--tower .ad-banner__house span {
  color: rgba(255,255,255,.78);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ad-slot--billboard .ad-slot__track { width: min(100%, 970px); }
.ad-slot--inline { margin: 1.25rem auto; max-width: 320px; }
.ad-slot--sky { margin: 0; position: sticky; top: 1rem; }
.ad-slot--mobile { display: none; }

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 1.25rem;
  padding: 1.25rem 0 2.5rem;
  align-items: start;
}
.news-layout__main { min-width: 0; max-width: 820px; }

.ad-ratecard {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.ad-ratecard__item {
  background: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  padding: 1rem 1.1rem;
}
.ad-ratecard__size {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}
.ad-ratecard__item h2 {
  font-size: 0.95rem;
  margin: 0.4rem 0 0.35rem;
  color: var(--navy);
}
.ad-ratecard__item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

@media (max-width: 960px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-layout__side { display: none; }
  .ad-slot--mobile { display: grid; }
}

/* ===== Páginas institucionais / legais ===== */
.legal-page {
  padding: 1.35rem 0 3rem;
  background:
    linear-gradient(180deg, #eef3f8 0%, var(--bg) 180px);
}

.legal-page__grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.legal-page__nav {
  position: sticky;
  top: 120px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 0.95rem 1.05rem;
}

.legal-page__nav-title {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.legal-page__nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.legal-page__nav a {
  display: block;
  padding: 0.38rem 0.45rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

.legal-page__nav a:hover {
  background: #f0f5fa;
  color: var(--navy);
}

.legal-page__related {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}

.legal-page__related a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-tag);
}

.legal-page__related a:hover { color: var(--navy); }

.legal-page__content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.6rem 2rem;
}

.legal-page__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-tag);
}

.legal-page__head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

.legal-page__lead {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  color: #3d4a57;
  max-width: 62ch;
  line-height: 1.55;
}

.legal-page__meta {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.legal-page__content section {
  margin-top: 1.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid #e8eef4;
}

.legal-page__content section:first-of-type {
  margin-top: 1.35rem;
}

.legal-page__content h2 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.legal-page__content h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
}

.legal-page__content p,
.legal-page__content li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #2a3440;
}

.legal-page__content p + p { margin-top: 0.7rem; }

.legal-page__content ul {
  margin: 0.55rem 0 0;
  padding-left: 1.15rem;
  list-style: disc;
  display: grid;
  gap: 0.35rem;
}

.legal-page__content a {
  color: var(--blue-tag);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__content a:hover { color: var(--navy); }

.legal-page__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.85rem 0 0.35rem;
}

.legal-page__cards article {
  background: #f5f8fb;
  border: 1px solid #e4ebf2;
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
}

.legal-page__cards p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .legal-page__grid { grid-template-columns: 1fr; }
  .legal-page__nav {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
  }
  .legal-page__nav ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.15rem 0.5rem;
  }
  .legal-page__cards { grid-template-columns: 1fr; }
  .legal-page__content { padding: 1.15rem 1rem 1.5rem; }
}

@media (max-width: 560px) {
  .legal-page__nav ol { grid-template-columns: 1fr; }
}

/* ===== Contato / Fale Conosco ===== */
.contact-page__head {
  margin-bottom: 1.25rem;
}

.contact-page__channels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 0.95rem;
  transition: transform .15s, border-color .15s;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: #c5d5e4;
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef4fa;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.contact-card__icon svg { width: 20px; height: 20px; }

.contact-card strong {
  display: block;
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--navy);
}

.contact-card small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--muted);
  word-break: break-word;
}

.contact-card--wa {
  background: linear-gradient(135deg, #075e54, #128c7e);
  border-color: transparent;
  color: #fff;
}

.contact-card--wa .contact-card__icon {
  background: rgba(255,255,255,.18);
  color: #fff;
}

.contact-card--wa strong,
.contact-card--wa small { color: #fff; }
.contact-card--wa small { opacity: .85; }

.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr);
  gap: 1rem;
  align-items: start;
}

.contact-page__form-wrap,
.contact-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-page__form-wrap {
  padding: 1.35rem 1.4rem 1.5rem;
}

.contact-page__form-wrap h2,
.contact-side-card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.contact-page__hint {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-alert {
  padding: 0.75rem 0.9rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-alert--ok {
  background: #e8f7ee;
  color: #146c2e;
  border: 1px solid #b7e0c4;
}

.contact-alert--err {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6c2;
}

.contact-alert ul {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5dde6;
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-weight: 500;
  color: var(--text);
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(30, 111, 184, 0.25);
  border-color: var(--blue-tag);
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-form__legal {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.contact-form__legal a {
  color: var(--blue-tag);
  font-weight: 700;
}

.contact-form__submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.8rem 1.25rem;
  border-radius: 6px;
  transition: background .15s, transform .15s;
}

.contact-form__submit:hover {
  background: #143d66;
  transform: translateY(-1px);
}

.contact-page__side {
  display: grid;
  gap: 0.75rem;
}

.contact-side-card {
  padding: 1.05rem 1.1rem;
}

.contact-side-card p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: #3d4a57;
  line-height: 1.5;
}

.contact-side-card__note {
  font-size: 0.8rem !important;
  color: var(--muted) !important;
}

.contact-side-card ul {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.contact-side-card a {
  color: var(--blue-tag);
  font-weight: 700;
  font-size: 0.88rem;
}

.contact-side-card a:hover { color: var(--navy); }

@media (max-width: 960px) {
  .contact-page__channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-page__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .contact-page__channels { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}
