/* Ninhu Brinquedoteca · sistema visual tirado do folder (2023) */

@font-face { font-family: "Londrina Solid"; src: url("fontes/LondrinaSolid-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Londrina Solid"; src: url("fontes/LondrinaSolid-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Grandstander"; src: url("fontes/Grandstander-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Grandstander"; src: url("fontes/Grandstander-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Grandstander"; src: url("fontes/Grandstander-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Grandstander"; src: url("fontes/Grandstander-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* cores do folder */
  --coral: #F05A6C;
  --coral-escuro: #D9405A;
  --turquesa: #49A5B8;
  --turquesa-escuro: #2B7F93;   /* turquesa para texto sobre fundo claro */
  --verde: #22A37E;
  --verde-escuro: #17805F;      /* verde para texto branco pequeno */
  --menta: #70C6AD;
  --agua: #94C5BE;              /* fundo do logo novo */
  --amarelo: #FED998;
  --creme: #F8F6EF;
  --branco: #FFFFFF;
  --texto: #57585A;
  --tinta: #221F1F;

  --titulo: "Londrina Solid", "Trebuchet MS", sans-serif;
  --corpo: "Grandstander", "Trebuchet MS", system-ui, sans-serif;

  --raio: 28px;
  --raio-p: 16px;
  --sombra: 0 10px 30px rgba(34, 31, 31, .10);
  --largura: 1120px;
  --borda: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--creme); color: var(--texto);
  font-family: var(--corpo); font-size: 18px; line-height: 1.6; font-weight: 400;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--turquesa-escuro); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--titulo); font-weight: 900; line-height: 1.05; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.5rem); color: var(--coral); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); color: var(--coral); }
h3 { font-family: var(--corpo); font-weight: 700; font-size: 1.25rem; line-height: 1.25; color: var(--turquesa-escuro); }
p { text-wrap: pretty; }
strong { font-weight: 700; color: var(--tinta); }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 6px; }

