/* Ateliê Crochetelí · cores tiradas das artes da campanha */
:root {
  --creme: #FFE5CE;
  --creme-claro: #FFEDD5;
  --papel: #FFF6EC;
  --vinho: #430E18;
  --vinho-suave: #6B2A35;
  --coral: #FF7376;
  --rosa: #F2557A;
  --oliva: #A3A52E;
  --verde: #14A38E;
  --azul: #1F6FD1;
  --amarelo: #F5B301;
  --laranja: #F26B1D;

  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --script: 'Sacramento', cursive;

  --largura: 1120px;
  --estreita: 720px;
  --respiro: clamp(4.5rem, 10vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--vinho);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; border-radius: 6px; }

h2 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
h3 { font-weight: 800; font-size: 1.25rem; line-height: 1.25; }

.manuscrito {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 .25em;
}
.manuscrito-coral { color: var(--rosa); }

/* Novelo */
.nov { width: 1.5em; height: 1.5em; flex: none; }
.nov-grande { width: 64px; height: 64px; }

/* Botão: pílula vinho igual às artes */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: .9rem 2rem;
  border-radius: 999px;
  background: var(--vinho);
  color: var(--creme-claro);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--creme-claro);
  box-shadow: 0 0 0 2px var(--vinho);
  transition: background .2s, transform .2s;
}
.botao:hover { background: #5c1522; transform: translateY(-2px); }
.botao:active { transform: translateY(0); }
.botao-pequeno { min-height: 42px; padding: .5rem 1.25rem; font-size: .8rem; }

/* Layout */
.secao { padding: var(--respiro) 1.5rem; }
.largo { max-width: var(--largura); margin: 0 auto; }
/* Colunas estreitas alinham pela mesma margem esquerda das largas */
.estreito { max-width: var(--largura); margin: 0 auto; }
.estreito > * { max-width: var(--estreita); }
.estreito > h2 { max-width: 22ch; }

/* Topo */
.topo {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--largura); margin: 0 auto; padding: 1rem 1.5rem;
}
.marca { font-family: var(--script); font-size: 2.6rem; line-height: 1; text-decoration: none; }

/* 1. Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: var(--largura);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) 1.5rem var(--respiro);
}
.hero-campanha { font-weight: 700; font-size: .95rem; color: var(--vinho-suave); margin-bottom: 1.25rem; }
.hero-manuscrito { color: var(--rosa); font-size: clamp(3rem, 6vw, 4.4rem); margin-bottom: -.1em; }
.hero-titulo {
  position: relative;
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3.1rem, 8.2vw, 6.6rem);
  line-height: .95;
  letter-spacing: -0.025em;
  padding-bottom: .32em;
  margin-bottom: 1.25rem;
}
.hero-fio {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: .3em;
  overflow: visible;
}
.hero-fio path {
  fill: none; stroke: var(--coral); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
}
.com-intro .hero-fio path { stroke-dashoffset: 1; }
.pronto .hero-fio path { animation: desenhar-fio 1.3s .15s cubic-bezier(.6, .05, .3, 1) both; }
@keyframes desenhar-fio { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.hero-sub { font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 500; line-height: 1.45; max-width: 30ch; }
.hero-apoio { color: var(--vinho-suave); max-width: 44ch; margin-bottom: 2rem; }
.selos { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.75rem; font-size: .95rem; font-weight: 700; }
.selos li { display: flex; align-items: center; gap: .5rem; }
.selos .nov { width: 1.4em; height: 1.4em; }

.hero-foto { position: relative; }
.hero-logo { display: none; }
.hero-logo img { width: 150px; margin: 0 auto; filter: drop-shadow(0 10px 12px rgba(67, 14, 24, .2)); }
.hero-logo .manuscrito { font-size: 2.7rem; margin: .1em 0 0; }
.arco {
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  background: var(--creme-claro);
  border: 6px solid var(--papel);
  box-shadow: 0 30px 60px -30px rgba(67, 14, 24, .45);
}
.arco img { width: 100%; aspect-ratio: 615 / 774; object-fit: cover; }
.nov-solto { position: absolute; filter: drop-shadow(0 8px 10px rgba(67, 14, 24, .25)); }
.n1 { width: 92px; height: 92px; left: -38px; bottom: 54px; }
.n2 { width: 70px; height: 70px; left: 30px; bottom: -22px; }
.n3 { width: 58px; height: 58px; right: -20px; bottom: 20%; }

/* 2. Imagina */
.imagina { background: var(--creme-claro); }
.quantas { margin: 0 0 1.5rem; }
.quantas li {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  padding: .6rem 0;
  border-bottom: 2px dashed rgba(255, 115, 118, .55);
}
.quantas li:last-child { border-bottom: 0; }
.destaque-365 { color: var(--rosa); margin-top: 2rem; }

