/* =====================================================================
   v5 — final do site com explosão de cor: Planos em laranja, perguntas em
   azul céu e rodapé em azul Dino. Quadrados da marca voam do centro.
   ===================================================================== */

/* ---------- Planos: o fundo vira laranja ao entrar na tela ---------- */
#planos { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); transition: background-color .9s cubic-bezier(.2, .8, .2, 1); }
#planos.go { background: var(--dino-orange); }
#planos > .wrap { position: relative; z-index: 1; }
#planos .sec-head h2, #planos .kicker { color: var(--fossil); }
#planos .sec-head p, #planos .fine { color: rgba(35, 38, 43, .78); transition: color .9s; }
#planos .kicker::before { background: #fff; box-shadow: 12px 0 0 var(--dino-blue), 24px 0 0 var(--fossil); }
#planos .sec-head h2 { font-size: clamp(44px, 7vw, 96px); letter-spacing: -.05em; }

/* quadrados que explodem do centro */
.burst { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.burst i { position: absolute; left: 50%; top: 42%; width: var(--s); height: var(--s); background: var(--c); border-radius: 3px; opacity: 0; transform: scale(.2) rotate(0deg);
  transition: left 1.3s cubic-bezier(.16, 1, .3, 1) var(--d), top 1.3s cubic-bezier(.16, 1, .3, 1) var(--d), transform 1.3s cubic-bezier(.16, 1, .3, 1) var(--d), opacity .35s ease var(--d); }
#planos.go .burst i { left: var(--x); top: var(--y); opacity: 1; transform: scale(1) rotate(var(--r)); }

/* três blocos de cor diferentes */
#planos .plan { border-radius: 28px; box-shadow: 0 1px 0 rgba(35, 38, 43, .06), 0 30px 60px -36px rgba(35, 38, 43, .55); }
#planos .plan:not(.hl):not(.custom) { background: var(--paper); color: var(--fossil); }
#planos .plan.hl { background: var(--dino-blue); color: #fff; box-shadow: 0 30px 60px -30px rgba(35, 38, 43, .6); transform: translateY(-10px); }
#planos .plan.hl:hover { transform: translateY(-14px); box-shadow: 0 34px 64px -30px rgba(35, 38, 43, .65); }
#planos .plan.hl .tl, #planos .plan.hl .price small { color: rgba(255, 255, 255, .8); }
#planos .plan.hl .tag { background: var(--dino-orange); color: var(--fossil); }
#planos .plan.custom { background: var(--sky); color: var(--fossil); }
#planos .plan.custom .tl, #planos .plan.custom .price small { color: rgba(35, 38, 43, .75); }
#planos .plan.custom li::before { background-color: var(--fossil); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396b8e6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
#planos .glow::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .22), transparent 45%); }
.btn.ink { background: var(--fossil); color: #fff; font-weight: 500; }
.btn.ink:hover { background: #3a3e45; }
@media (max-width: 900px) {
  #planos .plans { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin: 0 auto; }
  #planos .plan.hl { transform: none; order: -1; }
  #planos .plan.hl:hover { transform: none; }
}

/* ---------- Perguntas em azul céu ---------- */
#faq { background: var(--sky); }
#faq .sec-head h2 { color: var(--fossil); }
#faq .faq details { box-shadow: inset 0 -1px 0 rgba(35, 38, 43, .18); }
#faq .faq summary { color: var(--fossil); }
#faq .faq summary::after { color: var(--fossil); }
#faq .faq details p { color: rgba(35, 38, 43, .82); }

/* ---------- Rodapé em azul Dino ---------- */
footer { background: var(--dino-blue); color: rgba(255, 255, 255, .8); }
footer .cols { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .2); }
footer .cols h5 { color: #fff; }
footer .cols a, footer a { color: rgba(255, 255, 255, .8); }
footer .cols a:hover { color: #fff; }
footer .cols p, footer .legal { color: rgba(255, 255, 255, .72); }
footer img { height: 28px; }

@media (prefers-reduced-motion: reduce) {
  #planos { transition: none; }
  .burst i { transition: none; }
}
@media (max-width: 760px) {
  .burst i { width: calc(var(--s) * .55); height: calc(var(--s) * .55); }
  .burst i.tb { display: none; }
}

/* ---------- carrossel infinito de posts ---------- */
.marquee { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; padding: 12px 0 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 70s linear infinite; }
.marquee-track .dup { display: contents; }
.marquee img { width: 300px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; flex: none; box-shadow: 0 26px 50px -30px rgba(35, 38, 43, .5); transition: transform .4s var(--spring); }
.marquee img:hover { transform: translateY(-6px) scale(1.02); }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 11px)); } }
@media (max-width: 760px) { .marquee img { width: 220px; border-radius: 16px; } .marquee-track { gap: 14px; animation-duration: 55s; } @keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; padding: 0 24px; }
  .marquee-track .dup { display: none; }
  .marquee img { scroll-snap-align: start; }
}