.caixa { width: min(100% - 2 * var(--borda), var(--largura)); margin-inline: auto; }
.secao { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.sobre-titulo { font-weight: 700; color: var(--turquesa-escuro); font-size: 1.05rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.sobre-titulo img { width: 34px; }
.guia { font-size: 1.15rem; font-weight: 500; }
.centro { text-align: center; }
.centro .sobre-titulo { justify-content: center; }
.cabeca { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.cabeca p { margin-top: 14px; }
.ico { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--corpo); font-weight: 700; font-size: 1.19rem; line-height: 1.2; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.botao:hover { transform: translateY(-2px); }
.botao-zap { background: var(--verde-escuro); color: var(--branco); box-shadow: 0 6px 0 #0E5C44; }
.botao-zap:hover { background: #136F52; }
.botao-coral { background: var(--coral); color: var(--branco); box-shadow: 0 6px 0 var(--coral-escuro); }
.botao-claro { background: var(--branco); color: var(--verde-escuro); box-shadow: 0 6px 0 rgba(0, 0, 0, .18); }
.botao-linha { background: transparent; color: var(--turquesa-escuro); box-shadow: inset 0 0 0 3px var(--turquesa); }
.botao-p { min-height: 46px; padding: 8px 20px; box-shadow: 0 4px 0 var(--coral-escuro); }
.botoes { display: flex; flex-wrap: wrap; gap: 16px 14px; }

/* topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(248, 246, 239, .94); backdrop-filter: blur(8px); border-bottom: 2px solid rgba(112, 198, 173, .35); }
.topo .caixa { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.topo .marca img { height: 58px; width: auto; }

/* hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 0; position: relative; overflow: hidden; }
.hero .caixa { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.hero .guia { margin: 18px 0 30px; max-width: 30em; }
.hero-foto { position: relative; }
.hero-foto::before { content: ""; position: absolute; inset: -7% -9% -6% 6%; background: var(--amarelo); border-radius: 58% 42% 47% 53% / 48% 55% 45% 52%; z-index: -1; }
.hero-foto img.foto { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 46% 54% 50% 50% / 52% 44% 56% 48%; box-shadow: var(--sombra); }
.hero-foto .passaro { position: absolute; width: 22%; top: -4%; right: 10%; animation: pousar 5s ease-in-out infinite; }
.mancha { position: absolute; z-index: 0; pointer-events: none; }
.hero .mancha-coral { width: 220px; height: 200px; background: var(--coral); opacity: .12; border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; left: -90px; top: 30px; }
.nuvens { display: block; width: 100%; height: clamp(50px, 8vw, 110px); margin-top: clamp(28px, 5vw, 56px); position: relative; z-index: 1; }
.nuvens path { fill: var(--verde); }

/* faixa */
.faixa { background: var(--verde); color: var(--branco); padding: 6px 0 40px; margin-top: -1px; }
.faixa ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.faixa li { display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; font-size: 1.25rem; line-height: 1.2; text-align: left; }
.faixa .ico { width: 2em; height: 2em; }

/* quem somos */
.dupla { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.dupla .texto p + p { margin-top: 16px; }
.dupla h2 { margin-bottom: 20px; }
.retrato { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.retrato::before { content: ""; position: absolute; inset: 8% -10% -8% 10%; background: var(--menta); opacity: .55; border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%; }
.retrato::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; left: -12%; top: -6%; background: var(--coral); border-radius: 55% 45% 60% 40% / 45% 60% 40% 55%; }
.retrato img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); box-shadow: var(--sombra); }

/* diferenciais */
.especial { background: var(--branco); }
.cartoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.cartao { flex: 1 1 300px; max-width: 350px; background: var(--creme); border-radius: var(--raio); padding: 28px 26px; }
.cartao .selo { width: 64px; height: 64px; border-radius: 50% 50% 46% 54% / 54% 48% 52% 46%; display: grid; place-items: center; color: var(--branco); margin-bottom: 16px; }
.cartao .selo .ico { width: 34px; height: 34px; }
.cartao:nth-child(1) .selo { background: var(--coral); }
.cartao:nth-child(2) .selo { background: var(--verde); }
.cartao:nth-child(3) .selo { background: var(--turquesa); }
.cartao:nth-child(4) .selo { background: #E9A93C; }
.cartao:nth-child(5) .selo { background: var(--coral); }
.cartao h3 { margin-bottom: 8px; }
.cartao p { font-size: 1.02rem; }

/* galeria */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
.galeria button { all: unset; box-sizing: border-box; position: relative; cursor: zoom-in; border-radius: var(--raio-p); overflow: hidden; display: block; background: var(--menta); }
.galeria button:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.galeria button:hover img { transform: scale(1.04); }
.galeria span { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .93); color: var(--tinta); font-weight: 600; font-size: .92rem; line-height: 1.2; padding: 6px 12px; border-radius: 999px; }
.galeria .g-larga { grid-column: span 2; grid-row: span 2; }
.galeria .g-alta { grid-row: span 2; }
.galeria .g-faixa { grid-column: span 2; }

.visor { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; }
.visor::backdrop { background: rgba(34, 31, 31, .9); }
.visor .palco { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 12px 18px; gap: 12px; }
.visor img { max-width: 100%; max-height: calc(100dvh - 140px); border-radius: var(--raio-p); object-fit: contain; }
.visor p { color: var(--branco); font-weight: 600; text-align: center; }
.visor button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--branco); color: var(--tinta); cursor: pointer; display: grid; place-items: center; }
.visor .fechar { top: 12px; right: 12px; }
.visor .ant { left: 12px; top: 50%; translate: 0 -50%; }
.visor .prox { right: 12px; top: 50%; translate: 0 -50%; }

/* para quem é */
.idades { background: var(--branco); }
.pares { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.idade { border-radius: var(--raio); padding: 34px 30px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.idade .num { font-family: var(--titulo); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; }
.idade h3 { color: inherit; font-size: 1.3rem; }
.idade p { flex: 1; }
.idade-a { background: #FDEBC8; color: var(--tinta); }
.idade-a .num { color: #C2334D; }
.idade-b { background: #DDF1EC; color: var(--tinta); }
.idade-b .num { color: var(--turquesa-escuro); }
.idade .etiqueta { font-weight: 700; font-size: .95rem; background: var(--branco); padding: 4px 14px; border-radius: 999px; color: var(--tinta); }
.idade .botao { margin-top: 10px; }

/* passos */
.passos ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; z-index: 1; counter-reset: passo; }
.passos li { text-align: center; counter-increment: passo; }
.passos li::before {
  content: counter(passo); display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px;
  font-family: var(--titulo); font-weight: 900; font-size: 2.6rem; color: var(--branco); background: var(--coral);
  border-radius: 52% 48% 45% 55% / 50% 55% 45% 50%; box-shadow: 0 0 0 10px var(--creme);
}
.passos li:nth-child(2)::before { background: var(--turquesa); }
.passos li:nth-child(3)::before { background: var(--verde); }
.passos h3 { margin-bottom: 6px; font-size: 1.3rem; }
.passos .lista { position: relative; }
.passos .trilha { position: absolute; left: 12%; top: 0; width: 76%; height: 84px; z-index: 0; max-width: none; }
.passos .trilha path { fill: none; stroke: var(--menta); stroke-width: 3; stroke-dasharray: 10 10; stroke-linecap: round; }
.passos .acao { margin-top: 44px; display: flex; justify-content: center; }
.antes-frase { padding-bottom: 0; }

/* frase */
.frase { background: var(--verde); color: var(--branco); text-align: center; padding: 8px 0 clamp(56px, 8vw, 96px); margin-top: -1px; }
.frase blockquote { margin: 0 auto; max-width: 860px; font-family: var(--titulo); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.15; text-wrap: balance; }
.frase blockquote b { font-weight: 900; color: var(--amarelo); }
.frase img { width: 74px; margin: 0 auto 22px; }

/* fechamento */
.final { background: var(--amarelo); position: relative; overflow: hidden; }
.final .caixa { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.final h2 { color: var(--tinta); margin-bottom: 14px; }
.final .guia { color: var(--tinta); margin-bottom: 28px; }
.final .mancha { width: 380px; height: 340px; right: -120px; top: -110px; background: var(--coral); border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%; }
.local { background: var(--branco); border-radius: var(--raio); padding: 30px 28px; box-shadow: var(--sombra); display: grid; gap: 18px; }
.local .linha { display: flex; gap: 14px; align-items: flex-start; }
.local .linha .ico { color: var(--coral); width: 30px; height: 30px; margin-top: 2px; }
.local b { display: block; color: var(--tinta); font-weight: 700; }
.local a { font-weight: 700; }

/* rodapé */
.rodape { background: var(--verde-escuro); color: var(--branco); padding: 44px 0; text-align: center; font-size: 1rem; }
.rodape img { height: 78px; width: auto; margin: 0 auto 16px; }
.rodape .lema { font-family: var(--titulo); font-size: 1.7rem; line-height: 1.2; margin-bottom: 14px; }
.rodape a { color: var(--branco); }
.rodape p + p { margin-top: 6px; }
.rodape small { display: block; margin-top: 18px; font-size: .9rem; }

/* botão flutuante (celular) */
.flutua { display: none; }

/* página de texto (privacidade) */
.texto-pagina { max-width: 760px; }
.texto-pagina h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 20px; }
.texto-pagina h2 { font-size: 1.7rem; margin: 34px 0 10px; color: var(--turquesa-escuro); }
.texto-pagina p + p { margin-top: 12px; }

@keyframes pousar { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 900px) {
  .hero .caixa, .dupla, .final .caixa { grid-template-columns: 1fr; }
  .hero-foto { max-width: 520px; margin-inline: auto; width: 88%; }
  .faixa ul { grid-template-columns: 1fr; gap: 12px; max-width: 320px; margin-inline: auto; }
  .faixa li { justify-content: flex-start; }
  .retrato { max-width: 320px; }
  .pares { grid-template-columns: 1fr; }
  .passos ol { grid-template-columns: 1fr; gap: 34px; }
  .passos .trilha { display: none; }
  .galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; gap: 10px; }
  .galeria .g-larga { grid-row: span 1; }
  .galeria .g-faixa, .galeria .g-larga { grid-column: span 2; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .topo .caixa { min-height: 62px; }
  .topo .marca img { height: 46px; }
  .topo .botao { display: none; }
  .topo .caixa { justify-content: center; }
  .botoes .botao { width: 100%; }
  .rodape { padding-bottom: 110px; }
  .flutua {
    display: flex; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: 12px;
    box-shadow: 0 6px 0 #0E5C44, 0 12px 28px rgba(0, 0, 0, .28);
  }
}
