/* Guia interativo — área do responsável */

@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Lora:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap");

.page-guia {
  --guia-sky: #d7eefc;
  --guia-sky-deep: #b9e0f7;
  --guia-ink: #163a5c;
  --guia-ink-soft: #2c5a7a;
  --guia-gold: #e8b423;
  --guia-gold-deep: #c49214;
  --guia-pink: #e85a9b;
  --guia-green: #7cb342;
  --guia-note: #2f6f9a;
  background: linear-gradient(180deg, #cfeafb 0%, #eaf6ff 42%, #f7fbff 100%);
  color: var(--guia-ink);
}

.page-guia .site-header {
  padding-top: 1.25rem;
}

.page-guia .brand.brand--guia {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 6.5vw, 40px);
  letter-spacing: 0.02em;
  animation: none;
}

.page-guia .brand-onco { color: #c2186a; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 8px rgba(22, 58, 92, 0.18); }
.page-guia .brand-pedi { color: #0f4c81; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 8px rgba(22, 58, 92, 0.18); }
.page-guia .brand-play { color: #0b7ea8; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 8px rgba(22, 58, 92, 0.18); }

.page-guia .brand-tagline {
  color: var(--guia-ink-soft);
  font-weight: 700;
}

.page-guia .site-footer {
  color: var(--guia-ink-soft);
  text-shadow: none;
}

.page-guia .footer-contacts {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(74, 163, 216, 0.25);
}

.page-guia .footer-contacts-title,
.page-guia .footer-contacts a {
  color: var(--guia-ink);
}

.guia-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.guia-bokeh,
.guia-star,
.guia-cloud {
  position: absolute;
  display: block;
}

.guia-bokeh {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  filter: blur(2px);
}

.guia-star {
  width: 14px;
  height: 14px;
  background: var(--guia-gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: guia-twinkle 3.4s ease-in-out infinite;
}

.guia-cloud {
  width: 180px;
  height: 70px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 70px;
  animation: guia-cloud-drift 18s ease-in-out infinite;
}

.guia-cloud::before,
.guia-cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.guia-cloud::before { width: 70px; height: 70px; top: -28px; left: 28px; }
.guia-cloud::after { width: 90px; height: 90px; top: -40px; left: 72px; }

.guia-page {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.guia-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  min-height: min(72vh, 640px);
  padding: 1rem 0 2rem;
}

.guia-kicker {
  margin: 0 0 0.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--guia-pink);
}

.guia-hero h1 {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(3.2rem, 10vw, 6.2rem);
  line-height: 0.9;
  color: #1d6fb8;
  letter-spacing: 0.04em;
}

.guia-hero-sub {
  margin: 0.85rem 0 1rem;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  color: var(--guia-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guia-hero-lead {
  margin: 0 0 1.4rem;
  font-size: 1.02rem;
  color: var(--guia-ink-soft);
  max-width: 36rem;
}

.guia-hero-art {
  position: relative;
  justify-self: center;
  width: min(460px, 100%);
}

.guia-hero-art img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 16px 32px rgba(74, 163, 216, 0.28));
  animation: guia-float 5.5s ease-in-out infinite;
}

.guia-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffd54f, var(--guia-gold));
  color: #5a3b00;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 0 #c49214;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.guia-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #c49214;
}

.guia-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.guia-cta--ghost {
  background: #fff;
  color: #1d6fb8;
  box-shadow: 0 6px 0 rgba(74, 163, 216, 0.35);
}

.guia-cta--ghost:hover {
  box-shadow: 0 9px 0 rgba(74, 163, 216, 0.45);
}

.guia-ages {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.7rem 0.2rem;
  margin: 0 -0.2rem 1.5rem;
  background: rgba(231, 246, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74, 163, 216, 0.18);
}

.guia-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1 1 220px;
  min-width: min(100%, 220px);
  max-width: 320px;
  margin-right: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(29, 111, 184, 0.18);
}

.guia-search-icon {
  display: flex;
  color: #1d6fb8;
  flex: 0 0 auto;
}

.guia-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: var(--guia-ink);
  outline: none;
}

