/* Refinement of Olivia's existing navy, orange and cool light identity. */
:root {
  --surface: #f6f8fc;
  --card-low: #edf2f9;
  --outline-soft: #d8e0eb;
  --muted: #566478;
  --accent-ink: #442600;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --maxw: 1184px;
}
html { scroll-padding-top: 100px; }
body { line-height: 1.65; }
::selection { background: #fe932c; color: #040d17; }
a { text-underline-offset: 5px; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; letter-spacing: -.025em; }
.lede { line-height: 1.7; }
header.site { background: #f6f8fc; backdrop-filter: none; }
.site-inner { height: 80px; gap: 24px; }
.brand { font-size: 22px; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand small { font-family: inherit; text-transform: none; letter-spacing: 0; font-size: 11px; }
.site-nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.btn { min-height: 48px; padding: 13px 24px; }
.btn-sm { padding: 10px 18px; }
.btn-accent:hover { background: #f5a04e; box-shadow: none; }
.hero { padding: 64px 0 80px; }
.hero-grid { grid-template-columns: 1.25fr 1fr; gap: 72px; }
.hero-copy h1 { margin-top: 0; max-width: 650px; }
.hero-copy .lede { max-width: 540px; font-size: 17px; margin-top: 24px; }
.hero-cta { gap: 24px; margin-top: 28px; }
.demo-link { font-size: 14px; font-weight: 600; }
.hero-terms { margin-top: 20px; font-size: 13px; color: var(--muted); }
.hero-visual { background: #e7edf6; padding: 36px; border-radius: 24px; }
.hero .device { max-width: 320px; }
.device { transform: none; border: none; box-shadow: 0 18px 36px -20px rgba(4,13,23,.4); }
.device--tall .device-shot { max-height: 520px; }
.eyebrow { display: none; }
section { padding: 88px 0; }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2, .h2-gap { margin-top: 0; }
.problema { background: #fff; }
.problema-copy { max-width: 760px; }
.problema-copy p { max-width: 70ch; }
.callout { border-left: none; background: #fff1ec; padding: 24px; border-radius: 12px; }
.steps { background: transparent; border: none; border-radius: 0; gap: 32px; }
.step { background: transparent; padding: 24px 0; border-top: 2px solid var(--accent); }
.step h3 { font-size: 21px; }
.steps-foot, .mechanism-foot { border-left: none; padding: 24px; border-radius: 12px; max-width: 760px; }
.chat-shot { box-shadow: none; }
.chat-shot figcaption { font-family: inherit; text-transform: none; letter-spacing: 0; font-size: 13px; }
.beneficios-sec { background: #fff; }
.beneficios { gap: 36px; }
.beneficio { border: none; border-radius: 0; padding: 0; background: transparent; }
.beneficio .quem { font-family: inherit; font-size: 14px; text-transform: none; letter-spacing: 0; }
.beneficio h3 { font-size: 21px; line-height: 1.4; }
.solucao-grid { gap: 64px; align-items: center; }
.solucao, .gerenciar, .mecanismo { background: #fff; }
.list-title { font-family: inherit; text-transform: none; letter-spacing: 0; font-size: 20px; color: var(--primary); }
.feature-list .ico { background: transparent; }
.feature-list li { padding: 18px 0; }
.login-note { border-style: solid; }
.mechanism-grid { background: transparent; border: none; border-radius: 0; gap: 28px; }
.mechanism-card { padding: 20px 0; border-top: 1px solid var(--outline-soft); background: transparent; }
.mechanism-card .num { display: none; }
.mechanism-card h3 { margin-top: 0; }
.fit { max-width: none; gap: 32px; }
.fit-col h3 { font-family: inherit; text-transform: none; letter-spacing: 0; font-size: 20px; }
.prova .wrap { max-width: 940px; }
.prova blockquote { margin-top: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.5; font-weight: 500; }
.prova footer { font-family: inherit; }
.preco .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.preco .section-head { position: sticky; top: 120px; }
.price-card { width: 100%; max-width: none; box-shadow: none; }
.price-main { margin-top: 0; flex-wrap: wrap; }
.price-main .num { font-family: inherit; font-size: 64px; letter-spacing: -.035em; }
.implantacao { border-left: none; border-radius: 8px; }
.faq { max-width: 100%; }
.faq-item summary { min-height: 68px; }
.faq-item .a { max-width: 75ch; }
.final-cta { background: #e7edf6; }
.final-cta .wrap { max-width: 820px; }
:focus-visible { outline: 3px solid #904d00; outline-offset: 4px; }
.prova :focus-visible, footer.site :focus-visible { outline-color: var(--accent); }
@media (max-width: 1000px) {
  .hero-grid { gap: 36px; }
  .hero-visual { padding: 24px; }
  .solucao-grid, .preco .wrap { gap: 36px; }
}
@media (max-width: 860px) {
  .hero-grid, .preco .wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: 650px; }
  .hero-visual { max-width: 480px; width: 100%; margin: 0 auto; }
  .hero { padding: 44px 0 56px; }
  section { padding: 56px 0; }
  .steps, .beneficios { gap: 24px; }
  .preco .section-head { position: static; margin-bottom: 0; }
  .price-card { max-width: 620px; }
  .site-nav { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .site-inner { height: 76px; gap: 12px; }
  .brand { font-size: 20px; }
  .brand small { max-width: 125px; font-size: 11px; line-height: 1.35; }
  .brand img { width: 34px; height: 34px; }
  .btn-sm { font-size: 11px; padding: 10px; }
  .hero-cta { align-items: stretch; flex-direction: column; gap: 16px; }
  .demo-link { text-align: center; padding: 6px; }
  .hero-visual { padding: 24px; }
  .hero-copy .lede { font-size: 16px; }
  .price-main .num { font-size: 56px; }
  .price-main .unit { font-size: 14px; }
  .faq-item summary { padding: 20px; font-size: 15px; }
}

/* Color chapters follow the product story: friction, flow, control, decision. */
.problema { background: #fff1e8; }
.problema-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.reception-photo { margin: 0; }
.reception-photo img { width: 100%; height: 500px; object-fit: cover; border-radius: 18px; }
.reception-photo figcaption { font-size: 11px; color: #735545; margin-top: 10px; }
.problema .callout { background: #fffaf6; color: #743d22; }
.acompanhamento { background: #edf4ff; }
.beneficios-sec { background: #eaf5ef; }
.solucao { background: #fff; }
.conhecimento { background: #eaf1fc; }
.gerenciar { background: #f0f5f3; }
.agenda-feature { background: #f1eef9; }
.mecanismo { background: #fff; }
.praquem { background: #edf4f8; }
.preco { background: #fff1e8; }
.objecoes { background: #fff; }
.final-cta { background: #dfeaf8; }
.feature-list .ico { width: 32px; height: 32px; color: #274e80; }
.feature-list .ico svg { width: 25px; height: 25px; }
.beneficio .quem { color: #296348; }

/* Motion language: each message arrives once, then the key idea is marked. */
strong { font-weight: 750; color: var(--primary); }
.marker {
  --marker-color: rgba(254, 147, 44, .38);
  display: inline;
  position: relative;
  background-image: linear-gradient(var(--marker-color), var(--marker-color));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% .38em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 .04em;
}
.marker--cool { --marker-color: rgba(88, 157, 226, .27); }
.marker--green { --marker-color: rgba(72, 169, 118, .28); }
.marker--lavender { --marker-color: rgba(135, 111, 202, .25); }

.role-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: #185c3e;
  background: rgba(255,255,255,.62);
  border-radius: 16px;
}
.role-icon svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.beneficio:nth-child(2) .role-icon { color: #315e92; }
.beneficio:nth-child(3) .role-icon { color: #8a4b12; }
.beneficio h3 strong { color: #185c3e; }

@keyframes whatsapp-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 20px -14px rgba(4,13,23,.22); }
  50% { transform: scale(1.025); box-shadow: 0 12px 28px -12px rgba(4,13,23,.34); }
}
.btn.is-pulsing {
  animation: whatsapp-breathe 2.8s cubic-bezier(.4,0,.2,1) infinite;
  transform-origin: center;
}

/* Default stays visible. Script opts elements into this state only when it can reveal them. */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(5px);
  clip-path: inset(0 0 12% 0);
  transition:
    opacity .62s cubic-bezier(.16,1,.3,1),
    transform .62s cubic-bezier(.16,1,.3,1),
    filter .62s cubic-bezier(.16,1,.3,1),
    clip-path .62s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: inset(0);
}
.motion-ready .marker {
  background-size: 0 .38em;
  transition: background-size .72s cubic-bezier(.16,1,.3,1) .34s;
}
.motion-ready .is-visible .marker,
.motion-ready .marker.is-visible { background-size: 100% .38em; }

@media (max-width: 860px) {
  .problema-grid { grid-template-columns: 1fr; gap: 32px; }
  .reception-photo { max-width: 650px; }
  .reception-photo img { height: auto; aspect-ratio: 3 / 2; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal,
  .motion-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    clip-path: none;
    transition: none;
  }
  .motion-ready .marker,
  .motion-ready .is-visible .marker,
  .motion-ready .marker.is-visible {
    background-size: 100% .38em;
    transition: none;
  }
  .btn.is-pulsing { animation: none; }
}
