/* ==========================================================================
   Nutrir Vida Saudável — folha de estilo única
   Cores amostradas do arquivo original da marca (@essencyagencia, 2025)
   ========================================================================== */

:root {
  --verde:        #435546;
  --verde-fundo:  #3A4A3D;
  --verde-alto:   #4E6250;
  --folha:        #B7E178;
  --creme:        #EBCFB5;
  --papel:        #FBF8F2;
  --papel-fundo:  #F3EEE3;
  --tinta:        #24301F;
  --tinta-suave:  #5A6455;
  --regua:        #8AA870;

  --largura: 68rem;
  --leitura: 36rem;

  --passo-1: 0.875rem;
  --passo-2: 1rem;
  --passo-3: 1.125rem;
  --passo-4: 1.5rem;
  --passo-5: 2rem;
  --passo-6: 2.75rem;
  --passo-7: clamp(2.5rem, 8vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: Karla, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--passo-3);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--verde); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--tinta); }

:focus-visible {
  outline: 3px solid var(--regua);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: Prata, "Times New Roman", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 .6em;
}

h1 { font-size: var(--passo-7); }
h2 { font-size: var(--passo-6); margin-top: 0; }
h3 { font-size: var(--passo-4); }

p { margin: 0 0 1.1em; max-width: var(--leitura); }

/* Pular para o conteúdo -------------------------------------------------- */
.pular {
  position: absolute; left: -9999px;
  background: var(--folha); color: var(--tinta);
  padding: .6rem 1rem; z-index: 100;
}
.pular:focus { left: 1rem; top: 1rem; }

/* Estrutura -------------------------------------------------------------- */
.faixa { padding: clamp(3rem, 8vw, 5.5rem) 1.5rem; }
.faixa--escura { background: var(--verde); color: var(--creme); }
.faixa--escura h1, .faixa--escura h2, .faixa--escura h3 { color: var(--creme); }
.faixa--fundo { background: var(--papel-fundo); }
.faixa--justa { padding-top: clamp(2rem, 5vw, 3rem); }

.medida { max-width: var(--largura); margin-inline: auto; }
.medida--estreita { max-width: 44rem; }