.guia-search input[type="search"]::placeholder {
  color: #6b8eab;
  font-weight: 600;
}

.guia-search-empty {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  color: var(--guia-ink-soft);
}

.guia-ages-label {
  flex: 0 0 auto;
  align-self: center;
  margin-left: 0.35rem;
  padding: 0.2rem 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guia-pink);
}

.guia-top-back {
  margin: 0.35rem 0 0.15rem;
}

.guia-top-back a {
  font-weight: 800;
  color: var(--guia-ink-soft);
  text-decoration: none;
}

.guia-top-back a:hover { color: #1d6fb8; }

.guia-ages a.guia-nav-back {
  background: linear-gradient(145deg, #ffd54f, var(--guia-gold));
  color: #5a3b00;
  box-shadow: 0 3px 0 #c49214;
}

.guia-ages a.guia-nav-back:hover,
.guia-ages a.guia-nav-back.is-active {
  color: #5a3b00;
  border-color: transparent;
  background: linear-gradient(145deg, #ffd54f, var(--guia-gold));
}

.guia-hub-head {
  padding: 0.8rem 0 0.2rem;
}

.guia-hub-head h1 {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(3.2rem, 10vw, 6.2rem);
  line-height: 0.9;
  color: #1d6fb8;
  letter-spacing: 0.04em;
}

.guia-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1.4rem;
  align-items: stretch;
}

.guia-hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem 1.2rem 1.45rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(74, 163, 216, 0.16);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s ease;
}

.guia-hub-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 16px 32px rgba(74, 163, 216, 0.2);
}

.guia-hub-card--gold {
  background: #ffe082;
  border-color: rgba(196, 146, 20, 0.35);
}

.guia-hub-card--gold:hover {
  background: #ffd54f;
  box-shadow: 0 16px 32px rgba(196, 146, 20, 0.28);
}

.guia-hub-card--blue {
  background: #90caf9;
  border-color: rgba(29, 111, 184, 0.28);
}

.guia-hub-card--blue:hover {
  background: #64b5f6;
  box-shadow: 0 16px 32px rgba(29, 111, 184, 0.28);
}

.guia-hub-card figure {
  width: 100%;
  margin: 0 0 0.7rem;
}

.guia-hub-card img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 260px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(74, 163, 216, 0.2));
}

.guia-hub-card h2 {
  margin: 0.2rem 0 0.5rem;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.guia-hub-card > p:not(.guia-kicker) {
  margin: 0 0 1.1rem;
  font-family: "Lora", Georgia, serif;
  color: var(--guia-ink-soft);
  line-height: 1.5;
}

.guia-hub-card .guia-cta {
  margin-top: auto;
}

.guia-hub-card--gold .guia-cta {
  background: #fff;
  color: #5a3b00;
  box-shadow: 0 6px 0 #c49214;
}

.guia-hub-card--gold .guia-cta:hover {
  box-shadow: 0 9px 0 #c49214;
}

.guia-hub-foot {
  margin-top: 1.8rem;
}

.guia-part-hero {
  align-items: center;
  margin-bottom: 0.35rem;
  padding: 0.4rem 0 1.1rem;
}

.guia-part-hero h2 {
  margin: 0 0 0.85rem;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.guia-part-hero h2 span {
  color: var(--guia-gold);
}

.guia-part-hero .guia-hero-lead {
  margin-bottom: 0;
}

.guia-grid--flip > .guia-art {
  order: -1;
}

#guiaTermosRoot .guia-grid {
  align-items: stretch;
}

#guiaTermosRoot .guia-art {
  position: sticky;
  top: 6.5rem;
  z-index: 2;
  margin: 0.2rem 0 0;
  max-width: 100%;
  align-self: start;
}

#guiaTermosRoot .guia-art img {
  max-height: 520px;
}

#guiaTermosRoot .guia-term {
  border-radius: 24px 34px 22px 32px;
  padding: 1.05rem 1.15rem 1.15rem;
}

#guiaTermosRoot .guia-term:nth-child(odd) {
  border-radius: 32px 20px 36px 24px;
}

