/* ==========================================================================
   Viação Gatusa — folha de estilos principal
   ========================================================================== */

:root {
  /* Cores da marca (extraídas do logo e do site original) */
  --navy-900: #00004d;
  --navy-800: #000170;
  --navy-700: #000180;          /* cor primária original */
  --navy-600: #1a2a9c;
  --blue-500: #5f73b8;          /* azul do "G" do logo */
  --blue-400: #0099e6;          /* azul de destaque original */
  --blue-100: #e8ecfa;
  --blue-50:  #f3f5fd;
  --red-600:  #c1272d;          /* vermelho do logo */
  --red-500:  #d9353b;
  --gray-900: #0f1222;
  --gray-700: #3b4057;
  --gray-600: #5b6078;
  --gray-400: #9aa0b8;
  --gray-200: #dfe2ec;
  --gray-100: #eef0f6;
  --white: #ffffff;

  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: var(--gray-900);
  --text-muted: var(--gray-600);
  --primary: var(--navy-700);
  --accent: var(--red-600);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(0, 1, 60, .06), 0 2px 8px rgba(0, 1, 60, .04);
  --shadow: 0 4px 12px rgba(0, 1, 60, .06), 0 16px 40px rgba(0, 1, 60, .08);
  --shadow-lg: 0 20px 60px rgba(0, 1, 60, .18);

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease); }
a:hover { color: var(--blue-400); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; color: var(--gray-900); }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
::selection { background: var(--navy-700); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy-700); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--text-muted); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--navy-700); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 700 .95rem/1 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 1, 128, .28); color: var(--btn-fg); }
.btn:hover::after { transform: translateX(100%); }
.btn i { transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-accent { --btn-bg: var(--red-600); }
.btn-accent:hover { box-shadow: 0 10px 24px rgba(193, 39, 45, .35); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-700); }
.btn-ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { --btn-bg: #fff; --btn-fg: var(--navy-700); border-color: #fff; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-700); border-color: var(--navy-700); }
.btn-outline:hover { --btn-bg: var(--navy-700); --btn-fg: #fff; }
.btn-lg { padding: 18px 32px; font-size: 1rem; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { --header-h: 68px; height: 68px; box-shadow: var(--shadow-sm); border-color: var(--gray-100); background: rgba(255,255,255,.92); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 46px; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: var(--gray-700); text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.main-nav a:hover { color: var(--navy-700); background: var(--blue-50); }
.main-nav a.is-active { color: var(--navy-700); background: var(--blue-100); }
.main-nav .nav-cta { background: var(--navy-700); color: #fff; margin-left: 6px; }
.main-nav .nav-cta:hover, .main-nav .nav-cta.is-active { background: var(--red-600); color: #fff; }

.has-dropdown { position: relative; }
.has-dropdown > a .fa-chevron-down { font-size: .65rem; transition: transform .25s var(--ease); }
.has-dropdown:hover > a .fa-chevron-down, .has-dropdown:focus-within > a .fa-chevron-down { transform: rotate(180deg); }
.dropdown {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% + 8px); left: 50%;
  min-width: 270px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; width: 100%; border-radius: var(--radius-sm); padding: 10px 14px; font-weight: 500; }
.dropdown a i { width: 18px; color: var(--blue-500); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 0;
  background: var(--blue-50); color: var(--navy-700); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), background .3s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff; overflow-y: auto; padding: 16px 24px 40px;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; width: 100%; }
  .main-nav .nav-cta { margin: 12px 0 0; justify-content: center; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    min-width: 0; padding: 0 0 6px 16px; background: transparent;
  }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { transform: none; }
  .dropdown a { font-size: .95rem; padding: 10px 16px; }
  .has-dropdown > a .fa-chevron-down { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 72px) 0 120px;
  background: var(--navy-900);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../img/fotos/slide-bg-cidade1.jpg") center/cover no-repeat;
  opacity: .55; transform: scale(1.08);
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(95, 115, 184, .45), transparent 60%),
    linear-gradient(100deg, rgba(0, 0, 77, .96) 0%, rgba(0, 1, 128, .82) 45%, rgba(0, 1, 128, .35) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: -1;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 85%);
}
@keyframes kenburns { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -2%); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .eyebrow { color: #fff; opacity: .85; }
.hero .eyebrow::before { background: var(--red-500); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.word-rotator { display: inline-grid; vertical-align: bottom; color: #fff; position: relative; }
.word-rotator span {
  grid-area: 1 / 1; white-space: nowrap;
  opacity: 0; transform: translateY(40%); filter: blur(6px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease);
  background: linear-gradient(90deg, #fff, #b9c4f0); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.word-rotator span.is-active { opacity: 1; transform: none; filter: none; }
.word-rotator span.is-leaving { opacity: 0; transform: translateY(-40%); filter: blur(6px); }
.word-rotator::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 4px;
  background: var(--red-600); transform-origin: left; animation: underline 3s var(--ease) infinite;
}
@keyframes underline { 0% { transform: scaleX(0); } 20%, 80% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }

.hero-visual { position: relative; }
.hero-visual .bus {
  width: 100%; max-width: 520px; margin-left: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 40, .55));
  animation: bus-in 1.4s var(--ease) both .2s, float 6s ease-in-out 1.6s infinite;
}
.hero-visual .road {
  position: absolute; left: 5%; right: -10%; bottom: -8px; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 28px, transparent 28px 52px);
  animation: road 1.2s linear infinite; opacity: .5;
}
@keyframes bus-in { from { opacity: 0; transform: translateX(120px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes road { to { background-position: -52px 0; } }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-badge i { color: #9fb0ff; }

/* ---------- Faixa de destaque / estatísticas ---------- */
.stats { margin-top: -70px; position: relative; z-index: 2; }
.stats-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); overflow: hidden;
}
.stats-intro { padding: 32px; background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: #fff; }
.stats-intro p { margin: 0; color: rgba(255,255,255,.8); }
.stats-intro strong { display: block; color: #fff; font-size: 1.3rem; line-height: 1.35; margin-top: 4px; }
.stats-intro em { font-style: normal; color: #fff; border-bottom: 3px solid var(--red-500); }
.stat { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--gray-100); }
.stat-value { font-size: 2.3rem; font-weight: 800; color: var(--navy-700); line-height: 1; letter-spacing: -.03em; }
.stat-value small { font-size: 1rem; font-weight: 700; margin-left: 2px; }
.stat-label { font-size: .88rem; color: var(--text-muted); margin-top: 8px; font-weight: 500; }

/* ---------- Seções ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

/* Sobre (home) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media-stack { position: relative; padding: 0 0 60px 40px; }
.media-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.media-stack .img-main { aspect-ratio: 16/10; }
.media-stack .img-float {
  position: absolute; left: 0; bottom: 0; width: 55%; aspect-ratio: 16/10;
  border: 6px solid #fff;
}
.media-stack .badge-float {
  position: absolute; right: -12px; top: 24px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .9rem;
  animation: float 5s ease-in-out infinite;
}
.media-stack .badge-float i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--navy-700); }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li i { color: #fff; background: var(--navy-700); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; flex-shrink: 0; margin-top: 3px; }

/* Cards genéricos */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card h3, .card h4 { margin-bottom: 8px; }
.card p { color: var(--text-muted); margin: 0; font-size: .96rem; }
.icon-box {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-100), #fff); color: var(--navy-700); font-size: 1.3rem;
  margin-bottom: 18px; border: 1px solid var(--blue-100);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.card:hover .icon-box { background: var(--navy-700); color: #fff; transform: rotate(-6deg) scale(1.05); }

/* Card link (Acesse também) */
.link-card { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; text-decoration: none; color: inherit; height: 100%; }
.link-card .icon-box { margin: 0; flex-shrink: 0; }
.link-card h3 { font-size: 1.08rem; color: var(--gray-900); transition: color .2s; }
.link-card:hover { color: inherit; }
.link-card:hover h3 { color: var(--navy-700); }
.link-card .arrow {
  position: absolute; right: 22px; top: 24px; color: var(--gray-400); font-size: .9rem;
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.link-card:hover .arrow { transform: translate(3px, -3px); color: var(--red-600); }
.link-card .tag {
  display: inline-block; margin-top: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-700); background: var(--blue-50); padding: 3px 10px; border-radius: 999px;
}

/* Linhas (preview e página) */
.line-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.line-card-head {
  padding: 24px 24px 20px; background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: #fff; position: relative; overflow: hidden;
}
.line-card-head::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  border: 18px solid rgba(255,255,255,.07);
}
.line-code {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy-700); font-weight: 800; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 8px; font-size: .95rem; margin-bottom: 14px;
}
.line-code i { color: var(--red-600); }
.line-route { display: grid; gap: 4px; position: relative; padding-left: 22px; margin: 0; color: #fff; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.line-route::before { content: ""; position: absolute; left: 5px; top: 9px; bottom: 9px; width: 2px; background: rgba(255,255,255,.35); }
.line-route span { position: relative; }
.line-route span::before {
  content: ""; position: absolute; left: -22px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy-700); border: 3px solid #fff;
}
.line-route span:last-child::before { background: var(--red-500); }
.line-card-body { padding: 20px 24px 24px; flex: 1; }
.line-card-body h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 10px; }
.line-card-body ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.line-card-body li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--gray-700); }
.line-card-body li i { color: var(--blue-500); font-size: .8rem; }

.line-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.search-field { position: relative; flex: 1; min-width: 260px; max-width: 460px; }
.search-field i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
.search-field input { padding-left: 46px !important; border-radius: 999px !important; }
.line-count { color: var(--text-muted); font-weight: 600; font-size: .95rem; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--text-muted); display: none; }
.empty-state.is-visible { display: block; }
.line-item.is-hidden { display: none; }

/* CTA banner */
.cta-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 60%, var(--navy-600));
  color: #fff; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  isolation: isolate;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2;
  background: url("../img/fotos/slide-bg-cidade1.jpg") center/cover;
  mix-blend-mode: screen;
}
.cta-banner::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -200px; z-index: -1;
  border-radius: 50%; border: 50px solid rgba(193, 39, 45, .35);
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-banner p { color: rgba(255,255,255,.8); margin: 0; max-width: 620px; }