/* 3. Recebe */
.itens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  margin: 1rem 0 2.5rem;
  max-width: 900px;
}
.itens li {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  font-weight: 600;
  font-size: 1.15rem;
  border-bottom: 2px dashed rgba(67, 14, 24, .18);
}
.itens .nov { width: 2.1rem; height: 2.1rem; }
.item-presente { font-weight: 800; color: var(--rosa); }

/* 4. Pilares */
.pilares { background: var(--papel); }
.pilares-grade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem 4rem;
  margin: 2.5rem 0 3rem;
}
.pilar h3 { font-size: 1.4rem; margin: 1rem 0 .6rem; max-width: 22ch; }
.pilar p { max-width: 46ch; }
.inestimavel {
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  background: var(--creme);
  border-radius: 14px;
  border-left: 4px solid var(--coral);
}

/* 5. Sem CEP */
.sem-cep-grade { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
/* Mapa-múndi de crochê em SVG (animado com GSAP em js/mapa.js) */
.sem-cep { overflow: clip; }
.mapa-croche { display: block; width: 100%; height: auto; overflow: visible; }
.mapa-croche .fio { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.mapa-croche .borda { fill: none; stroke-width: 9; stroke-dasharray: 0 8.5; stroke-linecap: round; }
.mapa-croche .continente { filter: drop-shadow(0 6px 5px rgba(67, 14, 24, .22)); }
.mapa-croche .novelo-mapa { filter: drop-shadow(0 8px 6px rgba(67, 14, 24, .22)); }
.sem-cep-texto p:not(.manuscrito) { font-size: 1.2rem; max-width: 38ch; }
.sem-cep-texto .manuscrito-coral { margin-top: 1rem; }

/* 6. Para quem */
.para-quem { background: var(--creme-claro); }
.perfis li {
  padding: 1.1rem 0 1.1rem 2.25rem;
  position: relative;
  border-bottom: 2px dashed rgba(255, 115, 118, .55);
}
.perfis li::before {
  content: "";
  position: absolute; left: 0; top: 1.55rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--coral);
  box-shadow: inset -3px -3px 0 rgba(42, 8, 16, .18);
}
.perfis li:nth-child(2)::before { background: var(--verde); }
.perfis li:nth-child(3)::before { background: var(--amarelo); }
.perfis li:nth-child(4)::before { background: var(--azul); }
.perfis li:nth-child(5)::before { background: var(--laranja); }
.fecho { font-weight: 700; font-size: 1.25rem; margin: 2rem 0; }

/* 7. Presentes */
.presentes { background: var(--coral); }
.presentes h2 { max-width: 24ch; }
.presentes-intro { font-size: 1.25rem; max-width: 44ch; }
.presentes-grade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.5rem 1.75rem;
  margin: 5rem 0 3rem;
}
.presente {
  position: relative;
  background: var(--papel);
  border-radius: 22px;
  padding: 1.9rem 1.75rem 1.25rem;
  border-top: 8px solid var(--cor);
}
/* Foto de cada curso colada como figurinha no canto do card, saindo um pouco pra fora */
.figurinha {
  position: absolute;
  top: -58px; right: -16px;
  width: 150px;
  padding: 7px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 22px -10px rgba(67, 14, 24, .5), 0 1px 2px rgba(67, 14, 24, .2);
  transform: rotate(6deg);
  transition: transform .35s cubic-bezier(.3, .7, .4, 1.4);
}
.presente:nth-child(even) .figurinha { transform: rotate(-5deg); }
.presente:hover .figurinha { transform: rotate(0deg) scale(1.05); }
.figurinha img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.presente-num, .presente h3, .presente-numeros { padding-right: 140px; }
.presente-num { font-weight: 700; font-size: .95rem; margin-bottom: .35rem; color: var(--rosa); }
.presente h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: .5rem; }
.presente-numeros { font-weight: 700; font-size: .95rem; color: var(--vinho-suave); }
.vem-com { font-size: 1rem; color: var(--vinho-suave); }

