/* =========================================================
   PLIM 3D — folha de estilos
   Cores da marca ficam aqui em cima: mude uma vez e o site todo acompanha.
   ========================================================= */
:root {
  --preto: #1c1a1a;      /* principal */
  --rosa: #f47aa0;       /* criatividade */
  --laranja: #f7941d;    /* energia */
  --lilas: #a98be0;      /* imaginação */
  --offwhite: #f8ecdf;   /* leveza */
  --areia: #efdfcc;
  --branco: #fffaf4;
  --texto-suave: #5b5450;

  --fonte-titulo: "Fredoka", "Trebuchet MS", sans-serif;
  --fonte-texto: "Quicksand", "Segoe UI", sans-serif;
  --raio: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--fonte-texto);
  color: var(--preto);
  background: var(--offwhite);
  line-height: 1.6;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* ===================== LOGO =====================
   O "3D" fica sempre centralizado embaixo do M. */
.logo {
  display: inline-block;
  font-family: var(--fonte-titulo);
  font-weight: 700;
  color: var(--preto);
  text-decoration: none;
  line-height: .9;
  letter-spacing: -.02em;
}
.logo-palavra { position: relative; display: inline-block; }
.logo-l { display: inline-block; transform: rotate(-4deg); }
.logo-i,
.logo-m { position: relative; display: inline-block; }
.logo-3d {
  position: absolute;
  left: 50%;
  top: 92%;
  transform: translateX(-50%);
  font-size: .5em;
  letter-spacing: -.01em;
  line-height: 1;
  margin-top: .04em;
}

/* faíscas coloridas acima do "I" */
.faiscas {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: .09em;
  margin-bottom: .06em;
  pointer-events: none;
}
.faiscas i {
  display: block;
  width: .13em;
  height: .32em;
  border-radius: 1em;
}
.faiscas i:nth-child(1) { background: var(--rosa);    transform: rotate(-38deg) translateY(.03em); }
.faiscas i:nth-child(2) { background: var(--laranja); height: .36em; }
.faiscas i:nth-child(3) { background: var(--lilas);   transform: rotate(38deg) translateY(.03em); }

.logo-pequeno { font-size: 2.1rem; padding: .45em 0 .5em; }
.logo-grande  { font-size: clamp(4.6rem, 12vw, 8.5rem); padding: .42em 0 .48em; }
.logo-claro   { color: var(--offwhite); }

/* ===================== BOTÕES ===================== */
.botao {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.botao:hover { transform: translateY(-2px); }
.botao-escuro { background: var(--preto); color: var(--offwhite); box-shadow: 0 6px 0 var(--lilas); }
.botao-escuro:hover { box-shadow: 0 8px 0 var(--rosa); }
.botao-claro { background: transparent; color: var(--preto); border: 2px solid var(--preto); }
.botao-claro:hover { background: var(--preto); color: var(--offwhite); }
.botao-whats { background: #25d366; color: #fff; font-size: 1.3rem; padding: 1rem 2rem; box-shadow: 0 6px 0 #1a9e4b; }
.botao-whats svg { width: 1.6em; height: 1.6em; fill: currentColor; }

/* ===================== TOPO ===================== */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 236, 223, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(28, 26, 26, .08);
}
.topo-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topo .logo-pequeno { font-size: 1.8rem; padding: .62em 0 .55em; }
.menu { display: flex; align-items: center; gap: 1.6rem; font-weight: 600; }
.menu a:not(.botao) { text-decoration: none; position: relative; }
.menu a:not(.botao)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  border-radius: 3px; background: var(--laranja); transform: scaleX(0); transition: transform .2s;
}
.menu a:not(.botao):hover::after { transform: scaleX(1); }
.menu .botao { padding: .6rem 1.2rem; font-size: .95rem; box-shadow: none; }
.menu-toggle, .menu-botao { display: none; }

/* ===================== HERO ===================== */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.slogan { font-size: clamp(1.2rem, 2.4vw, 1.6rem); letter-spacing: .12em; margin-top: .4rem; font-weight: 600; }
.hero h1 {
  font-family: var(--fonte-texto);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 500;
  color: var(--texto-suave);
  max-width: 34ch;
  margin: 1.4rem 0 2rem;
}
.hero-botoes { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-imagem { position: relative; }
.hero-imagem img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 40px 40px 40px 120px;
  box-shadow: 18px 18px 0 var(--lilas);
}
.selo {
  position: absolute; top: -18px; right: -10px;
  width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--laranja); color: var(--preto);
  font-family: var(--fonte-titulo); font-weight: 600; line-height: 1.1;
  transform: rotate(12deg);
  box-shadow: 0 6px 0 var(--preto);
}

