:root {
  --green: #0fa956;
  --green-strong: #0b8443;
  --green-soft: #ebfaf1;
  --blue: #0d6efd;
  --text: #1d2b33;
  --muted: #64727a;
  --line: #e7eff2;
  --panel: #f8fbfc;
  --shadow: 0 22px 50px rgba(12, 24, 34, 0.08);
  --radius: 22px;
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #f4f9f8;
  font-family: var(--font-body);
}

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

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.hidden { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #15252d;
  font-family: var(--font-head);
  font-weight: 900;
  letter-spacing: -0.08em;
  font-size: clamp(1.2rem, 1.3vw, 1.7rem);
}

.brand-pin {
  color: var(--green);
  font-size: 1.5rem;
}

.brand-word span {
  color: var(--green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #45555f;
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover { color: var(--green); }

.login-button,
.green-button,
.blue-button,
.search-box button,
.offer-grid button,
.callout-button,
.outline-link {
  border: none;
  border-radius: 12px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.login-button,
.green-button,
.search-box button,
.callout-button {
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: white;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(15,169,86,0.25);
}

.login-button {
  padding: 0.9rem 1.4rem;
}

.profile-dropdown-container {
  position: relative;
  display: inline-block;
}

.profile-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  background-color: white;
  min-width: 200px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 100;
  padding: 8px 0;
  overflow: hidden;
}

.profile-dropdown-content.show {
  display: block;
}

.profile-dropdown-content a,
.profile-dropdown-content button {
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.profile-dropdown-content a:hover,
.profile-dropdown-content button:hover {
  background-color: var(--green-soft);
  color: var(--green-strong);
}

.profile-dropdown-content .logout-btn {
  color: #c62828;
}

.profile-dropdown-content .logout-btn:hover {
  background-color: #fdf2f2;
  color: #c62828;
}

.login-button:hover,
.green-button:hover,
.search-box button:hover,
.blue-button:hover,
.offer-grid button:hover,
.callout-button:hover,
.outline-link:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=85') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,18,27,0.85), rgba(5,18,27,0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  padding: 70px 0 40px;
  color: white;
}

.hero-kicker {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18rem;
  font-weight: 700;
  color: rgba(234, 245, 234, 0.9);
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero-copy {
  max-width: 620px;
  margin-top: 18px;
  line-height: 1.7;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
}

.search-box {
  margin-top: 28px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.98);
  border-radius: 16px;
  padding: 8px 10px 8px 18px;
  max-width: 720px;
  box-shadow: var(--shadow);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  padding: 12px 8px;
}

.search-box button {
  border: none;
  padding: 0.95rem 1.5rem;
  font-size: 0.95rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-chips button {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: white;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
}

.section {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 32px;
}

.section-title.centered {
  justify-content: center;
  text-align: center;
}

.section-title h2 {
  margin: 8px 0 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.06em;
}

.section-title h2 strong { color: var(--green); }

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--green-strong);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
}

.label.blue {
  color: #1654b4;
  background: #edf5ff;
}

.label.orange-label {
  color: #d87e1f;
  background: #fff5eb;
}

.trust-strip {
  width: min(1200px, calc(100% - 32px));
  margin: -26px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 2;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
}

.trust-item span {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 1.25rem;
  font-weight: 800;
}

.trust-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.96rem;
}

.trust-item small {
  color: var(--muted);
  font-size: 0.75rem;
}

#painel {
  display: none;
}

.admin-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--line);
  padding: 18px 28px;
  backdrop-filter: blur(12px);
}

.brand-wrap {
  display: flex;
  align-items: center;
}

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #486067;
}

.admin-nav a:hover {
  color: var(--green-strong);
}

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

.admin-user {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-weight: 800;
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 28px;
  margin-bottom: 24px;
}

.admin-hero h1 {
  margin: 10px 0;
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 3vw, 3.2rem);
  letter-spacing: -0.06em;
}

.admin-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 680px;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.stat-card span {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

.stat-card strong {
  display: block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 2rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}

.users-overview-panel {
  align-items: stretch;
}

.user-list,
.list-stack {
  display: grid;
  gap: 12px;
}

.user-item,
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafb;
  border: 1px solid var(--line);
}

.user-item strong,
.list-item strong {
  display: block;
  font-size: 0.95rem;
}

.user-item small,
.list-item small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 4px;
}

.user-item span,
.list-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-weight: 800;
  font-size: 0.72rem;
}

.summary-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.summary-metric {
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
}

.summary-metric strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
}

