@charset "UTF-8";
:root {
  --primary: #0f2d52;
  --secondary: #0ec07a;
  --accent: #f7b500;
  --bg: #f6f8fb;
  --text: #0f172a;
  --muted: #5b6475;
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 18px 40px rgba(15, 45, 82, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #eef3ff, #f6f8fb 45%), radial-gradient(circle at 80% 0%, #e8fff6, #f6f8fb 35%);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  padding: 48px 0 88px;
}

.container {
  width: min(1200px, 100% - 32px);
  margin: 0 auto;
}

.eyebrow {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
  margin: 0 0 8px 0;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-top: 8px;
}

.muted {
  color: var(--muted);
}

.list-plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-styled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-styled li + li {
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), #1c4e82);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(15, 45, 82, 0.18);
}

.btn.ghost {
  background: rgba(15, 45, 82, 0.08);
  color: var(--primary);
  box-shadow: none;
}

.btn-small {
  padding: 10px 14px;
  font-size: 14px;
}

.link {
  color: var(--primary);
  font-weight: 600;
}

.pill, .pill-list li {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: #202a33;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  flex-direction: column;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 25px;
  color: #f0f4f8;
}

.tagline {
  margin: 0;
  font-size: 12px;
  color: rgba(240, 244, 248, 0.72);
}

.brand-mark {
  height: 80px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  position: relative;
}

.menu-item a {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: #f0f4f8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-item:hover > a,
.menu-item.active > a {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.menu-item.has-children > a::after {
  content: 'v';
  font-size: 11px;
  color: rgba(240, 244, 248, 0.7);
}

.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 45, 82, 0.12);
  list-style: none;
  padding: 8px;
  min-width: 220px;
  display: none;
}

.menu-item.has-children:hover .submenu,
.menu-item.has-children.is-open .submenu {
  display: block;
}

.submenu li a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
}

.submenu li a:hover {
  background: var(--bg);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 56px 0 24px;
}

.hero-content {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
}

.hero-card {
  background: #0f2d52;
  color: #f2f6ff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card .stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero-card strong {
  font-size: 22px;
}

.hero-card span {
  display: block;
  color: rgba(242, 246, 255, 0.8);
}

.section {
  padding: 32px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cards-grid.two-columns {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(15, 45, 82, 0.08);
}

.panel-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(15, 45, 82, 0.08);
  margin-bottom: 20px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(15, 45, 82, 0.08);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.table tbody tr:hover {
  background: #f8fafc;
}

.table-striped tbody tr:nth-child(odd) {
  background: #f8fafc;
}

.table-active {
  background: #eef2f7;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #eef2f7;
  color: #475569;
}

.status-pill.status-aberto {
  background: #fef3c7;
  color: #92400e;
}

.status-pill.status-pendente {
  background: #e0f2fe;
  color: #0369a1;
}

.status-pill.status-disponivel {
  background: #eef2f7;
  color: #475569;
}

.status-pill.status-fechado {
  background: #e2e8f0;
  color: #334155;
}

.status-pill.status-ativo {
  background: #dcfce7;
  color: #166534;
}

.status-pill.status-inativo {
  background: #f1f5f9;
  color: #64748b;
}

.status-pill.status-vencido {
  background: #fee2e2;
  color: #991b1b;
}

.status-pill.status-pago {
  background: #dcfce7;
  color: #166534;
}

.status-pill.status-cancelado {
  background: #f1f5f9;
  color: #64748b;
}

.compact-list {
  display: grid;
  gap: 12px;
}

.compact-list li {
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.compact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.item-title {
  font-weight: 700;
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.page-header {
  margin: 0 0 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.page-header h1 {
  margin: 6px 0;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 16px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
}

.timeline-item.left {
  align-self: flex-start;
  text-align: right;
  padding-right: 38px;
}

.timeline-item.right {
  align-self: flex-end;
  text-align: left;
  padding-left: 38px;
}

.timeline-dot {
  position: absolute;
  top: 22px;
  right: -8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--secondary);
  box-shadow: 0 0 0 4px #fff;
  z-index: 2;
}

.timeline-item.right .timeline-dot {
  left: -8px;
  right: auto;
}

.timeline-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(15, 45, 82, 0.08);
}

.blog-content {
  line-height: 1.7;
  color: var(--text);
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  margin-top: 18px;
  margin-bottom: 10px;
}
.blog-content p {
  margin: 0 0 14px 0;
}

/* Chat widget */
.chat-widget {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 20;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.chat-toggle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary), #1c4e82);
  color: #fff;
  box-shadow: 0 15px 30px rgba(0,0,0,0.18);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  max-height: 520px;
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.16);
  overflow: hidden;
}

