/* Estilo alternativo: orgânico artesanal
   Camada aplicada por cima do style.css. Mesmo conteúdo, visual feito à mão. */

:root {
  --onda-h: clamp(28px, 4vw, 52px);
  --sombra-adesivo: 0 1px 0 rgba(0,0,0,.04), 0 10px 24px rgba(80, 40, 20, .12);
}

/* Textura de papel no fundo */
body {
  background-color: var(--linho);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.topo { background: rgba(246, 241, 233, .9); border-bottom: 0; }

/* Seções terracota com bordas onduladas em cima e embaixo */
.secao--terracota, .rodape {
  position: relative;
  background-color: var(--terracota);
  background-image: none;
  margin: var(--onda-h) 0;
}
.rodape { margin-bottom: 0; }
.secao--terracota::before, .secao--terracota::after, .rodape::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: var(--onda-h);
  background: var(--terracota);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C90 12 170 8 260 24s190 40 300 26 190-44 300-42 160 26 240 30 60-4 100-12V60Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C90 12 170 8 260 24s190 40 300 26 190-44 300-42 160 26 240 30 60-4 100-12V60Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.secao--terracota::before, .rodape::before { top: calc(-1 * var(--onda-h) + 1px); }
.secao--terracota::after { bottom: calc(-1 * var(--onda-h) + 1px); transform: scale(-1, -1); }

/* Chamadas viram tarjas de papel, como nos posts */
.chamada {
  background: var(--ocre);
  color: var(--grafite);
  padding: 6px 14px 5px;
  border-radius: 4px 10px 6px 12px;
  letter-spacing: .1em;
}
.chamada::before { display: none; }
.secao--terracota .chamada { background: var(--linho); color: var(--terracota); }

/* Títulos com um sublinhado feito à mão */
.cabecalho h1, .hero h1 { position: relative; }
.hero h1::after, .cabecalho h1::after {
  content: "";
  display: block;
  width: 180px;
  height: 14px;
  margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 14'%3E%3Cpath d='M3 9c30-6 60-7 92-4s56 4 82-2' fill='none' stroke='%23C28527' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
}

/* Botões como pedrinhas de barro, com sombra deslocada */
.botao {
  border-radius: 999px 900px 999px 800px / 800px 999px 900px 999px;
  box-shadow: 4px 4px 0 rgba(29, 29, 27, .18);
}
.botao:hover { transform: translate(-1px, -2px); box-shadow: 6px 6px 0 rgba(29, 29, 27, .18); }
.botao--contorno { box-shadow: none; }

/* Cartões como adesivos: cantos irregulares e sombra suave, sempre retos */
.cartao, .passos li, .preco, .valor, .peca, .perguntas details, .info, .bio {
  border-radius: 34px 26px 38px 24px / 26px 36px 24px 34px;
  box-shadow: var(--sombra-adesivo);
}

/* Interação: o cartão sobe, a sombra cresce e uma linha de barro se desenha embaixo */
.cartao, .passos li, .valor, .peca { position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.cartao::after, .passos li::after, .valor::after, .peca::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 6px; width: 100%;
  background: var(--ocre); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.cartao:hover, .passos li:hover, .valor:hover, .peca:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(80, 40, 20, .18); }
.cartao:hover::after, .passos li:hover::after, .valor:hover::after, .peca:hover::after { transform: scaleX(1); }
.passos li::before { transition: transform .35s ease; }
.passos li:hover::before { transform: scale(1.15); }
.cartao--borda { border-top: 0; }

/* Números dos passos como bolinhas de argila */
.passos li::before { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; background: var(--terracota); color: var(--linho); }
.secao--terracota .passos li::before { background: var(--ocre); color: var(--grafite); }

/* Fotos em formatos orgânicos */
.foto { border-radius: 46% 54% 42% 58% / 34% 32% 68% 66%; }
.foto--paisagem { border-radius: 38% 62% 46% 54% / 52% 44% 56% 48%; }
.foto--quadrada { border-radius: 50% 50% 46% 54% / 54% 48% 52% 46%; }
.hero .foto { border-radius: 50% 50% 44% 44% / 30% 30% 70% 70%; } /* formato de pote */
.peca .foto { border-radius: 0; }
.foto::before { background: rgba(224, 226, 202, .6); }

/* Selo do ateliê "colado" ao lado da foto do topo */
.hero__grade > .foto { overflow: visible; }
.hero__grade > .foto::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 8%;
  width: clamp(96px, 12vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--linho) url("../img/logos/selo.png") center / 82% auto no-repeat;
  box-shadow: 0 14px 28px rgba(60, 28, 12, .32), 0 3px 8px rgba(60, 28, 12, .22);
  transition: transform 1.2s ease;
}
.hero__grade > .foto:hover::after { transform: rotate(360deg); } /* o selo dá uma volta */