#guiaTermosRoot .guia-term h3 {
  font-family: "Caveat", cursive;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.guia-term--green {
  background: rgba(232, 245, 233, 0.78);
  border-color: rgba(46, 125, 79, 0.22);
}
.guia-term--green h3 { color: #2e7d4f; }

.guia-term--gold {
  background: rgba(255, 248, 225, 0.82);
  border-color: rgba(196, 146, 20, 0.28);
}
.guia-term--gold h3 { color: #c49214; }

.guia-term--pink {
  background: rgba(252, 228, 236, 0.78);
  border-color: rgba(209, 75, 136, 0.22);
}
.guia-term--pink h3 { color: #d14b88; }

.guia-term--blue {
  background: rgba(227, 242, 253, 0.82);
  border-color: rgba(29, 111, 184, 0.22);
}
.guia-term--blue h3 { color: #1d6fb8; }

#guiaTermosRoot .guia-term--green:hover { background: #eef8ef; }
#guiaTermosRoot .guia-term--gold:hover { background: #fff6d8; }
#guiaTermosRoot .guia-term--pink:hover { background: #fde8f0; }
#guiaTermosRoot .guia-term--blue:hover { background: #e3f2fd; }

.guia-ages a {
  flex: 0 0 auto;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--guia-ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.guia-ages a:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 180, 35, 0.55);
}

.guia-ages a.is-active {
  background: #fff;
  color: #1d6fb8;
  border-color: var(--guia-gold);
  box-shadow: 0 4px 0 rgba(196, 146, 20, 0.25);
}

.guia-chapter {
  scroll-margin-top: 7rem;
  margin-bottom: 3.2rem;
}

.guia-chapter-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.guia-chapter-head h2 {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.guia-chapter-head h2 span {
  color: var(--guia-gold);
}

.guia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.guia-cloud-title {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.55rem 1.3rem 0.7rem;
  font-family: "Caveat", cursive;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--guia-gold-deep);
  background: #fff;
  border-radius: 40px 48px 42px 50px;
  box-shadow: 0 8px 22px rgba(74, 163, 216, 0.16);
}

.guia-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guia-list li,
.guia-tip,
.guia-quote,
.guia-thought {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(74, 163, 216, 0.16);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s ease;
}

.guia-list li {
  margin-bottom: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  color: var(--guia-ink);
}

.guia-list li:hover,
.guia-tip:hover,
.guia-quote:hover,
.guia-thought:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 28px rgba(74, 163, 216, 0.18);
  background: #fff;
}

.guia-tip {
  margin-bottom: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
}

.guia-tip h3 {
  margin: 0 0 0.35rem;
  font-family: "Lora", Georgia, serif;
  font-size: 1.05rem;
}

.guia-tip p,
.guia-quote p {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  line-height: 1.55;
}

.guia-note {
  margin-top: 0.45rem;
  color: var(--guia-note);
  font-style: italic;
}

.guia-art {
  margin: 1.1rem auto 0;
  overflow: visible;
  border-radius: 0;
  max-width: 400px;
  width: 100%;
}

.guia-art img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 480px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  filter: drop-shadow(0 10px 22px rgba(74, 163, 216, 0.2));
  transition: transform 0.5s var(--ease);
}

.guia-art:hover img {
  transform: scale(1.03);
}

.guia-art--wide {
  max-width: 520px;
}

.guia-art--wide img {
  max-height: 560px;
}

#adolescente .guia-grid {
  align-items: stretch;
}

#adolescente .guia-grid > :first-child {
  display: flex;
  flex-direction: column;
}

.guia-art--hug {
  margin: 1.25rem 0 0;
  max-width: 100%;
  position: sticky;
  top: 4.75rem;
  z-index: 2;
}