/* ---------- Cabeçalho de páginas internas ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 64px) 0 72px;
  background: var(--navy-900);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/fotos/slide-bg-cidade1.jpg") center/cover; opacity: .45;
  animation: kenburns 30s ease-in-out infinite alternate;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(0,0,77,.95), rgba(0,1,128,.7));
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 680px; margin: 14px 0 0; font-size: 1.08rem; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; }
.breadcrumb li { color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: #fff; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* Layout com sidebar */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.sidebar-box { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); padding: 24px; }
.sidebar-box h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px; }
.sidebar-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.sidebar-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; color: var(--gray-700); font-size: .95rem;
  transition: background .2s, color .2s, padding .25s var(--ease);
}
.sidebar-nav a i { font-size: .75rem; color: var(--gray-400); transition: transform .25s var(--ease); }
.sidebar-nav a:hover { background: var(--blue-50); color: var(--navy-700); padding-left: 18px; }
.sidebar-nav a:hover i { transform: translateX(3px); color: var(--navy-700); }
.sidebar-nav a.is-active { background: var(--navy-700); color: #fff; }
.sidebar-nav a.is-active i { color: #fff; }
.counter-box {
  border-radius: var(--radius); padding: 28px 24px; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); position: relative; overflow: hidden;
}
.counter-box::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(255,255,255,.08); }
.counter-box strong { display: block; font-size: 3.4rem; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.counter-box span { display: block; margin-top: 8px; font-weight: 600; color: rgba(255,255,255,.85); }
.counter-box a { color: #fff; font-size: .88rem; display: inline-block; margin-top: 14px; }

/* Texto longo (políticas) */
.prose { font-size: 1.04rem; color: var(--gray-700); }
.prose h2 { font-size: 1.35rem; margin: 2.2em 0 .8em; padding-top: .2em; color: var(--gray-900); display: flex; gap: 12px; align-items: baseline; }
.prose h2:first-child { margin-top: 0; }
.prose h2::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-radius: 3px; background: var(--red-600); transform: translateY(-2px); }
.prose h2 strong { color: var(--navy-700); }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem;
  position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center; color: var(--navy-700); background: var(--blue-100);
}
.prose .doc-meta {
  margin-top: 40px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--blue-50);
  color: var(--gray-700); font-size: .92rem; border-left: 4px solid var(--navy-700);
}
.prose .signature { margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-100); }
.content-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 56px); border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); }

