/* Docinho Meu — identidade 2026 (Tui Schröder): marrom, coral, pêssego, creme */
@font-face {
  font-family: "Mairo";
  src: url("../fonts/Mairo.otf") format("opentype");
  font-display: swap;
}
:root {
  --cacau: #573627;          /* marrom da marca */
  --cacau-2: #74503E;
  --coral: #EA9668;          /* coral da marca (decorativo, fundos) */
  --coral-texto: #A9562C;    /* coral escurecido para texto pequeno legível */
  --pessego: #F3B18F;
  --pessego-forte: #A9562C;
  --creme: #F2E6D6;
  --creme-2: #EAD8C2;
  --papel: #FBF5EE;
  --linha: #E0CBB3;
  --verde-whats: #1F7A4D;
  --erro: #A33A2A;
  --sombra: 0 10px 30px -12px rgba(87, 54, 39, .35);
  --raio: 18px;
  --fonte-titulo: "Nunito", system-ui, sans-serif;   /* substitui a Brevia (cópia trial sem acentos) */
  --fonte-script: "Mairo", "Brush Script MT", cursive;
  --fonte-texto: "Nunito", system-ui, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--cacau);
  font-family: var(--fonte-texto);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 900; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
.script { font-family: var(--fonte-script); font-weight: 400; color: var(--coral); letter-spacing: 0; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--pessego-forte); outline-offset: 3px; border-radius: 6px; }

.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--cacau); color: var(--creme); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.pular:focus { left: 8px; }

.sobretitulo {
  font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--coral-texto); margin-bottom: .6em;
}
.secao-topo { text-align: center; max-width: 680px; margin: 0 auto 2.2rem; }
.secao-lead { color: var(--cacau-2); }

section { padding: clamp(56px, 8vw, 96px) 16px; }
section > * { max-width: var(--max); margin-inline: auto; }

