:root {
  --petrol: #0f4c5c;
  --petrol-dark: #0a3541;
  --graphite: #232b2b;
  --ink: #172121;
  --muted: #667170;
  --line: #d8e0e2;
  --soft: #f5f7f8;
  --white: #ffffff;
  --mist: #dcecf0;
  --steel: #597b8a;
  --accent: #8a7aa8;
  --action: #c77a32;
  --action-dark: #9f5f25;
  --action-soft: #fff4e8;
  --shadow: 0 18px 50px rgba(15, 76, 92, 0.12);
  --radius: 8px;
  --font-title: "Montserrat", "Poppins", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--petrol);
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  color: var(--graphite);
  font-family: var(--font-title);
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  font-size: 38px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 224, 226, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--petrol);
  border-radius: 8px;
  font-family: var(--font-title);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--font-title);
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 68svh;
  max-height: 720px;
  overflow: hidden;
  background: var(--graphite);
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 31, 32, 0.9) 0%, rgba(20, 31, 32, 0.72) 38%, rgba(20, 31, 32, 0.28) 78%),
    linear-gradient(0deg, rgba(15, 76, 92, 0.18), rgba(15, 76, 92, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 64px);
  color: var(--white);
}

.hero h1,
.hero h2,
.hero .eyebrow {
  color: var(--white);
}

.hero h1 {
  max-width: 680px;
  font-size: 44px;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--petrol);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}

.band {
  width: 100%;
  padding-right: max(18px, calc((100vw - 1180px) / 2));
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  background: var(--soft);
}

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

.section-head > div {
  max-width: 760px;
}

.section-head a {
  color: var(--petrol);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--action);
  box-shadow: 0 12px 26px rgba(70, 47, 28, 0.22);
}

.button.primary:hover {
  color: var(--white);
  background: var(--action-dark);
}

.button.secondary {
  color: var(--petrol-dark);
  background: var(--mist);
  border-color: rgba(15, 76, 92, 0.16);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.44);
}

.button.ghost.dark {
  color: var(--petrol-dark);
  background: transparent;
  border-color: var(--line);
}

.button.city-options {
  color: var(--petrol-dark);
  background: var(--mist);
  border-color: rgba(220, 236, 240, 0.95);
  box-shadow: 0 12px 26px rgba(10, 53, 65, 0.18);
}

.button.city-options:hover {
  color: var(--white);
  background: var(--steel);
  border-color: var(--steel);
}

.button.text {
  min-height: 0;
  padding: 0;
  color: var(--petrol);
  background: none;
  border: 0;
}

.button.small {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

.button.ghost-action {
  color: var(--petrol-dark);
  background: var(--mist);
  border-color: rgba(15, 76, 92, 0.16);
}

.button.performance-action {
  color: var(--white);
  background: var(--petrol);
  border-color: var(--petrol);
}

.button.performance-action:hover {
  color: var(--white);
  background: var(--petrol-dark);
  border-color: var(--petrol-dark);
}

.button.edit-action {
  color: var(--petrol-dark);
  background: var(--mist);
  border-color: rgba(15, 76, 92, 0.22);
}

.button.edit-action:hover {
  color: var(--petrol-dark);
  background: #cfe4e9;
  border-color: rgba(15, 76, 92, 0.3);
}

.button.danger {
  color: #7a1f1f;
  background: #fff2f2;
  border-color: #e7bcbc;
}

.quote-highlight {
  color: var(--graphite);
  background: var(--action-soft);
  border-color: rgba(199, 122, 50, 0.42);
}

.quote-highlight:hover {
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.city-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(760px, 100%);
  margin-top: 24px;
}

.city-search.compact {
  margin-top: 18px;
}

.city-search input {
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(216, 224, 226, 0.95);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}

.city-search .button.primary {
  min-width: 160px;
  border-color: rgba(255, 255, 255, 0.28);
}

.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 3;
  display: grid;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.suggestions a,
.suggestions button {
  padding: 12px 14px;
  color: var(--graphite);
  background: var(--white);
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
}

.suggestions a:last-child,
.suggestions button:last-child {
  border-bottom: 0;
}

.search-status,
.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.search-status:empty,
.form-status:empty {
  display: none;
}

.intro-grid,
.split,
.city-copy,
.city-local,
.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: start;
}

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