.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; max-height: 50vh; overflow-y: auto; }
.toc a {
  display: block; padding: 7px 12px; border-radius: 8px; font-size: .86rem; font-weight: 500; color: var(--gray-600); text-decoration: none;
  border-left: 2px solid transparent; line-height: 1.4; text-transform: lowercase;
}
.toc a::first-letter { text-transform: uppercase; }
.toc a:hover { background: var(--blue-50); color: var(--navy-700); }
.toc a.is-active { color: var(--navy-700); border-left-color: var(--red-600); background: var(--blue-50); font-weight: 700; }
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--red-600), var(--blue-400)); z-index: 200; }

/* Empresa */
.about-text p { font-size: 1.06rem; color: var(--gray-700); }
.about-text p:first-of-type { font-size: 1.22rem; color: var(--gray-900); font-weight: 500; }
.figure { margin: 32px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.figure img { width: 100%; transition: transform 1.2s var(--ease); }
.figure:hover img { transform: scale(1.04); }
.figure figcaption {
  position: absolute; left: 16px; bottom: 16px; background: rgba(0,0,77,.75); color: #fff; backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; }
.highlight { padding: 20px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); }
.highlight strong { display: block; font-size: 1.6rem; color: var(--navy-700); line-height: 1.1; letter-spacing: -.02em; }
.highlight span { font-size: .88rem; color: var(--gray-600); }

/* Política integrada */
.pillar { padding: 36px; }
.pillar .num { position: absolute; right: 28px; top: 20px; font-size: 3.5rem; font-weight: 800; color: var(--blue-50); line-height: 1; letter-spacing: -.04em; transition: color .35s; }
.card.pillar:hover .num { color: var(--blue-100); }
.pillar h2 { font-size: 1.5rem; }
.pillar h2 strong { color: var(--navy-700); }
.pillar p { font-size: 1rem; color: var(--gray-700); margin-bottom: .8em; }
.values-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values-list li { padding: 10px 18px; border-radius: 999px; background: var(--navy-700); color: #fff; font-weight: 700; font-size: .95rem; }

/* Tecnologia */
.tech-card .icon-box { width: 58px; height: 58px; }

/* Links úteis */
.link-list { display: grid; gap: 16px; }
.link-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  padding: 22px 26px; text-decoration: none; color: inherit;
}
.link-row .icon-box { margin: 0; }
.link-row h3 { font-size: 1.1rem; margin: 0 0 4px; }
.link-row p { margin: 0; }
.link-row .go { color: var(--gray-400); transition: transform .3s var(--ease), color .3s; }
.link-row:hover .go { color: var(--red-600); transform: translate(3px, -3px); }
.link-row:hover { color: inherit; }
.brand-fb { color: #1877f2 !important; }
.brand-x { color: #000 !important; }

/* ---------- Formulários ---------- */
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.form-grid > * { grid-column: span 12; }
.col-6 { grid-column: span 6 !important; }
.col-9 { grid-column: span 9 !important; }
.col-3 { grid-column: span 3 !important; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--gray-700); }
.field .req { color: var(--red-600); }
.input, .field input[type="text"], .field input[type="email"], .field select, .field textarea, .search-field input {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--gray-200); background: #fff;
  font: 500 1rem/1.4 var(--font); color: var(--gray-900);
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23000180' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-400); }
.field input:focus, .field select:focus, .field textarea:focus, .search-field input:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(0, 1, 128, .12);
}
.field input[type="file"] { padding: 12px; border-style: dashed; background: var(--blue-50); cursor: pointer; }
.field input[type="file"]::file-selector-button {
  border: 0; background: var(--navy-700); color: #fff; padding: 8px 14px; border-radius: 8px; font: 600 .88rem var(--font); margin-right: 12px; cursor: pointer;
}
.field .hint { display: block; font-size: .82rem; color: var(--gray-600); margin-top: 6px; }
.field .error-msg { display: none; color: var(--red-600); font-size: .84rem; font-weight: 600; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-600); background: #fff8f8; }
.field.has-error .error-msg { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy-700); margin-top: 3px; flex-shrink: 0; }
.form-note { font-size: .9rem; color: var(--gray-600); }
.form-required { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; color: #9a6700; background: #fff8e1; padding: 6px 12px; border-radius: 8px; margin-bottom: 20px; }

.alert { display: none; padding: 16px 20px; border-radius: 12px; font-weight: 500; margin-bottom: 20px; gap: 12px; align-items: flex-start; }
.alert.is-visible { display: flex; animation: pop .4s var(--ease); }
.alert-success { background: #e8f7ee; color: #14532d; border: 1px solid #b7e4c7; }
.alert-error { background: #fdecec; color: #7f1d1d; border: 1px solid #f5c2c2; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Tabs */
.tabs-nav { display: inline-flex; gap: 4px; background: var(--gray-100); padding: 5px; border-radius: 999px; margin-bottom: 28px; position: relative; }
.tab-btn {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  padding: 11px 24px; border-radius: 999px; font: 700 .95rem var(--font); color: var(--gray-600);
  display: inline-flex; gap: 8px; align-items: center; transition: color .3s;
}
.tab-btn[aria-selected="true"] { color: #fff; }
.tabs-indicator { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--navy-700); transition: transform .4s var(--ease), width .4s var(--ease); box-shadow: 0 6px 14px rgba(0,1,128,.3); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: pop .45s var(--ease); }

/* Contato */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--gray-200); align-items: flex-start; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ci { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--navy-700); flex-shrink: 0; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); font-weight: 700; }
.contact-list a, .contact-list span { font-weight: 600; color: var(--gray-900); word-break: break-word; }
.contact-list a:hover { color: var(--navy-700); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-100); background: var(--gray-100); aspect-ratio: 21/8; min-height: 320px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9); }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: #fff8e1; color: #6b4f00; font-size: .94rem; }
.notice i { margin-top: 4px; }

