@import url("../fonts/google-fonts.css");

:root {
  --brand-blue-950: #081345;
  --brand-blue-900: #10236f;
  --brand-blue-800: #17328f;
  --brand-blue-700: #2347b8;
  --brand-yellow-500: #ffe100;
  --brand-yellow-400: #ffed4a;
  --brand-red-600: #e22626;
  --brand-red-700: #bd171d;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;
  --ink: #232734;
  --muted: #6d7280;
  --line: #e3e6ef;
  --soft: #f4f6fb;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(8, 19, 69, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f5f6fb;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

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

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
.brand,
.top-line,
.department-nav,
.quote-button,
.btn,
.product-cta,
.product-card a,
.floating-whatsapp {
  font-family: "Poppins", "Montserrat", Arial, Helvetica, sans-serif;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(8, 19, 69, 0.12);
}

.top-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-height: 40px;
  padding: 9px clamp(16px, 7vw, 116px);
  color: rgba(255, 255, 255, 0.9);
  background: var(--brand-blue-950);
  font-size: 0.82rem;
  font-weight: 700;
  transition: max-height 0.22s ease, padding 0.22s ease, opacity 0.22s ease;
}

.top-line a {
  color: var(--brand-yellow-400);
}

.main-header {
  display: grid;
  grid-template-columns: 180px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(16px, 7vw, 116px);
  background: linear-gradient(135deg, var(--brand-blue-900), var(--brand-blue-800) 58%, var(--brand-blue-950));
  transition: padding 0.22s ease, min-height 0.22s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 170px;
  min-height: 74px;
  transition: min-height 0.22s ease, width 0.22s ease;
}

.brand img {
  width: auto;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.15));
  transition: height 0.22s ease;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 46px;
  overflow: hidden;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(8, 19, 69, 0.06);
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0 20px;
  border: 0;
  outline: 0;
}

.search-box button {
  height: 100%;
  padding: 0 24px;
  color: var(--white);
  background: var(--brand-red-600);
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.quote-button,
.btn,
.product-cta,
.product-card a,
.floating-whatsapp {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.quote-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--whatsapp-dark);
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.department-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-height: 56px;
  background: var(--brand-red-600);
  transition: transform 0.22s ease, opacity 0.22s ease, max-height 0.22s ease;
}

.department-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.department-nav a:first-child {
  background: var(--brand-blue-900);
}

@media (min-width: 881px) {
  .store-header.is-compact .top-line,
  .store-header.is-compact .department-nav {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .store-header.is-compact .main-header {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .store-header.is-compact .brand {
    width: 126px;
    min-height: 46px;
  }

  .store-header.is-compact .brand img {
    height: 44px;
  }

  .store-header.is-compact .search-box,
  .store-header.is-compact .quote-button {
    min-height: 40px;
  }
}

.hero-banner {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 1.18fr);
  align-items: stretch;
  gap: 28px;
  padding: clamp(32px, 5vw, 62px) clamp(16px, 7vw, 116px);
  background:
    linear-gradient(120deg, rgba(255, 225, 0, 0.96) 0%, rgba(255, 237, 74, 0.92) 44%, rgba(23, 50, 143, 0.98) 44%, rgba(8, 19, 69, 0.98) 100%),
    var(--brand-blue-900);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: clamp(22px, 4vw, 46px);
  color: var(--white);
}

.kicker,
.section-title span,
.promo-banner span,
.final-card span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kicker {
  color: var(--brand-blue-950);
}

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

h1 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 6.4vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 620px;
  margin-bottom: 26px;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
}

.btn-primary {
  color: var(--white);
  background: var(--whatsapp-dark);
  box-shadow: 0 12px 24px rgba(18, 140, 74, 0.24);
}

.btn-light {
  color: var(--brand-blue-950);
  background: var(--white);
}

.hero-products {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 430px;
}

.hero-products img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--white);
  border: 8px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.hero-products img:first-child {
  grid-row: span 2;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 clamp(16px, 7vw, 116px);
  background: var(--brand-blue-900);
}

