/* Mercado Direto — beta homepage, 2026-11-25
   White header/footer/body in the style of the new MDSuplementos.com,
   with Tesla-like full-width photography. Visual only. */

@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Michroma";
  src: url("/fonts/Michroma-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --ink: #1A1A1A;
  --muted: #5E5E5E;
  --red: #A7001F;
  --green: #108F34;
  --line: #E8E6E3;
  --paper: #F4F4F4;
  --white: #FFFFFF;
  --header-h: 84px;
  --testbar-h: 36px;
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0;
}
.skip:focus {
  left: 16px; top: 8px; z-index: 200;
  background: #000; color: #fff; padding: 8px 12px;
}

/* ---- Test bar ---- */
.test-bar {
  background: #1A1A1A;
  color: #fff;
  min-height: var(--testbar-h);
  display: flex; align-items: center; justify-content: center;
  padding: 8px 16px;
  text-align: center;
  font-family: Outfit, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.test-bar a,
.test-bar a:link,
.test-bar a:visited,
.test-bar a:hover,
.test-bar a:focus,
.test-bar a:active {
  color: inherit;
  text-decoration: none;
}
.test-bar strong { font-weight: 600; }

/* ---- Header (MDS-style white bar) ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  line-height: 0;
  width: 360px;
}
.logo-mark {
  width: 100%;
  height: auto;
  display: block;
}
.logo-tagline,
.footer-tagline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  box-sizing: border-box;
  width: 100%;
  /* Match the wordmark ink: 3.2px inset on each side of the 1087.35 viewBox */
  padding: 0 0.294%;
  margin: 0;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 1.2;
}
.logo-tagline span,
.footer-tagline span {
  flex: 0 0 auto;
  font-style: normal;
}
.logo-tagline .sp,
.footer-tagline .sp {
  flex: 0 0 auto;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--ink); }
.nav a.nav-busca-ia {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.nav a.nav-busca-ia:hover,
.nav a.nav-busca-ia:focus-visible {
  border-bottom-color: var(--red);
  color: var(--ink);
}
.nav .new {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: 2px 7px;
  line-height: 1.4;
}
#busca-ai, #md-busca { scroll-margin-top: calc(var(--header-h) + 8px); }
.busca-ai-anchor { display: block; width: 0; height: 0; overflow: hidden; }
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.header-actions .action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
}
.header-actions .action svg { display: block; }
.header-actions .wa { color: var(--green); }
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

/* ---- Hero slider (edge-to-edge, no crop) ---- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero {
  position: relative;
  width: 100%;
  background: #111;
  overflow: hidden;
}
.hero-track { position: relative; }
.hero-slide { margin: 0; }
.hero-slide[hidden] { display: none; }
.hero-frame {
  position: relative;
  width: 100%;
  line-height: 0;
}
.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2400 / 1125;
  object-fit: contain;
  object-position: center;
}
/* COMPRE AGORA: 1882,998,440,92 in the 2400x1125 artwork */
.hero-cta {
  position: absolute;
  left: 78.41666667%;
  top: 88.71111111%;
  width: 18.33333333%;
  height: 8.17777778%;
  z-index: 3;
  display: block;
  background: transparent;
  border-radius: 999px;
  text-decoration: none;
}
.hero-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.hero--single .hero-arrow,
.hero--single .hero-dots { display: none; }
html.debug-cta .hero-cta {
  outline: 3px solid #00e676;
  outline-offset: 0;
  background: rgba(0, 230, 118, 0.35);
  box-shadow: inset 0 0 0 2px #003d1f;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.hero-arrow:hover { background: #fff; }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 10px;
  z-index: 2;
}
.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.is-active { background: #fff; }
.hero-caption {
  margin: 0;
  padding: 10px 16px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}


/* ---- Shared type / buttons ---- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.lead {
  font-size: 18px;
  line-height: 1.5;
  color: #333;
  max-width: 38em;
}
.note { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 180px; height: 46px; padding: 0 22px;
  border-radius: 8px; font-size: 14px; font-weight: 600;
  border: 0; cursor: pointer; text-align: center;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid #C9C3B8; }
.btn-secondary:hover { background: #fafafa; }

/* ---- How it works ---- */
.how { padding: 88px 0 80px; background: var(--white); }
.how h1 { font-size: 44px; margin-bottom: 16px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.step {
  padding: 28px 28px 32px;
  border: 1px solid var(--line);
  background: var(--white);
}
.step .num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 16px;
}
.step h2 { font-size: 22px; margin-bottom: 12px; font-weight: 600; }
.step p { color: #333; }

/* ---- Content-box placeholders ---- */
.band { padding: 24px 40px 8px; background: var(--white); }
.band-frame {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 32px;
  border: 2px dashed #CFCBC4;
  background: var(--paper);
}
.band-frame h2 { font-size: 32px; margin-bottom: 12px; }
.band-frame p:last-child { color: var(--muted); max-width: 36em; }

/* ---- MDSuplementos split ---- */
.split {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--white);
}
.split-copy h2 { font-size: 40px; margin-bottom: 16px; }
.split-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ---- Footer (4 columns, MDS style) ---- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 48px 40px 24px;
  color: #444;
  font-size: 14px;
}
.footer-grid {
  max-width: 1344px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}
