/* Identidade pública: papel, grafite e vermelho RZTalk.
   Carregado após os estilos de página; o painel mantém seu próprio tema. */
:root {
  --ink: #272925;
  --muted: #555952;
  --subtle: #666b63;
  --line: #dcded7;
  --surface: #f4f4ef;
  --red: #b73532;
  --red-soft: #f8ebe7;
  --radius: 6px;
}
body { background: #fff; }
.site-header { background: #fffffff5; border-color: var(--line); backdrop-filter: blur(8px); }
.header-inner { min-height: 88px; }
.main-nav a { font-size: 14px; }
.main-nav a:hover { color: var(--red); }
.button, .header-cta, .mobile-menu summary, .mobile-menu nav, .mobile-menu nav a,
.chat-launcher, .chat-launcher-icon, .skip-link { border-radius: 6px; }
.button, .header-cta, .text-link, .segment-card, .main-nav a, .chat-launcher {
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.button.primary, .header-cta { background: var(--red); color: #fff; }
.button.primary:hover, .header-cta:hover { background: #942d2a; }
.header-cta span, .home-hero .button.primary span { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--red); outline-offset: 5px;
}
.container, .page-hero-inner { width: min(100%, 1152px); }
.content-section { padding: 110px 24px 120px; }
.section-heading { margin-bottom: 48px; max-width: 760px; }
.section-heading.center { margin-left: 0; text-align: left; }
.section-heading.center .eyebrow { justify-content: flex-start; }
.section-heading h2, .home-section-title { font-weight: 650; letter-spacing: -.045em; line-height: 1.12; }
.eyebrow { color: var(--muted); font-size: 11px; letter-spacing: .12em; gap: 12px; }
.eyebrow:before { width: 20px; height: 2px; border-radius: 0; }
.page-hero { padding: 110px 24px 96px; background: var(--surface); }
.page-hero:before, .visual-shape, .platform-layer, .visual-card:before, .magazord-visual:before { display: none; }
.page-hero-inner.narrow { max-width: 1152px; }
.page-hero h1 { font-weight: 650; }
.home-hero-inner { grid-template-columns: 1.12fr .88fr; padding: 98px 0 74px; gap: 56px; min-height: 680px; }
.home-hero-copy { max-width: 640px; }
.home-hero h1 { font-size: clamp(42px, 4.6vw, 66px); font-weight: 650; letter-spacing: -.055em; line-height: 1.06; }
.hero-lead { font-size: 17px; line-height: 1.75; max-width: 510px; margin-top: 28px; }
.hero-actions { margin-top: 32px; }
.hero-note { font-size: 12px; margin-top: 24px; }
.home-visual { min-height: 420px; }
.inbox-card { inset: 12px 0 62px; padding: 14px; border-radius: 8px; box-shadow: none; border-color: var(--line); }
.inbox-ui { grid-template-columns: 28px minmax(80px,.65fr) minmax(160px,1.35fr); border-radius: 4px; }
.team-float, .reddy-float { border-radius: 6px; box-shadow: none; bottom: 0; min-height: 52px; padding: 10px; }
.team-float { left: 0; border: 0; background: var(--surface); }
.reddy-float { right: 0; background: var(--red-soft); color: var(--ink); }
.reddy-float small { color: var(--muted); }
.reddy-mark { border-color: #dcb7ae; color: var(--red); border-radius: 4px; }
.team-mark { border-radius: 4px; }
.hero-proof { padding: 23px 0 28px; border-color: var(--line); font-size: 12px; }
.split-panel { grid-template-columns: 1.1fr .9fr; gap: 88px; }
.platform-panel, .store-card, .chat-card, .platform-chip, .visual-card .info-card {
  border-radius: 6px; box-shadow: none;
}
.platform-visual { padding: 20px 0 30px 20px; }
.platform-chip { right: 0; bottom: 0; border: 0; background: var(--red-soft); }
.workflow-row { border-radius: 4px; }
.visual-card { background: #eeeee7; border-radius: 6px; }
/* Étapes en lignes : numéro, titre, explication. */
.card-grid { display: block; }
.info-card { display: grid; grid-template-columns: 145px minmax(0,1fr) minmax(0,1fr); gap: 32px;
  min-height: 0; padding: 32px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; align-items: start; }
.info-card:last-child { border-bottom: 1px solid var(--line); }
.info-card h3 { margin: 0; font-size: 22px; font-weight: 600; }
.info-card p { font-size: 15px; }
.card-index { padding-top: 5px; color: var(--red); }
.visual-card .info-card { display: block; padding: 24px; background: #fff; border: 1px solid var(--line); }
.flow-cards .info-card { min-height: 0; }
.feature-list { grid-template-columns: 1fr; gap: 0; }
.feature-list li { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0; }
.content-section.dark, .reddy-home { background: #eceee6; color: var(--ink); }
.dark .section-heading p, .reddy-home-copy > p:not(.eyebrow):not(.roadmap-note),
.reddy-home-copy .eyebrow, .reddy-capabilities span, .reddy-home-copy .roadmap-note { color: var(--muted); }
.reddy-home-inner { grid-template-columns: .7fr 1.3fr; gap: 100px; align-items: start; }
.reddy-signature { border-top: 2px solid var(--red); padding-top: 28px; }
.reddy-signature > span { display: block; color: var(--red); font-size: clamp(60px, 7vw, 96px); letter-spacing: -.07em; font-weight: 650; line-height: 1; }
.reddy-signature small { display: block; margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.reddy-home-copy h2 { font-weight: 650; }
.reddy-capabilities { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
.reddy-capabilities div { display: grid; grid-template-columns: 105px 1fr; gap: 20px; padding: 18px 0; border: 0; border-top: 1px solid #cdd1c5; border-radius: 0; background: transparent; }
.reddy-capabilities b { margin: 0; font-size: 14px; }
.reddy-capabilities span { font-size: 13px; line-height: 1.65; }
.reddy-home-copy .text-link { color: var(--ink); }
.channel-grid { grid-template-columns: 1fr; gap: 0; }
.channel-grid article { display: grid; grid-template-columns: 48px .7fr 1.3fr; gap: 24px; align-items: center; padding: 24px 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.channel-grid h3 { margin: 0; font-size: 19px; font-weight: 600; }
.channel-grid p { font-size: 14px; max-width: 540px; }
.channel-symbol { background: transparent; border: 1px solid var(--line); border-radius: 4px; }
.channel-disclaimer { font-size: 12px; margin-top: 24px; }
.segment-grid { grid-template-columns: 1fr; gap: 0; margin-left: 18%; }
.segment-card { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 26px 0; grid-template-columns: 56px 1fr 30px; gap: 10px; }
.segment-card:hover { transform: translateX(4px); border-color: var(--red); }
.segment-card b { font-size: 20px; font-weight: 600; }
.segment-card small { font-size: 14px; }
.segment-card > span { color: var(--red); }
.blog-grid { grid-template-columns: 1.35fr 1fr 1fr; gap: 32px; }
.blog-card { border: 0; border-radius: 0; background: transparent; }
.blog-card:hover { transform: translateY(-2px); box-shadow: none; }
.blog-card-body { padding: 22px 0; }
.editorial-note, .empty-state, .roadmap-panel, .pricing-contact { background: transparent; border-radius: 4px; text-align: left; }
.home-faq > .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-list { width: 100%; margin-left: 0; }
.home-final-cta { padding-top: 0; }
.cta-panel { background: var(--surface); color: var(--ink); border-radius: 0; border-top: 2px solid var(--red); padding: 56px 40px; }
.cta-panel p { color: var(--muted); }
.cta-panel .button { background: var(--red); color: #fff; }
.cta-panel .button:hover { background: #942d2a; }
.site-footer { background: #f4f4ef; color: var(--ink); padding-top: 64px; border-top: 1px solid var(--line); }
.footer-brand img { filter: none; }
.footer-brand p, .footer-links a, .footer-bottom { color: var(--muted); }
.footer-links b { color: var(--ink); }
.footer-links a:hover, .footer-bottom a:hover { color: var(--red); }
.footer-bottom { border-color: var(--line); }
.chat-launcher { box-shadow: none; background: var(--ink); }
.price-card, .plans-grid .plan-card, .plans-grid .plan-card.highlight { border-radius: 6px; box-shadow: none; }
.plan-badge, .stat-pill { border-radius: 4px; }
.testimonial-card { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; min-height: 0; padding: 32px 0; }
.testimonial-card blockquote { color: var(--ink); max-width: 800px; font-size: 24px; line-height: 1.5; }
.logo-list { justify-content: flex-start; }
.logo-list a, .logo-list .logo-mark { border: 0; border-radius: 0; background: transparent; }
@media (max-width: 1000px) {
  .home-hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 48px; }
  .home-hero-copy { max-width: 740px; }
  .home-visual { width: min(100%, 600px); margin: 0 0 0 auto; }
  .split-panel, .reddy-home-inner { gap: 48px; }
  .info-card { grid-template-columns: 110px 1fr; gap: 20px; }
  .info-card p { grid-column: 2; }
  .home-faq > .container { gap: 40px; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 72px; }
  .mobile-menu { margin-left: auto; }
  .content-section { padding: 72px 20px 80px; }
  .page-hero { padding: 74px 20px 64px; }
  .home-hero-inner { padding: 64px 0 48px; }
  .home-hero h1 { font-size: clamp(40px, 8vw, 58px); }
  .hero-lead { font-size: 16px; }
  .split-panel, .reddy-home-inner, .home-faq > .container { grid-template-columns: 1fr; }
  .reddy-signature > span { font-size: 64px; }
  .reddy-signature small { margin-top: 18px; }
  .segment-grid { margin-left: 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 32px 24px; }
  .home-final-cta { padding-top: 0; }
}
@media (max-width: 560px) {
  .info-card { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .info-card p { grid-column: auto; }
  .channel-grid article { grid-template-columns: 36px 1fr; gap: 12px 18px; }
  .channel-grid p { grid-column: 2; }
  .home-visual { min-height: 340px; }
  .inbox-card { inset: 0 0 66px; }
  .inbox-ui { grid-template-columns: 22px 70px minmax(0,1fr); }
  .inbox-chat-head b { font-size: 10px; }
  .inbox-chat-head small, .message-reddy b { font-size: 8px; }
  .message { font-size: 9px; padding: 7px; }
  .inbox-input { font-size: 8px; }
  .team-float, .reddy-float { bottom: 0; }
  .team-float b, .reddy-float b { font-size: 9px; }
  .team-float small, .reddy-float small { font-size: 8px; }
  .concept-note { font-size: 7px; }
  .hero-proof { font-size: 11px; }
  .hero-proof > span:last-child { font-size: 11px; }
  .section-heading { margin-bottom: 32px; }
  .testimonial-card blockquote { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Fluxo da Home: composição anterior solicitada, sem marcador no subtítulo. */
.home-flow .section-heading {
  max-width: 1000px;
  margin: 0 auto 48px;
  text-align: center;
}
.home-flow .eyebrow { justify-content: center; }
.home-flow .eyebrow::before { content: none; }
.home-flow .flow-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-flow .flow-cards .info-card {
  display: block;
  min-height: 198px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.home-flow .flow-cards .info-card h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 650;
}
.home-flow .flow-cards .info-card p { font-size: 14px; }
.home-flow .card-index { padding-top: 0; }
@media (max-width: 760px) {
  .home-flow .flow-cards { grid-template-columns: 1fr; }
  .home-flow .flow-cards .info-card { min-height: 0; }
  .home-flow .section-heading { margin-bottom: 32px; }
}

/* Persona abaixo da assinatura, com proporção preservada. */
.reddy-persona {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 28px auto 0;
  object-fit: contain;
}
@media (max-width: 760px) {
  .reddy-signature { display: grid; grid-template-columns: 1fr minmax(0, 180px); column-gap: 24px; align-items: start; }
  .reddy-signature > span, .reddy-signature small { grid-column: 1; }
  .reddy-persona { grid-column: 2; grid-row: 1 / 3; width: 180px; margin-top: 0; }
}
@media (max-width: 480px) {
  .reddy-signature { display: block; }
  .reddy-persona { width: min(100%, 220px); margin-top: 24px; }
}

/* Navegação flutuante, com espaço do topo preservado na rolagem. */
.site-header {
  position: sticky;
  top: 20px;
  width: min(calc(100% - 48px), 1200px);
  margin: 20px auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  backdrop-filter: none;
  box-shadow: 0 3px 12px #27292506;
}
.site-header .header-inner {
  width: 100%;
  min-height: 80px;
  padding: 12px 24px;
}
html { scroll-padding-top: 124px; }
@media (max-width: 900px) {
  .site-header .header-inner { gap: 16px; padding-inline: 18px; }
}
@media (max-width: 760px) {
  .site-header { top: 12px; width: calc(100% - 24px); margin-top: 12px; border-radius: 10px; }
  .site-header .header-inner { min-height: 68px; padding: 10px 16px; }
  .site-header .mobile-menu nav { max-height: calc(100dvh - 112px); overflow-y: auto; }
  html { scroll-padding-top: 104px; }
}

/* Cabeçalho amplo: navegação junto à marca, ações à direita. */
.site-header { width: min(calc(100% - 48px), 1360px); }
.site-header .header-inner { justify-content: flex-start; gap: 28px; }
.site-header .main-nav { margin-left: 0; gap: 24px; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-actions > a, .header-login summary { white-space: nowrap; }
.header-demo { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #fff; font-size: 12px; font-weight: 650; text-decoration: none; transition: background .25s, border-color .25s; }
.header-demo:hover { background: var(--surface); border-color: #bfc4c0; }
.header-login { position: relative; }
.header-login summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 8px; cursor: pointer; font-size: 13px; font-weight: 600; list-style: none; }
.header-login summary::-webkit-details-marker { display: none; }
.header-login summary:hover { color: var(--red); }
.header-login nav { position: absolute; right: 0; top: calc(100% + 12px); display: grid; width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px #2729250d; }
.header-login nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px; font-size: 13px; text-decoration: none; border-radius: 4px; }
.header-login nav a:hover { background: var(--surface); }
@media (max-width: 1100px) {
 .site-header .main-nav, .header-actions { display: none; }
 .site-header .mobile-menu { display: block; position: relative; margin-left: auto; }
 .site-header .mobile-menu summary { display: grid; width: 44px; height: 44px; align-content: center; justify-items: center; gap: 5px; cursor: pointer; border: 1px solid var(--line); border-radius: 6px; list-style: none; }
 .site-header .mobile-menu summary::-webkit-details-marker { display: none; }
 .site-header .mobile-menu summary span { background: var(--ink); width: 17px; height: 1.5px; }
 .site-header .mobile-menu nav { position: absolute; top: 53px; right: 0; display: grid; width: min(285px, calc(100vw - 64px)); max-height: calc(100dvh - 132px); overflow-y: auto; padding: 9px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px #2729250d; }
 .site-header .mobile-menu nav a { padding: 13px 12px; font-size: 14px; text-decoration: none; border-radius: 4px; }
 .site-header .mobile-menu nav a:hover { background: var(--surface); }
}
@media (max-width: 760px) { .site-header { width: calc(100% - 24px); } }

.chat-launcher-wrap { display: flex; align-items: center; gap: 18px; }
.whatsapp-launcher { position: relative; isolation: isolate; display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; background: #19b957; color: #fff; text-decoration: none; transition: background .25s, transform .25s; }
.whatsapp-launcher svg { width: 30px; height: 30px; }
.whatsapp-launcher::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #19b957; animation: whatsapp-pulse 2.4s ease-out infinite; }
.whatsapp-launcher:hover { background: #159e4b; transform: translateY(-2px); }
@keyframes whatsapp-pulse { 0% { transform: scale(1); opacity: .3; } 75%, 100% { transform: scale(1.55); opacity: 0; } }
@media (max-width: 560px) { .chat-launcher-wrap { gap: 12px; } .whatsapp-launcher { width: 54px; height: 54px; flex-basis: 54px; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-launcher::before { animation: none; } }

/* Depoimentos: leitura lado a lado, com faixa deslizante no celular. */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}
.testimonials-grid .testimonial-card {
  margin: 0;
  padding: 28px 0 8px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.testimonials-grid .testimonial-card blockquote {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.testimonials-grid .testimonial-card blockquote > :first-child { margin-top: 0; }
.testimonials-grid .testimonial-card blockquote > :last-child { margin-bottom: 0; }
.testimonials-grid .testimonial-card figcaption { padding-top: 24px; gap: 6px; }
.testimonials-grid .testimonial-card figcaption strong { font-size: 14px; }
.testimonials-grid .testimonial-card figcaption span { font-size: 12px; line-height: 1.5; }
.testimonials-grid:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
@media (max-width: 760px) {
  .testimonials-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 18px;
    scrollbar-width: thin;
  }
  .testimonials-grid .testimonial-card {
    flex: 0 0 88%;
    scroll-snap-align: start;
  }
  .testimonials-grid .testimonial-card:only-child { flex-basis: 100%; }
}

/* Capas do blog consistentes também na página inicial. */
.blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-grid .blog-card { min-width: 0; }
.blog-grid .blog-card > img,
.blog-grid .blog-card > .blog-card-placeholder {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
}
.channel-grid .channel-symbol { flex: none; color: var(--ink); }
.channel-grid .channel-symbol svg { display: block; width: 22px; height: 22px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
