/* Ten In Pic — página de lápis de cor (/pt-br/lapis e /en/pencils).
   Tipografia e tokens iguais à landing v5 (Fraunces + Source Sans 3, OFL). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/sourcesans3-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("fonts/sourcesans3-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/sourcesans3-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/sourcesans3-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f3eee6;
  --ink: #1c1915;
  --muted: #5c564c;
  --line: rgba(28, 25, 21, 0.16);
  --line-strong: rgba(28, 25, 21, 0.28);
  --accent: #b5442c;
  --accent-hover: #93361f;
  --on-accent: #fffaf6;
  --max: 38rem;
  --wide: 56rem;
  --pad: 1.25rem;
  /* Paleta extraída da metade colorida da capa + ficha oficial Flor Azul */
  --sky-pink: #eda6ac;
  --sky-peach: #f0b6ae;
  --sky-gold: #f6cb98;
  --hill: #86918d;
  --teepee: #e5be85;
  --grass: #648c67;
  --petal: #7eb8d9;
  --petal-deep: #5a9ec4;
  --cape: #3a4a73;
  --skin: #d19a6c;
  --sand: #e8c99b;
  --terra: #d4653a;
  --shawl: #7a4a2e;
  --title-teal: #1c6474;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--accent-hover); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: -100px;
  z-index: 10;
  padding: 0.4rem 0.7rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}
.skip:focus { top: var(--pad); }

.wrap {
  width: min(var(--wide), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}
.wrap-narrow { width: min(var(--max), 100%); }
.wrap.wrap-narrow {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
}

.draft-banner {
  background: #1c1915;
  color: #fffaf6;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.65rem var(--pad);
  text-align: center;
}
.draft-banner strong { font-weight: 700; }

.site-header {
  padding: 1.35rem 0 1.15rem;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: inherit; }
.mark { width: 2.35rem; height: 2.35rem; flex: 0 0 auto; }
.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.wordmark em { font-style: italic; font-weight: 500; padding-inline: 0.08em; }

.lang {
  display: flex;
  align-items: baseline;
  gap: 0.15rem 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lang a,
.lang span {
  color: #3f3a34;
  text-decoration: none;
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
}
.lang a:hover {
  color: var(--ink);
  border-bottom-color: var(--line-strong);
}
.lang [aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
  cursor: default;
}

/* Alvo de toque confortável no seletor de idioma (telemóvel). */
@media (max-width: 719px) {
  .lang {
    align-items: center;
    gap: 0.25rem;
  }
  .lang li { display: flex; }
  .lang a,
  .lang span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
  }
}

.hero { padding: 2.5rem 0 1.75rem; }
@media (min-width: 720px) {
  .hero { padding: 3.5rem 0 2.25rem; }
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hero h1 em { font-style: italic; font-weight: 500; }
.lead {
  margin: 0 0 1.15rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.intro { margin: 0; max-width: 38rem; }

.disclosure {
  margin: 1.5rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(28, 25, 21, 0.04);
  font-size: 1rem;
  color: var(--ink);
}
.disclosure p { margin: 0; }
.disclosure p + p { margin-top: 0.45rem; }

.qr-note {
  margin: 1.1rem 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.4;
}
.qr-note code {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95em;
}

.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .section { padding: 3.15rem 0; }
}
.section h2 {
  margin: 0 0 1.1rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.section h3 {
  margin: 1.5rem 0 0.45rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.section p { margin: 0 0 1rem; }
.section p:last-child { margin-bottom: 0; }
.section ul, .section ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.section li { margin: 0 0 0.4rem; }
.section li:last-child { margin-bottom: 0; }

.note {
  margin: 0 0 1.25rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.35;
}

.cover-fig {
  margin: 0 0 1.4rem;
}
.cover-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--line);
  background: #e4d3b8;
}
.cover-fig figcaption {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.palette {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.7rem;
  margin: 1.2rem 0 1.4rem;
  padding: 0;
  list-style: none;
}
.swatch {
  margin: 0;
  padding: 0;
}
.swatch i {
  display: block;
  height: 3.1rem;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--line);
}
.swatch b {
  display: block;
  margin: 0.4rem 0 0.05rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}
.swatch span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.scenes { display: grid; gap: 0.25rem; }
.scene {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.scene:last-child { border-bottom: 1px solid var(--line); }
.scene h3 { margin-top: 0; }
.scene .page {
  display: inline-block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ages {
  display: grid;
  gap: 1rem;
  margin: 1.1rem 0 0;
}
@media (min-width: 720px) {
  .ages { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.age {
  padding: 1rem 1.05rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 250, 246, 0.45);
}
.age h3 { margin: 0 0 0.4rem; }
.age p { margin: 0; color: var(--ink); }

.products {
  display: grid;
  gap: 1.15rem;
  margin: 1.25rem 0 0;
}
@media (min-width: 720px) {
  .products { grid-template-columns: 1fr 1fr; }
}
.product {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #fffaf6;
}
.product h3 { margin: 0 0 0.4rem; }
.product p { margin: 0 0 0.75rem; }
.product p:last-of-type { margin-bottom: 1rem; }
.meta {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.meta code {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.95em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: auto;
  align-self: flex-start;
  padding: 0.7rem 1.15rem 0.72rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 2px;
}
.btn:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.site-footer {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer p { margin: 0 0 0.7rem; max-width: 40rem; }
.site-footer p:last-child { margin-bottom: 0; }

@media (max-width: 479px) {
  :root { --pad: 1.1rem; }
  body { font-size: 1.0625rem; }
  .wordmark { font-size: 1.05rem; }
}
