* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f5f7fb;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #0f4c81;
  --primary-dark: #0b3a61;
  --secondary: #0ea5e9;
  --green: #16a34a;
  --green-dark: #15803d;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 20px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #eef4fb 0%, #f7f9fc 100%);
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, #0f4c81 0%, #0a3557 100%);
  color: white;
  padding: 24px 0 34px;
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand h1 {
  font-size: 2rem;
  margin-bottom: 4px;
}

.brand p {
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
}

.header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-contact {
  text-decoration: none;
  color: white;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.94rem;
  transition: 0.2s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.header-contact:hover {
  transform: translateY(-2px);
}

.header-contact.announce {
  background: linear-gradient(135deg, #ffffff 0%, #dbeafe 100%);
  color: #0b3a61;
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.header-contact.whatsapp {
  background: #1faa59;
}

.header-contact.email {
  background: rgba(255,255,255,0.14);
}

.hero-content {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.hero-text,
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mini-tag {
  display: inline-block;
  width: fit-content;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: bold;
}

.hero-text h2 {
  font-size: 2.2rem;
  line-height: 1.15;
}

.hero-text p {
  font-size: 1.03rem;
  color: rgba(255,255,255,0.88);
  max-width: 700px;
}

.clock-card,
.google-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(6px);
}

.clock-card {
  max-width: 104px;
  padding: 5px 7px;
  border-radius: 10px;
}

.clock-label {
  display: block;
  font-size: 0.58rem;
  margin-bottom: 1px;
  color: rgba(255,255,255,0.8);
}

#clock {
  font-size: 0.76rem;
  font-weight: bold;
  letter-spacing: 0.4px;
  line-height: 1.05;
}

.clock-card small {
  color: rgba(255,255,255,0.8);
  font-size: 0.56rem;
}

.google-title {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
}

.google-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.google-form input {
  flex: 1;
  min-width: 180px;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  outline: none;
}

.google-form button {
  background: white;
  color: var(--primary);
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
}

.main-content {
  padding: 30px 0 50px;
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.info-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.info-box h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.mini-list p {
  margin-bottom: 7px;
  font-size: 0.96rem;
}

.util-list p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.util-list span {
  width: 22px;
  display: inline-flex;
  justify-content: center;
}

.small-text {
  color: var(--muted);
  font-size: 0.93rem;
}

.mini-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.mini-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
}

.mini-btn.green {
  background: var(--green);
}

.anuncio-box {
  background: linear-gradient(135deg, #0f4c81 0%, #0a3557 100%);
  color: white;
}

.anuncio-box h3 {
  color: white;
}

.anuncio-texto {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.92);
}

.anuncio-sub {
  font-size: 0.86rem;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.78);
}

.controls-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.search-box input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  font-size: 1rem;
  outline: none;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.filter-btn {
  border: none;
  background: #e8eef6;
  color: var(--primary);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
}

.results-bar {
  margin-top: 16px;
  font-weight: bold;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
}

.card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #dde6f1;
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.card-title {
  font-size: 1.2rem;
  color: var(--text);
}

.favorite-btn {
  border: none;
  background: #f2f4f8;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.15rem;
  transition: 0.2s ease;
}

.favorite-btn.active {
  background: #ffe3ea;
  color: #e11d48;
}

.category-tag {
  display: inline-block;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: bold;
  color: white;
}

.tag-transporte { background: #2563eb; }
.tag-saúde { background: #dc2626; }
.tag-educação { background: #7c3aed; }
.tag-lazer { background: #16a34a; }
.tag-segurança { background: #374151; }
.tag-serviços { background: #ea580c; }
.tag-eventos { background: #db2777; }

.card-desc {
  color: var(--muted);
  font-size: 0.95rem;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  color: #374151;
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-btn {
  border: none;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.action-btn.primary {
  background: var(--primary);
  color: white;
}

.action-btn.green {
  background: var(--green);
  color: white;
}

.action-btn.gray {
  background: #eef2f7;
  color: var(--text);
}

.action-btn.instagram-btn {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: white;
  box-shadow: 0 6px 16px rgba(221, 42, 123, 0.28);
}

.action-btn:hover {
  transform: translateY(-2px);
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  color: var(--primary);
  margin-bottom: 6px;
}

.section-head p {
  color: var(--muted);
}

.feedback-section {
  margin-top: 34px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.feedback-head {
  text-align: center;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feedback-card {
  background: #f7f9fc;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.feedback-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.feedback-card p {
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.feedback-card span {
  display: inline-block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: bold;
}

.feedback-action {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.feedback-modal-content {
  max-width: 560px;
}

.feedback-form-head {
  margin-bottom: 16px;
}

.feedback-form-head h2 {
  color: var(--primary);
  margin-bottom: 6px;
}

.feedback-form-head p {
  color: var(--muted);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feedback-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feedback-field label {
  font-weight: bold;
  color: #374151;
}

.feedback-field input,
.feedback-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.96rem;
  outline: none;
  font-family: inherit;
}

.feedback-field textarea {
  resize: vertical;
}

.map-section,
.jobs-section {
  margin-top: 34px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-top-actions {
  margin-bottom: 14px;
}

.map-frame {
  overflow: hidden;
  border-radius: 18px;
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

.jobs-placeholder {
  background: #f7f9fc;
  border: 1px dashed #cfd8e3;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.footer {
  background: #0c1f33;
  color: white;
  margin-top: 40px;
  padding-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 22px;
  padding-bottom: 24px;
}

.footer-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 20px;
}

.footer-box h3 {
  margin-bottom: 12px;
}

.footer-box p,
.footer-box a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}

.about-box {
  background: rgba(255,255,255,0.06);
}

.contato-box {
  background: linear-gradient(135deg, #17395b 0%, #24507e 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.contato-desc {
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.1);
  padding: 11px 13px;
  border-radius: 14px;
  transition: 0.2s;
}

.contato-item:hover {
  background: rgba(255,255,255,0.16);
}

.contato-item a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.whatsapp-item {
  border-left: 3px solid #25d366;
}

.email-item {
  border-left: 3px solid #8ab4f8;
  justify-content: center;
  width: fit-content;
  margin: 10px auto 0;
}

.email-item a {
  text-align: center;
}

.pix-box {
  background: linear-gradient(135deg, #0f4c81 0%, #0a3557 100%);
}

.pix-header {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pix-tag {
  background: #16a34a;
  color: white;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: bold;
}

.pix-tag.secondary {
  background: #0ea5e9;
}

.pix-main-label {
  margin-bottom: 10px;
}

.pix-second-label {
  margin-top: 10px;
}

.pix-key-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pix-key-wrap input {
  flex: 1;
  min-width: 180px;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  outline: none;
}

.pix-key-wrap button {
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  background: #22c55e;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.pix-key-wrap button:hover {
  background: #16a34a;
}

.pix-note {
  margin-top: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
}

.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.modal-content {
  position: relative;
  width: min(700px, 92%);
  margin: 60px auto;
  background: white;
  border-radius: 22px;
  padding: 28px;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: #eef2f7;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
}

.modal-content h2 {
  color: var(--primary);
  margin-bottom: 14px;
}

.modal-content p {
  margin-bottom: 10px;
}

.no-results {
  background: white;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  box-shadow: var(--shadow);
  grid-column: 1 / -1;
}

@media (max-width: 980px) {
  .hero-content,
  .quick-info-grid,
  .footer-grid,
  .cards-grid,
  .feedback-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .hero-content,
  .quick-info-grid,
  .footer-grid,
  .cards-grid,
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .brand h1 {
    font-size: 1.6rem;
  }

  .hero-text h2 {
    font-size: 1.7rem;
  }

  .card-image {
    height: 200px;
  }

  .modal-content {
    margin: 30px auto;
    padding: 22px;
  }

  .clock-card {
    max-width: 100%;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .header-contact {
    font-size: 0.9rem;
    padding: 9px 12px;
  }
}