/* a faixa usa 100vw; isto evita a barra de rolagem lateral no Windows */
html, body { overflow-x: clip; }

/* ---------- topo limpo: só a proposta ---------- */
.hero.hero-simple .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 120px 0 128px; }
.hero.hero-simple h1 { font-size: clamp(48px, 8.2vw, 112px); line-height: .98; letter-spacing: -.05em; grid-row: auto; }
.hero.hero-simple p.lead { margin: 30px auto 0; max-width: 640px; font-size: clamp(19px, 1.7vw, 23px); }
.hero.hero-simple .actions { justify-content: center; margin-top: 40px; }
.hero.hero-simple .assure { margin-top: 22px; font-size: 14px; color: #6e6e73; }
.br-d { display: inline; }
@media (max-width: 760px) {
  .br-d { display: none; }
  .hero.hero-simple .wrap { align-items: flex-start; text-align: left; padding: 56px 0 72px; }
  .hero.hero-simple p.lead { margin-left: 0; }
  .hero.hero-simple .actions { justify-content: flex-start; }
  .hero.hero-simple h1 { font-size: clamp(46px, 13vw, 64px); }
}

/* ---------- assinatura: o banner no fim, tocando uma vez ---------- */
.signature { background: var(--paper); padding: 96px 0 88px; }
.signature .art { max-width: 980px; margin: 0 auto; }
@media (max-width: 760px) {
  .signature { padding: 56px 0; }
  .signature .art { overflow: hidden; }
  .signature .pixels { width: 165%; margin-left: -65%; }
}

/* ---------- carrossel logo abaixo do topo ---------- */
.strip { background: var(--paper); padding: 0 0 104px; }
.hero.hero-simple .wrap { padding-bottom: 72px; }
@media (max-width: 760px) { .strip { padding-bottom: 64px; } .hero.hero-simple .wrap { padding-bottom: 48px; } }

/* ---------- fundo: azul Dino no alto, cores reais da foto embaixo ---------- */
.niche-bg::after { background: linear-gradient(180deg, rgba(47, 90, 147, .95) 0%, rgba(47, 90, 147, .8) 26%, rgba(47, 90, 147, .28) 58%, rgba(18, 22, 28, .5) 100%); }
@media (max-width: 900px) { .niche-bg::after { background: linear-gradient(180deg, rgba(47, 90, 147, .96) 0%, rgba(47, 90, 147, .82) 22%, rgba(47, 90, 147, .3) 50%, rgba(18, 22, 28, .55) 100%); } }
/* o texto sobre a foto ganha uma base escura translúcida para continuar legível */
.tour-steps button { background: rgba(18, 22, 28, .34); }
.tour-steps button:hover { background: rgba(18, 22, 28, .46); }
.tour-steps button[aria-selected="true"] { background: rgba(18, 22, 28, .62); }
.tour-topics { background: rgba(18, 22, 28, .45); border-radius: 20px; padding: 20px 24px; }
@media (max-width: 900px) {
  .tour-steps { background: rgba(18, 22, 28, .45); }
  .tour-steps button { background: transparent; }
  .tour-steps button[aria-selected="true"] { background: #fff; color: var(--dino-blue); }
  .tour-caption { background: rgba(18, 22, 28, .5); border-radius: 16px; padding: 12px 16px; }
}

/* ---------- perguntas para tocar e conversar com o celular ---------- */
.ask { display: grid; gap: 10px; justify-items: center; max-width: 340px; text-align: center; }
.ask > span { font-size: 14px; color: #fff; font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ask-chips button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: var(--fossil); font: 500 15px var(--font); cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transition: transform .2s var(--spring), opacity .2s; }
.ask-chips button:hover { transform: translateY(-2px); }
.ask-chips button:disabled { opacity: .45; cursor: default; transform: none; }
@media (max-width: 900px) { .tour-stage .ask { order: 0; } }

/* ---------- pitch: o funcionário que não pede atestado ---------- */
.limits.pitch .limit h4::before { background: var(--dino-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323262b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.limits.pitch .limit h4 { font-size: 21px; }

@media (min-width: 761px) { .hero.hero-simple .wrap { padding-top: 64px; } .hero.hero-simple p.lead { margin-top: 24px; } .hero.hero-simple .actions { margin-top: 32px; } }

/* topo centralizado: a regra antiga (.hero .wrap > div:first-child em grade) não vale aqui */
.hero.hero-simple .wrap > .hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero.hero-simple .wrap > .hero-copy h1 { grid-row: auto; }
@media (max-width: 760px) { .hero.hero-simple .wrap > .hero-copy { align-items: flex-start; } }

/* ---------- "Você pede": sinal laranja chamando o toque ---------- */
.tour-steps button.hint { position: relative; }
.tour-steps button.hint::after { content: ""; position: absolute; top: 12px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--dino-orange); box-shadow: 0 0 0 0 rgba(255, 140, 0, .7); animation: hint-pulse 1.8s ease-out infinite; }
@keyframes hint-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 140, 0, .7); } 70% { box-shadow: 0 0 0 12px rgba(255, 140, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 140, 0, 0); } }
@media (max-width: 900px) { .tour-steps button.hint::after { top: 6px; right: 8px; width: 8px; height: 8px; } }
@media (prefers-reduced-motion: reduce) { .tour-steps button.hint::after { animation: none; } }
.hero.hero-simple p.lead { text-wrap: balance; }

/* ---------- a palavra que chama cada nicho ---------- */
.rot { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; height: 1.4em; transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.rot-w { display: inline-block; color: var(--dino-orange); font-weight: 600; transition: transform .26s ease, opacity .26s ease; }
.rot-w.out { transform: translateY(-70%); opacity: 0; }
.rot-w.in { transform: translateY(70%); opacity: 0; transition: none; }
.rot.done .rot-w { color: var(--fossil); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.br-m { display: none; }
@media (max-width: 760px) { .br-m { display: inline; } }
@media (min-width: 761px) { .hero.hero-simple p.lead { max-width: 720px; } }

/* ---------- Instagram: o que o Lino fez com o pedido ---------- */
.ba2 { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr) minmax(0, 380px); gap: 48px; align-items: center; max-width: 1080px; margin: 8px auto 72px; }
.ba2 figure { margin: 0; display: grid; gap: 14px; }
.ba2 figcaption, .ba2-mid .cap { display: flex; align-items: center; gap: 10px; font: 600 17px var(--font); color: var(--fossil); margin: 0; }
.ba2 .n { width: 28px; height: 28px; border-radius: 8px; background: var(--fossil); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.ba2-mid .cap .n { background: var(--dino-orange); color: var(--fossil); }
.ba2-mid { display: grid; gap: 18px; }
.did { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.did li { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 16px; font-size: 15.5px; line-height: 1.35; color: #4a4d52; box-shadow: 0 1px 2px rgba(35, 38, 43, .06); }
.did li b { color: var(--fossil); font-weight: 600; }
.did i, .pin { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--dino-orange); color: var(--fossil); display: grid; place-items: center; font: 700 13px var(--font); flex: none; }
.ig { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -36px rgba(35, 38, 43, .5); }
.ig-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ig-head .av { width: 30px; height: 30px; border-radius: 50%; background: #b4532a; color: #fff; display: grid; place-items: center; font: 600 13px var(--font); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--dino-orange); }
.ig-head b { font-size: 14px; color: #111; }
.ig-head small { margin-left: auto; font-size: 12px; color: #8e8e93; }
.ig-img { position: relative; }
.ig-img img { width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; }
.ig-img .pin { position: absolute; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 6px 14px rgba(0, 0, 0, .35); }
.ig-act { display: flex; gap: 14px; padding: 12px 14px 4px; }
.ig-act svg { width: 24px; height: 24px; fill: none; stroke: #111; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.ig-cap { padding: 4px 14px 16px; font-size: 14px; line-height: 1.45; color: #262626; text-wrap: pretty; }
.ig-cap b { margin-right: 4px; }
.ig-cap .pin.in { display: inline-grid; width: 20px; height: 20px; font-size: 11px; margin-right: 6px; vertical-align: -4px; }
@media (max-width: 980px) {
  .ba2 { grid-template-columns: minmax(0, 1fr); max-width: 420px; gap: 32px; }
  .ba2 .ba-bubble { max-width: 260px; }
}
.ts:empty { display: none; }
.ts { margin: 4px 0 8px; min-height: 65px; }
