/* Keise Contabilidade — protótipo de prospecção (Ryan Schmidt).
   Identidade travada no claro: o Instagram da Keise é oliva + creme, quente.
   Sem @media (prefers-color-scheme: dark) de propósito. */

:root{
  --cream:      #F3F0E7;
  --cream-deep: #EBE6D8;
  --card:       #FBFAF4;
  --olive:      #47522F;
  --olive-deep: #3A4327;
  --olive-soft: #6C7355;
  --gold:       #C1943F;
  --gold-deep:  #A97E2E;
  --ink:        #2C2A21;
  --muted:      #66604F;
  --line:       #DAD4C2;
  --red:        #C24439;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --wrap: 1120px;
  --radius: 16px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{ font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1{ font-size: clamp(2.1rem, 1.4rem + 3.1vw, 3.5rem); font-optical-sizing: auto; }
h2{ font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
h3{ font-size: 1.18rem; letter-spacing: -0.005em; }
h1 em, h2 em{ font-style: italic; font-weight: 500; color: var(--olive); }
p{ margin: 0 0 1rem; text-wrap: pretty; }
a{ color: inherit; }

img, svg{ max-width: 100%; }

.wrap{ width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.15rem, 0.6rem + 2.4vw, 2.5rem); }
.estreito{ max-width: 760px; }

.skip{
  position: absolute; left: -9999px; top: 0;
  background: var(--olive); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 10px 0; z-index: 200;
}
.skip:focus{ left: 0; }

/* ---------- barra de protótipo ---------- */
.demo-bar{
  background: var(--olive-deep);
  color: #D9D3BE;
  font-size: .78rem;
  line-height: 1.45;
  text-align: center;
  padding: 9px 1.25rem;
  letter-spacing: .01em;
}
.demo-bar strong{ color: var(--gold); font-weight: 600; }

/* ---------- nav ---------- */
.nav{
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-in{ display: flex; align-items: center; gap: 1.5rem; padding-block: 1rem; }
.nav-logo{ margin-right: auto; }
.nav.is-scrolled{
  padding-block: 0;
  background: color-mix(in srgb, var(--cream) 96%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(58, 67, 39, .5);
}
.nav-logo{ display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.nav-logo .mark{ width: 34px; height: 34px; display: block; }
.nav-wm{ display: flex; flex-direction: column; line-height: 1; }
.nav-wm b{ font-family: var(--display); font-weight: 600; font-size: 1.16rem; color: var(--ink); letter-spacing: -0.01em; }
.nav-wm i{ font-style: normal; font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-top: 4px; }
.nav-links{ display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a{
  text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 500;
  padding: .3rem 0; position: relative;
}
.nav-links a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px;
  background: var(--olive); transition: right .28s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after{ right: 0; }

/* ---------- botões ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  background: var(--olive); color: #F6F3E8; text-decoration: none;
  font-family: var(--body); font-weight: 600; font-size: .95rem; letter-spacing: .005em;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid var(--olive);
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover{ background: var(--olive-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(58, 67, 39, .8); }
.btn:active{ transform: translateY(0); }
.btn-sm{ padding: .6rem 1.15rem; font-size: .88rem; flex-shrink: 0; }
.btn-lg{ padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-claro{ background: var(--gold); border-color: var(--gold); color: var(--olive-deep); }
.btn-claro:hover{ background: #D6A64C; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35); }
.btn-ghost{
  display: inline-flex; align-items: center; gap: .4rem; text-decoration: none;
  color: var(--olive); font-weight: 600; font-size: .95rem;
  padding: .85rem .4rem; border-bottom: 1.5px solid var(--gold);
  transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.btn-ghost:hover{ gap: .7rem; border-color: var(--olive); }

.eyebrow{
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1rem;
}
.eyebrow.claro{ color: var(--olive-soft); }
.hero-kicker{
  font-size: .96rem; font-weight: 500; color: var(--olive-soft);
  margin: 0 0 1.1rem; max-width: 52ch; line-height: 1.6;
}

/* ---------- hero ---------- */
.hero{ padding: clamp(3.5rem, 2rem + 8vw, 7rem) 0 clamp(3rem, 2rem + 5vw, 5.5rem); }
.hero-in{ max-width: 880px; }
.hero .eyebrow{ max-width: 44ch; line-height: 1.7; }
.hero h1{ margin-bottom: 1.4rem; }
.hero .lead{
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.28rem);
  color: var(--muted); max-width: 60ch; margin-bottom: 2rem;
}
.hero-acoes{ display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-bottom: 2rem; }
.hero-prova{
  font-size: .86rem; color: var(--olive-soft); font-weight: 500; margin: 0;
  padding-top: 1.4rem; border-top: 1px solid var(--line); max-width: 60ch;
}

/* ---------- seções ---------- */
.secao{ padding: clamp(3.2rem, 2rem + 6vw, 6rem) 0; }
.sec-cab{ max-width: 640px; margin-bottom: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.sec-cab .lead, .sobre-cab .lead{ color: var(--muted); font-size: 1.05rem; margin: 0; }

/* dor */
.dor{ background: var(--cream-deep); }
.dor h2{ margin-bottom: 1.3rem; }
.dor .grande{ font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem); font-family: var(--display); font-weight: 400; color: var(--ink); line-height: 1.4; margin-bottom: 1.3rem; }
.dor p{ color: var(--muted); }
.dor .destaque{
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.45rem); line-height: 1.4;
  color: var(--olive); margin-top: 1.8rem;
}

/* como funciona — lista de passos, sem chrome de card (o grid de cards
   vem logo depois; diferenciar o ritmo). */
.passos{ list-style: none; margin: 0; padding: 0; max-width: 780px; }
.passo{
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding: 1.6rem 0; border-top: 1px solid var(--line);
}
.passo:last-child{ border-bottom: 1px solid var(--line); }
.passo-n{
  font-family: var(--display); font-weight: 600; font-size: 2rem;
  color: var(--gold); line-height: 1; padding-top: .1rem;
}
.passo-txt h3{ margin-bottom: .4rem; }
.passo-txt p{ color: var(--muted); font-size: .98rem; margin: 0; }

/* o que mostra — cards */
.cards{ display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.card{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(58, 67, 39, .6); border-color: var(--gold); }
.card h3{ color: var(--olive); margin-bottom: .6rem; }
.card p{ color: var(--muted); font-size: .96rem; margin: 0; }
.mostra-fecho{
  margin: 2.4rem 0 0; text-align: center;
  font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--olive);
}

/* sobre — diferenciais */
.sobre{ background: var(--cream-deep); }
.sobre-in{ display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); grid-template-columns: 1fr; }
.sobre-cab{ max-width: 620px; }
.difs{ margin: 0; display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); }
.dif{ padding: 1.6rem 1.5rem 1.6rem 0; border-top: 1px solid var(--line); }
.dif:nth-child(odd){ padding-right: 2.5rem; }
.dif:nth-child(even){ padding-left: 2rem; border-left: 1px solid var(--line); }
.dif dt{ font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); margin-bottom: .4rem; }
.dif dd{ margin: 0; color: var(--muted); font-size: .96rem; }

/* clientes */
.cli-grid{
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
}
.cli{
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.4rem 1.4rem 1.25rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.cli:hover{ transform: translateY(-3px); box-shadow: 0 20px 38px -28px rgba(58, 67, 39, .6); border-color: var(--gold); }
.cli-tag{
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-deep);
}
.cli-nome{ font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--ink); margin: .5rem 0 .35rem; }
.cli-user{
  display: inline-flex; align-items: center; gap: .38rem;
  font-size: .8rem; color: var(--muted); text-decoration: none; overflow-wrap: anywhere;
  transition: color .18s var(--ease);
}
.cli-user:hover{ color: var(--olive); }
.cli-user .ig{ width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.cli-nota{ margin: 1.8rem 0 0; font-size: .82rem; color: var(--olive-soft); max-width: 62ch; }

/* para quem */
.paraquem{ background: var(--cream-deep); }
.perfis{
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0 2.5rem; grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}
.perfis li{
  padding: 1rem 0; border-top: 1px solid var(--line);
  font-size: 1rem; color: var(--ink);
  display: flex; align-items: baseline; gap: .8rem;
}
.perfis li::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  flex-shrink: 0; transform: translateY(-2px);
}
.perfis-nota{ margin: 1.8rem 0 0; font-size: .82rem; color: var(--olive-soft); }

