/* ============================================================
   Prefeitura Municipal de Campinas — réplica estática
   Design system baseado em https://campinas.sp.gov.br/
   ============================================================ */

:root {
  /* Paleta (extraída do site original) */
  --blue: #005d9c;          /* cor primária do portal */
  --blue-dark: #004a7e;     /* hover */
  --blue-darker: #003a5e;   /* footer / estados ativos */
  --blue-light: #40c7f4;    /* destaque (CAMPINAS) */
  --blue-50: #e9f3fa;       /* fundos suaves */
  --bg: #f6f6f6;            /* fundo da página */
  --white: #ffffff;
  --text: #333333;
  --text-muted: #757575;
  --text-light: #9e9e9e;
  --border: #e0e0e0;
  --green: #25d366;         /* whatsapp */
  --red: #f00;              /* youtube */

  --font: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .12);
  --shadow-hover: 0 6px 16px rgba(0, 0, 0, .16);
  --container: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* ============================ TOPO / HEADER ============================ */

/* Barra branca superior: brasão + nome | links utilitários + redes */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding-block: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand img { width: 44px; height: auto; }
.brand__name {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .2px;
  white-space: nowrap;
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar__nav a {
  font-size: .86rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color .15s ease;
}
.topbar__nav a:hover { color: var(--blue); text-decoration: underline; }

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
}
.socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: transform .15s ease, filter .15s ease;
}
.socials a:hover { transform: translateY(-2px); filter: brightness(.92); }
.socials svg { width: 20px; height: 20px; }
.social--wa    { background: var(--green); }
.social--fb    { background: #1877f2; }
.social--insta { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social--yt    { background: var(--red); }
.social--x     { background: #000; }
.socials svg path, .socials svg rect, .socials svg circle { fill: #fff; }

/* Barra azul principal: menu | busca | acessar */
.mainbar {
  background: var(--blue);
  color: var(--white);
}
.mainbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  padding-block: 10px;
}
.menu-btn {
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
  font-size: 1.05rem; font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background .15s ease;
}
.menu-btn:hover { background: rgba(255, 255, 255, .12); }
.menu-btn .material-icons-outlined { font-size: 28px; }

.search {
  flex: 1;
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  display: flex;
}
.search input {
  flex: 1;
  height: 42px;
  border: none;
  outline: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 0 16px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
}
.search input::placeholder { color: var(--text-light); }
.search button {
  width: 52px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, .16);
  display: grid; place-items: center;
  transition: background .15s ease;
}
.search button:hover { background: rgba(255, 255, 255, .3); }
.search .material-icons-outlined { color: var(--white); font-size: 24px; }

.login-btn {
  display: flex; align-items: center; gap: 8px;
  color: var(--white);
  font-weight: 500; font-size: .95rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s ease;
  white-space: nowrap;
}
.login-btn:hover { background: rgba(255, 255, 255, .12); }
.login-btn .material-icons-outlined { font-size: 24px; }

/* Menu lateral (hambúrguer) */
.sidenav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 90vw);
  background: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .28s ease;
  box-shadow: -6px 0 24px rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
}
.sidenav.open { transform: translateX(0); }
.sidenav__head {
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
}
.sidenav__head strong { font-size: 1.1rem; }
.sidenav__close { color: var(--white); font-size: 24px; display: grid; place-items: center; }
.sidenav nav { overflow-y: auto; padding: 8px 0; flex: 1; }
.sidenav nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 22px;
  font-size: .97rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.sidenav nav a:hover { background: var(--blue-50); border-left-color: var(--blue); color: var(--blue); }
.sidenav nav a.highlight {
  background: linear-gradient(90deg, var(--blue-50), transparent);
  border-left-color: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
}
.sidenav nav a .badge-new {
  margin-left: auto;
  font-size: .62rem; font-weight: 700; letter-spacing: .06em;
  background: var(--blue-light);
  color: #053a52;
  padding: 3px 8px;
  border-radius: 99px;
}
.backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 190;
}
.backdrop.show { opacity: 1; pointer-events: auto; }

