/* GoMapTopo — estilo das páginas da marca (início, aprender, cursos, sobre).
   As ferramentas (/cartas e /bacias) têm o próprio estilo, com as mesmas fontes. */
:root {
  --paper: #f5f3ec;
  --paper-2: #fbfaf6;
  --sand: #e9e3d3;
  --line: #ded8c8;
  --ink: #10212d;
  --ink-2: #4c5752;
  --night: #0d1b26;
  --night-2: #10212d;
  --mist: #b9cbd2;
  --clay: #c7682f;
  --clay-ink: #8a4a22;
  --clay-light: #e0894d;
  --teal: #1f7a8c;
  --aqua: #7fd0dc;
  --sun: #ffd166;
  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: Barlow, "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --f-serif: Spectral, Georgia, serif;
  --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.kicker { font-family: var(--f-mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); }
.h2 { margin: 12px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 64px; line-height: .95; }
.lead { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 440px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; padding: 15px 23px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; }
.btn svg { width: 18px; height: 18px; }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { color: #fff; filter: brightness(1.07); }
.btn-ghost { background: rgba(127,208,220,.12); color: #bfeaf1; border-color: rgba(127,208,220,.55); }
.btn-ghost:hover { color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; filter: brightness(1.25); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); padding: 9px 16px; font-size: 14px; border-radius: 999px; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* topo */
.nav { width: 100%; position: relative; z-index: 3; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 30px; letter-spacing: .01em; color: inherit; }
.logo svg { width: 38px; height: 38px; }
.nav-links { display: flex; gap: 26px; flex-wrap: wrap; margin-left: auto; align-items: center; font-size: 16px; font-weight: 500; }
.nav-links a { color: inherit; text-decoration: none; }
.nav-links a:hover { color: var(--clay-light); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav-cta { background: #eef4f6; color: var(--ink) !important; padding: 11px 18px; border-radius: 999px; font-weight: 600; }
.bar-light { color: var(--ink); border-bottom: 1px solid var(--line); }
.bar-light .nav-cta { background: var(--ink); color: #fff !important; }

/* hero */
.hero { position: relative; min-height: 780px; display: flex; flex-direction: column; overflow: hidden; background: var(--night); color: #eef4f6; --lx: 70%; --ly: 46%; }
.hero-map, .hero-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-alt { clip-path: circle(150px at var(--lx) var(--ly)); }
.hero-ring { position: absolute; left: var(--lx); top: var(--ly); width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; border: 2px solid var(--sun); box-shadow: 0 0 0 6px rgba(13,27,38,.35), 0 30px 60px -20px rgba(0,0,0,.7); pointer-events: none; }
.hero-ring span { position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%); white-space: nowrap; font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; background: var(--sun); color: var(--ink); padding: 6px 12px; border-radius: 999px; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,23,33,.94) 0%, rgba(11,23,33,.78) 34%, rgba(11,23,33,.15) 62%, rgba(11,23,33,0) 100%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 56px; width: 100%; }
.hero-copy > div { max-width: 620px; }
.hero h1 { margin: 18px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 92px; line-height: .92; letter-spacing: -.01em; }
.hero p { margin: 26px 0 0; font-size: 20px; color: #c9dbe2; max-width: 520px; }
.hero .kicker { color: #9fc3cf; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-strip { position: relative; z-index: 2; margin-top: auto; border-top: 1px solid rgba(238,244,246,.14); background: rgba(11,23,33,.62); }
.hero-strip .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; gap: 12px 32px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 13px; letter-spacing: .05em; color: #9fc3cf; }
.hero-strip .hint { margin-left: auto; color: var(--sun); }
.hero-switch { display: none; }
@media (hover: none), (max-width: 760px) {
  .hero-alt, .hero-ring, .hero-strip .hint { display: none; }
  .hero-switch { display: inline-flex; margin-left: auto; font: inherit; font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; color: var(--ink); background: var(--sun); border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
}

/* seções */
.section { padding-top: 110px; padding-bottom: 40px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tools { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.tool { min-width: 0; display: flex; flex-direction: column; text-decoration: none; border-radius: 22px; overflow: hidden; }
.tool:hover { color: inherit; transform: translateY(-2px); transition: transform .2s; }
.tool-img { position: relative; height: 360px; overflow: hidden; }
.tool-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { position: absolute; left: 20px; top: 20px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; padding: 7px 12px; border-radius: 999px; }
.tool-body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 10px; }
.tool-title { display: flex; align-items: center; gap: 12px; }
.tool-title svg { width: 34px; height: 34px; flex: none; }
.tool h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 38px; line-height: 1; }
.tool p { margin: 0; }
.tool .go { margin-top: 6px; font-weight: 600; }
.tool-cartas { flex: 7 1 520px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); }
.tool-cartas p { color: var(--ink-2); }
.tool-cartas .go { color: var(--clay); }
.tool-cartas .tag { background: var(--clay); color: #fff; }
.tool-bacias { flex: 5 1 380px; color: #eef4f6; background: #14324a; }
.tool-bacias .tool-img { background: #f3f7f7; }
.tool-bacias p { color: #c9dbe2; }
.tool-bacias .go { color: var(--aqua); }
.tool-bacias .tag { background: var(--sun); color: var(--ink); }
.soon-rule { margin-top: 44px; display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; color: #6b665a; }
.soon-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 20px; }
.soon-card { border: 1px dashed #c9c1ad; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.soon-card svg { width: 30px; height: 30px; }
.soon-card h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 26px; }
.soon-card p { margin: 0; font-size: 15px; color: #57615c; }
.soon-card .btn-line { margin-top: auto; align-self: flex-start; }

.rigor { background: var(--night-2); color: #eef4f6; margin-top: 90px; }
.rigor .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.rigor .kicker { color: var(--clay-light); }
.rigor .h2 { font-size: 60px; }
.rigor-text, .rigor-fig { flex: 1 1 440px; min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px 30px; margin-top: 40px; }
.facts h3 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 26px; }
.facts p { margin: 6px 0 0; color: var(--mist); font-size: 15px; }
.rigor-fig { margin: 0; }
.rigor-fig .card { background: #f3f7f7; border-radius: 18px; padding: 18px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.rigor-fig img { width: 100%; display: block; border-radius: 8px; }
.rigor-fig figcaption { margin-top: 18px; display: flex; gap: 28px; flex-wrap: wrap; align-items: baseline; }
.rigor-fig b { font-family: var(--f-display); font-size: 54px; color: var(--aqua); line-height: 1; }
.rigor-fig span { font-size: 16px; color: var(--mist); max-width: 360px; }

.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; margin-top: 44px; }
.post { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.post:hover h3 { color: var(--clay); }
.post-img { height: 230px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.post:hover .post-img img { transform: scale(1.03); }
.post .kicker { margin-top: 18px; font-size: 12px; letter-spacing: .12em; }
.post h3 { margin: 8px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 32px; line-height: 1.02; }
.post p { margin: 10px 0 0; font-size: 16px; color: var(--ink-2); }

.course { background: var(--sand); border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.course > div { flex: 1 1 420px; min-width: 0; }
.course .h2 { font-size: 56px; }
.course > div > p { margin: 18px 0 0; font-size: 18px; color: var(--ink-2); }
.lessons { flex: 1 1 360px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lessons li { display: flex; gap: 18px; align-items: center; background: var(--paper); border-radius: 16px; padding: 18px 20px; }
.lessons b { font-family: var(--f-display); font-weight: 700; font-size: 34px; color: #b5602c; width: 34px; flex: none; }
.lessons strong { display: block; font-size: 17px; }
.lessons span { font-size: 15px; color: #57615c; }
.signup { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.signup label.l { font-size: 14px; font-weight: 600; }
.signup .row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid #b9b19c; background: var(--paper-2); color: var(--ink); }
.signup .ok { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.signup .ok input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.signup .msg { font-size: 14px; min-height: 20px; margin: 0; }
.signup .msg[data-kind="ok"] { color: #24704a; }
.signup .msg[data-kind="err"] { color: #a3322a; }

.about { padding-top: 100px; padding-bottom: 110px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.avatar { flex: none; width: 128px; height: 128px; border-radius: 50%; background: var(--night-2); display: grid; place-items: center; }
.avatar svg { width: 70px; height: 70px; }
.about > div:last-child { flex: 1 1 520px; min-width: 0; }
.about .quote { margin: 12px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 30px; line-height: 1.35; max-width: 820px; }
.about p { color: var(--ink-2); }

.foot { background: #0b1720; color: var(--mist); }
.foot-top { padding-top: 64px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 40px 64px; }
.foot-top > div:first-child { flex: 1 1 280px; min-width: 0; }
.foot .logo { color: #eef4f6; font-size: 28px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col strong { color: #eef4f6; }
.foot a { color: var(--mist); }
.foot a:hover { color: #fff; }
.foot-bottom { padding-top: 22px; padding-bottom: 34px; border-top: 1px solid #1f3442; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* diálogo "Avise-me" */
.dlg { border: 0; border-radius: 20px; padding: 0; width: min(480px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.dlg::backdrop { background: rgba(8,18,26,.6); }
.dlg form { padding: 30px; }
.dlg h2 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 36px; line-height: 1; }
.dlg p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; }
.dlg .close { float: right; font: inherit; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink-2); }

/* páginas internas */
.page-head { padding-top: 70px; padding-bottom: 30px; }
.page-head h1 { margin: 12px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 72px; line-height: .95; }
.page-head p { margin: 18px 0 0; font-size: 19px; color: var(--ink-2); max-width: 640px; }
.article { max-width: 760px; margin: 0 auto; padding: 0 24px 90px; }
.article .meta { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: var(--clay-ink); }
.article h1 { margin: 14px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 66px; line-height: .96; }
.article .sub { font-family: var(--f-serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--ink-2); margin: 18px 0 0; }
.article .cover { margin: 36px 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.article .cover img { display: block; width: 100%; height: 420px; object-fit: cover; }
.article .body { margin-top: 36px; font-size: 19px; line-height: 1.7; }
.article .body h2 { font-family: var(--f-display); font-weight: 700; font-size: 38px; line-height: 1.05; margin: 46px 0 0; }
.article .body h3 { font-family: var(--f-display); font-weight: 700; font-size: 28px; margin: 32px 0 0; }
.article .body p, .article .body ul, .article .body ol { margin: 16px 0 0; }
.article .body li { margin-top: 6px; }
.article .body figure { margin: 30px 0 0; }
.article .body figure img { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.article .body figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.article .body blockquote { margin: 24px 0 0; padding: 16px 22px; border-radius: 14px; background: var(--sand); font-size: 17px; }
.article .body code { font-family: var(--f-mono); font-size: .88em; background: var(--sand); padding: 2px 6px; border-radius: 6px; }
.article .try { margin-top: 48px; padding: 28px; border-radius: 20px; background: var(--night-2); color: #eef4f6; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.article .try h2 { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: 32px; }
.prose { max-width: 760px; font-size: 18px; }
.prose h2 { font-family: var(--f-display); font-weight: 700; font-size: 36px; margin: 44px 0 0; }
.prose p, .prose ul { margin: 14px 0 0; }

@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-links a { display: none; }
  .menu-btn { display: inline-flex !important; }
  .hero { min-height: 640px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(11,23,33,.86) 0%, rgba(11,23,33,.72) 55%, rgba(11,23,33,.9) 100%); }
  .hero h1 { font-size: 54px; }
  .hero p { font-size: 18px; }
  .hero-copy { padding-top: 36px; }
  .h2 { font-size: 46px; }
  .rigor .h2, .course .h2 { font-size: 42px; }
  .tool-img { height: 250px; }
  .course { padding: 28px 22px; }
  .page-head h1, .article h1 { font-size: 48px; }
  .article .body { font-size: 18px; }
  .about .quote { font-size: 24px; }
}
.menu-btn { display: none; font: inherit; font-weight: 600; background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.menu-open .nav-links a { display: block !important; width: auto; padding: 6px 0; }
.menu-open .nav-links .nav-cta { padding: 11px 18px; margin-top: 6px; }
.menu-open .nav-links { width: 100%; flex-direction: column; align-items: flex-start; gap: 6px; }