.footer-brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  line-height: 0;
  width: 340px;
}
.footer-logo { width: 100%; height: auto; display: block; }
.footer-tagline { font-size: 11px; }
.footer-brand p { margin-top: 14px; line-height: 1.55; }
.footer h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
}
.footer-payship h3:not(:first-child) { margin-top: 24px; }
.footer-links ul, .footer-payship ul, .footer-sec ul {
  list-style: none; margin: 0; padding: 0;
}
.footer-links a, .footer-brand a { color: #2F4A43; font-weight: 500; }
.footer-links a:hover, .footer-brand a:hover { text-decoration: underline; }
.footer-links li { margin: 0 0 6px; }
.footer-note { margin: 0 0 12px; color: var(--muted); max-width: 28em; }
.pay-logos, .ship-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 16px;
}
.pay-logos img, .ship-logos img { height: 22px; width: auto; }
.ship-logos img { height: 28px; }
.footer-credit {
  max-width: 1344px;
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #6B6E72;
}

/* ---- Floating WhatsApp (as on MDSuplementos) ---- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #128C4B;
  color: #fff;
  padding: 12px 16px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.wa-float:hover { background: #0E7A3F; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .header-inner { padding: 10px 20px; gap: 16px; }
  .nav { gap: 16px; }
  .logo { width: 300px; }
  .footer-brand-logo { width: 300px; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; padding: 48px 20px; }
  .split-copy h2 { font-size: 32px; }
  .split-photo img { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wrap, .band { padding-left: 20px; padding-right: 20px; }
  .footer { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 800px) {
  :root { --header-h: 72px; }
  .nav, .header-actions { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-btn { display: inline-flex; }
  .header.is-open .nav,
  .header.is-open .header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    grid-column: 1 / -1;
    padding: 8px 0 16px;
  }
  .header.is-open .header-inner {
    grid-template-columns: 1fr auto;
  }
  .header.is-open .nav a,
  .header.is-open .header-actions .action {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .header.is-open .nav a.nav-busca-ia {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    max-width: 100%;
  }
  /* Keep the banner at its native 2400x1125 ratio; do not crop the COMPRE AGORA button. */
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow.prev { left: 10px; }
  .hero-arrow.next { right: 10px; }
  .how { padding: 48px 0 40px; }
  .how h1 { font-size: 32px; }
  .band-frame { min-height: 220px; padding: 40px 20px; }
  .band-frame h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .logo { width: 270px; }
  .footer-brand-logo { width: 280px; }
  .logo-tagline, .footer-tagline { font-size: 9.5px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
  /* phone typography for .test-bar is in 20261130a-annbar (12px at 720px, matching MDS) */
}

/* ---- Footer: grouped links, contact, MDS logo strips ---- */
.footer-grid {
  grid-template-columns: minmax(180px, 0.95fr) minmax(320px, 1.7fr) minmax(220px, 1.15fr) minmax(200px, 1fr);
  gap: 28px 32px;
}
.footer-linkcols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  align-items: start;
}
.footer-col {
  margin: 0;
}
.footer-col summary {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
  list-style: none;
  cursor: default;
}
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::marker { content: ""; }
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block !important;
}
.footer-col li { margin: 0 0 6px; }
.footer-links a, .footer-brand a, .footer-col a, .footer-contact a {
  color: #2F4A43;
  font-weight: 500;
}
.footer-links a:hover, .footer-brand a:hover, .footer-col a:hover, .footer-contact a:hover {
  text-decoration: underline;
}
.footer-contact ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  line-height: 1.45;
}
.footer-contact li svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #2F4A43;
}
.footer-address {
  margin: 0 0 4px;
  line-height: 1.55;
  color: #444;
}
.footer-hours {
  margin: 0 0 14px;
  color: var(--muted);
}
.footer-copy {
  margin: 16px 0 0;
  font-size: 13px;
  color: #6B6E72;
  line-height: 1.5;
}
.pay-logos img { height: 24px; width: auto; }
.ship-logos img { height: 32px; width: auto; }
.sec-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sec-logos a { display: inline-flex; }
.sec-logos img { height: 48px; width: auto; display: block; }
.footer-payship h3:not(:first-child) { margin-top: 24px; }