/* 8. Valor */
.recibo {
  background: var(--papel);
  border-radius: 6px;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  margin: 1rem 0 2.5rem;
  box-shadow: 0 24px 50px -30px rgba(67, 14, 24, .4);
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 22px 100%;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 22px 100%;
}
.recibo h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .75rem; }
.recibo dl { margin: 0 0 2rem; }
.recibo dl > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px dotted rgba(67, 14, 24, .35);
  font-size: 1rem;
}
.recibo dt small { display: block; font-size: .82rem; color: var(--vinho-suave); }
.recibo dd { margin: 0; font-weight: 700; white-space: nowrap; }
.recibo .subtotal { border-bottom: 0; font-weight: 800; padding-top: .9rem; }
.recibo .subtotal dd { font-weight: 800; }
.ancora { font-size: 1.2rem; }
.ancora s { text-decoration-color: var(--coral); text-decoration-thickness: 3px; font-weight: 800; white-space: nowrap; }
.promessa { font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.15; margin-top: 2rem; }

/* 9. Oferta: etiquetas penduradas num fio */
.oferta { background: var(--vinho); color: var(--creme-claro); position: relative; overflow: hidden; }
.varal { display: block; width: 100%; height: 60px; margin-bottom: -18px; }
.varal path { fill: none; stroke: var(--coral); stroke-width: 4; vector-effect: non-scaling-stroke; }
.etiquetas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
}
.etiqueta {
  position: relative;
  background: var(--creme-claro);
  color: var(--vinho);
  border-radius: 26px 26px 20px 20px;
  padding: 3.5rem 2rem 2rem;
  text-align: center;
  margin-top: 54px;
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .5);
  display: flex;
  flex-direction: column;
}
.etiqueta .botao { margin-top: auto; }
.etiqueta-a { transform: rotate(-1.5deg); }
.etiqueta-b { transform: rotate(1.5deg); }
.etiqueta::before {
  /* barbante que liga a etiqueta ao fio */
  content: "";
  position: absolute; left: 50%; top: -54px;
  width: 3px; height: 82px;
  background: var(--coral);
  transform: translateX(-50%);
  border-radius: 2px;
}
.etiqueta-furo {
  position: absolute; left: 50%; top: 22px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--vinho);
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px var(--creme);
}
.etiqueta .manuscrito { color: var(--rosa); font-size: 2.4rem; }
.etiqueta h3 { font-size: 1.1rem; text-transform: uppercase; margin-bottom: 1rem; }
.etiqueta-convite { font-size: 1rem; color: var(--vinho-suave); }
.parcelas { font-weight: 700; margin-bottom: .2rem; }
.preco { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .3rem; }
.preco span { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.preco small { font-size: .45em; vertical-align: .9em; }
.por-dia { font-size: .95rem; color: var(--vinho-suave); margin-bottom: 1.5rem; }
.etiqueta .botao { width: 100%; padding-inline: 1rem; font-size: .9rem; }
.oferta-rodape { text-align: center; margin: 3rem auto 0; font-size: .95rem; opacity: .85; max-width: 46ch; }

/* 10. Eli */
.eli-grade { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.eli-foto {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px dashed var(--coral);
  padding: 10px;
  max-width: 340px;
  position: sticky; top: 2rem;
}
.eli-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 18%; border-radius: 50%; }
.eli-texto p { max-width: 58ch; }
.assinatura { font-family: var(--script); font-size: 2.8rem; line-height: 1.1; margin-top: 1.5rem; color: var(--rosa); }
.assinatura span { display: block; font-size: .65em; color: var(--vinho); }

/* 11. FAQ */
.faq { background: var(--creme-claro); }
.perguntas details { border-bottom: 2px dashed rgba(255, 115, 118, .55); }
.perguntas summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 1.1rem;
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after {
  content: "";
  flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--coral);
  box-shadow: inset -4px -4px 0 rgba(42, 8, 16, .18);
  transition: transform .35s cubic-bezier(.3, .7, .4, 1.4), background .2s;
}
.perguntas details[open] summary::after { transform: rotate(180deg) scale(.8); background: var(--verde); }
.perguntas details p { padding: 0 2.5rem 1.25rem 0; margin: 0; color: var(--vinho-suave); }