/* faq */
.faq{ border-top: 1px solid var(--line); }
.faq__item{ border-bottom: 1px solid var(--line); }
.faq__toggle{
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.35rem 0; text-align: left;
  font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq__chevron{ width: 20px; height: 20px; flex-shrink: 0; color: var(--gold-deep); transition: transform .3s var(--ease); }
.faq__item.is-open .faq__chevron{ transform: rotate(180deg); }
.faq__panel{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__item.is-open .faq__panel{ grid-template-rows: 1fr; }
.faq__panel-inner{ overflow: hidden; }
.faq__panel-inner p{ margin: 0 0 1.3rem; color: var(--muted); font-size: .98rem; max-width: 64ch; }

/* cta final */
.fechamento{ padding: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.fecho-card{
  background: var(--olive); color: #EFEBDC;
  border-radius: 24px; padding: clamp(2.5rem, 1.5rem + 5vw, 4.5rem) clamp(1.6rem, 1rem + 4vw, 4rem);
  text-align: center;
}
.fecho-card h2{ color: #F6F3E8; margin-bottom: 1rem; }
.fecho-card h2 em{ color: var(--gold); }
.fecho-card p{ color: #CFCBB5; max-width: 52ch; margin-inline: auto; }
.fecho-card .btn{ margin-top: 1.6rem; }
.fecho-nota{ font-size: .84rem; margin: 1.1rem 0 0 !important; color: #C9C4AB !important; }

/* rodapé */
.rodape{ background: var(--olive-deep); color: #C9C3AC; padding: clamp(2.8rem, 2rem + 3vw, 4rem) 0 2.5rem; }
.rod-marca{ display: flex; align-items: center; gap: .7rem; margin-bottom: 2rem; }
.rod-marca .mark{ height: 40px; width: auto; display: block; }
.rod-wm{ display: flex; flex-direction: column; line-height: 1; }
.rod-wm b{ font-family: var(--display); font-weight: 600; font-size: 1.14rem; color: #F1EDDD; }
.rod-wm i{ font-style: normal; font-size: .56rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.rod-cols{ display: grid; gap: 1.8rem; grid-template-columns: repeat(3, 1fr); }
.rod-lbl{ font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .5rem; }
.rod-cols p{ font-size: .92rem; margin: 0; line-height: 1.7; }
.rod-cols a{ color: #DED8C1; text-decoration: none; }
.rod-cols a:hover{ color: #fff; text-decoration: underline; }
.rod-legal{
  margin: 2.4rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .74rem; line-height: 1.6; color: #948E78; max-width: 68ch;
}

/* whatsapp flutuante — padrão da casa: 80px desktop / 68px mobile */
.zap{
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--olive); color: #F1ECDC;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4);
  animation: zap-pulse 2.6s var(--ease) infinite;
}
.zap:hover{ background: var(--olive-deep); }
.zap svg{ width: 42px; height: 42px; fill: currentColor; }
@keyframes zap-pulse{
  0%, 100%{ box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4), 0 0 0 0 rgba(71, 82, 47, .45); }
  50%{ box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4), 0 0 0 14px rgba(71, 82, 47, 0); }
}

/* reveal: sem opacity:0 no CSS de propósito. O GSAP .from() cria o estado
   inicial só quando de fato vai animar; se o GSAP não carregar, o conteúdo
   aparece normal em vez de ficar preso invisível. */

/* ---------- responsivo ---------- */
@media (max-width: 900px){
  .passos, .cards{ grid-template-columns: 1fr; }
  .difs{ grid-template-columns: 1fr; }
  .dif:nth-child(odd){ padding-right: 0; }
  .dif:nth-child(even){ padding-left: 0; border-left: 0; }
}
@media (max-width: 720px){
  .nav-links{ display: none; }
  .perfis{ grid-template-columns: 1fr; }
  .rod-cols{ grid-template-columns: 1fr; gap: 1.5rem; }
  .zap{ width: 68px; height: 68px; right: 16px; bottom: 16px; }
  .zap svg{ width: 36px; height: 36px; }
}