/* Aviso de prévia */
.aviso-previa {
  background: var(--cacau); color: var(--creme); text-align: center;
  font-size: .85rem; font-weight: 700; padding: 6px 16px;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 800; text-decoration: none;
  border: 2px solid var(--cacau); transition: transform .15s, background .15s, color .15s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn--cheio { background: var(--cacau); color: var(--creme); }
.btn--cheio:hover { background: var(--cacau-2); }
.btn--linha { background: transparent; color: var(--cacau); }
.btn--linha:hover { background: var(--cacau); color: var(--creme); }
.btn--largo { width: 100%; }
.btn--whats { background: var(--verde-whats); border-color: var(--verde-whats); }
.btn--whats:hover { background: #17633e; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--creme) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linha);
}
.topo__in {
  max-width: var(--max); margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; gap: 24px;
}
.topo__logo img { width: 170px; height: auto; }
.topo__nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; }
.topo__nav a { text-decoration: none; padding: 6px 2px; border-bottom: 2px solid transparent; }
.topo__nav a:hover { border-color: var(--pessego); }
.btn-sacola {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cacau); color: var(--creme); border: 0; border-radius: 999px;
  padding: 10px 16px; font-weight: 800; min-height: 44px;
}
.btn-sacola svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn-sacola__qtd {
  background: var(--coral); color: var(--cacau); border-radius: 999px;
  min-width: 24px; height: 24px; display: grid; place-items: center; font-size: .85rem;
}
.btn-sacola.pulse { animation: pulse .5s; }
@keyframes pulse { 50% { transform: scale(1.1); } }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; max-width: var(--max); margin: 0 auto;
  padding-top: clamp(36px, 6vw, 72px);
}
.hero > * { margin: 0; max-width: none; }
.hero__lead { font-size: 1.15rem; color: var(--cacau-2); max-width: 34ch; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.hero__foto { position: relative; }
.hero__foto > img:first-child {
  border-radius: 200px 200px var(--raio) var(--raio);
  aspect-ratio: 4 / 4.6; max-height: min(72vh, 620px); object-fit: cover; object-position: 50% 30%;
  width: 100%; box-shadow: var(--sombra);
}
.hero__selo {
  position: absolute; left: -38px; bottom: 34px; width: 128px; height: 128px;
  border-radius: 50%; box-shadow: var(--sombra);
  animation: gira 40s linear infinite;
}
@keyframes gira { to { transform: rotate(360deg); } }

.hero__oi { margin: 0 0 .2rem; font-size: 1.1rem; }
.hero__oi .script { font-size: 2.3rem; line-height: 1.1; color: var(--coral-texto); }
.hero__historia { margin: .2rem 0 0; font-weight: 800; }
.hero__historia a { color: var(--coral-texto); text-underline-offset: 4px; }
.sobre__feito { width: 170px; height: auto; margin-top: .4rem; }

/* Natal */
.natal { background: var(--cacau); color: var(--creme); position: relative; overflow: hidden; }
.natal::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background: url("../img/marca/pattern-02.png") center / 520px repeat;
}
.natal__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.natal .sobretitulo { color: var(--pessego); }
.natal h2 { color: var(--creme); }
.natal h2 .script { display: block; font-size: 1.25em; color: var(--coral); margin-top: .1em; }
.natal__lead { color: var(--creme-2); font-size: 1.08rem; max-width: 46ch; }
.natal .btn--cheio { background: var(--coral); border-color: var(--coral); color: var(--cacau); }
.natal .btn--cheio:hover { background: var(--pessego); border-color: var(--pessego); }
.natal .btn--linha { color: var(--creme); border-color: var(--creme-2); }
.natal .btn--linha:hover { background: var(--creme); color: var(--cacau); }
.contagem { margin: 1.4rem 0 .4rem; }
.contagem__rotulo { font-weight: 700; color: var(--pessego); margin-bottom: .5rem; }
.contagem__nums { display: flex; gap: 10px; flex-wrap: wrap; }
.contagem__nums[hidden] { display: none; }
.contagem__nums span {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  padding: 10px 16px; min-width: 88px; text-align: center; font-size: .85rem; color: var(--creme-2);
}
.contagem__nums strong { display: block; font-size: 2rem; line-height: 1.1; color: var(--creme); font-weight: 900; font-variant-numeric: tabular-nums; }
.prazos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.prazo {
  display: flex; gap: 16px; align-items: center; background: var(--papel); color: var(--cacau);
  border-radius: var(--raio); padding: 14px 18px;
}
.prazo h3 { font-size: 1.05rem; margin: 0 0 .15em; }
.prazo p { margin: 0; font-size: .9rem; color: var(--cacau-2); line-height: 1.4; }
.prazo__data {
  flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--creme-2);
  display: grid; place-content: center; text-align: center; font-size: .75rem; font-weight: 800; text-transform: uppercase; line-height: 1;
}
.prazo__data strong { font-size: 1.5rem; display: block; }
.prazo--proximo { outline: 3px solid var(--coral); }
.prazo--proximo .prazo__data { background: var(--coral); }
.prazo--passou { opacity: .5; }
.prazo--passou h3 { text-decoration: line-through; }
.filtro--natal[aria-pressed="false"] { border-color: var(--coral); }

/* Entregas */
.entregas {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  max-width: var(--max); margin: 0 auto; padding-bottom: 0;
}
.entregas > * { margin: 0; max-width: none; }
.entrega {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 22px;
}
.entrega h3 { margin-bottom: .3em; }
.entrega p { margin: 0; color: var(--cacau-2); font-size: .97rem; }
.entrega__icone { font-size: 1.8rem; line-height: 1; background: var(--creme-2); border-radius: 14px; padding: 10px; }
.entrega--unai { background: var(--creme-2); }
.entrega--unai .entrega__icone { background: var(--papel); }

/* Filtros e produtos */
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 2rem; }
.filtro {
  border: 1.5px solid var(--linha); background: var(--papel); border-radius: 999px;
  padding: 8px 16px; font-weight: 700; min-height: 42px;
}
.filtro[aria-pressed="true"] { background: var(--cacau); color: var(--creme); border-color: var(--cacau); }