/* 12. Final */
.final-grade { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.final .manuscrito { font-size: clamp(2.8rem, 6vw, 4.4rem); color: var(--rosa); max-width: 12ch; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.arco-porta { max-width: 330px; justify-self: center; width: 100%; }
.arco-porta img { aspect-ratio: 390 / 900; object-fit: cover; object-position: center 40%; }

/* Rodapé */
.rodape { background: var(--vinho); color: var(--creme-claro); text-align: center; padding: 3rem 1.5rem 7rem; font-size: .9rem; }
.rodape .marca { font-size: 2.6rem; margin-bottom: .5rem; }
.rodape nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 1rem; }
.rodape nav a { opacity: .8; }

/* Barra fixa no celular */
.barra-fixa {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 237, 213, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 -10px 30px -15px rgba(67, 14, 24, .35);
  transform: translateY(110%);
  transition: transform .3s ease;
  z-index: 20;
  display: none;
}
.barra-fixa .botao { width: 100%; }
.barra-fixa.visivel { transform: translateY(0); }

/* Abertura com os novelos */
.intro { display: none; }
.com-intro .intro {
  display: block;
  position: fixed; inset: 0;
  z-index: 50;
  background: var(--creme);
  transition: opacity .5s ease;
}
.com-intro body { overflow: hidden; }
.intro-palco { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-palco .fio { fill: none; stroke-width: 5; stroke-linecap: round; }
.intro-pular {
  position: absolute; right: 1.25rem; bottom: 1.25rem;
  background: none; border: 0; cursor: pointer;
  font: 600 .9rem var(--sans); color: var(--vinho-suave);
  text-decoration: underline; text-underline-offset: 3px;
}
.intro.saindo { opacity: 0; pointer-events: none; }

/* Desktop: seções de uma coluna ficam centralizadas (blocos de lista continuam alinhados à esquerda) */
@media (min-width: 861px) {
  .estreito { max-width: var(--estreita); }
  .imagina, .recebe, .pilares, .para-quem, .presentes, .valor, .faq { text-align: center; }
  :is(.imagina, .recebe, .pilares, .para-quem, .presentes, .valor, .faq) h2 { margin-inline: auto; }
  .itens, .perfis, .perguntas, .recibo, .pilares-grade, .presentes-grade { text-align: left; }
  .itens, .presentes-intro { margin-inline: auto; }
  .imagina p, .ancora, .promessa, .fecho, .presentes-intro { text-wrap: balance; }
}

/* Responsivo */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: .5rem; }
  .hero-foto { display: none; }
  .hero-logo { display: block; text-align: center; }
  .hero { gap: 1.25rem; }
  .figurinha { width: 112px; top: -50px; right: -8px; padding: 5px; border-radius: 13px; }
  .figurinha img { border-radius: 9px; }
  .presente-num, .presente h3 { padding-right: 104px; }
  .presente-numeros { padding-right: 0; }
  .presentes-grade { gap: 4rem; margin-top: 4.5rem; }
  .hero-campanha { margin-bottom: .75rem; font-size: .85rem; }
  .hero-apoio { margin-bottom: 1.5rem; font-size: 1rem; }
  .hero-texto { text-align: center; }
  .hero-sub, .hero-apoio { margin-inline: auto; text-wrap: balance; }
  .selos { justify-content: center; }
  .sem-cep-grade, .eli-grade, .final-grade { grid-template-columns: 1fr; }
  .eli-foto { position: static; max-width: 240px; }
  .pilares-grade, .presentes-grade, .itens { grid-template-columns: 1fr; }
  .pilares-grade { gap: 2.5rem; }
  .etiquetas { grid-template-columns: minmax(0, 420px); }
  .varal { display: none; }
  .etiqueta::before { top: -40px; height: 68px; }
  .etiqueta { margin-top: 40px; }
  .arco-porta { max-width: 260px; order: -1; }
  .arco-porta img { aspect-ratio: 390 / 600; }
  .barra-fixa { display: block; }
  .topo .botao-pequeno { display: none; }
  .topo { justify-content: center; }
}
/* Celular baixo (ex.: 360x740): compacta o topo pro botão principal caber na primeira tela */
@media (max-width: 860px) and (max-height: 780px) {
  .topo { padding-block: .6rem; }
  .marca { font-size: 2.2rem; }
  .hero-logo img { width: 108px; }
  .hero-logo .manuscrito { font-size: 2.2rem; }
  .hero { gap: .9rem; }
  .hero-manuscrito { font-size: 2.6rem; }
  .hero-titulo { font-size: 2.9rem; margin-bottom: 1rem; }
  .hero-sub { font-size: 1.1rem; }
  .hero-apoio { font-size: .92rem; margin-bottom: 1.1rem; }
}
@media (max-width: 480px) {
  body { font-size: 1.05rem; }
  .botao { width: 100%; padding-inline: 1.25rem; }
  .n1 { width: 70px; height: 70px; left: -20px; }
  .n2 { width: 54px; height: 54px; }
  .n3 { width: 46px; height: 46px; right: -12px; }
}

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