.service-strip div {
  padding: 22px 26px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip strong {
  margin-bottom: 4px;
  color: var(--brand-yellow-400);
  font-size: 1.04rem;
}

.service-strip span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.section {
  padding: clamp(44px, 6vw, 82px) clamp(16px, 7vw, 116px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-title.compact {
  max-width: 920px;
  text-align: center;
  margin-inline: auto;
}

.section-title span {
  color: var(--brand-red-600);
}

.section-title h2,
.promo-banner h2,
.final-card h2 {
  margin-bottom: 10px;
  color: var(--brand-blue-950);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.04;
}

.section-title p {
  color: var(--muted);
  font-size: 1.05rem;
}

.products-section {
  background: #fff;
}

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

.department-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.department-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.discount-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--white);
  background: var(--brand-red-600);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 900;
}

.card-body h3,
.product-card h3 {
  margin-bottom: 8px;
  color: var(--brand-blue-900);
  font-size: 1.12rem;
  line-height: 1.18;
}

.card-body p,
.product-card p,
.why-grid p,
blockquote p,
.site-footer p,
.site-footer span {
  color: var(--muted);
}

.card-body p {
  margin-bottom: 18px;
}

.product-cta {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 11px 12px;
  color: var(--white);
  background: var(--whatsapp-dark);
  border-radius: 7px;
  font-weight: 900;
}

.promo-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 clamp(16px, 7vw, 116px);
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(8, 19, 69, 0.94), rgba(23, 50, 143, 0.88)),
    url("../images/produtos-destak.webp") center/cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.promo-banner span,
.promo-banner h2,
.promo-banner p {
  color: var(--white);
}

.promo-banner p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.shelf-section {
  background: #f5f6fb;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(8, 19, 69, 0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
  border: 1px solid #eef1ec;
  border-radius: 6px;
}

.product-card h3 {
  margin-top: 14px;
  min-height: 42px;
}

.product-card p {
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.product-card a {
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  margin-top: auto;
  padding: 9px 10px;
  color: var(--white);
  background: var(--whatsapp-dark);
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 900;
}

.why-section {
  background: var(--white);
}

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

.why-grid article {
  padding: 26px;
  background: var(--soft);
  border-left: 6px solid var(--brand-yellow-500);
  border-radius: 8px;
}

.why-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue-950);
  font-size: 1.1rem;
}

.testimonials {
  background: #f5f6fb;
}

.reviews-panel {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 230px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reviews-summary img {
  width: 78px;
  margin-bottom: 12px;
}

.reviews-summary strong {
  color: var(--brand-blue-950);
  font-family: "Poppins", "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  line-height: 1.15;
}

.stars {
  color: #ffad1f;
  letter-spacing: 1px;
  line-height: 1.2;
}

.reviews-summary .stars {
  margin-top: 8px;
  font-size: 1.15rem;
}

.reviews-summary span {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.94rem;
}

.reviews-summary a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  padding: 12px 16px;
  color: var(--brand-blue-950);
  background: var(--white);
  border: 2px solid var(--brand-blue-950);
  border-radius: 8px;
  font-family: "Poppins", "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.reviews-summary a:hover {
  color: var(--white);
  background: var(--brand-blue-950);
  transform: translateY(-2px);
}

.reviews-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 14px;
}

.review-card {
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.review-author {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.review-author img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
}

.review-author strong {
  color: var(--brand-blue-900);
  font-family: "Poppins", "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 900;
}

.review-author .stars {
  display: block;
  margin-top: 2px;
  font-size: 0.9rem;
}

.review-card p {
  margin: 0;
  padding: 16px;
  color: #4f5b54;
  font-size: 1rem;
}

.final-cta {
  padding: 0 clamp(16px, 7vw, 116px) clamp(44px, 6vw, 82px);
  background: #f5f6fb;
}

.final-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 34px;
  padding: clamp(28px, 5vw, 52px);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.final-card > img {
  width: 200px;
  margin: auto;
}

.final-card span {
  color: var(--brand-red-600);
}

.final-card p {
  max-width: 790px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 34px;
  padding: 36px clamp(16px, 7vw, 116px);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 150px;
  margin-bottom: 12px;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 10px;
  color: var(--brand-blue-950);
}

.site-footer a {
  margin-bottom: 8px;
  color: var(--brand-blue-800);
  font-weight: 900;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.site-footer .social-links a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  color: var(--brand-blue-800);
  background: #eef2ff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer .social-links a:hover {
  color: var(--white);
  background: var(--brand-blue-800);
}

.social-links svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.social-links a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: transparent;
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(18, 140, 74, 0.32);
  font-weight: 900;
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-button:hover,
.btn:hover,
.product-cta:hover,
.product-card a:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.links-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 225, 0, 0.3), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(226, 38, 38, 0.18), transparent 24%),
    linear-gradient(145deg, var(--brand-blue-950), var(--brand-blue-800));
}

