/* Mundial Prateleiras e Divisórias — folha de estilos única, sem dependências */

/* ---------- Tokens ---------- */
:root {
  --navy: #152759;          /* azul do logotipo */
  --navy-deep: #0d1a3f;
  --blue: #1d4f9f;
  --blue-soft: #e8eef8;
  --yellow: #f5b301;
  --green: #0a7c42;         /* WhatsApp com contraste AA para texto branco */
  --green-dark: #086535;
  --ink: #1a2233;
  --muted: #535d75;
  --line: #dde2ea;
  --steel: #f3f5f8;
  --white: #fff;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(1.9rem, 1.2rem + 3.2vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 1.15rem + 1.6vw, 2.15rem);
  --fs-h3: clamp(1.1rem, 1.02rem + .4vw, 1.3rem);
  --fs-lead: clamp(1.05rem, 1rem + .35vw, 1.2rem);

  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3rem, 2rem + 5vw, 5.5rem);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(13, 26, 63, .08), 0 8px 24px rgba(13, 26, 63, .08);

  /* Perfil perfurado (cantoneira): assinatura visual derivada do produto */
  --slots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14'%3E%3Crect x='7' y='4' width='16' height='6' rx='3' fill='%23fff' fill-opacity='.28'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); text-transform: uppercase; }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }

.container { width: min(100% - 2 * var(--gutter), 1160px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--steel { background: var(--steel); }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 62ch; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; background: var(--yellow); color: var(--navy-deep); font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

/* Faixa perfurada */
.slot-strip { height: 14px; background: var(--navy) var(--slots) repeat-x left center; }

/* Etiqueta "Novos e Usados" */
.tag {
  display: inline-block;
  padding: .3rem .7rem;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 3px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--wa { background: var(--green); color: var(--white); }
.btn--wa:hover { background: var(--green-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Cabeçalho ---------- */
.topbar { background: var(--navy); color: var(--white); font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; padding-block: .5rem; }
.topbar a:hover { text-decoration: underline; }
.topbar__info { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__hours { display: none; }

.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; position: relative; }
.brand { display: inline-flex; flex: none; }
.brand img { width: auto; height: 46px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: .5rem .85rem;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font: inherit;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 2px; background: currentColor; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.nav a:not(.btn) {
  display: block;
  padding: .75rem 0;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
}
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--yellow); }
.header__cta { display: none; }

/* Menu compacto no celular (só quando o JS está ativo; sem JS o menu fica visível) */
@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(13, 26, 63, .12);
  }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav a:not(.btn) { padding: 1rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .js .nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--yellow); padding-left: .85rem; }
  .js .nav .btn { margin-top: 1rem; }
  html:not(.js) .header .container { flex-wrap: wrap; padding-block: .5rem; }
  html:not(.js) .nav .btn { display: none; }
}
@media (min-width: 900px) {
  .topbar__hours { display: inline-flex; }
  .brand img { height: 56px; }
  .header .container { min-height: 84px; }
  .nav { margin-left: auto; }
  .nav li.nav__cta { display: none; }
  .header__cta { display: inline-flex; min-height: 46px; padding: .6rem 1.1rem; font-size: .85rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(78vh, 640px); background: var(--navy-deep); color: var(--white); }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
/* Overlay necessário para garantir contraste do texto sobre a foto */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 26, 63, .82), rgba(13, 26, 63, .9)); }
.hero__content { padding-block: clamp(2.5rem, 8vw, 5rem); max-width: 40rem; }
.hero h1 { color: var(--white); margin-top: 1rem; }
.hero__sub { font-size: var(--fs-lead); font-weight: 600; margin-bottom: .5rem; }
.hero__note { color: #d5dcec; margin-bottom: 1.75rem; }
@media (max-width: 479px) { .hero .btn { width: 100%; } }
@media (min-width: 900px) {
  .hero::before { background: linear-gradient(90deg, rgba(13, 26, 63, .94) 0%, rgba(13, 26, 63, .82) 42%, rgba(13, 26, 63, .25) 72%, rgba(13, 26, 63, 0) 100%); }
  .hero__img { object-position: center; }
}

/* Cabeçalho de página interna */
.page-head { background: var(--navy); color: var(--white); padding-block: clamp(2rem, 6vw, 3.5rem); }
.page-head h1 { color: var(--white); margin: .75rem 0 .5rem; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.75rem); }
.page-head p { margin: 0; max-width: 60ch; color: #d5dcec; font-size: var(--fs-lead); }
.breadcrumb { font-size: .875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb a { color: var(--white); }

/* ---------- Cabeçalho de seção (assimétrico) ---------- */
.section-head { display: grid; gap: .5rem 3rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head h2 { margin: 0; padding-left: 1rem; border-left: 6px solid var(--yellow); }
.section-head p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .section-head { grid-template-columns: 5fr 7fr; align-items: start; } }

/* ---------- Cards de produto ---------- */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card__media { position: relative; background: var(--steel); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__media .slot-strip { position: absolute; left: 0; right: 0; bottom: 0; }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem 1.25rem 1.25rem; }
.card__body h3 { text-transform: uppercase; letter-spacing: .02em; }
.card__body p { color: var(--muted); }
.card__body .btn { margin-top: auto; }
.card__note { position: absolute; top: .6rem; left: .6rem; padding: .2rem .5rem; background: rgba(13, 26, 63, .85); color: var(--white); font-size: .75rem; border-radius: 3px; }

.disclaimer { margin: 1.75rem 0 0; padding: .9rem 1rem; background: var(--blue-soft); border-left: 4px solid var(--blue); color: var(--ink); font-size: .925rem; }

/* ---------- Compra e venda ---------- */
.trade { background: var(--navy); color: var(--white); }
.trade h2 { color: var(--white); }
.trade__grid { display: grid; gap: 2rem; align-items: center; }
.trade__text p { color: #dbe2f1; max-width: 56ch; }
.trade__text .trade__q { color: var(--white); font-size: var(--fs-lead); font-weight: 700; }
.trade__steps { display: grid; gap: .6rem; margin: 1.25rem 0 1.75rem; }
.trade__steps li { display: flex; gap: .7rem; align-items: flex-start; color: var(--white); }
.trade__steps .icon { margin-top: .2em; color: var(--yellow); }
.trade__small { margin: 1rem 0 0; font-size: .875rem; color: #c3cde3; }
.trade__photo { margin: 0; }
.trade__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; border-radius: var(--radius); border: 4px solid var(--white); }
.trade__photo figcaption { margin-top: .5rem; font-size: .85rem; color: #c3cde3; }
@media (max-width: 479px) { .trade .btn { width: 100%; } }
@media (min-width: 900px) {
  .trade__grid { grid-template-columns: 7fr 5fr; gap: 4rem; }
  .trade__photo img { aspect-ratio: 4 / 5; }
}

/* ---------- Diferenciais ---------- */
.features { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.feature__icon { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; background: var(--navy); color: var(--yellow); border-radius: var(--radius); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 .25rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em; }
.feature p { margin: 0; color: var(--muted); }
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(4, 1fr); column-gap: 0; border-bottom: 1px solid var(--line); }
  .feature { grid-template-columns: 1fr; gap: .9rem; padding: 1.75rem 1.5rem; border-bottom: 0; border-left: 1px solid var(--line); }
  .feature:first-child { border-left: 0; padding-left: 0; }
  .feature__icon { grid-row: auto; }
}

/* ---------- Localização / contato ---------- */
.place { display: grid; gap: 2rem; }
.place h2 { margin-bottom: .75rem; }
.info-list { display: grid; gap: 1.1rem; }
.info-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.info-list .icon { width: 24px; height: 24px; margin-top: .15rem; color: var(--blue); }
.info-list strong { display: block; color: var(--navy); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.info-list a { font-weight: 700; display: inline-block; padding-block: .2rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .35rem 0; text-align: left; font-weight: 400; vertical-align: top; }
.hours td { padding-left: 1rem; font-weight: 700; white-space: nowrap; }
.place__actions { display: grid; gap: .75rem; align-content: start; }
@media (min-width: 900px) {
  .place { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: center; }
}

.contact-grid { display: grid; gap: 2.5rem; }
.contact-actions { display: grid; gap: .75rem; margin-top: 1.75rem; }
@media (min-width: 560px) { .contact-actions { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; } }

.map { position: relative; min-height: 340px; background: var(--steel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }
.map__placeholder { display: grid; gap: 1rem; place-content: center; justify-items: center; min-height: 340px; padding: 2rem 1.25rem; text-align: center; background: var(--steel) var(--slots); }
.map__placeholder p { margin: 0; max-width: 34ch; color: var(--ink); }
.map__placeholder small { color: var(--muted); max-width: 40ch; }

/* ---------- Página de produtos ---------- */
.product + .product { border-top: 1px solid var(--line); }
.product__list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.product__list li { padding: .3rem .75rem; border: 1px solid var(--line); border-radius: 3px; background: var(--white); color: var(--navy); font-size: .875rem; font-weight: 700; }

.gallery { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: 2rem; }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: clamp(240px, 70vw, 380px); object-fit: cover; }
.gallery .top img { object-position: center top; }
.gallery figcaption { padding: .6rem .75rem; font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); }
@media (min-width: 560px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .gallery img { height: clamp(220px, 30vw, 340px); }
}

.gallery.gallery--duo { grid-template-columns: 3fr 2fr; margin-top: 0; }
@media (min-width: 900px) { .gallery.gallery--duo { grid-template-columns: 3fr 2fr; } }

.split { display: grid; gap: 2rem; align-items: center; }
.split__media { margin: 0; }
.split__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.split__media figcaption { margin-top: .5rem; font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) {
  .split { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .split--rev { grid-template-columns: 7fr 5fr; }
  .split--rev .split__media { order: 2; }
}

/* ---------- Texto corrido (Quem somos / Privacidade) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2em; font-size: 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }

.pillars { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.pillars li { padding: .5rem .9rem; background: var(--navy); color: var(--white); font-size: .85rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: 3px; }

/* ---------- CTA final ---------- */
.cta { background: var(--blue) var(--slots) repeat-x left top; color: var(--white); text-align: center; }
.cta .container { padding-block: calc(var(--section) + 14px) var(--section); max-width: 780px; }
.cta h2 { color: var(--white); font-size: clamp(1.6rem, 1.2rem + 2.2vw, 2.5rem); }
.cta p { font-size: var(--fs-lead); margin-bottom: 1.25rem; }
.cta .btn { margin-top: 1.5rem; min-height: 58px; font-size: 1rem; }
@media (max-width: 479px) { .cta .btn { width: 100%; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-deep); color: #cdd5e8; font-size: .95rem; }
.footer__grid { display: grid; gap: 2.25rem; padding-block: 3rem 2.5rem; }
.footer__logo { display: inline-block; padding: .5rem .75rem; background: var(--white); border-radius: var(--radius); margin-bottom: 1rem; }
.footer__logo img { height: 48px; width: auto; }
.footer h2 { margin-bottom: .9rem; color: var(--white); font-size: .85rem; letter-spacing: .1em; }
.footer a { color: var(--white); }
.footer li { margin-bottom: .2rem; }
.footer li a { display: inline-block; padding-block: .3rem; }
.footer p { margin-bottom: .6rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .16); padding-block: 1.25rem 5.5rem; font-size: .875rem; }
.footer__bottom p { margin: 0; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr .8fr 1.2fr 1.1fr; gap: 3rem; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-width: 58px;
  min-height: 58px;
  padding: 0 1rem;
  justify-content: center;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
}
.wa-float:hover { background: var(--green-dark); color: var(--white); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float span { display: none; }
@media (min-width: 720px) { .wa-float span { display: inline; } .wa-float { padding: 0 1.25rem 0 1rem; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.notfound .btn-row { justify-content: center; margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .topbar, .header, .wa-float, .cta, .map { display: none; }
}