/* ---- Inner content pages ---- */
.md-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 88px;
  color: var(--ink);
}
.md-page h1 {
  font-size: 36px;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.15;
}
.md-page .lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.5;
}
.md-page h2 {
  font-size: 22px;
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
}
.md-page h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}
.md-page p, .md-page li { line-height: 1.65; }
.md-page p { margin: 0 0 14px; }
.md-page ul, .md-page ol { margin: 0 0 16px; padding-left: 1.2em; }
.md-page a:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit) { color: #2F4A43; font-weight: 500; }
.md-page a:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit):hover { text-decoration: underline; }
.md-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.md-faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.md-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}
.md-faq summary::-webkit-details-marker { display: none; }
.md-faq summary::marker { content: ""; }
.md-faq summary::after {
  content: "+";
  float: right;
  color: #8a8f8c;
  font-weight: 400;
}
.md-faq details[open] summary::after { content: "–"; }
.md-faq details > *:not(summary) { margin-top: 10px; }
.md-size-wrap { overflow-x: auto; margin: 0 0 28px; }
.md-size {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}
.md-size th, .md-size td {
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}
.md-size th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.md-size caption {
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
  caption-side: top;
}
.md-form { max-width: 480px; }
.md-form .row { margin: 0 0 16px; }
.md-form label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 13px;
}
.md-form input[type="text"],
.md-form input[type="email"],
.md-form input[type="password"],
.md-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}
.md-form textarea { min-height: 140px; resize: vertical; }
.md-form .md-submit {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.md-form .md-submit:hover { opacity: 0.92; }
.md-form .aux { margin-top: 16px; }
.md-video {
  position: relative;
  width: 100%;
  max-width: 853px;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  margin: 8px 0 24px;
}
.md-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.md-page .md-calc { max-width: 560px; }
.md-page .md-calc-box { margin: 0; }

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-linkcols {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-linkcols { grid-template-columns: 1fr; gap: 0; }
  .footer-col {
    border-bottom: 1px solid var(--line);
  }
  .footer-col summary {
    pointer-events: auto;
    cursor: pointer;
    margin: 0;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .footer-col summary::after {
    content: "+";
    font-size: 16px;
    font-weight: 400;
    color: #8a8f8c;
    letter-spacing: 0;
    text-transform: none;
  }
  .footer-col[open] summary::after { content: "–"; }
  .footer-col ul {
    display: none !important;
    padding: 0 0 12px;
  }
  .footer-col[open] ul { display: block !important; }
  .md-page { padding: 32px 20px 64px; }
  .md-page h1 { font-size: 28px; }
}


/* ---- Quem Somos cards ---- */
.md-page-wide {
  max-width: 1440px;
  padding-left: 40px;
  padding-right: 40px;
}
.md-page-wide > h1,
.md-page-wide .md-kicker,
.md-page-wide > .lead {
  max-width: 40rem;
}
.md-qs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 36px 0 12px;
  width: 100%;
}
.md-qs-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px 28px;
  min-width: 0;
}
.md-qs-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #F3F6F5;
  color: #2F4A43;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
}
.md-qs-icon svg { display: block; width: 28px; height: 28px; }
.md-qs-card h2 {
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.md-qs-card p {
  margin: 0;
  color: #444;
  line-height: 1.6;
  font-size: 15px;
}
@media (max-width: 800px) {
  .md-page-wide { padding-left: 20px; padding-right: 20px; }
  .md-qs-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---- Footer layout 20261129q: MDS-style, contact under logo, no overlap ---- */
.footer-grid {
  max-width: 1344px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr) minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px 32px;
  align-items: start;
}
.footer-brand {
  min-width: 0;
}
.footer-brand-logo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  line-height: 0;
  width: min(260px, 100%);
  max-width: 100%;
}
.footer-logo {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}
.footer-contact {
  margin-top: 18px;
}
.footer-contact h3,
.footer-payship h3,
.footer-sec h3,
.footer-col summary {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 14px;
  padding: 0 0 10px;
  background-image: linear-gradient(#C4A574, #C4A574);
  background-repeat: no-repeat;
  background-size: 36px 2px;
  background-position: 0 100%;
}
.footer-payship h3:not(:first-child) {
  margin-top: 24px;
}
.footer-linkcols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  align-items: start;
  min-width: 0;
}
.footer-col { margin: 0; min-width: 0; }
.footer-col summary {
  list-style: none;
  cursor: default;
}
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::marker { content: ""; }
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block !important;
}
.pay-logos {
  display: grid !important;
  grid-template-columns: repeat(4, max-content);
  gap: 12px 16px;
  align-items: center;
  justify-content: start;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pay-logos li,
.ship-logos li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 22px;
  line-height: 0;
}
.pay-logos img,
.ship-logos img {
  display: block;
  height: 22px !important;
  width: auto !important;
  max-height: 22px !important;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.pay-logos li:hover img,
.pay-logos img:hover,
.ship-logos li:hover img,
.ship-logos img:hover {
  filter: none;
  opacity: 1;
}
.ship-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-sec { min-width: 0; }
.sec-logos {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sec-logos li { display: block; margin: 0; padding: 0; line-height: 0; }
.sec-logos a { display: inline-flex; }
.sec-logos img {
  display: block;
  width: 140px !important;
  height: 44px !important;
  max-width: 100%;
  box-sizing: border-box;
  filter: none;
  opacity: 1;
}
.md-address {
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  max-width: 36em;
}
.md-address h2 {
  font-size: 18px;
  margin: 0 0 10px;
}
.md-address p { margin: 0 0 8px; line-height: 1.55; }
.md-hours { color: var(--muted); }

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, 0.85fr);
    gap: 24px 24px;
  }
  .footer-brand-logo { width: min(220px, 100%); }
}
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }
  .footer-brand { grid-column: 1; }
  .footer-linkcols { grid-column: 1 / -1; }
  .footer-payship, .footer-sec { grid-column: auto; }
  .footer-brand-logo { width: min(240px, 100%); }
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-linkcols { grid-template-columns: 1fr; gap: 0; grid-column: auto; }
  .footer-brand-logo { width: min(240px, 100%); }
  .footer-col { border-bottom: 1px solid var(--line); }
  .footer-col summary {
    pointer-events: auto;
    cursor: pointer;
    margin: 0;
    padding: 14px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(#C4A574, #C4A574);
    background-repeat: no-repeat;
    background-size: 36px 2px;
    background-position: 0 100%;
  }
  .footer-col summary::after {
    content: "+";
    font-size: 16px;
    font-weight: 400;
    color: #8a8f8c;
    letter-spacing: 0;
    text-transform: none;
    background: none;
    width: auto;
    height: auto;
    margin: 0;
  }
  .footer-col[open] summary::after { content: "–"; }
  .footer-col ul { display: none !important; padding: 0 0 12px; }
  .footer-col[open] ul { display: block !important; }
  .pay-logos { grid-template-columns: repeat(3, max-content); gap: 10px 16px; }
  .sec-logos { flex-direction: row; flex-wrap: wrap; gap: 8px 10px; }
}