.links-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 26px 16px;
}

.links-card {
  width: min(100%, 470px);
  padding: clamp(24px, 6vw, 38px);
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.links-logo {
  width: 172px;
  margin: 0 auto 18px;
}

.links-kicker {
  margin-bottom: 8px;
  color: var(--brand-red-600);
  font-family: "Poppins", "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.links-card h1 {
  margin-bottom: 10px;
  color: var(--brand-blue-950);
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1;
}

.links-subtitle {
  max-width: 330px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.links-list {
  display: grid;
  gap: 12px;
}

.links-button {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 62px;
  padding: 10px 18px 10px 10px;
  color: var(--brand-blue-950);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(8, 19, 69, 0.08);
  font-family: "Poppins", "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.links-button:hover {
  transform: translateY(-2px);
  border-color: var(--brand-yellow-500);
  box-shadow: 0 16px 28px rgba(8, 19, 69, 0.14);
}

.links-button svg,
.links-button img {
  width: 32px;
  height: 32px;
  justify-self: center;
}

.links-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.links-whatsapp {
  color: var(--white);
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
}

.links-whatsapp img {
  border-radius: 50%;
}

.links-hours {
  display: grid;
  gap: 3px;
  margin-top: 22px;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.links-hours strong {
  color: var(--brand-blue-950);
}

.links-page {
  background:
    linear-gradient(180deg, rgba(8, 19, 69, 0.18), rgba(8, 19, 69, 0.85)),
    radial-gradient(circle at 18% 14%, rgba(255, 225, 0, 0.2), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(226, 38, 38, 0.18), transparent 24%),
    url("../images/produtos-destak.webp") center/cover fixed,
    var(--brand-blue-950);
  color: var(--white);
}

.links-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 35%, rgba(0, 0, 0, 0.38)),
    rgba(3, 8, 30, 0.74);
  backdrop-filter: blur(3px);
}

.links-shell {
  position: relative;
  z-index: 1;
  align-items: start;
  padding: clamp(22px, 5vw, 44px) 16px;
}

.links-card {
  width: min(100%, 500px);
  padding: 0;
  color: var(--white);
  text-align: left;
  background: linear-gradient(180deg, rgba(9, 16, 48, 0.88), rgba(4, 8, 25, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.links-hero {
  position: relative;
  padding: clamp(26px, 6vw, 40px) clamp(22px, 5vw, 34px) 22px;
  text-align: center;
}

.links-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 68%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.links-logo {
  width: 170px;
  margin: 0 auto 18px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.links-hero > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-bottom: 12px;
  padding: 8px 22px;
  color: var(--brand-blue-950);
  background: var(--brand-yellow-500);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(255, 225, 0, 0.22);
  font-family: "Poppins", "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.links-card h1 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(2.1rem, 8vw, 3.8rem);
  text-align: center;
}

.links-hero p {
  max-width: 320px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.links-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px clamp(16px, 4vw, 28px) 18px;
}

.links-tile {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: end;
  gap: 14px;
  min-height: 138px;
  padding: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 50, 143, 0.88), rgba(8, 19, 69, 0.92)),
    var(--brand-blue-900);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.links-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), transparent 42%);
  pointer-events: none;
}

.links-tile::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 118px;
  height: 118px;
  background: rgba(255, 225, 0, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.links-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 225, 0, 0.5);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
}