/* ============================ HERO / BANNERS ============================ */

.hero { background: var(--white); padding: 26px 0 8px; }
.hero__slider { position: relative; }
.hero__track {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 14px;
}
.hero__slide {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
  background: var(--blue-darker);
}
.hero__slide:hover { box-shadow: var(--shadow-hover); }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 7;
  transition: transform .5s ease;
}
.hero__slide:hover img { transform: scale(1.03); }

.hero__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .42);
  color: #fff;
  display: grid; place-items: center;
  z-index: 5;
  transition: background .15s ease;
}
.hero__arrow:hover { background: rgba(0, 0, 0, .62); }
.hero__arrow.prev { left: 4px; }
.hero__arrow.next { right: 4px; left: auto; }
.hero__arrow .material-icons-outlined { font-size: 32px; }

.hero__dots {
  display: flex; justify-content: center;
  gap: 8px;
  padding: 14px 0 6px;
}
.hero__dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #c3ced6;
  transition: background .15s ease, transform .15s ease;
}
.hero__dots button.active { background: var(--blue); transform: scale(1.25); }

/* ============================ "NA PALMA DA MÃO" ============================ */

.palma { padding: 34px 0 8px; text-align: center; }
.palma__title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: .02em;
}
.palma__title .light { color: var(--blue-light); font-weight: 500; }
.palma__title .dark { color: var(--blue); font-weight: 900; }

.palma__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.palma__tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 26px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  box-shadow: var(--shadow);
  transition: all .18s ease;
}
.palma__tab:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.palma__tab .material-icons-outlined { font-size: 26px; }

/* ============================ SEÇÕES GENÉRICAS ============================ */

.section { padding: 30px 0; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: var(--blue);
}
.section__more {
  font-size: .95rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}
.section__more:hover { text-decoration: underline; }
.section__more .material-icons-outlined { font-size: 18px; vertical-align: -3px; }

/* ============================ SERVIÇOS ============================ */