/* Footer contact icons: same Font Awesome glyphs, color, and size as MDS */
@font-face {
  font-family: "FontAwesome";
  src: url("/fonts/fontawesome-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
.footer-contact li {
  gap: 0;
  align-items: center;
}
.footer-contact .fa {
  display: inline-block;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 25px;
  font-size: 15px;
  min-width: 15px;
  color: #1f7acc;
  flex: 0 0 auto;
}
.footer-contact .fa-phone:before { content: "\f095"; }
.footer-contact .fa-envelope-o:before { content: "\f003"; }
.footer-contact > h3 { display: none !important; background-image: none !important; padding: 0; margin: 0; }

.test-bar[hidden] { display: none !important; }

/* 20261129ch-logo: no underline on header or footer logo links, all states */
a.logo,
a.logo:link,
a.logo:visited,
a.logo:hover,
a.logo:focus,
a.logo:active,
a.footer-brand-logo,
a.footer-brand-logo:link,
a.footer-brand-logo:visited,
a.footer-brand-logo:hover,
a.footer-brand-logo:focus,
a.footer-brand-logo:active,
.footer-brand a.footer-brand-logo:hover,
.logo-tagline,
.footer-tagline,
a.logo:hover .logo-tagline,
a.logo:hover .logo-tagline span,
a.footer-brand-logo:hover .footer-tagline,
a.footer-brand-logo:hover .footer-tagline span {
  text-decoration: none;
  border-bottom: 0;
}
/* 20261130a-annbar: match MDS announcement typography; no underline on the bar link */
@media (max-width: 720px) {
  .test-bar, .test-bar p { font-size: 12px; }
}
/* 2026-11-30: WhatsApp colors â€” header green is #108F34. Footer: green only on hover (text+icon). Other pages (Contate-nos, devolucao, etc.): always green. */
.footer-contact a[href*="wa.me"]:hover,
.footer-contact a[href*="wa.me"]:focus,
.footer-contact a[href*="wa.me"]:focus-visible,
.footer-contact a[href*="wa.me"]:active,
.footer-contact a[href*="wa.me"]:hover span,
.footer-contact a[href*="wa.me"]:focus span,
.footer-contact a[href*="wa.me"]:active span,
.footer-contact li:has(a[href*="wa.me"]):hover .fa,
.footer-contact li:has(a[href*="wa.me"]):hover i,
.footer-contact li:has(a[href*="wa.me"]:focus) .fa,
.footer-contact li:has(a[href*="wa.me"]:focus) i,
.footer-contact li:has(a[href*="wa.me"]:active) .fa,
.footer-contact li:has(a[href*="wa.me"]:active) i {
  color: #108F34;
}
/* 2026-12-01: Contate-nos WhatsApp must beat .md-page a:not(...) #2F4A43 (spec 0,6,1). Header green is #108F34. */
.md-page a[href*="wa.me"]:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit),
.md-page a[href*="wa.me"]:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit):hover,
.md-page a[href*="wa.me"]:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit):focus,
.md-page a[href*="wa.me"]:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit):focus-visible,
.md-page a[href*="wa.me"]:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit):active,
main a[href*="wa.me"]:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit),
main a[href*="wa.me"]:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit):hover,
main a[href*="wa.me"]:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit):focus,
main a[href*="wa.me"]:not(.btn):not(.md-btn):not(.md-btn-buy):not(.md-btn-ai):not(.bn-submit):active {
  color: #108F34;
}
.md-page a[href*="wa.me"]:hover,
.md-page a[href*="wa.me"]:focus,
.md-page a[href*="wa.me"]:focus-visible,
main a[href*="wa.me"]:hover,
main a[href*="wa.me"]:focus {
  text-decoration: underline;
}


