@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }

:root {
  --clay: #D97757; --clay-dark: #A64B2A; --cream: #F0EEE6; --paper: #FAF9F5; --ink: #141413;
  --muted: #5C5B55; --mustard: #E5B562; --olive: #788C5D; --olive-dark: #4F6338; --blue: #6A9BCC;
  --brick: #BF4D43; --line: #DEDBD0; --pain-bg: #F5DFDA; --idea-bg: #F6E7C8; --info-bg: #DCE6F1; --ok-bg: #E3E9D8;
  --shadow: 4px 4px 0 var(--ink); --radius: 14px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17.5px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 8vw, 58px); }
h2 { font-size: clamp(28px, 6vw, 42px); }
h3 { font-size: 22px; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 680px; margin: 0 auto; padding: 0 18px; }
section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.dark { background: var(--ink); color: var(--cream); }
.paper { background: var(--paper); }

/* Selo "guia não oficial" — sempre perto do título */
.kicker { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 99px; padding: 5px 12px; margin-bottom: 16px; }
.kicker b { color: var(--clay-dark); }
.dark .kicker { background: transparent; border-color: var(--cream); }
.dark .kicker b { color: var(--mustard); }

/* Botão: argila com texto grafite (contraste ~5,9:1) */
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 14px 22px;
  background: var(--clay); color: var(--ink); text-decoration: none; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.15;
  border: 3px solid var(--ink); border-radius: 99px; box-shadow: var(--shadow); cursor: pointer; transition: transform .08s, box-shadow .08s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn:focus-visible, .opt:focus-visible, .copy:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn.secondary { background: var(--paper); }