.links-tile-large {
  grid-column: 1 / -1;
  min-height: 188px;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(18, 140, 74, 0.94), rgba(37, 211, 102, 0.78)),
    url("../images/products/materiais-estrutura.webp") center/cover;
}

.links-site {
  background:
    linear-gradient(135deg, rgba(8, 19, 69, 0.9), rgba(23, 50, 143, 0.74)),
    url("../images/loja-destak.webp") center/cover;
}

.links-map {
  background:
    linear-gradient(135deg, rgba(8, 19, 69, 0.9), rgba(226, 38, 38, 0.7)),
    url("../images/products/portas-janelas.webp") center/cover;
}

.links-instagram {
  grid-column: 1 / -1;
  min-height: 128px;
  background:
    linear-gradient(110deg, rgba(8, 19, 69, 0.9), rgba(226, 38, 38, 0.62), rgba(255, 225, 0, 0.22)),
    url("../images/products/pintura.webp") center/cover;
}

.tile-icon,
.tile-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--brand-yellow-500);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.image-icon {
  background: transparent;
  border: 0;
}

.tile-icon svg,
.tile-icon img {
  width: 28px;
  height: 28px;
}

.image-icon img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.tile-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tile-copy small,
.tile-copy strong,
.tile-copy em {
  display: block;
}

.tile-copy small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.tile-copy strong {
  font-family: "Poppins", "Montserrat", Arial, Helvetica, sans-serif;
  font-size: clamp(1.08rem, 3.4vw, 1.52rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.tile-copy em {
  max-width: 290px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 0.88rem;
}

.links-hours {
  margin: 0 clamp(16px, 4vw, 28px) 26px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  text-align: center;
}

.links-hours strong {
  color: var(--brand-yellow-500);
}

@media (max-width: 1160px) {
  .main-header {
    grid-template-columns: 150px 1fr;
  }

  .quote-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .product-shelf {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .top-line {
    display: none;
  }

  .main-header,
  .hero-banner,
  .promo-banner,
  .final-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .store-header {
    position: static;
  }

  .brand {
    width: 150px;
    min-height: 58px;
  }

  .brand img {
    width: auto;
    height: 56px;
  }

  .department-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy,
  .hero-products {
    min-height: auto;
  }

  .hero-products {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-products img:first-child {
    grid-row: auto;
  }

  .hero-products img {
    flex: 0 0 260px;
    height: 210px;
  }

  .service-strip,
  .why-grid,
  .reviews-panel {
    grid-template-columns: 1fr;
  }

  .service-strip {
    padding: 0;
  }

  .promo-banner {
    margin-inline: 16px;
  }

  .reviews-carousel {
    display: flex;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }

  .review-card {
    flex: 0 0 min(86vw, 330px);
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .main-header {
    padding: 14px 16px;
    gap: 14px;
  }

  .search-box {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .search-box input {
    min-height: 44px;
  }

  .search-box button {
    min-height: 42px;
  }

  .department-nav {
    overflow-x: auto;
    display: flex;
  }

  .department-nav a {
    min-width: 180px;
  }

  .hero-banner,
  .section {
    padding-inline: 16px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.7rem);
  }

  .hero-actions,
  .btn,
  .quote-button {
    width: 100%;
  }

  .department-grid,
  .product-shelf {
    grid-template-columns: 1fr;
  }

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

  .final-card {
    gap: 20px;
  }

  .final-card > img {
    width: 170px;
  }

  .links-shell {
    padding: 16px 10px;
  }

  .links-card {
    border-radius: 22px;
  }

  .links-hero {
    padding-top: 24px;
  }

  .links-logo {
    width: 156px;
  }

  .links-list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-inline: 14px;
  }

  .links-tile,
  .links-tile-large,
  .links-instagram {
    grid-column: auto;
    min-height: 126px;
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }

  .links-tile-large {
    min-height: 170px;
  }

  .tile-copy strong {
    font-size: clamp(1.3rem, 7vw, 1.65rem);
  }

  .links-site .tile-copy strong,
  .links-map .tile-copy strong {
    font-size: clamp(1.28rem, 6.6vw, 1.52rem);
  }
}
