/* Lú Pastéis: folha única do site. Paleta tirada do logo. */

@font-face { font-family: "Archivo Black"; src: url("../fonts/archivo-black.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --creme: #fff6e6;
  --creme-2: #fdebc6;
  --vermelho: #d6251d;
  --vermelho-escuro: #a9170f;
  --amarelo: #fdca33;
  --ouro: #e4b92c;
  --marrom: #3a1d10;
  --marrom-2: #6e4431;
  --branco: #ffffff;
  --sombra: 0 18px 40px -18px rgba(90, 30, 10, .45);
  --raio: 22px;
  --titulo: "Archivo Black", "Arial Black", Impact, sans-serif;
  --texto: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--creme);
  color: var(--marrom);
  font: 400 1rem/1.6 var(--texto);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
.sprites { position: absolute; width: 0; height: 0; overflow: hidden; }
.icone { width: 1.25em; height: 1.25em; flex: none; }

.pular {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--marrom); color: var(--branco); padding: .6rem 1rem; border-radius: 10px;
}
.pular:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--marrom); outline-offset: 3px; border-radius: 6px; }

.dentro { width: min(1160px, 100% - 32px); margin-inline: auto; }
.centro { text-align: center; margin: 0; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--texto); text-decoration: none; text-align: center; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.botao:active { transform: translateY(1px) scale(.99); }
.botao--vermelho { background: var(--vermelho); color: var(--branco); box-shadow: 0 5px 0 var(--vermelho-escuro); }
.botao--vermelho:hover { background: #c41f18; }
.botao--vermelho:active { box-shadow: 0 3px 0 var(--vermelho-escuro); }
.botao--amarelo { background: var(--amarelo); color: var(--marrom); box-shadow: 0 5px 0 #b88a10; }
.botao--amarelo:hover { background: #ffd556; }
.botao--contorno { border-color: var(--marrom); color: var(--marrom); background: transparent; }
.botao--contorno:hover { background: var(--marrom); color: var(--creme); }
.botao--grande { min-height: 56px; padding: 1rem 1.6rem; font-size: 1.06rem; }
.botao--pequeno { min-height: 42px; padding: .55rem 1rem; font-size: .95rem; box-shadow: 0 3px 0 var(--vermelho-escuro); }
.botao--contorno.botao--pequeno { box-shadow: none; }

.link-seta {
  font-weight: 600; color: var(--vermelho-escuro); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 1px; white-space: nowrap;
}
.link-seta::after { content: " ↓"; }

.etiqueta {
  display: inline-block; margin: 0 0 1rem;
  background: var(--branco); color: var(--vermelho-escuro);
  border: 2px solid var(--vermelho); border-radius: 999px;
  padding: .3rem .85rem; font-size: .82rem; font-weight: 600; letter-spacing: .01em;
}
.etiqueta--amarela { background: var(--amarelo); color: var(--marrom); border-color: var(--amarelo); }

.titulo { font-size: clamp(1.9rem, 6.4vw, 3rem); color: var(--vermelho); margin-bottom: .6rem; }
.titulo--claro { color: var(--branco); }
.sub { color: var(--marrom-2); margin-bottom: 1.6rem; }

/* Toalha xadrez, a mesma das fotos da Lu */
.xadrez {
  height: 26px;
  background-color: var(--branco);
  background-image:
    linear-gradient(90deg, rgba(214, 37, 29, .75) 50%, transparent 50%),
    linear-gradient(rgba(214, 37, 29, .75) 50%, transparent 50%);
  background-size: 26px 26px;
}

/* Topo */
.topo { background: var(--creme); position: relative; z-index: 20; }
.topo__dentro {
  width: min(1160px, 100% - 32px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: .6rem;
}
.topo__marca img { width: 74px; height: auto; }
.topo__menu { display: none; }

/* Abertura */
.abertura { position: relative; padding: .5rem 0 3rem; overflow: hidden; }
.abertura__dentro {
  width: min(1160px, 100% - 32px); margin-inline: auto;
  display: grid; gap: 2.2rem;
}
.abertura h1 { font-size: clamp(2.35rem, 10.5vw, 4.4rem); color: var(--marrom); margin-bottom: 1rem; }
.grifo {
  color: var(--vermelho);
  background: linear-gradient(transparent 62%, var(--amarelo) 62%, var(--amarelo) 92%, transparent 92%);
  padding: 0 .08em; margin: 0 -.08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.abertura__lead { font-size: 1.05rem; color: var(--marrom-2); max-width: 34rem; margin-bottom: 1.5rem; }
.abertura__acoes { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.abertura__acoes .botao { width: 100%; }

.abertura__midia { position: relative; justify-self: center; width: min(100%, 360px); padding: 0 6px; }
.sol {
  position: absolute; inset: -5% -3% auto auto; width: 72%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--amarelo), var(--ouro) 70%);
  z-index: 0;
}
.moldura {
  position: relative; z-index: 1;
  border: 7px solid var(--branco); border-radius: var(--raio);
  overflow: hidden; background: var(--creme-2);
  box-shadow: var(--sombra);
  transform: rotate(1.6deg);
}
.moldura video, .moldura img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
/* No celular a foto da abertura fica deitada e corta a parede de cima:
   o pastel aparece logo na primeira tela. */
@media (max-width: 639.98px) {
  .moldura--abertura img { aspect-ratio: 4 / 3; object-position: 50% 65%; }
}
.selo {
  position: absolute; z-index: 2; left: -4px; bottom: -26px;
  width: 118px; transform: rotate(-11deg);
  filter: drop-shadow(0 8px 12px rgba(90, 30, 10, .35));
}
.selo img { border-radius: 50%; clip-path: circle(48.5% at 50% 50%); }

/* Passos */
.passos { padding: 3.2rem 0 3.5rem; background: var(--creme); }
.passos .titulo { text-align: center; }
.passos__lista {
  list-style: none; padding: 0; margin: 1.8rem 0 2.2rem;
  display: grid; gap: 1rem;
}
.passos__lista li {
  position: relative; background: var(--branco);
  border-radius: var(--raio); padding: 1.3rem 1.3rem 1.2rem 5rem;
  box-shadow: 0 2px 0 rgba(58, 29, 16, .08), 0 10px 24px -18px rgba(90, 30, 10, .5);
}
.passos__num {
  position: absolute; left: 1.1rem; top: 1.1rem;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amarelo); color: var(--vermelho);
  font: 1.45rem/1 var(--titulo);
  box-shadow: inset 0 0 0 3px var(--ouro);
}
.passos h3 { font-size: 1.2rem; margin-bottom: .35rem; color: var(--marrom); }
.passos li p { margin: 0; color: var(--marrom-2); font-size: .96rem; }

/* Vitrine */
.vitrine { padding: 3.2rem 0 4rem; background: var(--creme-2); }
.vitrine__grade {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
}
.cartao { border-radius: 16px; overflow: hidden; background: var(--creme); }
.cartao picture, .cartao img, .cartao video { width: 100%; height: 100%; }
.cartao img, .cartao video { object-fit: cover; }
.cartao--alto { grid-row: span 2; }
.cartao--largo { grid-column: span 2; }
.cartao--video video { object-position: 50% 62%; }

/* Festas */
.festas { background: var(--vermelho); color: var(--branco); padding-bottom: 4rem; }
.festas .xadrez { margin-bottom: 3rem; }
.xadrez--claro { background-color: var(--vermelho); background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .55) 50%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, .55) 50%, transparent 50%); }
.festas__dentro { display: grid; gap: 2.4rem; }
/* So os paragrafos do texto: a etiqueta amarela guarda o marrom dela. */
.festas__texto > p:not(.etiqueta) { color: #fff3ea; }
.festas .etiqueta--amarela { color: var(--marrom); }
.festas__texto > p.festas__conte { font-weight: 600; margin-bottom: .5rem; color: var(--branco); }
.festas__lista { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .45rem; }
.festas__lista li { position: relative; padding-left: 1.7rem; }
.festas__lista li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: .95rem; height: .6rem; border-radius: 1rem 1rem 0 0;
  background: var(--amarelo);
}
.festas .botao { width: 100%; }
.festas__texto > p.festas__nota { font-size: .86rem; margin: .9rem 0 0; color: var(--branco); }
.moldura--festa { justify-self: center; width: min(100%, 340px); transform: rotate(-2deg); border-color: var(--amarelo); }
/* O video da festa tem um terco de parede vazia em cima: o quadro corta. */
.moldura--festa video { aspect-ratio: 1 / 1; object-position: 50% 80%; }

