/* Estilo: aquarela cartográfica (a partir do deck "Avenida do Conhecimento", Buriti 2040). Ficha em ficha.md. */

@font-face { font-family: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-400i-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-400i-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; 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: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; 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: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-500i-latin-ext.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-500i-latin.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; 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: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; src: url("fontes/CormorantGaramond-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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: "Jost"; src: url("fontes/Jost-300-latin-ext.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("fontes/Jost-300-latin.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; 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: "Jost"; src: url("fontes/Jost-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("fontes/Jost-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Jost"; src: url("fontes/Jost-500-latin-ext.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("fontes/Jost-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; 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: "Jost"; src: url("fontes/Jost-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; src: url("fontes/Jost-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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 {
  --bg: #F2EBDF;
  --surface: #FAF6F3;
  --fg: #27302A;
  --muted: #4F5A52;
  --line: #CDC3B0;
  --accent: #B5683C;
  --accent-fg: #96512C;
  --accent-ink: #FAF6F3;
  --ok: #2C5F2D;
  --bad: #C2412B;
  --forest: #183327;
  --route: #C2412B;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-quote: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --font-ui: "Jost", "Segoe UI", sans-serif;
  --w-display: 500;
  --w-title: 600;
  --w-body: 400;
  --w-strong: 500;
  --title-tracking: -0.005em;
  --display-tracking: -0.01em;
  --lh-title: 1.02;
  --lh-body: 1.45;

  --t-label: 16px;
  --t-small: 22px;
  --t-body: 27px;
  --t-lead: 34px;
  --t-quote: 56px;
  --t-h3: 38px;
  --t-h2: 72px;
  --t-h1: 108px;
  --t-display: 220px;

  --pad-y: 150px;
  --pad-x: 150px;
  --gap: 28px;
  --radius: 2px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 900ms;

  --frame-fg: #27302A;
  --frame-muted: #7C847D;
  --frame-line: #BFB49E;
}

/* papel aplicado aqui, e não em --texture: url() dentro de variável resolve a partir do base.css */
body, .reveal-viewport, .study-slide, .panel { background-image: url("texturas/papel.jpg"); background-size: 1000px auto; }

/* moldura desenhada em todo slide */
.reveal .slides > section::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'1920'%20height%3D'1080'%3E%3Cg%20fill%3D'none'%20stroke%3D'%2327302A'%20stroke-opacity%3D'0.42'%20stroke-width%3D'1.3'%20stroke-linecap%3D'round'%3E%0A%3Cpath%20d%3D'M28%2062%20C%20600%2060%2C%201300%2064%2C%201892%2061'%2F%3E%3Cpath%20d%3D'M40%2070%20C%20700%2069%2C%201250%2071%2C%201880%2069'%20stroke-opacity%3D'0.2'%2F%3E%0A%3Cpath%20d%3D'M28%201018%20C%20640%201020%2C%201280%201016%2C%201892%201019'%2F%3E%3Cpath%20d%3D'M44%201010%20C%20700%201011%2C%201250%201009%2C%201876%201011'%20stroke-opacity%3D'0.2'%2F%3E%0A%3Cpath%20d%3D'M62%2028%20C%2060%20400%2C%2064%20700%2C%2061%201052'%2F%3E%3Cpath%20d%3D'M70%2040%20C%2069%20420%2C%2071%20700%2C%2069%201040'%20stroke-opacity%3D'0.2'%2F%3E%0A%3Cpath%20d%3D'M1858%2028%20C%201860%20400%2C%201856%20700%2C%201859%201052'%2F%3E%3Cpath%20d%3D'M1850%2044%20C%201851%20420%2C%201849%20700%2C%201851%201036'%20stroke-opacity%3D'0.2'%2F%3E%0A%3Cpath%20d%3D'M90%2040%20l-14%2014%20M104%2040%20l-28%2028%20M118%2040%20l-42%2042%20M132%2040%20l-56%2056'%20stroke-opacity%3D'0.28'%2F%3E%0A%3Cpath%20d%3D'M1830%201040%20l14%20-14%20M1816%201040%20l28%20-28%20M1802%201040%20l42%20-42%20M1788%201040%20l56%20-56'%20stroke-opacity%3D'0.28'%2F%3E%0A%3Cpath%20d%3D'M1760%2040%20l40%200%20M1770%2046%20l36%200%20M1780%2052%20l26%200'%20stroke-opacity%3D'0.25'%2F%3E%0A%3Cpath%20d%3D'M120%201032%20l60%200%20M120%201026%20l44%200'%20stroke-opacity%3D'0.25'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat; background-size: 100% 100%; pointer-events: none; }

.reveal h1, .reveal h2 { color: var(--forest); }
.reveal .s-cover h1 { font-size: 132px; font-weight: 500; }
.reveal .lead { font-family: var(--font-display); font-style: italic; font-size: 38px; color: var(--muted); }
.reveal .quote { font-style: italic; font-weight: 500; color: var(--forest); }

/* rótulo em caixa alta espaçada, na cor de argila */
.reveal .kicker { color: var(--accent-fg); letter-spacing: 0.22em; font-weight: 500; }
.reveal .kicker span { color: var(--muted); }

/* número grande "01 / 20" em serifa de argila */
.reveal .s-section .num,
.reveal .stat { color: var(--accent); font-weight: 400; }

/* figuras pintadas sobre o papel: multiplicam com a textura e ganham legenda de atlas */
.reveal figure img { border-radius: 0; mix-blend-mode: multiply; }
.reveal figcaption { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--accent-fg); }
.reveal figcaption b { font-style: normal; font-weight: 600; }

.reveal .card { background: color-mix(in srgb, var(--surface) 70%, transparent); border-color: var(--line); }
.reveal .card h3 { font-family: var(--font-title); color: var(--forest); }
.reveal .card.is-accent { background: var(--forest); border-color: var(--forest); }

/* listas com letra a, b, c na cor da rota */
.reveal .points li .ph { color: var(--route); }

.frame-title::before { background: var(--route); }
