@import url("../tokens.css");
@import url("../base.css");
@import url("../components/header.css");
@import url("../components/footer.css");
@import url("../components/whatsapp-fab.css");
@import url("../components/products.css");
@import url("../components/how-to-buy.css");
@import url("../components/contact.css");
@import url("../components/about.css");
@import url("../components/testimonials.css");
@import url("../components/faq.css");
@import url("../components/next-section.css");
@import url("../components/mobile.css");

:root {
  --mc-seo-text: #343538;
  --mc-seo-muted: #64748b;
  --mc-seo-bg: #f8fafc;
}

html.mc-seo-cidade,
body.mc-seo-cidade {
  /* Sem !important em height/overflow-y: ScrollSmoother ajusta o documento */
  height: auto;
  min-height: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: auto;
  touch-action: pan-y;
  cursor: default;
  background: #fff;
  color: var(--mc-seo-text);
  scroll-behavior: auto;
}

body.mc-seo-cidade {
  margin: 0;
  font-family: var(--mc-font-family);
}

body.mc-seo-cidade.site-drawer-open {
  overflow: hidden;
}

.mc-seo-page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #fff;
  pointer-events: none;
}

.mc-seo-page-loader[hidden] {
  display: none !important;
}

.mc-seo-page-loader__mark {
  width: 2.25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--mc-color-primary, #fbba00);
  animation: mc-seo-loader 0.9s ease-in-out infinite;
}

@keyframes mc-seo-loader {
  0%, 100% { opacity: 0.35; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); }
}

.mc-seo-page-shell {
  opacity: 0;
  visibility: hidden;
}

body.mc-seo-cidade.is-ready .mc-seo-page-shell {
  opacity: 1;
  visibility: visible;
}

body.mc-seo-cidade.is-preparing {
  overflow: hidden;
  background: #fff;
}

body.mc-seo-cidade .site-header {
  z-index: 50;
}

body.mc-seo-cidade .mc-whatsapp-fab-wrap {
  z-index: 45;
}

#smooth-wrapper,
#smooth-content {
  width: 100%;
}

#smooth-content {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* Deixa next-section.css / has-smooth-scroll + is-page cuidarem do wrapper */

.mc-seo-top {
  padding-top: calc(88px + max(1rem, env(safe-area-inset-top)));
  background: var(--mc-seo-bg);
}

.mc-seo-container {
  width: min(920px, calc(100% - 2rem));
  margin-inline: auto;
}

.mc-seo-hero {
  padding: 2.25rem 0 0;
}

.mc-seo-hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mc-color-primary);
  margin-bottom: 0.75rem;
}

.mc-seo-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  color: var(--mc-seo-text);
}

.mc-seo-hero__sub {
  margin: 0 0 1rem;
  max-width: 40rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.4;
  font-weight: 600;
  color: var(--mc-seo-text);
}

.mc-seo-hero__lead {
  margin: 0;
  max-width: 42rem;
  color: var(--mc-seo-muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.mc-seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: clamp(2.75rem, 7vw, 4.5rem);
}

.mc-seo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.mc-seo-btn--primary {
  background: var(--mc-color-primary, #fbba00);
  color: #1a1a1a;
}

.mc-seo-btn--ghost {
  background: #fff;
  border-color: #dbe3ec;
  color: var(--mc-seo-text);
}

.mc-seo-cover {
  margin: 0 0 2rem;
  border-radius: 18px;
  overflow: hidden;
  background: #e8eef5;
}

.mc-seo-cover img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mc-seo-cover[hidden] {
  display: none !important;
}

.mc-seo-article {
  padding: 0.25rem 0 0.5rem;
}

.mc-seo-article__body {
  color: var(--mc-seo-text);
  line-height: 1.7;
  font-size: 1.02rem;
}

.mc-seo-article__body p {
  margin: 0 0 1rem;
}

.mc-seo-article__body p:last-child {
  margin-bottom: 0;
}

.mc-seo-btn__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.mc-seo-btn i[data-lucide] {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.mc-seo-section {
  padding: 1.75rem 0 0.5rem;
}

.mc-seo-section--subtle {
  padding-top: 1.25rem;
}

.mc-seo-section__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mc-color-primary);
  margin-bottom: 0.45rem;
}

.mc-seo-section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
}

.mc-seo-section__body {
  color: var(--mc-seo-text);
  line-height: 1.7;
}

.mc-seo-section__body p {
  margin: 0 0 1rem;
}

.mc-seo-section__body h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.1rem;
}

.mc-seo-related {
  padding: 2.5rem 0 1.5rem;
}

/* Espaço claro entre conteúdo SEO e “Todos os nossos produtos” */
body.mc-seo-cidade .mc-seo-top {
  padding-bottom: clamp(2.75rem, 6vw, 4.5rem);
}

body.mc-seo-cidade #from-products-mount {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

body.mc-seo-cidade #site-footer {
  margin-top: 0;
  position: relative;
  z-index: 2;
}

body.mc-seo-cidade #products .products__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mc-seo-related h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.mc-seo-related__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mc-seo-related__list a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbe3ec;
  color: var(--mc-seo-text);
  text-decoration: none;
  font-size: 0.88rem;
}

.mc-seo-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--mc-seo-muted);
}

.mc-seo-hub {
  padding: 2rem 0 4rem;
}

.mc-seo-hub__grid {
  display: grid;
  gap: 1.5rem;
}

.mc-seo-hub__uf h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.mc-seo-hub__uf ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

/* Produtos e seções fixas: mesmo papel da home (.next-section) */
body.mc-seo-cidade #from-products-mount {
  background: #f0efed;
  flex: 1 0 auto;
}

body.mc-seo-cidade #rodape-mount,
body.mc-seo-cidade #site-footer {
  background: transparent;
  position: relative;
  z-index: 2;
  width: 100%;
}

body.mc-seo-cidade.is-ready {
  background: #f0efed;
}

body.mc-seo-cidade.is-page {
  background: #f0efed;
}
