
:root {
  --fundo: #f8f5ef;
  --superficie: #ffffff;
  --texto: #44372f;
  --texto-suave: #817267;
  --destaque: #926849;
  --destaque-escuro: #704c34;
  --borda: #e9dfd3;
  --areia: #eee3d5;
  --raio: 14px;
  --sombra: 0 8px 28px rgba(65, 45, 30, 0.08);
  --largura: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: Arial, Helvetica, sans-serif;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font-size: 16px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.5px;
}

p {
  margin-top: 0;
}

.cabecalho {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(5%, calc((100% - var(--largura)) / 2));
  background: var(--superficie);
  border-bottom: 1px solid var(--borda);
  box-shadow: 0 3px 16px rgba(65, 45, 30, 0.04);
}


.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: bold;
}

.logo-marca {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.menu-principal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.menu-principal a {
  color: var(--texto-suave);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.menu-principal a:hover {
  color: var(--destaque);
}

.botao-contato,
.botao-principal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--destaque);
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.botao-contato:hover,
.botao-principal:hover {
  background: var(--destaque-escuro);
  transform: translateY(-2px);
}

.icone-whatsapp {
  font-size: 1.15rem;
}

.sobretitulo {
  display: block;
  margin-bottom: 10px;
  color: var(--destaque);
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.secao,
.apresentacao {
  width: 100%;
  max-width: calc(var(--largura) + 10%);
  margin: 0 auto;
  padding: 72px 5%;
}

.secao h2,
.apresentacao h2 {
  margin-top: 0;
}

.cabecalho-secao {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.cabecalho-secao h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  letter-spacing: -0.6px;
}

.cabecalho-secao p {
  margin-bottom: 0;
  color: var(--texto-suave);
  font-size: 0.96rem;
}

.apresentacao {
  max-width: 850px;
  text-align: center;
}

.apresentacao h2 {
  margin-bottom: 16px;
}

.apresentacao p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--texto-suave);
  font-size: 1.05rem;
}

.secao-destaques {
  max-width: none;
  background: #f0e8de;
}

.secao-destaques > * {
  max-width: var(--largura);
  margin-right: auto;
  margin-left: auto;
}

.convite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--largura);
  margin: 60px auto;
  padding: 36px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--superficie);
}

.convite h2 {
  max-width: 600px;
  margin: 0 0 12px;
}

.convite p {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--texto-suave);
}

.convite .botao-principal {
  flex-shrink: 0;
}

.rodape {
  padding: 32px 5%;
  background: #44372f;
  color: #ffffff;
  text-align: center;
}

.marca-rodape {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: bold;
}

.rodape p {
  margin: 8px 0 0;
  color: #e0d5cb;
}

.rodape .creditos {
  margin-top: 20px;
  font-size: 0.8rem;
}

.mensagem-vazia {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--borda);
  border-radius: var(--raio);
  color: var(--texto-suave);
  text-align: center;
}

@media (max-width: 850px) {
  .cabecalho {
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-principal {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px solid var(--borda);
  }

  .convite {
    margin-right: 4%;
    margin-left: 4%;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 20px;
  }

  .cabecalho {
    padding: 12px 4%;
  }

  .marca {
    gap: 7px;
    font-size: 1.1rem;
  }

  .logo-marca {
    width: 34px;
    height: 34px;
  }

  .cabecalho > .botao-contato {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 0.8rem;
  }

  .menu-principal {
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
  }

  .menu-principal a {
    flex-shrink: 0;
    font-size: 0.8rem;
  }

  .secao,
  .apresentacao {
    padding: 40px 4%;
  }

  .cabecalho-secao {
    margin-bottom: 22px;
  }

  .convite {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 24px 20px;
  }

  .convite .botao-principal {
    width: 100%;
  }

  .rodape {
    padding: 28px 4%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* Redes sociais do rodapé */
.redes-sociais {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.link-rede-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  color: #ffffff;
  background-color: #44372f;
  text-decoration: none;
  border: 1px solid #817267;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.link-rede-social:hover,
.link-rede-social:active {
  color: #ffffff;
  background-color: #5a473a;
  text-decoration: none;
}

.link-rede-social:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.link-rede-social span {
  color: #ffffff;
}

.link-rede-social > span:first-of-type {
  font-weight: 600;
  font-size: 15px;
}

.usuario-instagram {
  font-size: 12px;
  opacity: 0.85;
}

/* Ícone do Instagram no rodapé */
.link-rede-social svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #ffffff;
  stroke: currentColor;
}

.link-rede-social {
  color: #ffffff;
}

.link-rede-social:hover svg {
  color: #ffffff;
}

/* QUANTIDADE E ADIÇÃO AO CARRINHO */

.linha-adicionar-carrinho {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin: 18px 0;
}

.seletor-quantidade {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: var(--superficie);
}

.botao-ajuste-quantidade {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--texto);
  font-size: 1.25rem;
  cursor: pointer;
}

.botao-ajuste-quantidade:hover {
  background: var(--areia);
}

.seletor-quantidade input {
  width: 38px;
  min-width: 0;
  height: 38px;
  padding: 0;
  border: 0;
  outline-offset: 2px;
  background: transparent;
  color: var(--texto);
  font: inherit;
  font-weight: 600;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.seletor-quantidade input::-webkit-inner-spin-button,
.seletor-quantidade input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.linha-adicionar-carrinho > .botao-principal {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  font-size: 0.9rem;
  line-height: 1.25;
}

@media (max-width: 380px) {
  .linha-adicionar-carrinho {
    gap: 6px;
  }

  .botao-ajuste-quantidade {
    width: 26px;
    min-width: 26px;
  }

  .seletor-quantidade input {
    width: 30px;
  }

  .linha-adicionar-carrinho > .botao-principal {
    padding: 9px 7px;
    font-size: 0.82rem;
  }
}