.summary-metric span {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

.admin-form,
.panel-card,
.news-card,
.business-card,
.offer-grid article,
.destination,
.tide-official-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-form {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.admin-form h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 1.5rem;
}

.admin-form label,
.stack-form label {
  display: grid;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #45555f;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.outline-button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-weight: 800;
  padding: 0.8rem 1rem;
}

.checkbox-line {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-direction: row !important;
}

.checkbox-line input {
  width: auto !important;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.payment-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px 18px;
}

.payment-card h3 {
  margin: 14px 0 8px;
  font-family: var(--font-head);
  font-size: 1.5rem;
}

.payment-card p {
  color: var(--muted);
  line-height: 1.6;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.map-toolbar input,
.auth-form input,
.auth-form select,
.auth-form textarea,
.stack-form input,
.stack-form textarea,
.stack-form select {
  width: 100%;
  border: 1px solid #dfe9ed;
  border-radius: 12px;
  background: #fbfdfe;
  padding: 0.85rem 0.95rem;
  font-size: 0.96rem;
  color: var(--text);
}

.password-field {
  display: grid;
  gap: 8px;
}

.password-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #45555f;
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input {
  padding-right: 74px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  border: 0;
  background: transparent;
  color: var(--green-strong);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0.38rem 0.5rem;
}

.field-invalid {
  border-color: #d94145 !important;
  box-shadow: 0 0 0 3px rgba(217, 65, 69, 0.08);
}

.field-valid {
  border-color: #21a366 !important;
  box-shadow: 0 0 0 3px rgba(33, 163, 102, 0.08);
}

.auth-status.error,
.form-status.error {
  color: #c62828;
  font-weight: 700;
}

#painel {
  max-width: 1200px;
  margin: 0 auto 28px;
  padding-top: 24px;
}

.visitor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.visitor-grid article,
.personal-feed {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.visitor-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-strong);
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.visitor-grid h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.visitor-grid strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.personal-feed {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.preference-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preference-list label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: #f5faf7;
  border: 1px solid #dfeee8;
  color: #34514e;
  font-weight: 700;
}

.profile-menu {
  margin-top: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.profile-menu > div:first-child {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.profile-menu .label {
  margin: 0;
  font-size: 0.75rem;
}

.profile-menu h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--text);
  font-weight: 700;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-strong);
}

.menu-item span {
  font-size: 1.2rem;
}

.menu-item.logout {
  grid-column: 1 / -1;
  color: #c2453e;
  border-color: #f5d5d0;
}

.menu-item.logout:hover {
  background: #fee8e4;
  border-color: #c2453e;
  color: #c2453e;
}

.outline-link {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  padding: 0.8rem 1rem;
}

.coordinate-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.managed-items {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.managed-items > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.managed-items h3 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 1.25rem;
}

.managed-items p {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  line-height: 1.5;
  color: #445762;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.filter-tabs button {
  border: 1px solid var(--line);
  background: white;
  color: #445762;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
}

.filter-tabs .active {
  background: var(--green-soft);
  border-color: rgba(15,169,86,0.25);
  color: var(--green-strong);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.business-card {
  overflow: hidden;
}

.business-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 20px 18px 22px;
}

.card-tag {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-strong);
  border-radius: 999px;
  padding: 0.46rem 0.74rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.business-card h3 {
  margin: 16px 0 8px;
  font-size: 1.2rem;
  font-family: var(--font-head);
}

.business-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.rating {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #1b2730;
}

.rating span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.map-section {
  padding-top: 0;
}

.map-toolbar {
  max-width: 960px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.map-toolbar input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 10px 8px;
  font-size: 0.96rem;
  outline: none;
}

.map-toolbar button {
  background: var(--green-soft);
  border: none;
  color: var(--green-strong);
  border-radius: 12px;
  font-weight: 800;
  padding: 0.8rem 1.1rem;
}

