/* Identidade visual Encanto em Paginas — KV aprovado, novembro/2026. */
:root {
  --ink: #6b5448;
  --muted: #8c766e;
  --peach: #e1c1b1;
  --paper: #f9f0e7;
  --plum: #7b4b6b;
  --pink: #cfa4b5;
  --lav: #f0e4eb;
  --sage: #e7e7d9;
  --stroke: #ead7c8;
  --kv-coffee: #6b5448;
  --kv-rose: #cfa4b5;
  --kv-terracotta: #e1c1b1;
}

html { accent-color: var(--plum); overflow-x: clip; }
body { overflow-x: clip; }
body {
  background-color: var(--paper);
  background-image: radial-gradient(#bd967d0d .65px, transparent .65px);
  background-size: 6px 6px;
  color: var(--kv-coffee);
}

header {
  background: #f9f0e7f2;
  border-bottom: 1px solid #e7d4ca;
  box-shadow: 0 4px 18px #7655450b;
}
.brand { color: var(--kv-coffee); letter-spacing: -.5px; }
.brand small { color: #b67290; letter-spacing: 2.9px; }
.brand-mark {
  background: var(--plum);
  border-radius: 26% 35% 27% 32%;
  box-shadow: inset 0 1px 2px #ffffff40, 0 6px 12px #7b4b6b1b;
}
.brand-mark img { display: block; width: 100%; height: 100%; border-radius: inherit; }
nav a { color: var(--kv-coffee); }
nav a:hover, .kicker { color: #ac6e8c; }
.nav-cta, .button, button[type="submit"], .form-actions .button {
  background: var(--plum);
  border-radius: 999px;
  box-shadow: 0 5px 0 #653c5830, 0 12px 24px #7b4b6b1b;
}
.nav-cta:hover, .button:hover, button[type="submit"]:hover {
  background: #693d5b;
}
.hero {
  background: radial-gradient(ellipse at 86% 6%, #eac6b76b, transparent 38%),
              linear-gradient(125deg, #fff7ed 0%, #f9f0e7 58%, #f6e4e7 100%);
}
.hero h1, .section-head h2, .order-left h2, .last-call h2 {
  color: var(--kv-coffee);
  text-wrap: balance;
}
.hero h1 em { color: #a86788; }
.hero p, .section-head p, .order-left p { color: #80695e; }
.eyebrow {
  border: 1px solid #e3bfca;
  background: #fffaf4c9;
  color: #9a647e;
}
.blob { background: #e9c5cd; }
.float-tag {
  color: #885a73;
  background: #fffbf6;
  border: 1px solid #edddcf;
  transform-origin: center;
}
.step, .product, .form-card, .faq-grid details {
  border-color: var(--stroke);
  background: #fffaf5;
  box-shadow: 0 12px 30px #7455480c;
}
.section.collections { background: #f5e9e8; }
.step .num { background: #ead0db; color: #7b4b6b; }
.step:nth-child(2) .num { background: #f2e6d9; }
.step:nth-child(3) .num { background: #e9e0e6; }
.product:nth-child(1) .product-art { background: #edd7df; }
.product:nth-child(2) .product-art { background: #f0e1d9; }
.product:nth-child(3) .product-art { background: #e6d9e2; }
.price, .product h3 { color: var(--kv-coffee); }
.choose { border-color: #bb91a9; color: #7b4b6b; }
.choose:hover { background: #f4e3eb; }
.order-section { background: #f9f0e7; }
.field input, .field select, textarea {
  background: #fffbf6;
  border-color: #e6d0c5;
}
.field input:focus, .field select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid #cfa4b5;
  outline-offset: 3px;
}
.upload { background: #fcf4f0; border-color: #cfa4b5; }
.last-call {
  border: 1px solid #e6cbc8;
  background: linear-gradient(125deg, #f2e2e7, #fff5e9);
}
footer { background: #f2e3db; color: #6b5448; }

/* Traços feitos à mão: leves, sem competição com o conteúdo. */
.hero .wrap, .section-head, .last-call { position: relative; }
.section-head::after {
  content: '';
  display: block;
  width: 106px;
  height: 17px;
  margin: 12px auto 0;
  border-bottom: 2px solid #cfa4b5;
  border-radius: 0 0 65% 52%;
  transform: rotate(-3deg);
}
.step::after, .form-card::after {
  content: '✧';
  position: absolute;
  top: 13px;
  right: 17px;
  color: #d8a984;
  font-size: 19px;
  pointer-events: none;
}
.step, .form-card { position: relative; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media (max-width: 720px) {
  .brand { font-size: 19px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero h1 { letter-spacing: -1.4px; }
  .section-head::after { margin-top: 8px; }
}

/* Traços e ornamentos do KV, presentes de verdade na composição. */
.brand-mark { width: 54px; height: 54px; background: none; transform: none; border-radius: 0; overflow: hidden; flex: 0 0 54px; box-shadow: none; }
/* Arte original do KV, sem redesenhar nem inclinar o lápis. */
.brand-mark img { width: 60px; height: auto; max-width: none; border-radius: 0; transform: translate(-4px,-3px); mix-blend-mode:multiply; filter: none; flex: none; }
.footer-brand .kv-footer-mark { display:block; flex:0 0 41px; width:41px; height:41px; overflow:hidden; line-height:0; }
.footer-brand .kv-footer-mark img { display:block; width:46px; max-width:none; height:auto; transform:translate(-3px,-2px); mix-blend-mode:multiply; }
.hero { position: relative; isolation: isolate; }
.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: -100px;
  top: -75px;
  width: min(38vw, 415px);
  height: 430px;
  background: url('kv-flourish.png') center/contain no-repeat;
  opacity: .68;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.section-head .kicker::after, .order-left .kicker::after {
  content: ' ✦';
  font-size: 14px;
  color: #D9A278;
}
.last-call { overflow: hidden; isolation: isolate; }
.last-call::before {
  content:'';
  position:absolute;
  right:-40px;
  top:-56px;
  width:220px;
  height:270px;
  background:url('kv-flourish.png') center/contain no-repeat;
  opacity:.42;
  pointer-events:none;
  z-index:-1;
}
.kv-quote {
  max-width: 800px;
  margin: 74px auto 18px;
  padding: 34px clamp(24px,5vw,62px);
  text-align: center;
  color: #805D65;
  border: 1px solid #ebd2c1;
  background: #fff3e5;
  clip-path: polygon(0% 3%, 7% 1%, 16% 2%, 25% 0%, 41% 2%, 58% 0%, 75% 1%, 91% 0%, 100% 4%, 98% 23%, 100% 43%, 98% 63%, 100% 97%, 91% 100%, 77% 98%, 61% 100%, 46% 98%, 31% 100%, 17% 98%, 4% 100%, 0% 95%, 2% 72%, 0% 50%, 2% 27%);
  box-shadow: 0 15px 33px #6b544814;
}
.kv-quote .kv-book { width: 105px; height: 55px; margin: 0 auto 12px; display:block; }
.kv-quote blockquote { font: 500 clamp(25px,3vw,36px)/1.26 Caveat,cursive; margin: 0; }
.kv-quote figcaption { margin-top: 12px; color:#B87891; text-transform:uppercase; letter-spacing: .26em; font-size:10px; font-weight:700; }
footer::before {
  content:'';
  display:block;
  height:67px;
  width:min(100%,1180px);
  margin:-75px auto 23px;
  background: url('kv-divider.png') center/100% 100% no-repeat;
  pointer-events:none;
}
footer { position:relative; }
footer::before { position:absolute; top:-52px; left:50%; transform:translateX(-50%); margin:0; height:53px; }
.form-card::after { content:'✦'; font-size:22px; color:#E1B18C; }

/* O KV atravessa a narrativa: linhas de lápis, corações e estrelas como detalhes de papelaria. */
.first-books,
#como-funciona,
#colecoes,
.stories-section,
#duvidas { position: relative; isolation: isolate; overflow: clip; }
.first-books .section-head::after {
  content:'';
  display:block;
  width:min(320px,84%);
  height:76px;
  margin:16px auto 0;
  border:0;
  border-radius:0;
  background:url('kv-linha-lapis.png') center/contain no-repeat;
  transform:none;
  opacity:.84;
  pointer-events:none;
}
.first-books::after {
  content:'✦  ·  ✧';
  position:absolute;
  right:6%;
  bottom:20px;
  color:#C38F9D;
  font-size:31px;
  letter-spacing:15px;
  opacity:.65;
  pointer-events:none;
}
#como-funciona::before,
#colecoes::after,
.stories-section::after {
  content:'';
  position:absolute;
  width:235px;
  height:290px;
  background:url('kv-flourish.png') center/contain no-repeat;
  pointer-events:none;
  opacity:.37;
  z-index:0;
}
#como-funciona::before { left:-96px; top:42px; transform:rotate(18deg); }
#colecoes::after { right:-93px; bottom:4px; transform:rotate(-16deg); }
.stories-section::after { right:-112px; top:36px; opacity:.28; transform:rotate(18deg); }
.first-books > *,
#como-funciona > *,
#colecoes > *,
.stories-section > * { position:relative; z-index:1; }
#como-funciona .steps { position:relative; padding-bottom:43px; }
#como-funciona .steps::after {
  content:'';
  position:absolute;
  left:17%;
  right:17%;
  bottom:3px;
  height:35px;
  background:url('kv-divider.png') center/100% 100% no-repeat;
  opacity:.72;
  pointer-events:none;
}
#colecoes .section-head h2::after {
  content:' ♡';
  display:inline;
  font-family:'Caveat',cursive;
  color:#B87793;
  font-weight:400;
}
.stories-copy h2::after,
#duvidas .section-head h2::after {
  content:' ✧';
  font-family:'Caveat',cursive;
  color:#D9A278;
  font-weight:400;
}
.kv-quote::before,
.kv-quote::after {
  content:'✦';
  position:absolute;
  top:39%;
  left:8%;
  font-size:22px;
  color:#DCAA86;
}
.kv-quote::after { left:auto; right:8%; color:#C48EAB; font-size:18px; }
.kv-quote { position:relative; }
@media (max-width:720px) {
  .brand-mark { width:43px; height:43px; }
  .brand-mark { flex-basis:43px; }
  .brand-mark img { width:48px; transform:translate(-3px,-2px); }
  .hero::after { width:210px; height:270px; top:-40px; right:-80px; opacity:.4; }
  footer::before { top:-32px; height:33px; }
  .kv-quote { margin-top:43px; }
  .first-books .section-head::after { width:min(240px,80%); height:60px; }
  .first-books::after { font-size:20px; right:0; }
  #como-funciona::before { width:145px; left:-90px; opacity:.22; }
  #como-funciona .steps::after { left:0; right:0; }
  #colecoes::after, .stories-section::after { width:120px; right:-66px; opacity:.17; }
  .kv-quote::before { left:3%; font-size:15px; }
  .kv-quote::after { right:3%; font-size:14px; }
}

/* Refinamento final: arquivos PNG limpos e ornamentos integrados, sem rebarbas. */
.brand-mark img { width:54px; height:54px; max-width:100%; object-fit:contain; transform:none; mix-blend-mode:normal; filter:none; }
.footer-brand .kv-footer-mark img { width:41px; height:41px; max-width:100%; object-fit:contain; transform:none; mix-blend-mode:normal; }
.first-books .section-head::after {
  width:min(420px,90%);
  height:100px;
  margin:15px auto 0;
  background:url('kv-linha-lapis.png') center/contain no-repeat;
  opacity:.9;
}
/* O rabisco solto à esquerda foi removido; o desenho reaparece onde faz sentido. */
#como-funciona::before { content:none; }
.kv-memory-feature {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  align-items:center;
  gap:12px;
  width:100%;
  max-width:1090px;
  margin:76px auto 16px;
}
.kv-book-illustration {
  display:block;
  width:100%;
  max-width:480px;
  height:auto;
  margin:auto;
  filter:drop-shadow(0 7px 9px #8d657015);
}
.kv-quote {
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
  max-width:none;
  min-height:268px;
  margin:0;
  padding:65px clamp(33px,4vw,55px) 33px;
  text-align:center;
  color:#805d65;
  border:0;
  background:url('kv-papel-fita.png') center/100% 100% no-repeat;
  box-shadow:none;
  clip-path:none;
}
.kv-quote blockquote { font:500 clamp(24px,2.8vw,35px)/1.18 Caveat,cursive; margin:0; }
.kv-quote::before,.kv-quote::after { content:none; }
@media (max-width:720px) {
  .brand-mark img { width:43px; height:43px; }
  .first-books .section-head::after { width:min(330px,90%); height:75px; }
  .kv-memory-feature { grid-template-columns:1fr; gap:0; margin-top:45px; }
  .kv-book-illustration { width:min(380px,92%); margin:0 auto -12px; }
  .kv-quote { min-height:230px; padding:60px 30px 35px; }
}

/* Acabamento do livro: destaque suave, na mesma intensidade dos outros traços do KV. */
.kv-memory-feature { grid-template-columns:.9fr 1.1fr; gap:0; }
.kv-book-illustration {
  max-width:440px;
  opacity:.8;
  filter:saturate(.8) contrast(.96) drop-shadow(0 4px 7px #8d657012);
  transform:translateX(9px);
}
@media (max-width:900px) {
  .kv-memory-feature { grid-template-columns:1fr; gap:0; margin:54px auto 12px; }
  .kv-book-illustration { width:min(390px,80%); transform:none; margin:0 auto -12px; }
  .kv-quote { max-width:620px; margin:0 auto; }
}
@media (max-width:720px) {
  .kv-memory-feature { margin-top:42px; }
  .kv-book-illustration { width:min(340px,82%); margin-bottom:-12px; }
  .kv-quote { min-height:258px; padding:67px clamp(26px,7vw,44px) 37px; }
  .kv-quote blockquote { font-size:clamp(23px,6.1vw,30px); line-height:1.18; }
  .kv-quote figcaption { letter-spacing:.17em; font-size:9px; }
  .first-books .section-head::after { width:min(300px,86%); height:70px; }
}
@media (max-width:420px) {
  .brand-mark { width:40px; height:40px; flex-basis:40px; }
  .brand-mark img { width:40px; height:40px; }
  .kv-book-illustration { width:min(290px,82%); margin-bottom:-17px; }
  .kv-quote { min-height:285px; padding:78px 27px 43px; }
  .kv-quote blockquote { font-size:clamp(22px,6vw,26px); }
  .kv-quote figcaption { letter-spacing:.12em; }
  .first-books .section-head::after { width:min(275px,86%); height:65px; }
  #como-funciona .steps::after { height:26px; }
  footer::before { height:29px; top:-28px; }
}

/* Divisores discretos: proporção original do PNG, simetria e respiro. */
#como-funciona .steps::after {
  left:50%;
  right:auto;
  bottom:6px;
  width:min(480px,72%);
  height:27px;
  transform:translateX(-50%);
  background-size:contain;
  opacity:.48;
}
footer::before {
  top:-35px;
  width:min(610px,72%);
  height:34px;
  background-size:contain;
  opacity:.55;
}
@media (max-width:720px) {
  #como-funciona .steps::after {
    left:50%;
    right:auto;
    width:min(330px,84%);
    height:20px;
  }
  footer::before {
    top:-25px;
    width:min(360px,88%);
    height:24px;
  }
}