/* ===================== SEÇÕES ===================== */
.secao { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.secao-clara { background: var(--branco); }
.secao-escura { background: var(--preto); color: var(--offwhite); }
.sobretitulo {
  font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: .8rem;
  color: var(--rosa); margin-bottom: .6rem;
}
h2 {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 2.5rem;
}
h3 { font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.35rem; line-height: 1.2; }

/* Categorias */
.categorias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.categoria {
  padding: 1.8rem 1.5rem;
  border-radius: var(--raio);
  background: var(--branco);
  border: 2px solid var(--preto);
  transition: transform .2s, box-shadow .2s;
}
.categoria:hover { transform: translateY(-4px); box-shadow: 0 8px 0 var(--preto); }
.categoria svg { width: 46px; height: 46px; padding: 9px; border-radius: 14px; margin-bottom: 1rem; fill: var(--preto); }
.categoria p { color: var(--texto-suave); margin-top: .5rem; font-size: .97rem; }
.cor-rosa svg, .passo-num.cor-rosa { background: var(--rosa); }
.cor-laranja svg, .passo-num.cor-laranja { background: var(--laranja); }
.cor-lilas svg, .passo-num.cor-lilas { background: var(--lilas); }
.cor-escura svg { background: var(--preto); fill: var(--offwhite); }

/* Produtos */
.produtos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.produto {
  background: var(--offwhite);
  border-radius: var(--raio);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s;
}
.produto:hover { transform: translateY(-5px); }
.produto-foto { aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--areia); }
.produto-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.produto:hover .produto-foto img { transform: scale(1.05); }
.produto-info { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.produto-info p { color: var(--texto-suave); font-size: .97rem; flex: 1; }
.etiqueta {
  align-self: flex-start; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .7rem; border-radius: 999px;
}
.etiqueta-rosa { background: #fbd3df; }
.etiqueta-laranja { background: #fde0bc; }
.etiqueta-lilas { background: #e3d8f7; }
.etiqueta-escura { background: var(--preto); color: var(--offwhite); }
.link-pedido { font-family: var(--fonte-titulo); font-weight: 600; text-decoration: none; margin-top: .4rem; }
.link-pedido:hover { color: var(--rosa); }

.produto-personalizado {
  background: var(--lilas);
  justify-content: center;
}
.produto-personalizado .produto-info { justify-content: center; gap: .9rem; padding: 2rem; }
.produto-personalizado h3 { font-size: 1.7rem; }
.produto-personalizado p { color: var(--preto); flex: 0; }
.produto-personalizado .botao { align-self: flex-start; box-shadow: 0 6px 0 var(--offwhite); }
.faiscas-soltas { position: static; transform: none; font-size: 4rem; margin: 0; align-self: flex-start; }
.faiscas-soltas i:nth-child(3) { background: var(--offwhite); }

/* Como funciona */
.passos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: none; }
.passos li { position: relative; }
.passo-num {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.8rem;
  margin-bottom: 1.1rem;
  border: 2px solid var(--preto);
}
.passos p { color: var(--texto-suave); margin-top: .5rem; }

/* Sobre */
.sobre-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: center; }
.sobre-inner h2 { margin-bottom: 1.4rem; }
.sobre-inner p + p { margin-top: 1rem; }
.sobre-inner p:not(.sobretitulo):not(.frase-manuscrita) { color: #d9cdbf; max-width: 58ch; }
.frase-manuscrita {
  font-family: "Caveat", cursive;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--offwhite);
  text-align: center;
  transform: rotate(-6deg);
}
.coracao { color: var(--rosa); }

/* Contato */
.contato { text-align: center; background: var(--areia); }
.contato-inner { display: flex; flex-direction: column; align-items: center; }
.contato h2 { margin-bottom: .8rem; }
.contato p { color: var(--texto-suave); margin-bottom: 2rem; font-size: 1.1rem; }

/* Rodapé */
.rodape { background: var(--preto); color: #bfb3a6; padding: 1rem 0 1.5rem; }
.rodape-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.rodape p { font-size: .9rem; }

/* WhatsApp flutuante */
.whats-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.whats-flutuante:hover { transform: scale(1.08); }
.whats-flutuante svg { width: 34px; height: 34px; fill: #fff; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 960px) {
  .categorias { grid-template-columns: repeat(2, 1fr); }
  .produtos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .menu-botao {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
  }
  .menu-botao span { width: 26px; height: 3px; border-radius: 3px; background: var(--preto); }
  .menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1.1rem;
    padding: 1.5rem 16px 2rem;
    background: var(--offwhite);
    border-bottom: 2px solid var(--preto);
  }
  .menu-toggle:checked ~ .menu { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-texto { text-align: center; }
  .hero h1 { margin-inline: auto; }
  .hero-botoes { justify-content: center; }
  .hero-imagem { max-width: 420px; margin: 1rem auto 0; width: calc(100% - 12px); }
  .hero-imagem img { box-shadow: 10px 10px 0 var(--lilas); }
  .selo { width: 92px; height: 92px; font-size: .9rem; right: 0; }

  .passos, .sobre-inner { grid-template-columns: 1fr; }
  .frase-manuscrita { margin-top: 1rem; }
}

@media (max-width: 540px) {
  .categorias, .produtos { grid-template-columns: 1fr; }
  .rodape-inner { justify-content: center; text-align: center; }
  .botao-whats { font-size: 1.1rem; }
}