/* Etiquetas */
.selo-tag { border-radius: 6px 12px 8px 14px; }

/* Faixa da Lu Moldes como um recorte de papel */
.faixa { border-radius: 40px 24px 46px 28px / 28px 44px 26px 40px; box-shadow: var(--sombra-adesivo); }

/* Citação com aspas desenhadas */
.citacao { border-left: 0; padding-left: 0; position: relative; }
.citacao::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--ocre); margin-bottom: 8px; }

/* Rodapé */
.rodape { margin-top: var(--onda-h); }

/* WhatsApp flutuante em formato de pedrinha */
.wa-flutuante { border-radius: 999px 900px 999px 800px / 800px 999px 900px 999px; box-shadow: 4px 4px 0 rgba(29,29,27,.2), 0 8px 24px rgba(0,0,0,.15); }

/* Mapa com cantos orgânicos */
.mapa { border-radius: 38% 62% 46% 54% / 22% 24% 76% 78%; }

@media (max-width: 620px) {
  .hero__grade > .foto::after { right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .cartao:hover, .passos li:hover, .valor:hover, .peca:hover { transform: none; }
  .hero__grade > .foto:hover::after { transform: none; }
}

/* Ajustes: a camada clara e a etiqueta acompanham o formato da foto */
.foto::before { border-radius: inherit; }
.foto { justify-content: center; }
.foto span { margin-bottom: 9%; }
.peca .foto span { margin-bottom: 16px; }

/* Textos sobre fundo ocre ficam brancos */
.chamada { color: var(--branco); }
.secao--terracota .chamada { color: var(--terracota); }
.secao--terracota .passos li::before { color: var(--branco); }

/* Agenda no estilo orgânico */
.agenda-item, .agenda-vazia { border-radius: 34px 26px 38px 24px / 26px 36px 24px 34px; box-shadow: var(--sombra-adesivo); }
.agenda-dia { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; }
.inscricao { border-radius: 34px 26px 38px 24px / 26px 36px 24px 34px; }

/* A foto acompanha o formato orgânico (inclusive a do topo, que deixa o selo "vazar") */
.foto img { border-radius: inherit; }

/* ===== Interatividade ===== */

/* 1. Ondas vivas: a borda ondulada desliza devagar, como barro escorrendo */
.secao--terracota::before, .secao--terracota::after, .rodape::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30C150 2 450 2 600 30S1050 58 1200 30V60H0Z'/%3E%3C/svg%3E") 0 0 / 1200px 100% repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30C150 2 450 2 600 30S1050 58 1200 30V60H0Z'/%3E%3C/svg%3E") 0 0 / 1200px 100% repeat-x;
  animation: onda 16s linear infinite;
}
.secao--terracota::after { animation-duration: 20s; animation-direction: reverse; }
.rodape::before { animation-duration: 18s; }
@keyframes onda {
  from { -webkit-mask-position: 0 0; mask-position: 0 0; }
  to   { -webkit-mask-position: 1200px 0; mask-position: 1200px 0; }
}

/* 2. Surgir ao rolar: o conteúdo sobe de leve quando aparece na tela */
.revela { opacity: 0; }
.revela.visivel { opacity: 1; animation: surgir .8s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: var(--atraso, 0s); }
@keyframes surgir { from { opacity: 0; transform: translateY(28px); } }

/* 5. WhatsApp que acena de tempos em tempos */
.wa-flutuante { animation: acenar 20s ease-in-out 6s infinite; transform-origin: 70% 90%; }
@keyframes acenar {
  0%, 7%, 100% { transform: none; }
  1% { transform: rotate(-10deg) scale(1.06); }
  2.5% { transform: rotate(9deg) scale(1.06); }
  4% { transform: rotate(-6deg) scale(1.04); }
  5.5% { transform: rotate(3deg); }
}
.wa-flutuante:hover { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .secao--terracota::before, .secao--terracota::after, .rodape::before, .wa-flutuante { animation: none; }
  .revela { opacity: 1; }
  .revela.visivel { animation: none; }
}

/* Topo da página inicial: camadas de fundo atrás do conteúdo */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }


/* ===== Fundo do topo: luz de fim de tarde, bem clarinha ===== */
.hero-fundo { position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(60% 70% at 78% 42%, rgba(240, 182, 140, .22), transparent 70%),
  radial-gradient(45% 55% at 12% 90%, rgba(232, 208, 150, .16), transparent 70%),
  linear-gradient(180deg, #F6F1E9 0%, #F7EDE4 100%); }

/* Luz que acompanha o mouse */
.hero-luz { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 176, 128, .20), rgba(232, 200, 140, .08) 45%, transparent 70%); }
.hero-luz.ativa { opacity: 1; }
/* Fundo e luz do topo terminam suavemente, sem recorte antes da onda terracota */
.hero-fundo, .hero-luz {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}

/* Topo das páginas internas recebe o mesmo fundo e a mesma luz */
.cabecalho { position: relative; overflow: hidden; }
.cabecalho > .container { position: relative; z-index: 1; }

/* ===== Fotos das ceramistas: barro vivo =====
   O contorno muda devagar, como argila sendo modelada.
   Ao passar o mouse, a foto chega mais perto e o barro "assenta". */
.foto--barro { animation: modelar 14s ease-in-out infinite; box-shadow: 0 14px 28px rgba(60, 28, 12, .18); transition: box-shadow .5s ease; }
/* a foto também "surge" ao rolar: as duas animações rodam juntas */
.foto--barro.revela.visivel { animation: surgir .8s cubic-bezier(.2, .7, .2, 1) backwards, modelar 14s ease-in-out infinite; animation-delay: var(--atraso, 0s), var(--barro, 0s); }
.cartao:nth-child(2) .foto--barro { --barro: -4.5s; animation-delay: -4.5s; }
.cartao:nth-child(3) .foto--barro { --barro: -9s; animation-delay: -9s; }
@keyframes modelar {
  0%, 100% { border-radius: 50% 50% 46% 54% / 54% 48% 52% 46%; }
  33%      { border-radius: 56% 44% 52% 48% / 46% 56% 44% 54%; }
  66%      { border-radius: 44% 56% 42% 58% / 52% 44% 56% 48%; }
}
.foto--barro img { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.cartao:hover .foto--barro { animation-play-state: paused; box-shadow: 0 18px 34px rgba(60, 28, 12, .26); }
.cartao:hover .foto--barro img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .foto--barro, .foto--barro.revela.visivel { animation: none; }
  .cartao:hover .foto--barro img { transform: none; }
}

/* ===== Faixa da Lu Moldes: identidade própria (lu-moldes/logo/identidade, versão de 30/11) =====
   Azul molde liso, selo creme com o ícone em dois tons de azul, palavra LuMoldes em creme
   e o descritor em Ubuntu Italic na terracota viva, como no topo da prancha. */
.faixa--moldes {
  --molde: #587B9C; --molde-tom2: #3E5F7E; --molde-creme: #F6F2E9; --molde-terracota: #D0643A;
  background: var(--molde); color: var(--molde-creme);
}
.faixa--moldes .faixa__icone { background: none; width: 112px; height: 112px; }
.faixa--moldes .faixa__icone img { width: 100%; height: 100%; filter: drop-shadow(0 6px 14px rgba(20, 35, 50, .28)); }
.faixa--moldes h2 { margin: .35em 0 0; line-height: 1; }
.faixa--moldes .faixa__palavra { height: clamp(34px, 4vw, 44px); width: auto; display: block; }
.faixa--moldes .faixa__descritor { font-family: "Ubuntu", var(--titulo); font-style: italic; font-weight: 500; color: var(--branco); margin: .35em 0 .6em; font-size: 1.2rem; }
.faixa--moldes p { color: var(--molde-creme); }
.faixa--moldes .selo-tag { background: var(--molde-terracota); color: var(--branco); }
.faixa--moldes .botao { background: var(--molde-terracota); color: var(--branco); }
.faixa--moldes .botao:hover { background: var(--molde-creme); color: var(--molde-tom2); }
@media (max-width: 760px) { .faixa--moldes .faixa__icone { width: 92px; height: 92px; } }

/* Padrão "calçadão" (ondas dos rolos de textura) do meio para o fim da faixa, surgindo em degradê */
.faixa--moldes { position: relative; overflow: hidden; isolation: isolate; }
.faixa--moldes::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='26'%3E%3Cpath d='M0 13Q12 1 24 13T48 13' fill='none' stroke='%23F6F2E9' stroke-width='7.5'/%3E%3C/svg%3E") 0 0 / 48px 26px repeat;
  opacity: .22;
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 45%, #000 100%);
}
@media (max-width: 760px) {
  .faixa--moldes::after { -webkit-mask-image: linear-gradient(180deg, transparent 45%, #000 100%); mask-image: linear-gradient(180deg, transparent 45%, #000 100%); }
}
