@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #fffaf1;
  --bg-2: #fff4dd;
  --ink: #0c1328;
  --muted: #5f6e85;
  --line: #e8dccb;
  --brand: #f5b82d;
  --brand-2: #7a4a15;
  --green: #25d366;
  --card: #ffffff;
  --shadow: 0 24px 80px rgba(12, 19, 40, .12);
  --radius: 28px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 20%, rgba(247, 197, 66, .22), transparent 32rem),
    radial-gradient(circle at 100% 8%, rgba(245, 184, 45, .28), transparent 26rem),
    var(--bg);
}

a {
  color: inherit;
}

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  z-index: 1000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 241, .82);
  border-bottom: 1px solid rgba(232, 220, 203, .7);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(12, 19, 40, .08);
  padding: 8px 14px 8px 8px;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(12, 19, 40, .08);
}

.brand img {
  width: 58px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.brand span {
  line-height: .95;
  font-size: 14px;
  letter-spacing: -.02em;
}

.brand b {
  display: block;
  color: var(--brand-2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 800;
}

.nav-menu a {
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--brand-2);
}

.nav-whatsapp {
  background: var(--green);
  color: var(--ink);
  padding: 14px 24px;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(37, 211, 102, .26);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 999px;
}

.section {
  padding: 86px 0;
}

.hero {
  padding-top: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .85fr);
  gap: 76px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #b27608;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--brand);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.08em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -.055em;
  margin-bottom: 18px;
}

h3 {
  letter-spacing: -.03em;
}

.lead,
.section-heading p,
.content-card p,
.contact-card p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions,
.contact-actions,
.modal-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(12, 19, 40, .18);
}

.btn-secondary {
  background: var(--brand);
  color: var(--ink);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.hero-stats {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-stats span {
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--muted);
}

.hero-stats strong {
  color: var(--ink);
}

.hero-card {
  position: relative;
  padding: 34px;
  border-radius: 40px;
  border: 1px solid rgba(12, 19, 40, .08);
  background: linear-gradient(135deg, #fff, #fff8ea);
  box-shadow: var(--shadow);
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 24px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 30px;
  border: 1px dashed rgba(122, 74, 21, .22);
  pointer-events: none;
}

.logo-spotlight {
  position: relative;
  z-index: 1;
  width: min(300px, 72%);
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 18px 60px rgba(12, 19, 40, .12);
  padding: 26px;
}

.logo-spotlight img {
  border-radius: 22px;
}

.hero-note {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: #fff;
  padding: 24px;
  border-radius: 24px;
}

.hero-note span {
  display: block;
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  margin-bottom: 6px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(180px, .8fr) minmax(180px, .75fr);
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 10px 34px rgba(12, 19, 40, .06);
}

.search-field,
.select-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: #fffaf1;
  color: var(--ink);
  outline: none;
}

.search-field input:focus,
.select-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(245, 184, 45, .18);
}

.catalog-summary {
  margin: 20px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
}

.catalog-summary p {
  margin: 0;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--brand-2);
  font-weight: 900;
  cursor: pointer;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.category-pills button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 850;
  cursor: pointer;
}

.category-pills button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

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

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(12, 19, 40, .07);
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-image-button {
  cursor: pointer;
  border: 0;
  padding: 0;
  background: #fff8eb;
  height: 238px;
  width: 100%;
  display: grid;
  place-items: center;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  mix-blend-mode: multiply;
}

.product-card-body {
  padding: 22px;
  display: grid;
  align-content: start;
}

.product-category {
  color: #b27608;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 10px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.product-subtitle {
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}

.product-description-preview {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  min-height: 58px;
}

.product-actions {
  margin-top: 14px;
}

.two-columns {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.content-card,
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 12px 40px rgba(12, 19, 40, .07);
}

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

.service-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(12, 19, 40, .06);
}

.service-grid span {
  color: var(--brand-2);
  font-weight: 900;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  border: 0;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
  padding: 16px 22px;
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(37, 211, 102, .34);
  cursor: pointer;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 19, 40, .72);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: auto;
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 32px 120px rgba(0, 0, 0, .35);
}

.modal-close {
  position: sticky;
  top: 18px;
  float: right;
  z-index: 3;
  margin: 18px 18px 0 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 26px;
  padding: 34px;
  clear: both;
}

.modal-gallery {
  display: grid;
  align-content: start;
  gap: 14px;
}

.modal-gallery > img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #fff8eb;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
}

.modal-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.modal-thumbs button {
  flex: 0 0 78px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff8eb;
  padding: 4px;
  cursor: pointer;
}

.modal-thumbs button.active {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(245, 184, 45, .22);
}

.modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.description-list {
  margin: 22px 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.description-list li + li {
  margin-top: 8px;
}

.no-results {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .hero-grid,
  .two-columns,
  .contact-card,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
  }

  .catalog-toolbar,
  .product-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 76px;
  }

  .menu-button {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu a:last-child {
    border-bottom: 0;
  }

  .nav-whatsapp {
    border-radius: 0;
    box-shadow: none;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.8rem);
  }

  .catalog-toolbar,
  .product-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .catalog-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-backdrop {
    padding: 10px;
  }

  .modal-grid {
    padding: 22px;
  }

  .modal-gallery > img {
    height: 300px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}

/* Correção: impede imagens dos produtos de invadirem o texto */
.product-card {
  overflow: hidden;
  isolation: isolate;
}

.product-image-button {
  height: 240px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff8eb;
}

.product-image {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 205px;
  object-fit: contain;
  object-position: center;
  padding: 0;
  display: block;
}

.product-card-body {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-top: 1px solid rgba(232, 220, 203, 0.8);
}
