:root {
  --brown-earth: #4a2c0a;
  --forest-amber: #c87d0a;
  --cupuaçu-gold: #f5c070;
  --amazon-cream: #fdf6ec;
  --forest-green: #3a7010;
  --soft-cream: #fffdf7;
  --line-cream: #f3dfbd;
  --text-muted: #746656;
  --shadow-warm: 0 14px 28px rgba(74, 44, 10, 0.08);
  --shadow-card: 0 8px 22px rgba(74, 44, 10, 0.085);
  --radius-card: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--brown-earth);
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 192, 112, 0.18), transparent 34%),
    repeating-linear-gradient(105deg, rgba(200, 125, 10, 0.012) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(15deg, rgba(74, 44, 10, 0.01) 0 1px, transparent 1px 24px),
    var(--amazon-cream);
}

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

img,
svg {
  display: block;
}

/* FUNDO ARTESANAL */
.page-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(74, 44, 10, 0.04) 0.6px, transparent 0.8px);
  background-size: 30px 30px;
  opacity: 0.18;
}

/* ESTRUTURA PRINCIPAL */
.bio-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 16px 0;
}

/* PERFIL DA MARCA */
.brand-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-logo-frame {
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: var(--amazon-cream);
  box-shadow: 0 12px 24px rgba(74, 44, 10, 0.11);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-handle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--forest-amber);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-profile h1 {
  max-width: 100%;
  margin: 22px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.08rem;
  line-height: 0.98;
  font-weight: 700;
}

.brand-subtitle {
  max-width: 350px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.45;
}

.founder-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  width: auto;
  max-width: 100%;
  margin: 16px 0 0;
  padding: 9px 15px;
  border: 1px solid rgba(243, 223, 189, 0.82);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 253, 247, 0.74);
  box-shadow: 0 5px 12px rgba(74, 44, 10, 0.035);
  font-size: 0.94rem;
  line-height: 1.25;
}

.founder-pill strong {
  color: var(--forest-amber);
  font-weight: 800;
}

.founder-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: rgba(200, 125, 10, 0.72);
}

/* CTA PRINCIPAL */
.primary-action {
  margin-top: 22px;
}

.whatsapp-main {
  min-height: 72px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 20px;
  border-radius: 8px;
  color: var(--amazon-cream);
  background: linear-gradient(180deg, #3f8618 0%, var(--forest-green) 100%);
  box-shadow: 0 12px 24px rgba(58, 112, 16, 0.22);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.button-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.button-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.floating-whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.button-arrow {
  font-size: 2.5rem;
  line-height: 1;
  transform: translateY(-1px);
}

/* PRODUTOS */
.products-section {
  margin-top: 34px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading span {
  height: 2px;
  background: var(--forest-amber);
}

.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.product-list {
  display: grid;
  gap: 10px;
}

.product-card {
  position: relative;
  min-height: 118px;
  display: grid;
  grid-template-columns: 46% minmax(0, 1fr) 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-cream);
  border-radius: var(--radius-card);
  background: rgba(255, 253, 247, 0.88);
  box-shadow: var(--shadow-card);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--forest-amber);
}

.product-image {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
}

.product-content {
  display: grid;
  gap: 6px;
  padding: 16px 8px 16px 18px;
}

.product-content strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.84rem;
  line-height: 0.95;
  font-weight: 700;
}

.product-content small {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.38;
}

.product-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-right: 10px;
  border: 1px solid rgba(200, 125, 10, 0.18);
  border-radius: 50%;
  color: var(--forest-amber);
  background: rgba(255, 253, 247, 0.9);
  font-size: 1.9rem;
  line-height: 1;
}

/* BOTÕES INSTITUCIONAIS */
.institutional-links {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.institutional-button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid var(--line-cream);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 7px 16px rgba(74, 44, 10, 0.07);
  color: var(--brown-earth);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.22;
}

.line-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--forest-amber);
}