.guia-quotes {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.guia-quote {
  padding: 1rem 1.15rem;
  border-radius: 24px 32px 28px 36px;
  background: rgba(255, 255, 255, 0.88);
}

.guia-quote strong {
  color: #1d6fb8;
}

.guia-thoughts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.guia-thought {
  padding: 1.1rem 1.15rem;
  border-radius: 42px 50px 38px 48px;
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  text-align: center;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guia-thought--green { color: #2e7d4f; }
.guia-thought--gold { color: #c49214; }
.guia-thought--pink { color: #d14b88; }
.guia-thought--blue { color: #1d6fb8; }
.guia-thought--wide { grid-column: span 2; }

.guia-plane {
  position: relative;
  margin-top: 0.5rem;
}

.guia-plane::after {
  content: "✈";
  position: absolute;
  right: 8%;
  bottom: -8px;
  color: #f48fb1;
  font-size: 1.4rem;
  animation: guia-plane-fly 7s ease-in-out infinite;
}

.guia-ref {
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.guia-ref h2 {
  margin: 0 0 0.75rem;
  font-family: "Caveat", cursive;
  font-size: 2.4rem;
  color: var(--guia-gold-deep);
}

.guia-ref a {
  color: #1d6fb8;
  font-weight: 700;
  word-break: break-word;
}

.guia-back {
  display: inline-block;
  margin-top: 1.1rem;
  font-weight: 800;
  color: var(--guia-ink-soft);
  text-decoration: none;
}

.guia-back:hover { color: #1d6fb8; }

.guia-play-line {
  text-align: center;
  margin: 1.4rem 0 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  color: var(--guia-ink);
}

.guia-js .guia-list li,
.guia-js .guia-tip,
.guia-js .guia-quote,
.guia-js .guia-thought,
.guia-js .guia-art {
  opacity: 0;
  transform: translateY(22px);
}

.guia-reveal {
  animation: guia-reveal 0.7s var(--ease) forwards;
}

.guia-reveal:nth-child(2) { animation-delay: 0.08s; }
.guia-reveal:nth-child(3) { animation-delay: 0.16s; }
.guia-reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes guia-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes guia-twinkle {
  0%, 100% { opacity: 0.45; transform: scale(0.85) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(18deg); }
}

@keyframes guia-cloud-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(24px); }
}

@keyframes guia-reveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes guia-plane-fly {
  0%, 100% { transform: translate(0, 0) rotate(-12deg); }
  50% { transform: translate(-28px, -10px) rotate(8deg); }
}

@media (max-width: 860px) {
  .guia-hero,
  .guia-grid,
  .guia-thoughts,
  .guia-hub-grid {
    grid-template-columns: 1fr;
  }

  .guia-thought--wide { grid-column: auto; }

  .guia-hero { min-height: auto; text-align: center; }
  .guia-hero-lead { margin-left: auto; margin-right: auto; }
  .guia-hero-actions { justify-content: center; }
  .guia-hero-art { width: min(400px, 92vw); margin: 0 auto; }
  .guia-hero-art img { max-height: 440px; }
  .guia-art { max-width: min(360px, 92vw); }
  .guia-art img { max-height: 420px; }
  .guia-art--wide { max-width: min(440px, 94vw); }
  .guia-art--wide img { max-height: 480px; }
  .guia-art--hug {
    margin: 1.1rem auto 0;
    position: static;
  }
  .guia-grid--flip > .guia-art {
    order: 0;
  }
  #guiaTermosRoot .guia-art {
    position: static;
    margin: 1.1rem auto 0;
  }
  .guia-part-hero {
    min-height: auto;
    text-align: center;
  }
  .guia-hub-head {
    text-align: center;
  }
  .guia-hub-head .guia-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .guia-hub-card {
    align-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guia-star,
  .guia-cloud,
  .guia-hero-art img,
  .guia-plane::after,
  .guia-reveal {
    animation: none !important;
  }

  .guia-js .guia-list li,
  .guia-js .guia-tip,
  .guia-js .guia-quote,
  .guia-js .guia-thought,
  .guia-js .guia-art,
  .guia-reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .guia-list li:hover,
  .guia-tip:hover,
  .guia-quote:hover,
  .guia-thought:hover,
  .guia-art:hover img {
    transform: none;
  }

  .guia-hub-card:hover,
  .guia-hub-card--gold:hover,
  .guia-hub-card--blue:hover {
    transform: none;
  }
}