.risk { font-size: 14px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.dark .risk { color: #C9C6BC; }
@media (min-width: 760px) { .btn.auto { width: auto; display: inline-flex; } }

/* Cartões */
.card { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card.pain { background: var(--pain-bg); }
.card.idea { background: var(--idea-bg); }
.card.info { background: var(--info-bg); }
.card.ok { background: var(--ok-bg); }
.pill { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: 99px; padding: 3px 10px; background: var(--paper); margin-bottom: 10px; }
.pill.brick { background: var(--brick); color: var(--paper); }
.pill.mustard { background: var(--mustard); }
.pill.olive { background: var(--olive); color: var(--paper); }
.pill.clay { background: var(--clay); }
.note { font-size: 14px; color: var(--muted); font-style: italic; }
.dark .note { color: #C9C6BC; }

/* Prompt copiável */
.prompt { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 2px dashed var(--line); }
.prompt-head .pill { margin: 0; }
.prompt pre { margin: 0; padding: 16px; font-family: var(--mono); font-size: 14.5px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; }
.copy { font-family: var(--display); font-weight: 800; font-size: 15px; background: var(--mustard); color: var(--ink); border: 2px solid var(--ink);
  border-radius: 99px; padding: 8px 16px; min-height: 44px; cursor: pointer; box-shadow: 2px 2px 0 var(--ink); }
.copy:active { transform: translate(2px, 2px); box-shadow: none; }
.fill { background: #EFCF8F; border-radius: 4px; padding: 0 3px; }

/* Números da dor */
.big { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 14vw, 104px); line-height: .9; color: var(--brick); letter-spacing: -.03em; }
.big.ok { color: var(--olive-dark); }

/* Hero */
.hero { padding: 28px 0 56px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 span { color: var(--clay-dark); }
.hero .sub { font-size: 19px; }
.hero-art { position: relative; max-width: 420px; margin: 0 auto; }
.hero-art .cover { border: 3px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-2deg); }
.hero-art .pose { position: absolute; right: -12px; bottom: -20px; width: 42%; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } .hero { padding: 48px 0 72px; } }

/* Guardanapo */
.napkin { background: #FFFDF6; border: 3px solid var(--ink); border-radius: 6px 22px 8px 18px; box-shadow: var(--shadow); padding: 22px; transform: rotate(1deg);
  background-image: repeating-linear-gradient(0deg, transparent 0 31px, #EFE9DA 31px 32px); }
.napkin .hand { font-family: var(--display); font-weight: 700; font-size: 26px; }

/* Calculadora */
.calc label { display: block; font-weight: 700; margin: 0 0 6px; }
.calc select, .calc input[type=number], .calc input[type=email] { width: 100%; font: inherit; font-size: 18px; padding: 12px 14px; border: 3px solid var(--ink); border-radius: 12px; background: var(--paper); color: var(--ink); min-height: 52px; }
.calc .row { display: grid; gap: 14px; margin-bottom: 16px; }
@media (min-width: 640px) { .calc .row.two { grid-template-columns: 1fr 1fr; } }
.calc-out { margin-top: 18px; padding-top: 18px; border-top: 2px dashed var(--line); }
.calc-out[hidden] { display: none; }

/* Grade de capítulos */
.chapters { display: grid; gap: 16px; }
@media (min-width: 720px) { .chapters { grid-template-columns: 1fr 1fr; } }
.chapter { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.chapter img { width: 76px; height: 76px; object-fit: contain; }
.chapter h3 { margin: 0 0 4px; font-size: 19px; }
.chapter p { margin: 0; font-size: 15.5px; }
.chapter .dor { color: var(--brick); font-weight: 700; }
.chapter .hoje { color: var(--olive-dark); font-weight: 700; }

/* Páginas reais do ebook */
.pages { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; }
.pages figure { flex: 0 0 min(72%, 300px); margin: 0; scroll-snap-align: center; }
.pages img { border: 3px solid var(--ink); border-radius: 8px; box-shadow: var(--shadow); background: var(--cream); }
.pages figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.pages-nav { display: flex; gap: 10px; justify-content: flex-end; align-items: center; font-size: 14px; color: var(--muted); }
.pages-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); font-size: 18px; cursor: pointer; }

/* Listas */
.check { list-style: none; padding: 0; margin: 0 0 1em; }
.check li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23FAF9F5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.cross li::before { background: var(--line) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='%23141413' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.two-col { display: grid; gap: 20px; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.chips li { border: 2px solid var(--ink); border-radius: 99px; padding: 6px 14px; background: var(--paper); font-weight: 600; font-size: 15px; }

/* Antes x depois */
.ba { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 760px) { .ba { grid-template-columns: 1fr 1fr; } }
.ba .before { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--brick); }

/* Oferta */
.offer { text-align: center; }
.offer .price { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 16vw, 112px); line-height: 1; margin: 6px 0; }
.offer ul { text-align: left; max-width: 460px; margin: 18px auto; }
.seal { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; text-align: left; }
.seal .stamp { width: 92px; height: 92px; border-radius: 50%; border: 3px dashed var(--ink); background: var(--mustard); display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; text-align: center; line-height: .95; transform: rotate(-8deg); }
.seal .stamp b { font-size: 34px; display: block; }
.seal .stamp span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

/* FAQ */
details { border: 3px solid var(--ink); border-radius: var(--radius); background: var(--paper); margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 18px; font-family: var(--display); font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 18px 16px; }

/* Barra fixa */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--ink); color: var(--cream); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .2s; }
.sticky.show { transform: none; }
.sticky .p { font-family: var(--display); font-weight: 800; font-size: 20px; white-space: nowrap; }
.sticky .btn { min-height: 48px; font-size: 16px; box-shadow: 3px 3px 0 var(--cream); border-color: var(--cream); }

/* Rodapé */
footer { background: var(--ink); color: #C9C6BC; font-size: 14px; padding: 40px 0 110px; }
footer strong { color: var(--cream); }
footer a { color: var(--mustard); }

/* Utilidades */
.center { text-align: center; }
.mt { margin-top: 28px; }
.mb0 { margin-bottom: 0; }
.stack > * + * { margin-top: 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.art-left > :first-child { order: -1; } }
.split .art { max-width: 340px; margin: 0 auto; }

/* ---------- Claudio animado no topo ---------- */
.stage { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1.08; margin: 0 auto; }
.stage-blob { position: absolute; inset: 8% 2% 0 6%; border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink); }
.stage-cover { position: absolute; left: 0; bottom: 4%; width: 34%; border: 3px solid var(--ink); border-radius: 6px; box-shadow: var(--shadow); transform: rotate(-7deg); z-index: 3; }
.stage-actor { position: absolute; left: 30%; right: 6%; bottom: 0; top: 4%; z-index: 2; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.stage-actor img { position: absolute; bottom: 0; left: 50%; height: 100%; width: auto; transform: translateX(-50%); }
.pose-b { opacity: 0; }
.flash { position: absolute; left: 22%; top: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(229,181,98,.95) 0 30%, rgba(229,181,98,0) 70%); opacity: 0; pointer-events: none; }
.bubble { position: absolute; left: 0; top: 2%; z-index: 4; max-width: 58%; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px 18px 18px 4px; box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 12px; font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.15; opacity: 0; transform: scale(.8); transform-origin: 0 100%; }
.replay { position: absolute; right: 0; bottom: 0; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); font-size: 18px; cursor: pointer; opacity: .75; }
.replay:hover { opacity: 1; }

/* A sequência: cansado (0–1,4 s) → flash da lâmpada → pop para a ideia → balão */
.stage.play .pose-a { animation: fadeOut .01s linear 1.6s forwards; }
.stage.play .pose-b { animation: popIn .34s cubic-bezier(.2,.9,.3,1.3) 1.6s forwards; }
.stage.play .flash { animation: flash .7s ease-out 1.35s; }
.stage.play .bubble { animation: popIn .3s cubic-bezier(.2,.9,.3,1.3) 2.1s forwards; }
.stage.play .stage-actor { animation: slump 1.4s ease-in-out, bob 3.2s ease-in-out 2s infinite; }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-1deg); } }
@keyframes slump { 0% { transform: translateX(-14%) rotate(2deg); } 40% { transform: translateX(0) rotate(-2deg); } 70% { transform: translateY(4px) rotate(1.5deg); } 100% { transform: none; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes popIn { 0% { opacity: 0; transform: translateX(-50%) scale(.8); } 70% { opacity: 1; transform: translateX(-50%) scale(1.05); } 100% { opacity: 1; transform: translateX(-50%) scale(1); } }
.stage.play .bubble { transform-origin: 0 100%; }
@keyframes flash { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.6); } }
/* o balão usa o mesmo pop, mas sem o translateX das poses */
.stage.play .bubble { animation-name: bubblePop; }
@keyframes bubblePop { 0% { opacity: 0; transform: scale(.8); } 70% { opacity: 1; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .pose-a { display: none; } .pose-b, .bubble { opacity: 1 !important; transform: translateX(-50%) !important; }
  .bubble { transform: none !important; } .replay { display: none; }
}

/* Ilustração de seção (Claudio pequeno ao lado de um título) */
.section-head { display: grid; grid-template-columns: 1fr 110px; gap: 14px; align-items: end; }
.section-head img { width: 110px; height: 140px; object-fit: contain; object-position: bottom; }
@media (min-width: 760px) { .section-head { grid-template-columns: 1fr 150px; } .section-head img { width: 150px; height: 190px; } }
.card-icon { float: right; width: 52px; height: 52px; margin: -6px -4px 6px 10px; }
.split .art { max-width: 230px; }
@media (min-width: 860px) { .split .art { max-width: 340px; } }

/* Aviso de cookies */
.cookies { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; max-width: 560px; margin: 0 auto; background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; font-size: 15px; }
.cookies p { margin: 0 0 12px; }
.cookies-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookies .btn { min-height: 48px; font-size: 16px; }
footer .linkish { color: var(--mustard); font-size: inherit; }

/* Logo (variante mostarda, nov/2026) */
.brand { display: block; width: fit-content; margin-bottom: 18px; }
.brand img { display: block; height: 30px; width: auto; }
.brand-foot { display: block; height: 26px; width: auto; margin-bottom: 18px; }
@media (max-width: 380px) { .brand img { height: 24px; } }