/* Cabeçalho -------------------------------------------------------------- */
.topo {
  background: var(--verde);
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: space-between;
}
.topo__marca { display: block; flex: 0 0 auto; }
.topo__marca img { width: 108px; }

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.4rem;
  list-style: none;
  margin: 0; padding: 0;
  font-size: var(--passo-1);
  letter-spacing: .02em;
}
.menu a {
  color: var(--creme);
  text-decoration: none;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  display: inline-block;
}
.menu a:hover { color: var(--folha); }
.menu a[aria-current="page"] { border-bottom-color: var(--folha); color: #fff; }

/* Abertura --------------------------------------------------------------- */
.abertura {
  background: var(--verde);
  color: var(--creme);
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
@media (min-width: 56rem) {
  .abertura { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
}
.abertura__texto { padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; align-self: center; }
@media (min-width: 56rem) { .abertura__texto { padding-inline: clamp(2rem, 5vw, 4rem); } }
.abertura__texto h1 { color: var(--creme); margin-bottom: .4em; }
.abertura__texto p { color: #E2DCCE; max-width: 30rem; }
.abertura__foto { min-height: 24rem; }
.abertura__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }

.linha-fina {
  font-family: Karla, sans-serif;
  font-size: var(--passo-2);
  color: var(--folha);
  margin-bottom: 1.4rem;
  letter-spacing: .01em;
}

/* Resposta direta (bloco de AEO) ----------------------------------------- */
.resposta {
  border-left: 4px solid var(--regua);
  padding: .2rem 0 .2rem 1.4rem;
  margin: 0 0 2rem;
  max-width: 40rem;
}
.resposta p { font-size: var(--passo-4); line-height: 1.5; margin-bottom: 0; max-width: none; }
.faixa--escura .resposta { border-left-color: var(--folha); }

/* Par nome/descrição — dispositivo tirado do cardápio impresso ------------ */
.pares { margin: 0; padding: 0; }
.par {
  display: grid;
  grid-template-columns: 1fr;
  gap: .25rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(138, 168, 112, .35);
}
.par:first-child { border-top: 0; }
.par__nome {
  font-weight: 700;
  font-size: var(--passo-2);
  letter-spacing: .02em;
  color: var(--verde);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
}
.par__desc { margin: 0; color: var(--tinta-suave); max-width: 34rem; }
.par__nota { display: block; font-size: var(--passo-1); color: var(--regua); font-weight: 400; text-transform: none; letter-spacing: 0; }

@media (min-width: 46rem) {
  .par {
    grid-template-columns: minmax(0, 13rem) 1fr;
    gap: 0 1.6rem;
    align-items: start;
  }
  .par__nome { text-align: right; }
  .par__desc { border-left: 2px solid var(--regua); padding-left: 1.6rem; }
}

.faixa--escura .par { border-top-color: rgba(183, 225, 120, .25); }
.faixa--escura .par__nome { color: var(--folha); }
.faixa--escura .par__desc { color: #E2DCCE; border-left-color: rgba(183, 225, 120, .45); }
.faixa--escura .par__nota { color: rgba(235, 207, 181, .7); }

/* Preços ----------------------------------------------------------------- */
.precos { list-style: none; margin: 0; padding: 0; }
.preco {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .9rem;
  padding: .85rem 0;
  border-bottom: 1px dotted rgba(138, 168, 112, .6);
}
.preco__nome { font-weight: 700; }
.preco__det { color: var(--tinta-suave); font-size: var(--passo-1); flex: 1 1 12rem; }
.preco__valor {
  font-family: Prata, Georgia, serif;
  font-size: var(--passo-4);
  color: var(--verde);
  margin-left: auto;
  white-space: nowrap;
}

/* Botões ----------------------------------------------------------------- */
.botao {
  display: inline-block;
  background: var(--folha);
  color: var(--tinta);
  font-weight: 700;
  font-size: var(--passo-2);
  letter-spacing: .01em;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease;
}
.botao:hover { background: #C8EC91; color: var(--tinta); }
.botao--vazado {
  background: transparent;
  color: var(--creme);
  border: 1.5px solid rgba(235, 207, 181, .55);
}
.botao--vazado:hover { background: rgba(235, 207, 181, .12); color: #fff; }
.acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Colunas ---------------------------------------------------------------- */
.colunas { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 52rem) { .colunas--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 52rem) { .colunas--foto { grid-template-columns: 1fr 1.15fr; align-items: center; } }

/* Ficha de contato ------------------------------------------------------- */
.ficha { list-style: none; margin: 0; padding: 0; }
.ficha li { padding: .55rem 0; border-bottom: 1px solid rgba(138, 168, 112, .3); }
.ficha strong { display: block; font-size: var(--passo-1); letter-spacing: .04em; color: var(--regua); font-weight: 700; }
.faixa--escura .ficha li { border-bottom-color: rgba(183, 225, 120, .22); }
.faixa--escura .ficha strong { color: var(--folha); }

/* Perguntas -------------------------------------------------------------- */
.pergunta { border-top: 1px solid rgba(138, 168, 112, .4); padding: 1.4rem 0; }
.pergunta h3 { font-size: var(--passo-4); margin-bottom: .4em; }
.pergunta p:last-child { margin-bottom: 0; }

/* Assinatura da nutricionista ------------------------------------------- */
.assinatura {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 2px solid var(--regua);
  max-width: var(--leitura);
}
.assinatura img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top center; flex: 0 0 auto; }
.assinatura p { margin: 0; font-size: var(--passo-1); color: var(--tinta-suave); }
.assinatura strong { display: block; font-size: var(--passo-2); color: var(--tinta); }

.aviso {
  font-size: var(--passo-1);
  color: var(--tinta-suave);
  background: var(--papel-fundo);
  border-left: 3px solid var(--regua);
  padding: 1rem 1.2rem;
  max-width: var(--leitura);
  margin-top: 2rem;
}
.aviso p { margin: 0; font-size: inherit; }

/* Marcador de dado pendente (remover antes de publicar) ------------------- */
.pendente {
  background: #FFF2A8;
  color: #6B5A00;
  padding: 0 .3em;
  font-weight: 700;
  border-radius: 2px;
}

/* Rodapé ----------------------------------------------------------------- */
.rodape { background: var(--verde-fundo); color: #D6D0C2; padding: 3.5rem 1.5rem 2.5rem; font-size: var(--passo-2); }
.rodape a { color: var(--creme); }
.rodape a:hover { color: var(--folha); }
.rodape h3 { color: var(--creme); font-size: var(--passo-3); font-family: Karla, sans-serif; font-weight: 700; letter-spacing: .03em; }
.rodape__grade { display: grid; gap: 2.2rem; max-width: var(--largura); margin-inline: auto; }
@media (min-width: 46rem) { .rodape__grade { grid-template-columns: repeat(3, 1fr); } }
.rodape__lista { list-style: none; margin: 0; padding: 0; }
.rodape__lista li { padding: .2rem 0; }
.rodape__fim {
  max-width: var(--largura);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(235, 207, 181, .18);
  font-size: var(--passo-1);
  color: rgba(214, 208, 194, .75);
}
.rodape__fim p { max-width: none; }