.grade-produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.produto {
  background: var(--papel); border-radius: var(--raio); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--linha);
  transition: transform .2s, box-shadow .2s;
}
.produto:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.produto__midia { position: relative; aspect-ratio: 4 / 4.3; background: var(--creme-2); overflow: hidden; }
.produto__midia img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.produto__midia img + img { position: absolute; inset: 0; opacity: 0; }
.produto:hover .produto__midia img + img { opacity: 1; }
.produto__ilustra { width: 100%; height: 100%; display: grid; place-items: center; }
.produto__ilustra img { width: 40%; height: auto; opacity: .85; }
.produto__ilustra span { position: absolute; bottom: 12px; font-size: .8rem; font-weight: 700; color: var(--cacau-2); }
.etiqueta {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--papel); color: var(--cacau); font-size: .76rem; font-weight: 800;
  padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.etiqueta--destaque { left: auto; right: 12px; background: var(--pessego); }
.produto__info { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.produto__info h3 { margin-bottom: .25em; }
.produto__porcao { font-size: .85rem; font-weight: 700; color: var(--pessego-forte); margin-bottom: .5em; }
.produto__desc { font-size: .95rem; color: var(--cacau-2); flex: 1; }
.produto__opcoes { display: grid; gap: 8px; margin-top: .3rem; }
.opcao-produto { display: grid; gap: 4px; font-size: .8rem; font-weight: 700; color: var(--cacau-2); text-transform: uppercase; letter-spacing: .06em; }
.opcao-produto select { font: inherit; font-size: .95rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--cacau);
  padding: 10px 12px; border: 1.5px solid var(--linha); border-radius: 12px; background: #fff; width: 100%; min-height: 44px; }
.produto__compra { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: .4rem; }
.preco { font-family: var(--fonte-titulo); font-size: 1.45rem; font-weight: 900; }
.preco--consulta { font-family: var(--fonte-texto); font-size: .95rem; font-weight: 800; color: var(--cacau-2); }
.produto .btn { padding: .6em 1.1em; min-height: 44px; font-size: .95rem; }

/* Como pedir */
.como { background: var(--papel); }
.passos {
  list-style: none; padding: 0; counter-reset: p;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.passos li { counter-increment: p; position: relative; padding: 64px 22px 22px; background: var(--creme); border-radius: var(--raio); }
.passos li::before {
  content: counter(p); position: absolute; top: 18px; left: 22px;
  font-family: var(--fonte-titulo); font-size: 1.3rem; font-weight: 700;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pessego); color: var(--cacau);
}
.passos strong { display: block; font-size: 1.1rem; margin-bottom: .3em; }
.passos span { color: var(--cacau-2); font-size: .97rem; }

/* Galeria */
.galeria__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.galeria__grade img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.galeria__insta { text-align: center; margin-top: 1.6rem; font-weight: 700; }
.galeria__insta a { color: var(--pessego-forte); }

/* Minha história — linha do tempo */
.historia { background: var(--papel); overflow: hidden; }
.historia h2 .script { display: block; font-size: 1.2em; color: var(--coral-texto); }
.linha { list-style: none; padding: 0; margin: 0 auto; position: relative; max-width: 980px; }
.linha::before, .linha__progresso {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px;
  background: var(--creme-2); border-radius: 3px;
}
.linha__progresso { background: none; }
.linha__progresso span {
  display: block; height: 100%; background: var(--coral); border-radius: 3px;
  transform-origin: top; transform: scaleY(0); transition: transform .15s linear;
}
.marco {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; padding: 28px 0;
}
.marco__texto { text-align: right; }
.marco--dir .marco__texto { order: 2; text-align: left; }
.marco--dir .polaroid, .marco--dir .polaroid--pausa { order: 1; justify-self: end; }
.marco:not(.marco--dir) .polaroid, .marco:not(.marco--dir) .polaroid--pausa { justify-self: start; }
.marco__ponto {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%; background: var(--papel); border: 4px solid var(--coral); z-index: 1;
  transition: background .4s, transform .4s;
}
.marco.visivel .marco__ponto { background: var(--coral); transform: scale(1.15); }
.marco__ano { font-family: var(--fonte-script); font-size: 3rem; line-height: 1; color: var(--coral-texto); margin: 0 0 .15em; }
.marco h3 { font-size: 1.35rem; margin-bottom: .3em; }
.marco__texto p:last-child { color: var(--cacau-2); margin: 0; }
.marco__selos { margin: .8rem 0 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.marco--dir .marco__selos { justify-content: flex-start; }
.marco:not(.marco--dir) .marco__selos { justify-content: flex-end; }
.marco__selos span { background: var(--creme); border: 1px solid var(--linha); border-radius: 999px; padding: 5px 12px; font-size: .85rem; font-weight: 800; color: var(--cacau); }
.marco--destaque .marco__ano { font-size: 3.6rem; }
.marco--destaque h3 { font-size: 1.6rem; }
.polaroid {
  margin: 0; background: #fff; padding: 12px 12px 0; width: min(260px, 100%);
  box-shadow: 0 14px 30px -14px rgba(87,54,39,.45); transform: rotate(var(--giro, -3deg));
  transition: transform .4s;
}
.polaroid:hover { transform: rotate(0deg) scale(1.03); }
.marco--destaque .polaroid { width: min(320px, 100%); }
.polaroid > img, .polaroid__vazia { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.polaroid__vazia { background: var(--creme); display: grid; place-content: center; justify-items: center; gap: 8px; }
.polaroid__vazia img { width: 64px; opacity: .7; }
.polaroid__vazia span { font-size: .8rem; font-weight: 700; color: var(--cacau-2); }
.polaroid figcaption { font-family: var(--fonte-script); font-size: 1.35rem; color: var(--cacau); text-align: center; padding: 8px 4px 12px; }
.polaroid > :last-child:not(figcaption) { margin-bottom: 12px; }
.polaroid--pausa {
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center;
  border: 3px dashed var(--linha); color: var(--cacau-2); font-size: 2.4rem;
}
.marco--pausa .marco__texto { opacity: .85; }
/* entrada suave */
.marco .marco__texto, .marco .polaroid, .marco .polaroid--pausa { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
.marco .marco__texto { transform: translateX(-24px); }
.marco--dir .marco__texto { transform: translateX(24px); }
.marco .polaroid { transform: rotate(var(--giro, -3deg)) translateY(24px); }
.marco.visivel .marco__texto, .marco.visivel .polaroid, .marco.visivel .polaroid--pausa { opacity: 1; }
.marco.visivel .marco__texto { transform: none; }
.marco.visivel .polaroid { transform: rotate(var(--giro, -3deg)); }
.marco.visivel .polaroid:hover { transform: rotate(0deg) scale(1.03); }
.historia__fim { text-align: center; margin-top: 2.5rem; }
.historia__fim > img { margin: 0 auto 1rem; border-radius: 50%; }
.historia__convite { margin: 0; }
.historia__convite .script { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--cacau); line-height: 1.2; }
.historia__fim .hero__acoes { justify-content: center; }
.assinatura { font-family: var(--fonte-script); font-size: 2.4rem !important; line-height: 1; color: var(--coral-texto) !important; }

/* Cursos */
.cursos { background: var(--cacau); color: var(--creme); }
.cursos .sobretitulo { color: var(--pessego); }
.cursos .secao-lead { color: var(--creme-2); }
.cursos__bloco { max-width: 760px; text-align: center; }
.cursos__icone { margin: 0 auto 1rem; width: 72px; height: auto; filter: brightness(1.05); }
.cursos__bloco .selo-breve { display: inline-block; margin-bottom: 1rem; background: var(--coral); color: var(--cacau); }
.cursos__bloco h2 { color: var(--creme); }
.cursos__bloco h2 .script { display: block; color: var(--coral); font-size: 1.15em; margin-top: .15em; }
.cursos__bloco .secao-lead { font-size: 1.08rem; max-width: 56ch; margin: 0 auto 1.6rem; }
.cursos__bloco > .btn { border-color: var(--pessego); background: var(--pessego); color: var(--cacau); }
.cursos__bloco > .btn:hover { background: var(--creme); border-color: var(--creme); }
.cursos__bloco .grade-cursos { margin-top: 2rem; text-align: left; }
.grade-cursos[hidden] { display: none; }
.grade-cursos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.curso { background: var(--cacau-2); border-radius: var(--raio); overflow: hidden; display: flex; flex-direction: column; }
.curso img { aspect-ratio: 16/10; object-fit: cover; width: 100%; filter: saturate(.9); }
.curso__info { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.curso__info p { color: var(--creme-2); font-size: .95rem; flex: 1; }
.curso .btn { border-color: var(--pessego); background: var(--pessego); color: var(--cacau); }
.curso .btn:hover { background: var(--creme); border-color: var(--creme); }
.selo-breve { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,255,255,.12); padding: 4px 10px; border-radius: 999px; margin-bottom: .7rem; }

/* Rodapé */
.rodape { background: #432A1E; color: var(--creme-2); padding: 48px 16px 24px; }
.rodape__in {
  max-width: var(--max); margin: 0 auto; display: grid;
  grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
}
.rodape__selo { width: 96px; height: 96px; border-radius: 50%; display: block; }
.rodape h2 { font-size: 1.3rem; color: var(--creme); margin-bottom: .3em; }
.rodape p { margin: 0 0 .3em; font-size: .95rem; }
.rodape a { color: var(--pessego); font-weight: 700; }
.rodape__marca h2 { margin: 0 0 .15em; line-height: 1.15; }
.rodape__marca p { margin: 0; }
.rodape__contatos { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 240px; }
.rodape__contatos .btn { padding: .7em 1.3em; gap: .55em; min-height: 46px; }
.rodape__whats { color: #fff !important; }
.rodape__insta { color: var(--pessego) !important; border-color: var(--pessego); background: transparent; }
.rodape__insta .ico--btn { fill: currentColor; }
.rodape__insta:hover { background: var(--pessego); color: var(--cacau) !important; }
.ico {
  flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%;
  background: rgba(255,255,255,.08); fill: var(--pessego);
}
.ico--btn { width: 22px; height: 22px; padding: 0; background: none; fill: #fff; }
.rodape__fim { max-width: var(--max); margin: 32px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; text-align: center; }
.rodape__fim a { font-weight: 600; }

/* Formulário "Quero receber o aviso" */
.aviso { text-align: left; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--raio); padding: 22px; }
.aviso__campos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aviso .campo label { color: var(--creme); }
.aceite { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--creme-2); margin: 10px 0; cursor: pointer; line-height: 1.45; }
.aceite input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--coral); flex: none; }
.aceite em { font-style: normal; opacity: .7; font-size: .85em; }
.aceite--extra { background: rgba(243,177,143,.12); border-radius: 10px; padding: 10px 12px; color: var(--creme); }
.aviso__lgpd { font-size: .82rem; color: var(--creme-2); opacity: .85; margin: 12px 0 6px; }
.aviso__lgpd a { color: var(--pessego); }
.aviso .erro { color: #FFB4A2; margin-bottom: 8px; }
.aviso .btn { width: 100%; border-color: var(--pessego); background: var(--pessego); color: var(--cacau); }
.aviso .btn:hover { background: var(--creme); border-color: var(--creme); }
.aviso__ok { background: rgba(255,255,255,.06); border-radius: var(--raio); padding: 24px; }
.aviso__ok .script { font-size: 2.4rem; color: var(--coral); margin: 0; }
.aviso__ok[hidden], .aviso[hidden] { display: none; }

/* Sacola (gaveta) */
.veu { position: fixed; inset: 0; background: rgba(40, 26, 18, .45); z-index: 40; }
.sacola {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(440px, 100%); background: var(--papel);
  display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.2);
  animation: entra .25s ease-out;
}
.sacola[hidden], .veu[hidden] { display: none; }
@keyframes entra { from { transform: translateX(100%); } }
.sacola__topo { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--linha); }
.sacola__topo h2 { margin: 0; font-size: 1.5rem; }
.fechar { background: none; border: 0; font-size: 2rem; line-height: 1; width: 44px; height: 44px; border-radius: 50%; }
.fechar:hover { background: var(--creme); }
.sacola__corpo { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.sacola__vazia { text-align: center; color: var(--cacau-2); padding: 48px 0; }
.sacola__itens { list-style: none; padding: 0; margin: 0; }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--creme-2); align-items: center; }
.item__img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--creme-2); }
.item__nome { font-weight: 800; line-height: 1.25; }
.item__meta { font-size: .8rem; color: var(--cacau-2); }
.item__preco { font-weight: 800; font-size: .95rem; text-align: right; }
.qtd { display: inline-flex; align-items: center; border: 1.5px solid var(--linha); border-radius: 999px; margin-top: 6px; }
.qtd button { background: none; border: 0; width: 34px; height: 34px; font-size: 1.1rem; font-weight: 800; }
.qtd span { min-width: 22px; text-align: center; font-weight: 800; }
.remover { background: none; border: 0; color: var(--cacau-2); font-size: .8rem; text-decoration: underline; padding: 4px 0; margin-top: 4px; }

