/* Planilhou — site. Cores do app: verde #0B4F3A / #14805A, menta #6EDDB0. */
@font-face { font-family: Inter; src: url(assets/fonts/Inter-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
/* títulos: Fraunces (SIL OFL); texto, números e interface seguem na Inter */
@font-face { font-family: Fraunces; src: url(assets/fonts/Fraunces-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Fraunces; src: url(assets/fonts/Fraunces-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #f3f5f4; --surface: #ffffff; --text: #17201c; --muted: #55625c; --line: #dfe5e2;
  --green: #0b4f3a; --green-2: #14805a; --mint: #6eddb0; --mint-soft: #e3f7ee;
  --radius: 20px; --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d100f; --surface: #161b19; --text: #e7ecea; --muted: #a3b0aa; --line: #26302c; --mint-soft: #16322a; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* âncoras param abaixo do cabeçalho fixo */
section[id], main { scroll-margin-top: 72px; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* topo */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav nav { display: flex; gap: 22px; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); } .nav nav a:hover { color: var(--text); }
@media (max-width: 640px) { .nav nav { display: none; } }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1d9a6c55, transparent), linear-gradient(135deg, var(--green-2), var(--green) 55%, #083a2b); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: #ffffff1f; border: 1px solid #ffffff2e; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -0.02em; margin: 18px 0 16px; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero p.lead { font-size: 19px; color: #d9efe6; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #0a0f0d; color: #fff; padding: 10px 18px 10px 14px; border-radius: 14px; border: 1px solid #ffffff33; text-decoration: none; min-height: 56px; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 12px; color: #b8c7c0; line-height: 1.2; }
.store strong { display: block; font-size: 18px; line-height: 1.2; }
.store[aria-disabled="true"] { cursor: default; }
.btn-ghost { color: #fff; text-decoration: none; font-weight: 600; padding: 14px 6px; }
.btn-ghost:hover { text-decoration: underline; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: 14px; color: #cfe8dd; }
.trust span { display: inline-flex; gap: 6px; align-items: center; }
.trust svg { width: 18px; height: 18px; color: var(--mint); }
/* tablet deitado atrás + celular na frente: mostra que funciona nos dois.
   Tudo em % da largura da coluna (aspect-ratio fixo), então o grupo nunca passa
   da margem do conteúdo em nenhum tamanho de tela. Padding em % = % da largura de .devices. */
.hero .wrap > * { min-width: 0; }
.devices { position: relative; width: 100%; aspect-ratio: 10 / 7; }
.tablet { position: absolute; left: 0; top: 6%; width: 86%; padding: 2%; border-radius: 24px; background: #0a0f0d; box-shadow: 0 30px 60px #00000055; }
.tablet img { border-radius: 14px; }
.phone { width: 260px; border-radius: 34px; padding: 9px; background: #0a0f0d; box-shadow: 0 30px 60px #00000066; }
.phone img { border-radius: 26px; }
.p-front { position: absolute; right: 0; top: 20%; width: 27%; padding: 1.6%; border-radius: 28px; }
.p-front img { border-radius: 21px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; }
  .tablet { border-radius: 18px; } .tablet img { border-radius: 11px; }
  .p-front { border-radius: 22px; } .p-front img { border-radius: 16px; }
}
/* seções */
section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.kicker { color: var(--green-2); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
@media (prefers-color-scheme: dark) { .kicker { color: var(--mint); } }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } section { padding: 64px 0; } }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.card h3 { margin: 14px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-soft); color: var(--green-2); }
@media (prefers-color-scheme: dark) { .ico { color: var(--mint); } }
.ico svg { width: 24px; height: 24px; }

/* galeria */
.gallery-box { position: relative; }
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: thin;
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 64px), transparent); }
.gallery.at-end { mask-image: none; }
.gal-nav { display: flex; gap: 10px; justify-content: flex-end; margin: -24px 0 16px; }
.gal-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.gal-nav button:hover { border-color: var(--green-2); color: var(--green-2); }
.gal-nav button:disabled { opacity: .35; cursor: default; }
@media (hover: none) { .gal-nav { display: none; } }
.gallery figure { margin: 0; flex: 0 0 240px; scroll-snap-align: start; }
.gallery .phone { position: static; width: 240px; transform: none; box-shadow: 0 14px 30px #0000002a; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }

/* privacidade */
.privacy { background: var(--surface); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--green-2); margin-top: 2px; }
@media (prefers-color-scheme: dark) { .checks svg { color: var(--mint); } }
.lock { aspect-ratio: 1; width: 100%; max-width: 360px; margin: 0 auto; border-radius: 40px; background: linear-gradient(135deg, var(--green-2), var(--green)); display: grid; place-items: center; box-shadow: 0 30px 60px #0b4f3a40; }
.lock svg { width: 46%; height: 46%; color: #fff; }

/* faq */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--green-2); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { color: var(--muted); margin: 10px 0 0; }

/* chamada final + rodapé */
.final { text-align: center; background: linear-gradient(135deg, var(--green-2), var(--green)); color: #fff; border-radius: 32px; padding: 56px 24px; }
.final h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; }
.final p { color: #d9efe6; margin: 0 0 24px; }
.final .cta { justify-content: center; }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 48px 0 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.pt0 { padding-top: 0; }
.mb24 { margin-bottom: 24px; }
.narrow { max-width: 820px; }
section[tabindex="-1"]:focus { outline: none; }

/* blocos de caso real: texto + tela, alternando lados */
.feature { display: grid; grid-template-columns: 1fr 260px; gap: 64px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.reverse { grid-template-columns: 260px 1fr; }
.feature.reverse .feature-text { order: 2; }
.feature .phone { width: 240px; margin: 0 auto; box-shadow: 0 20px 44px #0000002e; }
.feature-text { max-width: 520px; }
.feature-text h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 16px; }
.feature-text p { color: var(--muted); margin: 0 0 12px; font-size: 18px; }
@media (max-width: 820px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .feature-text { order: 0; }
  .feature .phone { width: 240px; }
}

#privacidade .checks { margin: 8px 0 20px; }
.small { font-size: 15px; }
.small a { color: var(--green-2); font-weight: 600; }
@media (prefers-color-scheme: dark) { .small a { color: var(--mint); } }

/* lista curta das outras funções */
.also { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.also h2 { font-size: 24px; margin: 0 0 18px; }
.also ul { columns: 2; column-gap: 48px; margin: 0; padding-left: 20px; color: var(--muted); }
.also li { margin-bottom: 10px; break-inside: avoid; }
.also li::marker { color: var(--green-2); }
@media (max-width: 600px) { .also ul { columns: 1; } }

/* por que fiz */
.about { max-width: 680px; }
.about h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 20px; }
.about p { font-size: 19px; margin: 0 0 16px; }
.about a { color: var(--green-2); }
@media (prefers-color-scheme: dark) { .about a { color: var(--mint); } }
.sign { font-weight: 700; margin-top: 24px !important; }
footer .fine { flex-basis: 100%; font-size: 13px; }
.social { margin-top: -8px !important; font-size: 16px !important; color: var(--muted); }
.author { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.author img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--mint); }
.author .sign { margin: 0 !important; }
.author .social { margin: 2px 0 0 !important; }
.author .sign { font-size: 20px; }
.gallery.fits { justify-content: center; }

/* fundos alternados entre as seções */
.alt { background: var(--surface); border-block: 1px solid var(--line); }
#privacidade .feature { padding: 0; border: 0; }
/* selo clicável + aviso por e-mail */
a.store:hover { border-color: var(--mint); }
.notify { margin: 18px 0 0; font-size: 15px; color: #cfe8dd; }
.notify a { color: #fff; font-weight: 600; }
/* redes sociais */
.social { display: flex; flex-wrap: wrap; gap: 16px; }
.soc { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.soc:hover span { text-decoration: underline; }
.soc svg { width: 18px; height: 18px; }
.foot-soc { display: flex; gap: 10px; }
.soc-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); }
.soc-ico:hover { color: var(--green-2); border-color: var(--green-2); }
.soc-ico svg { width: 18px; height: 18px; }

/* títulos em Fraunces */
h1, h2 { font-family: Fraunces, Georgia, 'Times New Roman', serif; font-weight: 600; letter-spacing: -0.01em; }
.hero h1 { font-weight: 700; letter-spacing: -0.015em; }
details summary, .also h2 { font-family: inherit; }
.also h2 { font-family: Fraunces, Georgia, serif; }

/* menu do topo: sublinhado verde que cresce do centro ao passar o mouse */
.nav nav a { position: relative; padding: 6px 0; transition: color .2s ease; }
.nav nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; border-radius: 2px; background: var(--green-2); transition: left .25s ease, right .25s ease; }
.nav nav a:hover { color: var(--green-2); }
.nav nav a:hover::after, .nav nav a:focus-visible::after { left: 0; right: 0; }
@media (prefers-color-scheme: dark) { .nav nav a:hover { color: var(--mint); } .nav nav a::after { background: var(--mint); } }
.brand { transition: opacity .2s ease; } .brand:hover { opacity: .8; }

/* blocos de caso real mais compactos: texto e tela juntos no centro, sem vão no meio */
.feature { max-width: 900px; margin-inline: auto; gap: 56px; padding: 32px 0; }
.feature-text { max-width: none; }
#como-funciona { padding-top: 48px; }
.also { max-width: 900px; margin-inline: auto; }
#privacidade .feature { max-width: 900px; }

/* blocos: só a metade de cima da tela, com esmaecido no corte */
.feature .phone { height: 330px; overflow: hidden; border-radius: 34px 34px 0 0; padding-bottom: 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.feature .phone img { border-radius: 26px 26px 0 0; }
@media (max-width: 820px) { .feature .phone { height: 300px; } }
/* celular: a tela de privacidade só repetia o texto em letra miúda */
@media (max-width: 820px) { #privacidade .phone { display: none; } }

/* banner: celular inteiro dentro, com respiro embaixo (antes encostava na borda) */
.hero .wrap { padding-bottom: 64px; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; } }

/* "Mais telas": menos espaço acima do título */
#telas { padding-top: 56px; padding-bottom: 64px; }
#telas .section-head { margin-bottom: 20px; }
.gal-nav { margin: -56px 0 16px; }

/* cabeçalho: logotipo em Fraunces, botão "Me avise"; na página inicial fica transparente sobre o banner */
.brand { font-family: Fraunces, Georgia, serif; font-size: 23px; font-weight: 700; letter-spacing: -0.01em; gap: 12px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.nav .wrap { height: 72px; }
.nav nav { margin-left: auto; margin-right: 24px; }
.nav-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--green-2); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--green); transform: translateY(-1px); }
.has-hero .nav { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.has-hero .nav:not(.scrolled) .brand, .has-hero .nav:not(.scrolled) nav a { color: #fff; }
.has-hero .nav:not(.scrolled) nav a:hover { color: var(--mint); }
.has-hero .nav:not(.scrolled) nav a::after { background: var(--mint); }
.has-hero .nav:not(.scrolled) .nav-cta { background: #fff; color: var(--green); }
.has-hero .nav:not(.scrolled) .nav-cta:hover { background: var(--mint); }
.has-hero .nav.scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom-color: var(--line); box-shadow: 0 6px 20px #0000000f; }
.has-hero .hero .wrap { padding-top: 136px; }
@media (max-width: 900px) { .has-hero .hero .wrap { padding-top: 104px; } }
@media (max-width: 640px) { .nav nav { display: none; } .nav .wrap { height: 64px; } .brand { font-size: 21px; } }
.has-hero .nav:not(.scrolled) .brand img { box-shadow: 0 0 0 1.5px #ffffff59, 0 6px 16px #00000033; }
.brand img { transition: box-shadow .25s ease; }

/* chamada no meio da página */
.mid-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.mid-cta span { color: var(--muted); font-size: 15px; }
.mid-cta span a { color: var(--green-2); }
.btn-primary { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--green-2); color: #fff; font-weight: 600; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.btn-primary:hover { background: var(--green); transform: translateY(-1px); }
@media (prefers-color-scheme: dark) { .mid-cta span a { color: var(--mint); } }
.about .btn-primary, .btn-primary { color: #fff; }

/* quando quebra de linha no celular, "Como funciona" alinha com o resto; "e-mail" não parte no hífen */
.btn-ghost { padding: 14px 0; }
.notify a { white-space: nowrap; }

/* banner: aparelhos maiores. Coluna de imagem mais larga que a de texto e aparelhos ocupando mais da caixa,
   sempre dentro da margem do conteúdo (mesma largura do menu) */
.hero .wrap { grid-template-columns: 0.85fr 1.15fr; gap: 40px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 56px); }
.devices { aspect-ratio: 10 / 7.4; }
.tablet { top: 8%; width: 88%; }
.p-front { top: 18%; width: 29%; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(36px, 5.4vw, 60px); }
}

/* uma coluna de leitura só (900px) para as seções de conteúdo: texto começa sempre no mesmo lugar.
   .wrap usa border-box, então 940px = 900px de conteúdo + 20px de cada lado */
#telas .wrap, .about, .narrow { max-width: 940px; }
.about > * { max-width: 680px; }
.about > .author, .about > .mid-cta { max-width: none; }

/* perguntas: o cartão inteiro abre e fecha, não só a linha do texto */
details { padding: 0; }
summary { padding: 18px 22px; }
details p { margin: 0; padding: 0 22px 18px; }

/* links do autor com área de toque maior */
.soc { min-height: 40px; }
.social { row-gap: 0; }
.author { padding-left: 5px; } /* o anel da foto não passa da margem */

/* página de privacidade: link de volta continua visível no celular */
@media (max-width: 640px) { .nav nav.keep { display: flex; margin-right: 0; } }

/* menu: links nunca quebram em duas linhas (abaixo de 900px viram só ícones, ver mais abaixo) */
.nav nav a, .nav-cta { white-space: nowrap; }

/* ícones no menu do topo */
.nav nav { align-items: center; }
.nav nav a { display: inline-flex; align-items: center; gap: 7px; }
.nav nav svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .85; transition: transform .2s ease, opacity .2s ease; }
.nav nav a:hover svg, .nav nav a.active svg { opacity: 1; transform: translateY(-1px); }
/* link da seção atual */
.nav nav a.active { color: var(--green-2); }
.nav nav a.active::after { left: 0; right: 0; }
@media (prefers-color-scheme: dark) { .nav nav a.active { color: var(--mint); } }
.has-hero .nav:not(.scrolled) nav a.active { color: var(--mint); }

/* celular e tablet pequeno: o menu continua visível, só com os ícones */
@media (max-width: 900px) {
  .nav nav:not(.keep) { display: flex; gap: 2px; margin-right: 8px; }
  .nav nav:not(.keep) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav nav:not(.keep) a { width: 40px; height: 40px; justify-content: center; padding: 0; border-radius: 12px; }
  .nav nav:not(.keep) a::after { left: 30%; right: 30%; bottom: 3px; opacity: 0; transition: opacity .2s ease; }
  .nav nav:not(.keep) a.active::after { left: 30%; right: 30%; opacity: 1; }
  .nav nav svg { width: 20px; height: 20px; }
  .nav-cta { padding: 0 14px; }
}
@media (max-width: 420px) {
  .brand { font-size: 0; gap: 0; } /* fica só o ícone do app; o texto "Planilhou" segue no HTML para leitores de tela */
  .nav .wrap { gap: 8px; }
}

/* voltar ao topo */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 6; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green-2); color: #fff; box-shadow: 0 10px 24px #0b4f3a55; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green); transform: translateY(-2px); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* entrada suave das seções */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.brand, .nav-cta { flex-shrink: 0; }

/* "Por que fiz": convite para testar o APK antes da Play Store */
.beta { display: flex; gap: 16px; align-items: flex-start; margin: 28px 0 8px; padding: 20px 22px; border-radius: var(--radius); background: var(--mint-soft); border: 1px solid color-mix(in srgb, var(--green-2) 22%, transparent); }
.beta-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-2); color: #fff; }
.beta-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.about .beta p { margin: 0; }
.about .beta-title { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.about .beta-text { font-size: 16px; color: var(--muted); }
.about .beta-link { display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; font-weight: 600; text-decoration: none; color: var(--green-2); }
.about .beta-link:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) { .about .beta-link { color: var(--mint); } }
@media (max-width: 420px) { .beta { flex-direction: column; gap: 12px; padding: 18px; } }

/* "Por que fiz" em duas colunas no computador: história à esquerda; autor, convite do APK e botão à direita */
.about > .about-text, .about > .about-side { max-width: none; }
.about-text > :last-child { margin-bottom: 0; }
.about-side { display: grid; gap: 16px; align-content: start; }
.about-side .author { margin: 0; padding: 18px; gap: 16px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.about-side .author img { width: 72px; height: 72px; }
.about-side .author .sign { font-size: 18px; }
.about-side .social { gap: 0 14px; font-size: 15px !important; }
.about-side .beta { margin: 0; padding: 18px; }
.about-side .beta-ico { flex-basis: 40px; width: 40px; height: 40px; }
.about-side .mid-cta { margin: 0; flex-direction: column; align-items: stretch; gap: 8px; text-align: center; }
.about-side .btn-primary { justify-content: center; }
@media (min-width: 901px) {
  .about { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
  .about-side { margin-top: 8px; }
}
@media (max-width: 900px) {
  .about-side { margin-top: 32px; max-width: 520px; }
  .about-side .mid-cta { align-items: flex-start; text-align: left; }
}

/* cartão do autor: redes como ícones redondos (igual ao rodapé); o nome da rede segue para leitores de tela */
.about-side .social { gap: 8px; margin-top: 8px !important; }
.about-side .soc { width: 40px; height: 40px; min-height: 0; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: color .2s ease, border-color .2s ease; }
.about-side .soc:hover { color: var(--green-2); border-color: var(--green-2); }
.about-side .soc span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .about-side .soc:hover { color: var(--mint); border-color: var(--mint); } }

/* foto do autor maior no cartão lateral */
.about-side .author img { width: 104px; height: 104px; }

/* galeria "Mais telas": ao passar o mouse numa tela, as outras esmaecem de leve e ela sobe um pouco.
   Só em quem tem mouse; o :has evita que o vão entre as telas esmaeça tudo. Os outros prints não têm efeito. */
.gallery { padding-top: 12px; } /* respiro para a tela que sobe não ser cortada pela rolagem */
@media (hover: hover) {
  .gallery figure { transition: opacity .6s cubic-bezier(.25,.1,.25,1), transform .6s cubic-bezier(.25,.1,.25,1); }
  .gallery figure .phone { transition: box-shadow .6s ease; }
  .gallery figure figcaption { transition: color .6s ease; }
  .gallery:has(figure:hover) figure:not(:hover) { opacity: .7; }
  .gallery figure:hover { transform: translateY(-3px); }
  .gallery figure:hover .phone { box-shadow: 0 18px 36px #0b4f3a2e; }
  .gallery figure:hover figcaption { color: var(--green-2); }
}
@media (hover: hover) and (prefers-color-scheme: dark) { .gallery figure:hover figcaption { color: var(--mint); } }

/* sino no botão "Me avise" do topo; balança de leve ao passar o mouse */
.nav-cta { gap: 7px; }
.nav-cta svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 10%; }
@media (hover: hover) { .nav-cta:hover svg { animation: sino .6s ease; } }
@keyframes sino { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 50% { transform: rotate(-10deg); } 75% { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .nav-cta:hover svg { animation: none; } }
@media (max-width: 420px) { .nav-cta { padding: 0 12px; gap: 5px; } .nav nav:not(.keep) a { width: 36px; } }
/* celulares estreitos: o sino sai (o texto "Me avise" é o que importa) e os ícones apertam um pouco */
@media (max-width: 380px) { .nav-cta svg { display: none; } }
@media (max-width: 340px) { .nav nav:not(.keep) { gap: 0; margin-right: 4px; } .nav nav:not(.keep) a { width: 32px; } .nav-cta { padding: 0 10px; font-size: 14px; } }

/* robô do Android no selo do banner, na cor oficial */
.eyebrow .android { width: 18px; height: 18px; flex: 0 0 auto; color: #3ddc84; }

/* uma largura só no site inteiro: as seções de conteúdo usam a mesma borda do menu, do banner e do rodapé (1080px) */
.feature, .also, #privacidade .feature { max-width: none; }
#telas .wrap, .about, .narrow { max-width: var(--max); }
@media (min-width: 821px) {
  /* texto com largura confortável de leitura; o celular encosta na borda do conteúdo */
  .feature { grid-template-columns: minmax(0, 620px) 240px; justify-content: space-between; }
  .feature.reverse { grid-template-columns: 240px minmax(0, 620px); }
  .feature .phone { margin: 0; }
}
/* página de privacidade: "← Início" alinha com a borda direita (não há botão "Me avise" ao lado) */
.nav nav.keep { margin-right: 0; }

/* celular: título maior; selo do Android em pílula um pouco menor */
@media (max-width: 640px) {
  .eyebrow { font-size: 13px; padding: 5px 11px; gap: 6px; } /* pílula um pouco menor para caber numa linha */
  .eyebrow .android { width: 16px; height: 16px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 46px); margin-top: 10px; }
}
/* selo do Android fica abaixo do título em todos os tamanhos (o título abre o banner) */
.hero h1 { margin: 0 0 16px; }
.eyebrow { margin-bottom: 20px; }
@media (max-width: 640px) { .hero h1 { margin-bottom: 12px; } .eyebrow { margin-bottom: 16px; } }
/* telas de 320px: a pílula quebra em 2 linhas; cantos menos redondos para não virar "cápsula" torta */
@media (max-width: 340px) { .eyebrow { border-radius: 14px; } }

/* contraste (WCAG AA): no tema claro, texto verde usa um tom mais escuro (#0f6e4d, ≥5,6:1 em todos os fundos).
   O #14805a ficava no limite (4,4–4,5:1). Botões e ícones continuam com o verde original. */
@media not (prefers-color-scheme: dark) {
  :root { --green-text: #0f6e4d; }
  .small a, .beta-link, .about .beta-link, .mid-cta span a, .about a:not(.btn-primary):not(.soc), .kicker,
  .nav nav a.active, .has-hero .nav.scrolled nav a:hover, .gallery figure:hover figcaption { color: var(--green-text); }
}

/* tablet (700–900px): cartão do autor e convite do APK lado a lado; o botão ocupa a linha de baixo */
@media (min-width: 700px) and (max-width: 900px) {
  .about-side { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .about-side .mid-cta { grid-column: 1 / -1; }
  .about-side .author { flex-direction: column; justify-content: center; text-align: center; }
  .about-side .social { justify-content: center; }
}

/* rodapé: textos e ícones das redes alinhados pelo centro vertical */
footer .wrap { align-items: center; }
/* "Mais telas do Planilhou": o título nunca passa por baixo das setas da galeria */
#telas .section-head { padding-right: 112px; }
@media (hover: none) { #telas .section-head { padding-right: 0; } } /* sem setas no toque */
