:root {
  --azul: #0f2a45; --azul2: #1d4268; --laranja: #e2580f; --laranja-escuro: #b9440a; --claro: #f4f6f9;
  --lado: clamp(16px, 5vw, 112px);
  --topo: 5rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topo); font-size: clamp(1rem, 0.35vw + 0.78rem, 1.4rem); }
body { font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--azul); background: #fff; overflow-x: hidden; }
.miolo { max-width: 1900px; margin: 0 auto; padding: clamp(56px, 7vw, 128px) var(--lado); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 1.5rem; text-align: center; }
a:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; }

.topo { position: sticky; top: 0; z-index: 10; min-height: var(--topo); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding: 10px var(--lado); background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid #e6eaf0; }
.marca { display: flex; align-items: center; gap: 10px; }
.marca img { width: 3rem; height: auto; }
.marca .nome { width: clamp(150px, 13vw, 250px); }
nav { display: flex; gap: 2rem; }
nav a { color: var(--azul2); text-decoration: none; font-weight: 600; background: linear-gradient(var(--laranja), var(--laranja)) left bottom / 0 2px no-repeat; transition: background-size .25s; }
nav a:hover, nav a:focus-visible { background-size: 100% 2px; }

.abertura {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 5vw, 96px);
  min-height: calc(100vh - var(--topo)); padding: clamp(40px, 5vw, 96px) var(--lado);
  background-color: #fff;
  background-image:
    radial-gradient(circle at 80% 45%, rgba(29,66,104,.12), transparent 45%),
    linear-gradient(rgba(29,66,104,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,66,104,.07) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}
.texto > * { animation: subir .8s cubic-bezier(.2,.7,.2,1) both; }
.texto > :nth-child(2) { animation-delay: .1s; }
.texto > :nth-child(3) { animation-delay: .2s; }
.texto > :nth-child(4) { animation-delay: .3s; }
.selo { display: inline-block; border: 1px solid #cfd8e3; background: #fff; border-radius: 99px; padding: 4px 14px; font-size: .85rem; font-weight: 600; color: var(--azul2); margin-bottom: 1.5rem; text-decoration: none; transition: border-color .2s; }
.selo:hover { border-color: var(--laranja); }
.selo strong, .selo span { color: var(--laranja-escuro); }
footer a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
footer a:hover { color: #ff8a4c; }
h1 { font-size: clamp(2.2rem, 4.6vw, 5.4rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--laranja); }
.apoio { font-size: clamp(1.05rem, 1.4vw, 1.45rem); max-width: 36ch; margin-top: 1.5rem; color: var(--azul2); }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.link { color: var(--azul); font-weight: 600; }

.botao { display: inline-flex; align-items: center; gap: .6rem; background: var(--laranja-escuro); color: #fff; padding: .9rem 1.7rem; border-radius: 10px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px -10px rgba(185,68,10,.8); transition: transform .2s, box-shadow .2s; }
.botao:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -12px rgba(185,68,10,.85); }
.botao span { transition: transform .2s; }
.botao:hover span { transform: translateX(4px); }
.botao.grande { font-size: 1.15rem; padding: 1.1rem 2.2rem; }

.cena { display: flex; justify-content: center; }
.cena svg { width: min(100%, 68vh); height: auto; overflow: visible; }
.sombra { fill: rgba(15,42,69,.14); animation: sombra 6s ease-in-out 3s infinite; transform-box: fill-box; transform-origin: center; }
.flutua { animation: flutuar 6s ease-in-out 3s infinite; }
.dobra { transform-box: fill-box; transform-origin: left center; animation: abrir .6s cubic-bezier(.2,.8,.2,1) both; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .36s; }
.trajeto path { animation: surgir .3s ease-out both; animation-delay: calc(.9s + var(--i) * .13s); }
.marcador { animation: cair .8s cubic-bezier(.3,.7,.3,1) 2.1s both; }
.onda { fill: none; stroke: var(--laranja); stroke-width: 8; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulsar 3s ease-out 2.8s infinite; }

.temas { background: var(--azul); color: #fff; }
.temas ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 32px); margin-top: 3rem; }
.temas li { position: relative; overflow: hidden; background: var(--azul2); border-radius: 16px; padding: clamp(24px, 2.2vw, 44px); }
.temas li::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--laranja); transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
.temas li:hover::before { transform: scaleX(1); }
.temas svg { width: 2.8rem; height: 2.8rem; fill: none; stroke: #ff8a4c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.5rem; }
.temas h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.temas p { color: #d5dfeb; }

.comunidade { background: var(--claro); text-align: center; }
.intro { max-width: 56ch; margin: 0 auto; font-size: 1.1rem; }
.rota { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 3.5rem 0; }
.rota::before { content: ""; position: absolute; top: calc(1.75rem - 3px); left: 16.66%; right: 16.66%; height: 6px; background: repeating-linear-gradient(90deg, var(--azul2) 0 12px, transparent 12px 26px); }
.rota li { position: relative; padding: 0 8px; }
.ponto { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--azul); color: #fff; font-size: 1.3rem; font-weight: 800; box-shadow: 0 0 0 8px var(--claro); }
.rota li:last-child .ponto { background: var(--laranja-escuro); }
.rota h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.rota p { max-width: 30ch; margin: 0 auto; }
.nota { max-width: 60ch; margin: 1.2rem auto 0; font-size: .85rem; color: var(--azul2); }

footer { background: var(--azul); color: #fff; text-align: center; font-size: .9rem; }
footer .miolo { padding-top: 40px; padding-bottom: 40px; }

/* Aparição ao rolar: só quando há JavaScript, para nada ficar escondido sem ele */
.js .revelar { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * .12s); }
.js .revelar.visivel { opacity: 1; transform: none; }
.js .rota::before { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s ease .3s; }
.js .rota.visivel::before { clip-path: inset(0 0 0 0); }
.js .rota.visivel .ponto { animation: saltar .5s ease both; animation-delay: calc(.3s + var(--i) * .6s); }

@keyframes subir { from { opacity: 0; transform: translateY(24px); } }
@keyframes abrir { from { opacity: 0; transform: scaleX(0); } }
@keyframes surgir { from { opacity: 0; } }
@keyframes cair { 0% { opacity: 0; transform: translateY(-260px); } 60% { opacity: 1; transform: translateY(0); } 78% { transform: translateY(-36px); } 100% { transform: translateY(0); } }
@keyframes pulsar { 0% { opacity: .9; transform: scale(.3); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes flutuar { 50% { transform: translateY(-22px); } }
@keyframes sombra { 50% { transform: scaleX(.92); opacity: .7; } }
@keyframes saltar { 50% { transform: scale(1.18); } }

@media (max-width: 1100px) {
  .temas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  :root { --topo: 4rem; }
  .topo { gap: 8px 10px; padding-left: 14px; padding-right: 14px; }
  .marca { gap: 6px; }
  .marca img { width: 2.2rem; }
  .marca .nome { width: 132px; }
  nav { gap: 1rem; font-size: .85rem; }
  .abertura { grid-template-columns: minmax(0, 1fr); gap: 24px; min-height: 0; padding-top: 28px; text-align: center; }
  .cena { order: -1; }
  .cena svg { width: min(52%, 320px); }
  .selo { margin-bottom: 1rem; }
  h1 { font-size: clamp(1.9rem, 7.5vw, 3.4rem); }
  .apoio { margin: 1rem auto 0; }
  .acoes { justify-content: center; gap: 1rem; margin-top: 1.5rem; }
  .rota { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rota::before { display: none; }
}
@media (max-width: 560px) {
  .temas ul { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revelar { opacity: 1; transform: none; }
  .js .rota::before { clip-path: none; }
}
@media print {
  .js .revelar { opacity: 1; transform: none; }
}