/* Instagram */
.insta { padding: 3.5rem 0; background: var(--creme); }
.insta__dentro { display: grid; gap: 2rem; align-items: center; }
.insta__texto p { color: var(--marrom-2); max-width: 32rem; }
.insta__texto strong { color: var(--marrom); font-weight: 600; word-break: break-word; }
.insta__qr { display: none; }

/* Rodapé */
.rodape { background: #2b140a; color: #f7e6d2; padding: 2.8rem 0 2.8rem; }
.rodape__dentro { display: grid; gap: 1.4rem; justify-items: start; }
.rodape__logo img { width: 110px; }
.rodape__frase { font-family: var(--titulo); font-size: 1.25rem; color: var(--amarelo); margin-bottom: .8rem; line-height: 1.2; }
.rodape__contato { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.rodape__contato li, .rodape__contato a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.rodape__contato li { min-height: 40px; }
.rodape__contato a:hover { color: var(--amarelo); }
.rodape__fim {
  margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(247, 230, 210, .18);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.4rem; font-size: .86rem; color: #d9c2ac;
}
.rodape__fim a { color: #f7e6d2; display: inline-block; padding-block: .6rem; }
.rodape :focus-visible { outline-color: var(--amarelo); }

/* Barra fixa do celular */
.barra-pedido {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 54px; border-radius: 999px;
  background: var(--vermelho); color: var(--branco);
  font: 600 1.02rem/1 var(--texto); text-decoration: none;
  box-shadow: 0 5px 0 var(--vermelho-escuro), 0 14px 30px -10px rgba(58, 29, 16, .6);
  transform: translateY(140%); transition: transform .25s ease;
}
.barra-pedido.visivel { transform: none; }

/* Página simples (privacidade, 404) */
.pagina { padding: 2rem 0 4rem; }
.pagina .dentro { max-width: 720px; }
.pagina h1 { font-size: clamp(2rem, 8vw, 3rem); color: var(--vermelho); margin-bottom: 1.2rem; }
.pagina h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; color: var(--marrom); }
.pagina p, .pagina li { color: var(--marrom-2); }
.pagina a { color: var(--vermelho-escuro); }
.pagina .botao--vermelho { color: var(--branco); }
.pagina .atualizada { font-size: .86rem; margin-top: 2.4rem; }

/* Telas maiores */
@media (min-width: 640px) {
  .abertura__acoes { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; }
  .abertura__acoes .botao, .festas .botao { width: auto; }
  .passos__lista { grid-template-columns: repeat(3, 1fr); }
  .passos__lista li { padding: 4.6rem 1.4rem 1.5rem; }
  .vitrine__grade { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
  .cartao--largo { grid-column: span 2; }
}

@media (min-width: 960px) {
  .topo { position: sticky; top: 0; box-shadow: 0 1px 0 rgba(58, 29, 16, .08); }
  /* O topo fixo tem 80 px: o titulo da secao nao some atras dele. */
  section[id] { scroll-margin-top: 88px; }
  .topo__marca img { width: 64px; }
  .topo__menu { display: flex; gap: 1.6rem; margin-left: auto; }
  .topo__menu a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--marrom-2); padding: .4rem 0; border-bottom: 2px solid transparent; }
  .topo__menu a:hover { color: var(--vermelho); border-bottom-color: var(--amarelo); }

  .abertura { padding: 2.5rem 0 5rem; }
  .abertura__dentro { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 3rem; }
  .abertura__midia { width: 400px; justify-self: end; margin-right: 2.5rem; }
  .selo { width: 150px; left: -60px; bottom: -30px; }
  .sol { inset: -8% -16% auto auto; width: 88%; }

  .vitrine__grade { grid-auto-rows: 270px; gap: 14px; }

  .festas__dentro { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4rem; }
  .moldura--festa { width: 360px; }
  .moldura--festa video { aspect-ratio: 4 / 5; }

  .insta__dentro { grid-template-columns: 1fr auto; }
  .insta__qr { display: grid; gap: .6rem; justify-items: center; width: 220px; text-align: center; }
  .insta__qr img { width: 190px; border-radius: 18px; box-shadow: var(--sombra); }
  .insta__qr figcaption { font-size: .82rem; color: var(--marrom-2); }

  .rodape { padding-bottom: 2.4rem; }
  .rodape__dentro { grid-template-columns: auto 1fr; align-items: center; gap: 2rem; }
  .barra-pedido { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .botao, .barra-pedido { transition: none; }
}