.map-toolbar span {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.map-wrap {
  height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-business-list {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-business-list span {
  display: inline-flex;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #4f5d66;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  padding: 20px 20px 18px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.red { background: #fff1f1; color: #ae3d3d; }
.green-tag { background: #edf9ef; color: #078d4f; }
.purple { background: #f2edff; color: #6b52d8; }
.yellow { background: #fff8db; color: #b57b00; }
.blue-tag { background: #ebf4ff; color: #1a68d1; }
.orange { background: #fff2e7; color: #cf6a1d; }

.news-card h3 {
  margin: 16px 0 8px;
  font-size: 1.25rem;
  line-height: 1.35;
  font-family: var(--font-head);
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.read-news {
  margin-top: 18px;
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 800;
  padding: 0;
  text-align: left;
}

.tide-band {
  padding: 28px 0 100px;
  background: linear-gradient(180deg, #edf8ff 0%, #f4fbfa 100%);
}

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

.tide-official-card {
  padding: 26px;
}

.tide-official-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 1.7rem;
}

.tide-official-card p,
.tide-official-card span,
.tide-official-card a {
  color: var(--muted);
  font-size: 0.9rem;
}

.tide-official-card a {
  color: var(--blue);
  font-weight: 700;
}

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

.tide-row {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.destination {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.destination::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,20,25,0.12), rgba(8,20,25,0.72));
}

.destination > * {
  position: relative;
  z-index: 1;
}

.destination b {
  font-size: 1.35rem;
  font-family: var(--font-head);
}

.destination span {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
}

.noronha { background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=80'); }
.amazonia { background-image: url('https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?auto=format&fit=crop&w=900&q=80'); }
.rio { background-image: url('https://images.unsplash.com/photo-1483729558449-99ef09a8c325?auto=format&fit=crop&w=900&q=80'); }
.pantanal { background-image: url('https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=900&q=80'); }
.gramado { background-image: url('https://images.unsplash.com/photo-1506377247377-2a5b3b417ebb?auto=format&fit=crop&w=900&q=80'); }
.chapada { background-image: url('https://images.unsplash.com/photo-1527631746610-bca00a040d60?auto=format&fit=crop&w=900&q=80'); }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.offer-grid article {
  padding: 26px 22px;
}

.offer-grid b {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-family: var(--font-head);
}

.offer-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.offer-grid button {
  margin-top: 20px;
  padding: 0.86rem 1.1rem;
}

footer {
  background: #10252d;
  color: #d9e7ea;
  padding: 52px 0 22px;
}

.footer-top,
.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 26px;
}

.footer-top p {
  margin-top: 18px;
  color: rgba(217,231,234,0.8);
  line-height: 1.7;
}

.footer-top b {
  display: block;
  margin-bottom: 14px;
  color: white;
  font-size: 0.95rem;
}

.footer-top a {
  display: block;
  margin-bottom: 8px;
  color: rgba(217,231,234,0.8);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  font-size: 0.85rem;
  color: rgba(217,231,234,0.75);
}

#login-modal,
#news-reader {
  border: none;
  border-radius: 24px;
  padding: 26px 26px 22px;
  width: min(520px, calc(100vw - 24px));
  box-shadow: 0 30px 60px rgba(8,24,30,0.22);
}

#login-modal::backdrop,
#news-reader::backdrop {
  background: rgba(12,23,31,0.5);
}

.close-button {
  position: absolute;
  right: 16px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #edf2f4;
  border: 1px solid var(--line);
  font-size: 1.5rem;
  color: #2d3c45;
}

#login-modal h2, #news-reader h3 {
  margin: 8px 0 18px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 3vw, 2.5rem);
  letter-spacing: -0.06em;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #465b65;
}

.auth-status,
.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.auth-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 8px;
  color: #4d5d67;
  font-size: 0.9rem;
}

.link-button,
.text-button {
  border: none;
  background: none;
  color: var(--green-strong);
  font-weight: 800;
  padding: 0;
}

.text-button {
  color: var(--blue);
  text-align: left;
}

.reader-source {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 600;
}

.reader-summary {
  margin: 0 0 18px;
  line-height: 1.7;
  color: #394c58;
}

.reader-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 980px) {
  .business-grid,
  .news-grid,
  .destination-grid,
  .offer-grid,
  .footer-top,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav { display: none; }
}

@media (max-width: 720px) {
  .topbar-inner,
  .section,
  .footer-top,
  .footer-bottom,
  .trust-strip {
    width: min(100% - 20px, 100%);
  }

  .topbar-inner {
    padding: 0 10px;
  }

  .business-grid,
  .news-grid,
  .destination-grid,
  .offer-grid,
  .admin-grid,
  .managed-items,
  .tide-grid,
  .trust-strip,
  .footer-top,
  .stats-grid,
  .payment-grid,
  .summary-box {
    grid-template-columns: 1fr;
  }

  .admin-topbar,
  .admin-hero,
  .inline-actions,
  .admin-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-nav {
    justify-content: flex-start;
  }

  .menu-actions {
    grid-template-columns: 1fr;
  }

  .menu-item.logout {
    grid-column: auto;
  }

  .hero { min-height: 500px; }
  .hero-content { padding-top: 58px; }
  .search-box { flex-direction: column; align-items: stretch; }
  .search-box button { width: 100%; }
  .section-title { flex-direction: column; align-items: flex-start; }
  .map-toolbar { flex-wrap: wrap; }
  .map-toolbar span { width: 100%; }
  .footer-bottom { flex-direction: column; }
}