.steps-grid article {
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps-grid strong {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  color: var(--white);
  background: var(--petrol);
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 20px;
}

.steps-grid p {
  color: var(--muted);
}

.stat-strip {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat-strip span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.stat-strip strong {
  color: var(--petrol);
  font-family: var(--font-title);
  font-size: 24px;
}

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

.service-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card a {
  display: grid;
  height: 100%;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.service-card span {
  padding: 14px 14px 0;
  color: var(--graphite);
  font-family: var(--font-title);
  font-weight: 800;
}

.service-card p {
  padding: 8px 14px 16px;
  color: var(--muted);
  font-size: 14px;
}

.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pain-grid article,
.detail-block,
.blog-grid article,
.admin-card,
.local-box,
.partner-callout {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pain-grid p,
.detail-block p,
.local-box,
.blog-grid p {
  color: var(--muted);
}

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

.city-columns div {
  display: grid;
  align-content: start;
  gap: 6px;
}

.city-columns h3 {
  color: var(--petrol);
}

.city-columns a,
.link-stack a,
.link-cloud a {
  color: var(--graphite);
  font-weight: 700;
}

.article-list {
  display: grid;
  gap: 10px;
}

.article-list a {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.article-list span {
  color: var(--muted);
}

.partner-callout {
  background: var(--graphite);
  color: var(--white);
}

.partner-callout h2,
.partner-callout .eyebrow {
  color: var(--white);
}

.partner-callout p {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero {
  display: grid;
  align-items: end;
  min-height: 340px;
  padding: 64px clamp(18px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(15, 76, 92, 0.95), rgba(35, 43, 43, 0.92)),
    var(--petrol);
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
}

.city-page-hero {
  min-height: 380px;
}

.ribeirao-hero {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(20, 31, 32, 0.9), rgba(20, 31, 32, 0.48)),
    url("/assets/hero-glass-architecture.jpg") center / cover;
}

.contagem-hero {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(20, 31, 32, 0.92), rgba(20, 31, 32, 0.42)),
    url("/assets/servico-divisorias-vidro.jpg") center / cover;
}

.metro-editorial-hero {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(20, 31, 32, 0.92), rgba(20, 31, 32, 0.42)),
    var(--city-hero-image) center / cover;
}

.editorial-service-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.editorial-service {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.editorial-service img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.editorial-service div {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
}

.editorial-service h2,
.editorial-service p {
  margin: 0;
}

.editorial-service p {
  color: var(--muted);
}

.service-hero {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0;
  align-items: center;
}

.service-conversion-hero {
  min-height: 460px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.service-conversion-hero h1 {
  max-width: 760px;
}

.service-hero-note {
  margin-top: 16px;
  color: var(--graphite);
  font-weight: 800;
}

.service-microcopy {
  max-width: 760px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
}

.service-chips {
  margin-top: 18px;
}

.service-chips span {
  background: #f4f8f8;
}

.service-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-city-search {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-city-search .section-head {
  margin-bottom: 16px;
}

.service-city-search .city-search {
  margin-top: 0;
}

.service-process .steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.detail-block ul {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.link-cloud a,
.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-stack {
  display: grid;
  gap: 8px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  color: var(--graphite);
  font-weight: 800;
}

details p {
  margin-top: 10px;
  color: var(--muted);
}

.final-cta {
  padding: 34px;
  color: var(--white);
  background: var(--graphite);
  border-radius: 0;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

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

.blog-grid article a {
  display: block;
}

.article {
  width: min(840px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}

.article header {
  margin-bottom: 34px;
}

.article-lead {
  color: var(--graphite);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.article section {
  margin-top: 34px;
}

.article li {
  margin-bottom: 8px;
}

.legal {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0;
}

.legal h2 {
  margin-top: 30px;
}

.narrow {
  width: min(760px, calc(100% - 36px));
}

.quote-form,
.partner-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quote-form-compact {
  padding: 0;
  border: 0;
}

.form-success-mode {
  display: block;
}

.form-success {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 320px;
  padding: 42px 20px;
  text-align: center;
  align-content: center;
}

.partner-form.form-success-mode {
  align-self: start;
}

.partner-form .form-success {
  min-height: 380px;
}

.form-success-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--white);
  background: #1f7a4d;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(31, 122, 77, 0.18);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.form-success h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
}

.form-success p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.form-success .button {
  width: min(280px, 100%);
  margin-top: 10px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.full,
.quote-form button,
.partner-form button,
.quote-form .form-status,
.partner-form .form-status {
  grid-column: 1 / -1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 27, 28, 0.68);
}

.modal[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(92svh, 820px);
  overflow: auto;
  padding: 24px;
  background: var(--white);
  border-radius: 8px;
}

.modal-panel-success > .muted {
  display: none;
}

.modal-panel-success .form-success h3 {
  display: none;
}

.whatsapp-modal-panel {
  width: min(560px, 100%);
  text-align: center;
}

.whatsapp-modal-panel .eyebrow {
  margin-bottom: 8px;
}

.whatsapp-modal-panel > .muted {
  max-width: 460px;
  margin-right: auto;
  margin-left: auto;
}

.whatsapp-qr-frame {
  display: grid;
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin: 22px auto 14px;
  padding: 10px;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.whatsapp-qr-frame img {
  width: 100%;
  height: 100%;
}

.whatsapp-city {
  margin-bottom: 18px;
  color: var(--graphite);
  font-weight: 800;
}

.whatsapp-web-button {
  width: min(320px, 100%);
}

.whatsapp-modal-note {
  max-width: 420px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--graphite);
  background: var(--white);
  cursor: pointer;
  font-size: 22px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

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

.admin {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0;
}

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

.export-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.export-links a {
  padding: 8px 10px;
  color: var(--petrol);
  background: var(--mist);
  border-radius: 6px;
  font-weight: 800;
}

.admin-filters {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-filter-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.admin-filter-head h2 {
  margin: 0;
  font-size: 28px;
}

.admin-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-filter-actions span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

.admin-filter-search {
  grid-column: span 2;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-grid span {
  display: grid;
  gap: 2px;
  padding: 18px;
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.76);
  border-radius: 8px;
}

.metric-grid strong {
  color: var(--white);
  font-family: var(--font-title);
  font-size: 32px;
}

.crm-summary {
  margin-bottom: 18px;
}

.crm-summary-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.crm-summary-grid span {
  display: grid;
  gap: 4px;
  min-height: 94px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.crm-summary-grid strong {
  color: var(--graphite);
  font-family: var(--font-title);
  font-size: 26px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.admin-storage-notice {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-storage-notice strong {
  color: var(--graphite);
}

.admin-storage-notice span {
  color: var(--muted);
}

.admin-storage-notice code {
  overflow-wrap: anywhere;
  color: var(--graphite);
  font-weight: 800;
}

.admin-storage-notice.warning {
  border-color: rgba(214, 127, 26, 0.38);
  background: #fff8ec;
}

.admin-storage-notice.ok {
  border-color: rgba(15, 76, 92, 0.26);
  background: #f2fbfc;
}

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

.admin-suppliers,
.admin-records {
  margin: 22px 0;
}

.supplier-performance {
  margin: 22px 0;
}

.supplier-performance-profile {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.supplier-performance-profile strong {
  color: var(--graphite);
}

.supplier-performance-profile p {
  margin: 6px 0 0;
  color: var(--muted);
}

.supplier-performance-grid,
.supplier-performance-recent {
  margin-top: 14px;
}

.admin-partner-leads {
  margin: 22px 0;
}

.admin-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.supplier-admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-form h3,
.admin-form button {
  grid-column: 1 / -1;
}

.admin-form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-form-actions button {
  grid-column: auto;
}

.admin-edit-panel {
  margin-bottom: 14px;
}

.checkbox-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
}

.supplier-list-card {
  overflow-x: auto;
}

.partner-leads-card {
  overflow-x: auto;
}

.admin-table-wrap {
  overflow-x: auto;
}

.supplier-table,
.partner-leads-table,
.partner-leads-table.admin-record-table {
  min-width: 1120px;
}

.admin-record-table {
  min-width: 860px;
}

.supplier-table small,
.partner-leads-table small,
.admin-record-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.supplier-table th:last-child,
.supplier-table td:last-child,
.admin-record-table th:last-child,
.admin-record-table td:last-child {
  width: 190px;
  text-align: left;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-actions form {
  margin: 0;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-status.covered {
  color: var(--petrol-dark);
  background: var(--mist);
}

.admin-status.fallback {
  color: #7a4a0e;
  background: #fff1da;
}

.admin-status.unknown {
  color: #6f2a2a;
  background: #fff2f2;
}

.admin-status.crm-novo_lead,
.admin-status.subscription-nao_iniciada {
  color: var(--petrol-dark);
  background: var(--mist);
}

.admin-status.crm-contato_feito,
.admin-status.crm-proposta_enviada,
.admin-status.subscription-teste {
  color: #5b4a13;
  background: #fff7cf;
}

.admin-status.crm-negociando {
  color: #7a4a0e;
  background: #fff1da;
}

.admin-status.crm-fechou,
.admin-status.subscription-ativa {
  color: #18563b;
  background: #e9f8ef;
}

.admin-status.crm-perdido,
.admin-status.subscription-cancelada,
.admin-status.subscription-atrasada {
  color: #6f2a2a;
  background: #fff2f2;
}

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

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

th:last-child,
td:last-child {
  width: 96px;
  text-align: right;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 36px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--graphite);
}

.site-footer strong {
  color: var(--white);
  font-family: var(--font-title);
}

.site-footer p {
  max-width: 620px;
  margin-top: 8px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 180px;
  color: var(--white);
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .service-grid,
  .compact-grid,
  .pain-grid,
  .detail-grid,
  .editorial-service-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-service {
    grid-template-columns: 1fr;
  }

  .editorial-service img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .city-columns,
  .blog-grid,
  .metric-grid,
  .crm-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  h1,
  .hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

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

  .hero {
    min-height: 72svh;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(20, 31, 32, 0.86), rgba(20, 31, 32, 0.58));
  }

  .hero-content {
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .city-search {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .split,
  .city-copy,
  .city-local,
  .service-hero,
  .admin-head,
  .admin-filter-head,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .service-grid,
  .compact-grid,
  .pain-grid,
  .detail-grid,
  .editorial-service-gallery,
  .service-process .steps-grid,
  .steps-grid,
  .city-columns,
  .blog-grid,
  .metric-grid,
  .crm-summary-grid,
  .supplier-performance-profile,
  .admin-filter-grid,
  .admin-grid,
  .supplier-admin-grid,
  .admin-form,
  .quote-form,
  .partner-form {
    grid-template-columns: 1fr;
  }

  .admin-filter-actions {
    justify-content: flex-start;
  }

  .admin-filter-search {
    grid-column: auto;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 300px;
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .final-cta {
    width: 100%;
    padding: 28px 18px;
  }
}