.line-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.institutional-arrow {
  color: var(--brown-earth);
  font-size: 2rem;
  line-height: 1;
}

/* RODAPÉ */
.brand-footer {
  width: auto;
  margin: 36px calc(50% - 50vw) 0;
  padding: 34px max(20px, calc((100vw - 430px) / 2 + 16px)) 38px;
  text-align: center;
  color: var(--amazon-cream);
  background:
    linear-gradient(180deg, rgba(245, 192, 112, 0.08), transparent 28%),
    linear-gradient(180deg, var(--brown-earth) 0%, #2f1a06 100%);
  border-top: 1px solid rgba(245, 192, 112, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 253, 247, 0.08);
}

.brand-footer-inner {
  width: min(100%, 430px);
  margin: 0 auto;
}

.brand-footer p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.08;
  font-weight: 600;
}

.brand-footer strong {
  color: var(--cupuaçu-gold);
  font-weight: 700;
}

.brand-footer small {
  display: block;
  margin-top: 14px;
  color: rgba(253, 246, 236, 0.74);
  font-size: 0.78rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.footer-handle {
  margin-top: 18px;
  color: rgba(253, 246, 236, 0.86);
  font-size: 0.96rem;
  font-weight: 600;
}

.footer-handle svg {
  width: 19px;
  height: 19px;
  stroke: var(--cupuaçu-gold);
}

/* WHATSAPP FLUTUANTE */
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 4px solid rgba(255, 253, 247, 0.92);
  border-radius: 50%;
  background: var(--forest-green);
  box-shadow: 0 9px 20px rgba(58, 112, 16, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
}

.floating-whatsapp.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* ESTADOS INTERATIVOS */
.whatsapp-main,
.product-card,
.institutional-button,
.floating-whatsapp,
.brand-handle {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.whatsapp-main:hover,
.product-card:hover,
.institutional-button:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1);
}

.product-card:hover,
.institutional-button:hover {
  border-color: rgba(200, 125, 10, 0.5);
}

.whatsapp-main:focus-visible,
.product-card:focus-visible,
.institutional-button:focus-visible,
.floating-whatsapp:focus-visible,
.brand-handle:focus-visible {
  outline: 3px solid rgba(245, 192, 112, 0.82);
  outline-offset: 3px;
}

/* RESPONSIVIDADE */
@media (min-width: 520px) {
  .bio-shell {
    padding-top: 32px;
  }

  .brand-logo-frame {
    width: 184px;
    height: 184px;
  }

  .brand-profile h1 {
    font-size: 2.28rem;
  }
}

@media (max-width: 374px) {
  .bio-shell {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-logo-frame {
    width: 142px;
    height: 142px;
  }

  .brand-profile h1 {
    font-size: 1.96rem;
  }

  .brand-subtitle {
    font-size: 0.94rem;
  }

  .founder-pill {
    align-items: flex-start;
    border-radius: 8px;
    font-size: 0.86rem;
  }

  .whatsapp-main {
    min-height: 66px;
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    gap: 9px;
    padding: 13px 15px;
    font-size: 0.95rem;
  }

  .button-icon {
    width: 34px;
    height: 34px;
  }

  .section-heading {
    gap: 11px;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .product-card {
    grid-template-columns: 43% minmax(0, 1fr) 28px;
    min-height: 108px;
  }

  .product-image {
    min-height: 108px;
  }

  .product-content {
    padding: 13px 5px 13px 13px;
  }

  .product-content strong {
    font-size: 1.55rem;
  }

  .product-content small {
    font-size: 0.8rem;
  }

  .product-arrow {
    width: 24px;
    height: 24px;
    margin-right: 7px;
    font-size: 1.55rem;
  }

  .institutional-button {
    grid-template-columns: 34px minmax(0, 1fr) 20px;
    gap: 9px;
    padding: 10px 13px;
    font-size: 0.88rem;
  }

  .brand-footer p {
    font-size: 1.48rem;
  }

  .brand-footer small {
    font-size: 0.72rem;
  }
}