/* Relatório igualdade */
.report-figure { background: #fff; border-radius: var(--radius-lg); padding: clamp(12px, 2vw, 24px); box-shadow: var(--shadow); border: 1px solid var(--gray-100); }
.report-figure img { border-radius: var(--radius-sm); width: 100%; cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(0, 0, 30, .92); display: none; overflow: auto; cursor: zoom-out; padding: 24px;
}
.lightbox.is-open { display: block; animation: pop .3s var(--ease); }
.lightbox img { max-width: none; width: min(2400px, 180vw); margin: 0 auto; border-radius: 8px; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-700); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); position: relative; overflow: hidden; margin-top: 100px; isolation: isolate; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 300px at 10% 0%, rgba(95, 115, 184, .3), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(193, 39, 45, .18), transparent 70%);
}
.footer-cta { transform: translateY(-50%); margin-bottom: -40px; }
.footer-cta .inner {
  background: #fff; color: var(--gray-900); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
}
.footer-cta a { display: flex; gap: 16px; align-items: center; padding: 26px 28px; text-decoration: none; color: inherit; border-left: 1px solid var(--gray-100); transition: background .25s; }
.footer-cta a:first-child { border-left: 0; }
.footer-cta a:hover { background: var(--blue-50); color: inherit; }
.footer-cta .icon-box { margin: 0; flex-shrink: 0; }
.footer-cta small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-400); font-weight: 700; }
.footer-cta strong { font-size: 1.12rem; color: var(--navy-700); }
.site-footer { overflow: visible; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 40px 0 56px; }
.footer-logo { background: #fff; display: inline-block; padding: 10px 16px; border-radius: 14px; margin-bottom: 18px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact i { color: #9fb0ff; margin-top: 6px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .86rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.cookie-note { display: flex; gap: 10px; font-size: .9rem; }
.cookie-note i { color: #9fb0ff; margin-top: 5px; }

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--navy-700); color: #fff; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--red-600); transform: translateY(-3px); }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-36px); }
.reveal.from-right { transform: translateX(36px); }
.reveal.zoom { transform: scale(.94); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1060px) {
  .stats-card { grid-template-columns: repeat(3, 1fr); }
  .stats-intro { grid-column: 1 / -1; }
  .stat:nth-child(2) { border-left: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-cta .inner { grid-template-columns: 1fr; }
  .footer-cta a { border-left: 0; border-top: 1px solid var(--gray-100); }
  .footer-cta a:first-child { border-top: 0; }
  .footer-cta { transform: translateY(-80px); margin-bottom: -60px; }
  .highlight-grid { grid-template-columns: 1fr 1fr; }
  .media-stack { padding-left: 20px; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .brand img { height: 48px; }
  .hero { padding-bottom: 110px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats-card { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--gray-100); flex-direction: row; align-items: baseline; gap: 14px; padding: 20px 24px; }
  .stat-label { margin: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .col-6, .col-9, .col-3 { grid-column: span 12 !important; }
  .link-row { grid-template-columns: auto 1fr; padding: 18px; }
  .link-row .go { display: none; }
  .highlight-grid { grid-template-columns: 1fr; }
  .tabs-nav { display: flex; }
  .tab-btn { flex: 1; justify-content: center; padding: 11px 12px; }
  .media-stack .badge-float { right: 0; }
  .map-wrap { aspect-ratio: 4/3; }
}

/* ---------- Ticker de linhas (home) ---------- */
.ticker {
  overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; gap: 16px; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 14px 22px 14px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--gray-100);
  font-weight: 600; font-size: .95rem; color: var(--gray-700); text-decoration: none;
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.ticker-item b { background: var(--navy-700); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .85rem; letter-spacing: .02em; }
.ticker-item i { color: var(--red-600); font-size: .8rem; }
.ticker-item:hover { background: #fff; border-color: var(--blue-100); color: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
@keyframes ticker { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
}

/* Ajustes finos */
.contact-list a, .contact-list span { word-break: normal; overflow-wrap: anywhere; font-size: .92rem; }
.layout-sidebar { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 1060px) { .layout-sidebar { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .hero-visual { max-width: 100%; overflow: hidden; }
  .hero-visual .bus { max-width: 380px; margin: 0 auto; }
  .hero-visual .road { right: 0; }
}