.tiles {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) #dfe8ef;
}
.tile {
  scroll-snap-align: start;
  flex: 0 0 190px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 14px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: var(--shadow);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.tile:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.tile--ghost {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
  font-size: .9rem;
}
.tile--ghost:hover { background: var(--blue-50); }
.tile--link { cursor: pointer; }
.tile--link a {
  display: block;
  padding: 8px 10px;
  margin: -8px -10px;
  color: inherit;
  text-decoration: none;
  font: inherit;
}

.btn-outline {
  display: block;
  margin: 22px auto 0;
  max-width: 420px;
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  transition: all .18s ease;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* Faixa de destaque para a nova página (aparece na home) */
.promo-frotas {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(100deg, var(--blue-darker), var(--blue) 55%, #0a74b8);
  border-radius: var(--radius);
  padding: 22px 30px;
  color: #fff;
  box-shadow: var(--shadow);
}
.promo-frotas__icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.promo-frotas__icon .material-icons-outlined { font-size: 34px; }
.promo-frotas h3 { font-size: 1.35rem; font-weight: 700; }
.promo-frotas p { opacity: .92; font-size: .95rem; margin-top: 2px; }
.promo-frotas a {
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.promo-frotas a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ============================ CARDS (notícias / tv / sites) ============================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card__media { position: relative; overflow: hidden; background: #0b3a5c; }
.card__media img {
  width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card__media img { transform: scale(1.05); }
.card__media .yt-badge {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.card__media .yt-badge span {
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 99px;
  backdrop-filter: blur(2px);
}
.card__body { padding: 16px 18px 18px; }
.card__body h3 {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card:hover .card__body h3 { color: var(--blue); }
.card__meta {
  margin-top: 10px;
  font-size: .82rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.card__meta .material-icons-outlined { font-size: 16px; }
.card__url {
  margin-top: 8px;
  font-size: .8rem;
  color: var(--text-light);
  word-break: break-all;
}

/* ============================ RODAPÉ ============================ */

.footer {
  background: var(--blue);
  color: var(--white);
  margin-top: 40px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  gap: 32px;
  padding: 44px 0 36px;
}
.footer h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer li { margin-bottom: 12px; font-size: .95rem; }
.footer a { opacity: .95; }
.footer a:hover { text-decoration: underline; }
.footer .wa-icon { display: inline-grid; place-items: center; vertical-align: -4px; margin-left: 4px; }
.footer .wa-icon svg { width: 20px; height: 20px; }
.footer .wa-icon svg path { fill: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .35);
  text-align: center;
  padding: 16px 0 20px;
  font-size: .88rem;
  font-weight: 500;
}
.footer__bottom a { text-decoration: underline; }

/* ============================ PÁGINA INTERIOR (frotas) ============================ */

.page-hero {
  background: linear-gradient(110deg, var(--blue-darker) 0%, var(--blue) 60%, #0a74b8 100%);
  color: #fff;
  padding: 40px 0 46px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem;
  opacity: .85;
  margin-bottom: 14px;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .material-icons-outlined { font-size: 18px; }
.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 900;
  letter-spacing: .01em;
}
.page-hero .subtitle {
  margin-top: 10px;
  max-width: 760px;
  font-size: 1.05rem;
  opacity: .94;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 99px;
  padding: 7px 16px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.status-pill .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ffd54f;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.page-body { padding: 34px 0 10px; }

.lede {
  max-width: 860px;
  font-size: 1.08rem;
  color: #444;
}
.lede p + p { margin-top: 14px; }

/* Navegação rápida âncoras */
.quicknav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 8px;
}
.quicknav a {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: all .16s ease;
}
.quicknav a:hover {
  border-top-color: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: var(--blue);
}
.quicknav .material-icons-outlined { color: var(--blue); font-size: 26px; }

.block { margin-top: 42px; scroll-margin-top: 90px; }
.block__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 6px;
}
.block__head .material-icons-outlined { color: var(--blue); font-size: 30px; }
.block__head h2 {
  font-size: 1.5rem; font-weight: 700; color: var(--blue);
}
.block__intro { color: var(--text-muted); margin-bottom: 18px; max-width: 860px; }

/* Placeholder padrão para conteúdo que a próxima sessão preencherá */
.placeholder {
  border: 2px dashed #b9cfdd;
  background: repeating-linear-gradient(
    -45deg,
    #f4f9fc, #f4f9fc 14px,
    #eaf3f9 14px, #eaf3f9 28px
  );
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  color: #5b7d94;
}
.placeholder .material-icons-outlined {
  font-size: 40px; color: #8fb4ca; margin-bottom: 8px;
}
.placeholder strong { display: block; color: #35586f; font-size: 1.05rem; }
.placeholder small { display: block; margin-top: 4px; font-size: .88rem; color: #7d99ab; }

.placeholder--row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.placeholder--row .placeholder { padding: 24px 16px; }

/* Grid de veículos (esqueleto p/ próxima sessão) */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.fleet-card {
  background: var(--white);
  border: 1px dashed #b9cfdd;
  border-radius: var(--radius);
  overflow: hidden;
  color: #6d8ba0;
}
.fleet-card__thumb {
  height: 130px;
  display: grid; place-items: center;
  background: repeating-linear-gradient(
    -45deg, #f4f9fc, #f4f9fc 12px, #eaf3f9 12px, #eaf3f9 24px
  );
}
.fleet-card__thumb .material-icons-outlined { font-size: 46px; color: #a9c6d8; }
.fleet-card__body { padding: 14px 16px 18px; }
.fleet-card__body strong { color: #35586f; font-size: .98rem; }
.fleet-card__body span { display: block; font-size: .84rem; margin-top: 4px; }
.fleet-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em;
  color: #0a5e8f;
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 99px;
  text-transform: uppercase;
}

/* Estatísticas */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  text-align: center;
  border-top: 3px solid var(--blue);
}
.stat .num {
  font-size: 2rem; font-weight: 900; color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.stat .num.tbd { color: #b7c9d6; }
.stat .label { font-size: .86rem; color: var(--text-muted); margin-top: 4px; }

/* Listas de editais / documentos */
.doc-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.doc-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid #eef2f5;
  transition: background .15s ease;
}
.doc-list li:last-child { border-bottom: none; }
.doc-list li:hover { background: var(--blue-50); }
.doc-list .material-icons-outlined { color: var(--blue); font-size: 24px; }
.doc-list strong { font-size: .98rem; color: var(--text); font-weight: 500; }
.doc-list small { display: block; color: var(--text-muted); font-size: .84rem; margin-top: 2px; }
.doc-list .doc-status {
  margin-left: auto;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 99px;
  white-space: nowrap;
}
.doc-status.ok   { background: #e6f4ea; color: #1e7e34; }
.doc-status.wait { background: #fff4e0; color: #9a6b00; }
.doc-status.info { background: var(--blue-50); color: #0a5e8f; }

/* Contato / rodapé da página */
.contact-cta {
  margin-top: 46px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--blue);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-cta h3 { font-size: 1.2rem; color: var(--blue); }
.contact-cta p { color: var(--text-muted); font-size: .95rem; margin-top: 4px; max-width: 640px; }
.btn-solid {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .16s ease, transform .16s ease;
  white-space: nowrap;
}
.btn-solid:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-soft {
  background: var(--blue-50);
  color: var(--blue);
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .16s ease;
  white-space: nowrap;
}
.btn-soft:hover { background: #d7ebf7; }

/* Cookie banner (estilo Klaro do site original) */
.cookie-bar {
  position: fixed;
  right: 18px; bottom: 18px;
  width: min(380px, calc(100vw - 36px));
  background: #123;
  background: #16283b;
  color: #e8eef4;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  z-index: 300;
  font-size: .88rem;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { line-height: 1.45; }
.cookie-bar a { color: #7cc4ef; text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie-bar__actions button {
  flex: 1;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: .88rem;
  transition: filter .15s ease;
}
.cookie-bar__actions button:hover { filter: brightness(1.1); }
.cb-primary { background: #2196f3; color: #fff; }
.cb-ghost { background: rgba(255, 255, 255, .12); color: #dbe7f1; }

/* VLibras (botão de acessibilidade, idem no original) */
.vlibras {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 60, 100, .4);
  z-index: 250;
  transition: transform .15s ease, background .15s ease;
}
.vlibras:hover { transform: scale(1.06); background: var(--blue-dark); }
.vlibras .material-icons-outlined { font-size: 30px; }
.vlibras.moved-up { bottom: 110px; }

/* Toast simples */
.toast {
  position: fixed;
  left: 50%; bottom: 26px;
  transform: translate(-50%, 20px);
  background: #263238;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: .92rem;
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 400;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================ RESPONSIVO ============================ */

@media (max-width: 1024px) {
  .topbar__nav { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .quicknav { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  /* barra superior em telas pequenas: nome pode quebrar linha e sociais diminuem */
  .topbar__inner { gap: 12px; justify-content: center; }
  .brand { flex-shrink: 1; gap: 10px; }
  .brand img { width: 36px; }
  .brand__name { font-size: .95rem; white-space: normal; line-height: 1.15; text-align: center; }
  .socials { gap: 8px; flex-shrink: 0; }
  .socials a { width: 30px; height: 30px; }
  .socials svg { width: 17px; height: 17px; }
  .hero__track { grid-template-columns: 1fr; }
  .hero__slide img { aspect-ratio: 16 / 9; }
  .mainbar__inner { flex-wrap: wrap; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .palma__tabs { gap: 10px; }
  .palma__tab { padding: 11px 18px; font-size: .92rem; flex: 1 1 40%; justify-content: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .quicknav { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .placeholder--row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .promo-frotas { flex-direction: column; text-align: center; }
  .section__head { flex-direction: column; gap: 6px; }
}

@media (max-width: 460px) {
  .quicknav { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .socials { display: none; }
  .topbar__inner { justify-content: center; }
}

/* Impressão */
@media print {
  .topbar, .mainbar, .cookie-bar, .vlibras, .promo-frotas, .quicknav { display: none !important; }
  body { background: #fff; }
}