/* 20261130wb: red/dark primary button labels must stay bold white.
   .md-page a was setting link buttons to #2F4A43 at weight 500, so
   "Fechar Pedido" and other red CTAs were unreadable. */
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:focus-visible,
a.btn-primary:active,
button.btn-primary,
button.btn-primary:hover,
button.btn-primary:focus,
button.btn-primary:focus-visible,
button.btn-primary:active,
button.btn-primary:disabled,
a.md-btn-buy,
a.md-btn-buy:link,
a.md-btn-buy:visited,
a.md-btn-buy:hover,
a.md-btn-buy:focus,
a.md-btn-buy:focus-visible,
a.md-btn-buy:active,
.bn-submit,
.bn-submit:hover,
.bn-submit:focus,
.bn-submit:focus-visible,
.bn-submit:active,
.bn-submit:disabled {
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-weight: 700;
  text-decoration: none;
}
/* 20261201chat: footer "Chat com a gente" link. Same icon style as the other footer lines; the floating LiveChat launcher is hidden until the link is used. */
.footer-contact .fa-comments-o:before { content: "\f0e6"; }
.footer-contact a.md-chat-link:hover,
.footer-contact a.md-chat-link:focus,
.footer-contact a.md-chat-link:focus-visible,
.footer-contact a.md-chat-link:active,
.footer-contact a.md-chat-link:hover span,
.footer-contact li:has(a.md-chat-link):hover .fa,
.footer-contact li:has(a.md-chat-link:focus) .fa,
.footer-contact li:has(a.md-chat-link:active) .fa {
  color: #108F34;
}
#chat-widget-container { visibility: hidden !important; }
html.md-chat-open #chat-widget-container { visibility: visible !important; }
