/* Anota Hora — site institucional. Laranja da logo, tinta preta, fundo creme. */
:root {
  --orange: #ff6a00;
  --orange-2: #ff8a3d;
  --orange-soft: #fff0e5;
  --ink: #111111;
  --ink-2: #3d3d3d;
  --muted: #6b6b6b;
  --line: #efe5dc;
  --bg: #fffaf5;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(17, 17, 17, 0.25), 0 8px 18px -10px rgba(17, 17, 17, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { line-height: 1.6; }
.hl { color: var(--orange); }

/* Barra de progresso da rolagem */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), #ffb27a); }

/* Navegação */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(255, 250, 245, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, padding 0.3s;
}
.nav.scrolled { border-color: var(--line); padding-top: 10px; padding-bottom: 10px; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.menu a { position: relative; }
.menu a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.menu a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; }
.burger span { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform 0.3s; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s;
  will-change: transform;
}
.btn.big { padding: 16px 28px; font-size: 16px; }
.btn.primary { background: var(--orange); color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 106, 0, 0.7); }
.btn.primary:hover { background: #f05f00; box-shadow: 0 18px 40px -12px rgba(255, 106, 0, 0.8); }
.btn.ghost { border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.outline-light { border: 1.5px solid rgba(255, 255, 255, 0.7); color: #fff; }
.btn.outline-light:hover { background: #fff; color: var(--ink); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero */
.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  min-height: calc(100vh - 74px); padding: 40px clamp(16px, 5vw, 72px) 80px; overflow: hidden;
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; z-index: 0; animation: float 14s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: #ffc39a; top: -140px; right: -80px; }
.b2 { width: 420px; height: 420px; background: #ffe2cc; bottom: -160px; left: -120px; animation-delay: -6s; }
.grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  opacity: 0.6;
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: 0 6px 20px -12px rgba(0,0,0,0.2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,106,0,.6); animation: pulse 1.8s infinite; }
h1 { font-size: clamp(40px, 6.2vw, 78px); font-weight: 800; }
.rotator { display: block; color: var(--orange); min-height: 1.1em; }
.rotator .word { display: inline-block; animation: wordIn 0.6s var(--ease); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 560px; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust li::before { content: '✓'; color: var(--orange); margin-right: 6px; font-weight: 800; }

.hero-visual { height: 520px; }
.mascot { position: absolute; z-index: 3; width: 132px; height: auto; top: -62px; right: 3%; animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 18px 20px rgba(0,0,0,.18)); }
.app-card {
  position: absolute; top: 104px; left: 2%; right: 9%;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 18px; transform-style: preserve-3d; animation: rise 1s var(--ease) both;
}
.app-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 700; font-size: 14px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ffd2b3; }
.dots i:first-child { background: var(--orange); }
.app-title { flex: 1; color: var(--ink-2); }
.clock { font-variant-numeric: tabular-nums; background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.mini-grid { display: grid; grid-template-columns: 92px repeat(7, 1fr); gap: 5px; font-size: 12px; }
.mini-grid .h { font-weight: 700; color: var(--muted); text-align: center; padding: 4px 0; }
.mini-grid .name { font-weight: 600; padding: 6px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell { border-radius: 8px; height: 28px; background: #fff1e6; transition: background 0.5s var(--ease), transform 0.5s var(--ease); }
.cell.off { background: var(--ink); transform: scale(0.92); }
.cell.off::after { content: 'folga'; display: block; color: #fff; font-size: 10px; font-weight: 700; text-align: center; line-height: 28px; }
.app-foot { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: #f4f1ee; color: var(--ink-2); }
.chip.ok { background: #e7f8ee; color: #137a43; }
.toast {
  position: absolute; z-index: 4; display: flex; gap: 10px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow);
  font-size: 13px; opacity: 0; animation: toast 9s var(--ease) infinite;
}
.toast b { display: block; }
.toast small { color: var(--muted); }
.toast .ic { font-size: 20px; }
.t1 { left: -2%; bottom: 120px; animation-delay: 0.8s; }
.t2 { right: 0; bottom: 40px; animation-delay: 3.8s; }
.t3 { left: 12%; bottom: -6px; animation-delay: 6.8s; }

/* Faixa rolando */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee .track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font-weight: 700; font-size: 18px; white-space: nowrap; }
.marquee .track span:nth-child(even) { color: var(--orange); }

/* Seções */
.section { padding: 110px clamp(16px, 5vw, 72px); }
.section-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 18px; }
.eyebrow { display: inline-block; margin: 0 0 14px; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--orange); }

/* Demo da escala */
.escala-demo { max-width: 980px; margin: 0 auto; background: #fff; border-radius: 30px; padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow); border: 1px solid var(--line); text-align: center; }
.switcher { position: relative; display: inline-flex; background: #f4f1ee; border-radius: 999px; padding: 5px; margin-bottom: 26px; }
.switcher button { position: relative; z-index: 1; border: 0; background: transparent; font: inherit; font-weight: 800; font-size: 18px; padding: 10px 34px; border-radius: 999px; cursor: pointer; color: var(--ink-2); transition: color 0.3s; }
.switcher button.active { color: #fff; }
.switcher .knob { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--orange); transition: transform 0.45s var(--ease); box-shadow: 0 10px 24px -10px rgba(255,106,0,.8); }
.switcher.m5 .knob { transform: translateX(100%); }
.big-grid { display: grid; grid-template-columns: 120px repeat(7, 1fr); gap: 7px; text-align: left; }
.big-grid .h { font-weight: 800; color: var(--muted); text-align: center; font-size: 13px; padding: 6px 0; }
.big-grid .h.busy { color: var(--orange); }
.big-grid .name { font-weight: 700; font-size: 14px; padding: 10px 4px; }
.big-grid .name small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; }
.big-grid .cell { height: 42px; border-radius: 12px; }
.big-grid .cell.off::after { line-height: 42px; font-size: 12px; }
.big-grid .count { text-align: center; font-weight: 800; font-size: 13px; color: #137a43; padding-top: 6px; }
.escala-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 22px; }
.escala-stats div { background: var(--orange-soft); border-radius: 18px; padding: 16px; }
.escala-stats b { display: block; font-size: 26px; color: var(--orange); }
.escala-stats span { font-size: 14px; color: var(--ink-2); font-weight: 600; }

/* Cartões */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform 0.35s var(--ease), box-shadow 0.35s; transform-style: preserve-3d; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; background: radial-gradient(circle, rgba(255,106,0,.18), transparent 70%); opacity: 0; transition: opacity .4s; }
.card:hover { box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card .icon { display: grid; place-items: center; width: 54px; height: 54px; font-size: 26px; border-radius: 16px; background: var(--orange-soft); margin-bottom: 18px; transition: transform .4s var(--ease); }
.card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* Números */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 70px clamp(16px, 5vw, 72px); background: var(--ink); color: #fff; }
.num { text-align: center; }
.num b { display: block; font-size: clamp(44px, 6vw, 76px); font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.num span { color: #cfcfcf; font-weight: 600; }

/* Passos */
.steps { list-style: none; max-width: 820px; margin: 0 auto; padding: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--orange), #ffd2b3); border-radius: 3px; }
.steps li { display: flex; gap: 22px; padding: 18px 0; position: relative; }
.steps .n { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 22px; box-shadow: 0 0 0 8px var(--bg); }
.steps h3 { font-size: 22px; margin: 8px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--ease), box-shadow .35s; position: relative; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.featured .muted, .plan.featured li { color: #d8d8d8; }
.plan .tag { position: absolute; top: -12px; right: 24px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan.featured .price small { color: #bdbdbd; }
.plan .muted { color: var(--muted); font-size: 14px; margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: '✓'; color: var(--orange); font-weight: 800; margin-right: 8px; }
.plan .btn { justify-content: center; margin-top: auto; }
.plan.skeleton { height: 380px; background: linear-gradient(100deg, #fff 30%, #fbf2ea 50%, #fff 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.plans .empty { grid-column: 1 / -1; text-align: center; background: #fff; border-radius: 24px; padding: 40px; border: 1px dashed var(--line); }

/* Dúvidas */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 18px 30px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--orange); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--ink-2); }

/* Chamada final */
.cta {
  margin: 40px clamp(16px, 5vw, 72px) 90px; border-radius: 36px; padding: clamp(28px, 5vw, 60px);
  background: radial-gradient(circle at 15% 20%, #ff9a52, var(--orange) 45%, #e65400); color: #fff;
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.cta h2 { font-size: clamp(28px, 3.6vw, 46px); }
.cta p { color: #fff3ea; margin: 10px 0 0; font-size: 17px; }
.cta-mascot { width: 130px; height: auto; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 14px 18px rgba(0,0,0,.25)); background: #fff; border-radius: 28px; padding: 10px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }

.footer { text-align: center; padding: 40px 16px 60px; color: var(--muted); }
.footer img { margin: 0 auto 10px; height: 52px; width: auto; }
.footer .small { font-size: 13px; }

/* Entrada ao rolar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, 24px) scale(1.06); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,106,0,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255,106,0,0); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotateX(10deg); } to { opacity: 1; transform: none; } }
@keyframes toast { 0% { opacity: 0; transform: translateY(16px) scale(.96); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Lagartixa: tira de 6 quadros (assets/lagartixa.webp), andando no chão do topo e subindo a parede ao rolar. */
.gecko { position: absolute; z-index: 3; width: 200px; height: 69px; will-change: transform; }
.gecko .sprite {
  display: block; width: 100%; height: 100%;
  background: url(assets/lagartixa.webp?v=0.32.3) 0 0 / 600% 100% no-repeat;
  animation: gecko-step 0.62s steps(6) infinite;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.16));
}
.gecko.paused .sprite { animation-play-state: paused; }
.gecko.run .sprite { animation-duration: 0.26s; }
@keyframes gecko-step { from { background-position-x: 0%; } to { background-position-x: 120%; } }
.gecko-walk { left: 0; bottom: 10px; cursor: pointer; transform: translateX(-240px); }
.gecko-wall { position: fixed; top: 0; right: -45px; width: 150px; height: 52px; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.gecko-wall.on { opacity: 1; }
@media (max-width: 1100px) { .gecko-wall { display: none; } }
@media (max-width: 760px) { .gecko-walk { width: 140px; height: 48px; bottom: 6px; } }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { height: 470px; max-width: 620px; width: 100%; margin: 0 auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: 1fr 1fr; gap: 34px; }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta-mascot { margin: 0 auto; }
}
@media (max-width: 760px) {
  .menu, .nav-cta { display: none; }
  .burger { display: block; }
  .nav.open .menu, .nav.open .nav-cta { display: flex; position: absolute; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .nav.open .menu { top: 74px; gap: 16px; }
  .nav.open .nav-cta { top: 280px; }
  .cards, .escala-stats { grid-template-columns: 1fr; }
  .big-grid { grid-template-columns: 74px repeat(7, 1fr); gap: 4px; }
  .big-grid .name { font-size: 12px; }
  .big-grid .name small { display: none; }
  .big-grid .cell { height: 34px; }
  .big-grid .cell.off::after { content: 'F'; line-height: 34px; }
  .mini-grid { grid-template-columns: 64px repeat(7, 1fr); }
  .toast { display: none; }
  .mascot { width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .gecko .sprite { animation: none; background-image: url(assets/lagartixa-parada.webp?v=0.32.3); background-size: 100% 100%; }
  .gecko-walk { transform: translateX(24px) !important; }
  .gecko-wall { display: none; }
}