.chat-panel.is-open {
  display: flex;
}

.chat-header {
  padding: 12px;
  background: #0f2d52;
  color: #fff;
}

.chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f8fafc;
}

.chat-message {
  margin-bottom: 10px;
  max-width: 90%;
}

.chat-message.visitor {
  text-align: left;
}

.chat-message.operator {
  text-align: right;
  margin-left: auto;
}

.chat-bubble {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}

.chat-message.operator .chat-bubble {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.chat-footer {
  padding: 10px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.chat-footer textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 8px;
}

.chat-footer button {
  margin-top: 6px;
  width: 100%;
}

.dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.highlight {
  background: linear-gradient(135deg, rgba(15, 45, 82, 0.95), #1f3f6b);
  color: #f3f6ff;
}

.highlight .eyebrow { color: var(--accent); }

.values-card h3 {
  margin: 0 0 4px 0;
}

.callout {
  margin-top: 16px;
  padding: 20px;
  border-radius: 16px;
  background: #fff7e6;
  border: 1px solid #fde2a8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
  text-align: center;
}

.team-card .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--primary);
}

.social-card .card-media {
  border-radius: 12px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 12px;
}

.social-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(15, 45, 82, 0.9), rgba(14, 192, 122, 0.55));
  margin-bottom: 18px;
}

.social-hero {
  margin-bottom: 8px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 320px;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}

.carousel-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.carousel-control.prev { left: 12px; }
.carousel-control.next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #fff;
}

.partners {
  margin-top: 16px;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.partner-card {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  background: #fff;
}

.partner-card img {
  max-height: 56px;
  margin: 0 auto 10px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: none;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 16px;
}

.faq-item.is-open .faq-answer {
  max-height: 200px;
  padding-bottom: 14px;
}

.faq-item .icon {
  color: var(--muted);
  font-weight: 800;
}

.form-wrapper {
  margin-top: 16px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check input {
  width: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  align-items: start;
}

.contact-card ul li + li {
  margin-top: 10px;
}

.contact-form textarea {
  min-height: 120px;
}

label span {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}

textarea {
  resize: vertical;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.alert.success {
  background: #ecfdf3;
  color: #1d7a43;
  border: 1px solid #b6f2cb;
}

.alert.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.error {
  color: #b42318;
  font-weight: 600;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.card.text-center {
  text-align: center;
}

.page-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.site-footer {
  background: #202a33;
  color: #e6edfa;
  padding: 28px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.footer-bottom {
  margin-top: 18px;
  border-top: 1px solid rgba(230, 237, 250, 0.15);
  padding-top: 12px;
}

.site-footer a {
  color: #e6edfa;
}

/* Auth / login */
body.auth-shell {
  background: #f5f7fb;
  margin: 0;
  display: block;
}
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.login-shell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.login-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(15, 45, 82, 0.08);
  width: min(440px, 100%);
}
.login-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(15, 45, 82, 0.18);
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .menu {
    flex-direction: column;
    width: 100%;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 6px 0 0 12px;
  }

  .menu-item.has-children .submenu {
    display: none;
  }

  .menu-item.has-children.is-open .submenu {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .timeline {
    gap: 28px;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item,
  .timeline-item.right,
  .timeline-item.left {
    width: 100%;
    padding: 0 0 0 28px;
    text-align: left;
    align-self: stretch;
  }

  .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 2px;
    right: auto;
  }

  .carousel-slide {
    height: 220px;
  }
}
