@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/CormorantGaramond.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/Manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --marfim: #F7F3EA;
  --areia: #DCCDB8;
  --verde: #526744;
  --terra: #74412E;
  --cafe: #332C27;
  color: var(--cafe);
  background: var(--marfim);
  font: 500 1rem / 1.5 Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  border-block-start: 4px solid var(--verde);
  background:
    radial-gradient(ellipse at 0 100%, #dccdb859, transparent 54%),
    var(--marfim);
}

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

a:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 4px;
}

.page {
  position: relative;
  isolation: isolate;
  width: min(100% - 56px, 970px);
  margin-inline: auto;
  padding: 22px 0 46px;
}

.page::before {
  position: absolute;
  z-index: -1;
  inset: 8px 12px auto auto;
  width: 200px;
  height: 165px;
  background: url("assets/ramo.svg") center / contain no-repeat;
  opacity: .35;
  pointer-events: none;
  content: "";
}

.masthead {
  display: grid;
  justify-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.logo { display: block; width: 178px; height: auto; }

h1, h2, .store-copy strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1;
}

h1 {
  margin: 0;
  color: var(--terra);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.panels {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
}

.store, .channels {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--areia);
  border-radius: 14px;
}

.store {
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--verde);
  color: var(--marfim);
  box-shadow: 0 10px 30px #332c2712;
}

.store-image {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  object-position: 50% 61%;
}

.store-label {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 83px;
  padding: 14px 20px;
  border-top: 1px solid #d8a75f;
  transition: background-color .18s ease;
}

.store:hover .store-label { background: #415536; }

.store-icon {
  display: block;
  width: 31px;
  height: 31px;
  background: currentColor;
  mask: url("assets/loja.svg") center / contain no-repeat;
}

.store-copy { display: grid; gap: 4px; }
.store-copy strong { font-size: 2rem; }
.store-copy span { font-size: .84rem; }

.arrow {
  color: var(--verde);
  font: 500 1rem / 1 Arial, sans-serif;
  justify-self: end;
}

.store .arrow { color: inherit; font-size: 1.35rem; }

.channels {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(18px, 3vw, 30px);
  background: #fcf8f1;
}

h2 {
  margin: 0 0 15px;
  color: var(--terra);
  font-size: 2.2rem;
}

.networks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.networks a, .whatsapp {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid #d8cab7;
  border-radius: 7px;
  background: var(--marfim);
  font-size: .875rem;
  font-weight: 600;
  transition: background-color .18s ease, border-color .18s ease;
}

.networks a:hover { border-color: var(--verde); background: #eaf0e4; }
.networks img { filter: invert(36%) sepia(19%) saturate(720%) hue-rotate(58deg) brightness(94%); }
.networks li:last-child { grid-column: 1 / -1; }

.contact { display: grid; gap: 10px; }

.whatsapp {
  border-color: #abb7a1;
  background: #eaf0e4;
  color: #364b2d;
}

.whatsapp:hover { border-color: var(--verde); background: #dfe9d8; }
.whatsapp img { filter: invert(26%) sepia(19%) saturate(894%) hue-rotate(60deg) brightness(93%); }

.email {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  color: var(--terra);
  font-size: .82rem;
  overflow-wrap: anywhere;
}

.email:hover span { text-decoration: underline; }

@media (max-width: 660px) {
  .page { width: min(100% - 32px, 445px); padding: 12px 0 28px; }
  .page::before { width: 100px; height: 100px; inset: 1px 0 auto auto; opacity: .21; }
  .masthead { margin-bottom: 19px; }
  .logo { width: 140px; }
  .panels { grid-template-columns: 1fr; gap: 12px; }
  .store-image { height: clamp(154px, 46vw, 205px); min-height: 0; }
  .store-label { min-height: 65px; padding: 10px 16px; gap: 9px; }
  .store-copy strong { font-size: 1.75rem; }
  .channels { padding: 16px; gap: 13px; }
  h2 { font-size: 1.9rem; margin-bottom: 11px; }
  .networks { gap: 7px; }
  .networks a, .whatsapp { min-height: 49px; }
  .contact { gap: 3px; }
}

@media (max-width: 355px) {
  .channels { padding: 12px; }
  .networks a { gap: 6px; padding-inline: 7px; }
  .networks a .arrow { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
