/* Página de divulgação. Cores e botões vêm de app.css (Galaxy Blue e Sage Green). */
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.site section[id] { scroll-margin-top: 96px; }

.top { position: sticky; top: 10px; z-index: 10; display: flex; align-items: center; gap: 1rem; width: min(100% - 20px, 1180px); margin: 10px auto 0; padding: .45rem .6rem .45rem 1rem; border-radius: 999px; background: var(--vidro); border: 1px solid var(--vidro-borda); box-shadow: var(--sombra), inset 0 1px 0 var(--brilho); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); }
.brand { display: flex; }
.top nav { display: flex; gap: 1.6rem; margin-inline: auto; }
.top nav a, .foot a { color: var(--forte); text-decoration: none; font-size: .95rem; }
.top nav a:hover, .foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
.tools { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

.intro { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; padding: clamp(2.5rem, 7vw, 5rem) max(1.25rem, 50% - 560px) clamp(7rem, 13vw, 11rem); }
.intro h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); line-height: 1.1; max-width: 13ch; text-wrap: balance; }
.intro-text > p { font-size: 1.12rem; color: var(--suave); max-width: 40ch; margin-top: 1.1rem; }
.site .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 2.2rem; color: var(--suave); font-size: .88rem; }
.facts li { max-width: 15ch; line-height: 1.35; }
.facts b { display: block; font: 400 2rem/1.2 var(--titulo); color: var(--forte); }
.intro-art { position: relative; display: grid; place-items: center; min-height: 460px; }
.intro-art .orb { width: min(100%, 480px); }
.intro-art > .logo { position: relative; }
.intro-art > .logo img { width: min(58vw, 250px); }
.shore { position: absolute; inset: auto 0 -1px; width: 100%; height: clamp(60px, 9vw, 120px); }
.shore .s1 { fill: #aebea5; opacity: .6; }
.shore .s2 { fill: #324a78; }

.deep { background: #324a78; color: #fff; }
.band { width: min(100% - 2.5rem, 1080px); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.band > h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: .8rem; text-wrap: balance; }
.goals { padding-top: 1.5rem; text-align: center; }
.goals h2 { color: #fff; }
.goals > p { color: #dfe6da; max-width: 52ch; margin: 0 auto; }
.goals form { display: grid; gap: 1.8rem; justify-items: center; margin-top: 2.2rem; }
.goals fieldset { border: 0; padding: 0; min-width: 0; }
.goals legend { width: 100%; text-align: center; color: #fff; margin-bottom: .8rem; }
.goals .pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.goals .choice span { justify-content: center; background: rgb(255 255 255 / .09); border-color: rgb(255 255 255 / .3); color: #fff; transition: background-color .2s, color .2s; }
.goals .choice:hover span { background: rgb(255 255 255 / .18); }
.goals .choice input:checked + span { background: #aebea5; border-color: #aebea5; color: #16233f; font-weight: 600; }
.goals .choice input:focus-visible + span { outline-color: #fff; }
.btn.big { min-height: 56px; padding-inline: 2.2rem; font-size: 1.05rem; background: #aebea5 border-box; color: #16233f; }
.goals [data-sem-wa] { color: #dfe6da; }

/* o caminho é uma sequência, por isso numerado, ligado por uma linha */
.path { list-style: none; padding: 0; counter-reset: passo; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; position: relative; }
.path::before { content: ''; position: absolute; top: 29px; left: 30px; right: 16%; height: 1px; background: var(--salvia); }
.path li { counter-increment: passo; position: relative; }
.path li::before { content: counter(passo); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--salvia); color: #16233f; font: 1.4rem var(--titulo); margin-bottom: 1.1rem; position: relative; }
.path h3 { font: 400 1.35rem/1.25 var(--titulo); margin: 0 0 .5rem; }
.path p { color: var(--suave); max-width: 32ch; }
.fine { color: var(--suave); font-size: .88rem; margin-top: 2rem; }

.arches { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: end; margin-top: 2.2rem; text-align: center; }
.arches li { display: grid; gap: 1rem; justify-items: center; align-content: end; padding: 2rem 1.4rem 1.8rem; min-height: 230px; border-radius: 999px 999px var(--r) var(--r); background: var(--vidro); border: 1px solid var(--vidro-borda); box-shadow: var(--sombra), inset 0 1px 0 var(--brilho); }
.arches li:nth-child(2) { min-height: 260px; }
.arches li:nth-child(3) { min-height: 290px; }
.arches h3 { font: 400 2.1rem var(--titulo); margin: 0; }
.arches p { color: var(--suave); max-width: 22ch; }
.week { display: flex; gap: .35rem; }
.week i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--salvia); }
.week i.on { background: var(--forte); border-color: var(--forte); }

.portal-call { padding-block: 0; }
.portal-call .card { display: grid; justify-items: start; gap: .8rem; padding: clamp(1.6rem, 5vw, 3rem); border-radius: 120px var(--r) var(--r) var(--r); }
.portal-call h2 { margin: 0; }
.portal-call p { color: var(--suave); max-width: 52ch; }
.place { text-align: center; }
.place address { font: 400 clamp(1.2rem, 2.4vw, 1.6rem)/1.5 var(--titulo); font-style: normal; color: var(--forte); }
.place .actions { justify-content: center; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem max(1.25rem, 50% - 540px) calc(1.6rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--linha); color: var(--suave); font-size: .9rem; }

/* abertura: a logo atrás do vidro (vidro.js) */
.abertura { position: fixed; inset: 0; z-index: 50; background: var(--nevoa); transition: opacity .55s ease; }
.abertura.saindo { opacity: 0; pointer-events: none; }
.vidro { position: absolute; inset: 0; overflow: hidden; cursor: pointer; }
.vidro-tela { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.abertura .btn { position: absolute; inset: auto 0 calc(1.5rem + env(safe-area-inset-bottom)); width: max-content; margin-inline: auto; }

@media screen {
  :root[data-theme=dark] .deep, :root[data-theme=dark] .shore .s2 { background: #24365a; fill: #24365a; }
  :root[data-theme=dark] .shore .s1 { opacity: .25; }
}

@media (max-width: 820px) {
  .top { border-radius: 26px; padding: .4rem .5rem .4rem .7rem; }
  .top nav { display: none; }
  .brand .logo img { width: 52px; }
  .tools .btn { padding-inline: .7rem; font-size: .8rem; }
  .intro { grid-template-columns: 1fr; text-align: center; padding-top: 1.5rem; }
  .intro-art { order: -1; min-height: 270px; }
  .intro-art .orb { width: min(78vw, 290px); }
  .intro-art > .logo img { width: min(46vw, 170px); }
  .intro h1, .intro-text > p { margin-inline: auto; }
  .intro .actions, .facts { justify-content: center; }
  .facts { gap: 1rem; flex-wrap: nowrap; }
  .facts li { flex: 1; font-size: .8rem; }
  .facts b { font-size: 1.6rem; }
  .path, .arches { grid-template-columns: 1fr; }
  .path::before { top: 20px; bottom: 60px; left: 29px; right: auto; width: 1px; height: auto; }
  .path li { padding-left: 78px; }
  .path li::before { position: absolute; left: 0; top: 0; }
  .arches li, .arches li:nth-child(2), .arches li:nth-child(3) { min-height: 0; border-radius: 120px 120px var(--r) var(--r); padding-top: 2.4rem; }
}