.pedido { margin-top: 18px; }
.pedido fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.pedido legend { font-weight: 800; margin-bottom: 8px; }
.opcao { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--linha); border-radius: 12px; margin-bottom: 8px; cursor: pointer; font-size: .95rem; background: #fff; }
.opcao:has(input:checked) { border-color: var(--cacau); background: var(--creme); }
.opcao input { margin-top: 5px; accent-color: var(--cacau); }
.opcao.desativada { opacity: .45; cursor: not-allowed; }
.campo { margin-bottom: 12px; }
.campo[hidden] { display: none; }
.campo label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--cacau);
  border: 1.5px solid var(--linha); border-radius: 10px; padding: 10px 12px; background: #fff;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--cacau); box-shadow: 0 0 0 3px rgba(243,177,143,.5); }
.campo [aria-invalid="true"] { border-color: var(--erro); }
.opc { font-weight: 400; color: var(--cacau-2); }
.linha2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.linha2[hidden] { display: none; }
.alerta { background: #FFF4E5; border: 1px solid #F0C99A; border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin-bottom: 14px; }
.erro { color: var(--erro); font-weight: 700; font-size: .9rem; min-height: 1em; margin: 0; }
.sacola__rodape { border-top: 1px solid var(--linha); padding: 16px 20px 20px; background: var(--papel); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.total strong { font-family: var(--fonte-titulo); font-size: 1.5rem; }
.total__nota { font-size: .82rem; color: var(--cacau-2); margin: 4px 0 12px; }

/* Pagamento online (InfinitePay) */
.pedido__titulo { font-weight: 800; margin: 18px 0 8px; padding-top: 14px; border-top: 1px dashed var(--linha); }
.endereco[hidden] { display: none; }
.linha-rua { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.linha-rua[hidden] { display: none; }
.cep__info { align-self: end; margin: 0 0 22px; font-size: .85rem; font-weight: 700; color: var(--coral-texto); line-height: 1.3; }
.resumo { margin: 0 0 6px; display: grid; gap: 2px; font-size: .95rem; color: var(--cacau-2); }
.resumo > div { display: flex; justify-content: space-between; }
.resumo > div[hidden] { display: none; }
.resumo dt, .resumo dd { margin: 0; }
.btn--pagar { font-size: 1.05rem; }
.seguro { text-align: center; font-size: .8rem; color: var(--cacau-2); margin: 8px 0 4px; }
.link-whats {
  display: block; margin: 0 auto; background: none; border: 0; padding: 6px 8px;
  color: var(--verde-whats); font-weight: 800; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px;
}

/* Instagram em destaque */
.topo__insta {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 800; font-size: .9rem;
  padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--linha); min-height: 44px;
}
.topo__insta:hover { border-color: var(--coral); background: var(--papel); }
.topo__insta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.topo__insta svg .cheio { fill: currentColor; stroke: none; }
.insta-cta {
  display: flex; align-items: center; gap: 18px; margin-top: 1.8rem; text-decoration: none;
  background: var(--papel); border: 1px solid var(--linha); border-radius: var(--raio); padding: 18px 22px;
  transition: transform .2s, box-shadow .2s;
}
.insta-cta:hover { transform: translateY(-2px); box-shadow: var(--sombra); }
.insta-cta__avatar {
  width: 72px; height: 72px; border-radius: 50%; flex: none; padding: 3px;
  background: linear-gradient(45deg, #F5B041, #E1306C, #833AB4);
}
.insta-cta__texto { flex: 1; display: grid; gap: 2px; }
.insta-cta__texto strong { font-size: 1.15rem; }
.insta-cta__texto span { color: var(--cacau-2); font-size: .95rem; line-height: 1.45; }
.btn--insta { background: var(--cacau); color: var(--creme); flex: none; }

/* Credibilidade no rodapé */
.rodape__cnpj { font-size: .85rem !important; opacity: .9; }
.rodape__cnpj[hidden] { display: none; }
.rodape__pagamentos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem !important; margin-top: .5em !important; }
.rodape__pagamentos span { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 2px 10px; font-weight: 800; color: var(--creme); }

/* Página de obrigado */
.obrigado { max-width: 640px; margin: 0 auto; padding: 56px 16px 80px; text-align: center; min-height: 60vh; }
.obrigado__selo { margin: 0 auto 1.2rem; border-radius: 50%; box-shadow: var(--sombra); }
.obrigado__oi { font-size: 2.6rem; margin: 0; color: var(--coral-texto); }
.obrigado h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.obrigado__meta { font-weight: 800; color: var(--coral-texto); }
.obrigado__acoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 1.6rem; }
.obrigado [hidden] { display: none; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%);
  background: var(--cacau); color: var(--creme); padding: 12px 20px; border-radius: 999px;
  font-weight: 700; z-index: 60; transition: transform .3s; box-shadow: var(--sombra);
  max-width: calc(100% - 32px); text-align: center;
}
.toast:not(.mostra) { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
.toast.mostra { transform: translate(-50%, 0); }

/* Responsivo */
@media (max-width: 860px) {
  .topo__nav { display: none; }
  .btn-sacola { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero__foto { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__foto > img:first-child { max-height: 50vh; aspect-ratio: 4 / 4; border-radius: 160px 160px var(--raio) var(--raio); }
  .hero { gap: 24px; }
  .hero__selo { left: -8px; width: 96px; height: 96px; bottom: 20px; }
  .entregas, .passos, .natal__in { grid-template-columns: 1fr; }
  .linha::before, .linha__progresso { left: 14px; }
  .marco, .marco--dir { grid-template-columns: 1fr; gap: 18px; padding: 22px 0 22px 46px; }
  .marco__ponto { left: 14px; top: 34px; }
  .marco__texto, .marco--dir .marco__texto { order: 1; text-align: left; transform: translateY(16px); }
  .marco .polaroid, .marco .polaroid--pausa, .marco--dir .polaroid, .marco--dir .polaroid--pausa { order: 2; justify-self: start; }
  .marco__ano { font-size: 2.5rem; }
  .marco:not(.marco--dir) .marco__selos { justify-content: flex-start; }
  .marco--destaque .marco__ano { font-size: 2.9rem; }
  .polaroid { width: min(240px, 100%); }
  .polaroid--pausa { width: 84px; height: 84px; font-size: 1.8rem; }
  .galeria__grade { grid-template-columns: 1fr 1fr; }
  .rodape__in { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .rodape__contatos { width: 100%; max-width: 300px; }
  .aviso__campos { grid-template-columns: 1fr; }
  .topo__insta { margin-left: auto; }
  .btn-sacola { margin-left: 0; }
  .insta-cta { flex-wrap: wrap; justify-content: center; text-align: center; }
  .insta-cta__texto { flex-basis: 100%; }
  .rodape__pagamentos { justify-content: center; }
}
@media (max-width: 560px) {
  .topo__insta span { display: none; }
  .topo__insta { padding: 8px; width: 44px; justify-content: center; }
}
@media (max-width: 420px) {
  .topo__logo img { width: 138px; }
  .btn-sacola span:not(.btn-sacola__qtd) { display: none; }
  .hero__acoes .btn { flex: 1; }
  .natal .hero__acoes .btn { flex: 1 1 100%; }
  .contagem__nums span { min-width: 0; flex: 1; }
  .linha2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
