/* ==========================================================================
   Renovaris v2: hero escuro, jornada interativa, bento, diagrama offline
   Carrega depois de site.css e sobrescreve o necessário.
   ========================================================================== */

/* ---------- Hero escuro ---------- */
.hero { background:
  radial-gradient(700px 380px at 82% 8%, rgba(109,191,159, .28), transparent 70%),
  radial-gradient(600px 340px at 5% 100%, rgba(109,191,159, .12), transparent 70%),
  var(--ink); color: var(--on-dark); padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); pointer-events: none; }
.hero .container { position: relative; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--green); }
.hero .lead, .hero .hero-note { color: var(--on-dark); }
.hero .eyebrow { color: var(--green); background: rgba(109,191,159, .12); border: 1px solid rgba(109,191,159, .35); padding: 7px 14px; border-radius: 99px; letter-spacing: .08em; }
.hero .hero-note .icon { color: var(--green); }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.hero .shot-caption { color: #8fa59e; }
.hero-visual { position: relative; }
.hero-visual .frame { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); border-color: rgba(255,255,255,.14); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(109,191,159,.15); transition: transform .5s; }
.hero-visual:hover .frame { transform: perspective(1600px) rotateY(0) rotateX(0); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 10px 14px 10px 10px; font: 700 .82rem/1.25 var(--font-head); box-shadow: 0 18px 40px -14px rgba(0,0,0,.6); animation: bob 6s ease-in-out infinite; }
.chip small { display: block; font: 500 .72rem var(--font-body); color: var(--muted); }
.chip .ci { width: 34px; height: 34px; border-radius: 10px; background: var(--mint-100); color: var(--green-700); display: grid; place-items: center; }
.chip .ci .icon { width: 18px; height: 18px; }
.chip-1 { left: -22px; top: 22%; }
.chip-2 { right: -14px; top: 6%; animation-delay: -2s; }
.chip-3 { right: 8%; bottom: 14%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.capbar { background: var(--ink-2); border-color: var(--ink-3); }
.capbar li { color: #fff; }
.capbar .icon { color: var(--green); }

/* ---------- Jornada interativa ---------- */
.j-track { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-bottom: 36px; }
.j-track::before { content: ""; position: absolute; left: 6.25%; right: 6.25%; top: 27px; height: 3px; background: var(--ink-3); border-radius: 3px; }
.j-bar { position: absolute; left: 6.25%; top: 27px; height: 3px; background: linear-gradient(90deg, var(--green-600), var(--green)); border-radius: 3px; width: 0; transition: width .6s cubic-bezier(.4, .1, .2, 1); box-shadow: 0 0 14px rgba(109,191,159,.7); }
.j-step { position: relative; z-index: 1; background: none; border: 0; cursor: pointer; font: inherit; color: var(--on-dark); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 4px; }
.j-dot { width: 56px; height: 56px; border-radius: 50%; background: var(--ink-2); border: 2px solid var(--ink-3); display: grid; place-items: center; color: var(--on-dark); transition: all .35s; }
.j-dot .icon { width: 24px; height: 24px; }
.j-step b { font: 700 .88rem var(--font-head); text-align: center; line-height: 1.2; }
.j-step.is-done .j-dot { border-color: var(--green-600); color: var(--green); }
.j-step.is-active .j-dot { background: var(--green); border-color: var(--green); color: var(--ink); transform: scale(1.14); box-shadow: 0 0 0 8px rgba(109,191,159,.18), 0 0 30px rgba(109,191,159,.5); }
.j-step.is-active b { color: #fff; }
.j-step:hover .j-dot { border-color: var(--green); }
.j-panel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: linear-gradient(160deg, var(--ink-2), #12231f); border: 1px solid var(--ink-3); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); min-height: 400px; }
.j-who { display: inline-flex; align-items: center; gap: 8px; font: 700 .75rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: rgba(109,191,159,.14); color: var(--green); margin-bottom: 16px; }
.j-who.is-driver { background: rgba(255,184,77,.14); color: #ffb84d; }
.j-who.is-yard { background: rgba(120,170,255,.14); color: #8db4ff; }
.j-who.is-money { background: rgba(230,140,255,.14); color: #e4a2ff; }
.j-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.j-panel p { color: var(--on-dark); }
.j-panel ul { margin-top: 18px; display: grid; gap: 10px; }
.j-panel li { position: relative; padding-left: 28px; font-size: .96rem; }
.j-panel li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) scale(.9); }
.j-shot .frame { border-color: var(--ink-3); box-shadow: 0 30px 70px -25px rgba(0,0,0,.7); }
.j-shot.is-phone { display: flex; justify-content: center; }
.j-shot.is-phone img { width: auto; max-height: 440px; max-width: 70%; border-radius: 30px; border: 8px solid #0a1311; box-shadow: 0 30px 70px -25px rgba(0,0,0,.8); }
.j-slide { display: contents; }
.j-slide[hidden] { display: none; }
.j-slide.is-in .j-copy, .j-slide.is-in .j-shot { animation: jin .5s ease both; }
.j-slide.is-in .j-shot { animation-delay: .08s; }
@keyframes jin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.j-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; font-size: .9rem; color: #8fa59e; }
.j-ctrl button { background: none; border: 1px solid var(--ink-3); color: #fff; border-radius: 10px; padding: 8px 14px; font: 600 .88rem var(--font-head); cursor: pointer; }
.j-ctrl button:hover { border-color: var(--green); }
@media (max-width: 1020px) {
  .j-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 96px; overflow-x: auto; padding: 14px 0 12px; }
  .j-track::before, .j-bar { display: none; }
  .j-panel { grid-template-columns: 1fr; min-height: 0; }
}

/* ---------- Benefícios em bento ---------- */
.benefits { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; border: 0; }
.benefit { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; grid-column: span 3; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); }
.benefit .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--mint-100); margin-bottom: 18px; }
.benefit:nth-child(1), .benefit:nth-child(4) { background: linear-gradient(135deg, var(--ink), var(--ink-3)); border-color: var(--ink); }
.benefit:nth-child(1) h3, .benefit:nth-child(4) h3 { color: #fff; font-size: 1.4rem; }
.benefit:nth-child(1) p, .benefit:nth-child(4) p { color: var(--on-dark); }
.benefit:nth-child(1) .icon, .benefit:nth-child(4) .icon { background: rgba(109,191,159,.16); color: var(--green); }
@media (min-width: 1021px) {
  .benefit:nth-child(2), .benefit:nth-child(3), .benefit:nth-child(5) { grid-column: span 2; }
  .benefit:nth-child(1) { grid-column: span 4; }
  .benefit:nth-child(6) { grid-column: span 6; }
  .benefit:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 680px) { .benefits { grid-template-columns: 1fr; } .benefit:nth-child(n) { grid-column: auto; } }

/* ---------- Diagrama offline / sincronização ---------- */
.sync { background: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); color: var(--on-dark); }
.sync h3 { color: #fff; }
.sync-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; gap: 12px; }
.sync-node { text-align: center; }
.sync-node .box { width: 110px; height: 110px; margin: 0 auto 14px; border-radius: 28px; background: var(--ink-2); border: 2px solid var(--ink-3); display: grid; place-items: center; color: var(--green); }
.sync-node .box .icon { width: 48px; height: 48px; }
.sync-node h3 { font-size: 1.05rem; margin-bottom: 4px; }
.sync-node p { font-size: .9rem; margin: 0; }
.sync-link { position: relative; height: 90px; }
.sync-link svg { width: 100%; height: 100%; overflow: visible; }
.sync-link .rail { stroke: var(--ink-3); stroke-width: 3; stroke-dasharray: 3 9; stroke-linecap: round; fill: none; }
.sync-link .pulse { fill: var(--green); filter: drop-shadow(0 0 6px var(--green)); animation: travel 4.5s linear infinite; }
.sync-link .pulse:nth-of-type(2) { animation-delay: -1.5s; }
.sync-link .pulse:nth-of-type(3) { animation-delay: -3s; }
@keyframes travel { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(300px); opacity: 0; } }
.sync-link .label { position: absolute; left: 50%; top: -4px; transform: translateX(-50%); font: 700 .72rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: rgba(109,191,159,.12); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.sync-states { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sync-state { border: 1px solid var(--ink-3); background: var(--ink-2); border-radius: var(--radius); padding: 18px 20px; }
.sync-state b { display: block; font: 800 .8rem var(--font-head); color: var(--green); letter-spacing: .08em; margin-bottom: 6px; }
.sync-state h3 { font-size: 1.02rem; margin-bottom: 4px; }
.sync-state p { margin: 0; font-size: .9rem; }
@media (max-width: 820px) { .sync-grid, .sync-states { grid-template-columns: 1fr; } .sync-link { height: 60px; } }

/* ---------- Pipeline horizontal reutilizável ---------- */
.pipe { display: flex; flex-wrap: wrap; gap: 10px 0; align-items: stretch; }
.pipe > li { position: relative; flex: 1 1 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 18px; margin-right: 22px; }
.pipe > li:last-child { margin-right: 0; }
.pipe > li::after { content: ""; position: absolute; right: -22px; top: 50%; width: 22px; height: 2px; background: var(--green); }
.pipe > li:last-child::after { display: none; }
.pipe .n { font: 800 .75rem var(--font-head); color: var(--green-700); letter-spacing: .08em; }
.pipe h3 { font-size: 1rem; margin: 4px 0 2px; }
.pipe p { font-size: .88rem; margin: 0; color: var(--muted); }
@media (max-width: 680px) { .pipe > li { flex-basis: 100%; margin-right: 0; } .pipe > li::after { display: none; } }

@media (max-width: 1020px) { .chip { display: none; } .hero-visual .frame { transform: none; } }
@media (prefers-reduced-motion: reduce) { .chip, .sync-link .pulse, .j-slide.is-in .j-copy, .j-slide.is-in .j-shot { animation: none; } }

/* ---------- Capa: notebook + celular ---------- */
.hero-visual .devices { position: relative; padding: 0 0 0 0; }
.hero-visual .devices::before { content: ""; position: absolute; inset: 8% -4% -6% 4%; background: radial-gradient(closest-side, rgba(109,191,159,.35), transparent 75%); filter: blur(30px); z-index: 0; }
.laptop { position: relative; z-index: 1; transform: perspective(1800px) rotateY(-7deg) rotateX(3deg); transition: transform .6s; }
.hero-visual:hover .laptop { transform: none; }
.laptop-screen { background: #05100d; border: 2px solid #3a4f49; border-bottom: 0; border-radius: 16px 16px 0 0; padding: 10px 10px 0; box-shadow: 0 50px 100px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.06); }
.laptop-screen img { width: 100%; height: auto; border-radius: 6px 6px 0 0; display: block; }
.laptop-base { height: 16px; margin: 0 -4%; background: linear-gradient(#cfd8d5, #8d9a96); border-radius: 0 0 18px 18px; position: relative; box-shadow: 0 24px 40px -12px rgba(0,0,0,.7); }
.laptop-base::after { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 6px; transform: translateX(-50%); background: #6f7e79; border-radius: 0 0 10px 10px; }
.phone-float { position: absolute; z-index: 2; right: -3%; bottom: -8%; width: 24%; transform: rotate(4deg); animation: bob 7s ease-in-out infinite; }
.phone-float img { width: 100%; height: auto; border-radius: 22px; border: 6px solid #0a1311; box-shadow: 0 30px 60px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.12); }
.chip-1 { left: -26px; top: 30%; z-index: 3; }
.chip-2 { right: 14%; top: -4%; z-index: 3; }
.chip-3 { left: 6%; bottom: -2%; right: auto; z-index: 3; }
@media (max-width: 1020px) { .laptop { transform: none; } .phone-float { right: 0; width: 26%; } }
@media (prefers-reduced-motion: reduce) { .phone-float { animation: none; } }

/* ---------- Paleta suavizada (grafite + verde-sálvia) ---------- */
:root {
  --ink: #1d2529; --ink-2: #252f34; --ink-3: #35424a;
  --green: #6dbf9f; --green-600: #52a886; --green-700: #2f7d62;
  --mint-50: #f3f8f6; --mint-100: #e3f0ea;
  --surface: #f5f7f7; --line: #e3e8e8;
  --on-dark: #c5d0d4; --muted: #5f6b70; --text: #36444a;
}
.hero { background:
  radial-gradient(700px 380px at 82% 8%, rgba(109,191,159,.14), transparent 70%), var(--ink); }
.hero::before { opacity: .55; }
.j-bar, .j-step.is-active .j-dot, .hero-visual .devices::before { box-shadow: none; }
.j-step.is-active .j-dot { box-shadow: 0 0 0 6px rgba(109,191,159,.14); }
.hero-visual .devices::before { background: radial-gradient(closest-side, rgba(109,191,159,.16), transparent 75%); }
.btn-primary { box-shadow: 0 6px 16px -8px rgba(109,191,159,.5); }
.sync-link .pulse { filter: none; }
.j-panel { background: linear-gradient(160deg, var(--ink-2), #20292d); }
.benefit:nth-child(1), .benefit:nth-child(4) { background: linear-gradient(135deg, var(--ink), var(--ink-3)); }

/* ---------- Segmentos em 3 colunas (home) ---------- */
.seg-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg-grid.cols-3 .seg { padding: 28px; }
.seg-grid.cols-3 .seg h3 { font-size: 1.2rem; }
@media (max-width: 1020px) { .seg-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- Prova social (home) ---------- */
.proof { padding: clamp(48px, 6vw, 72px) 0; background: #fff; border-bottom: 1px solid var(--line); }
.proof-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.proof-head p { margin: 0; color: var(--muted); }
.proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 32px 0; padding: 0; list-style: none; }
.proof-stats li { padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.proof-stats strong { display: block; font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.proof-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; }
.proof-clients { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; }
.proof-clients span { font: 700 .78rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.proof-clients img { height: 26px; width: auto; }
.proof-clients b { font: 800 1.35rem/1 var(--font-head); color: #033638; letter-spacing: -.02em; }
@media (max-width: 900px) { .proof-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Plano único ---------- */
.plan-single { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.plan-single .plan h2 { font-size: 1.6rem; }
.plan-single .plan .for { min-height: 0; }
.plan-single .plan .btn { margin-top: 8px; }
.plan-included { columns: 2; column-gap: 40px; margin: 20px 0 24px; }
.plan-included li { break-inside: avoid; }
@media (max-width: 900px) { .plan-single { grid-template-columns: 1fr; } .plan-included { columns: 1; } }

/* ---------- App: cinco telas ---------- */
.phones.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1020px) { .phones.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; } }
@media (max-width: 680px) { .phones.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Lista de áreas compacta (home) ---------- */
.cat-list.compact .cat { grid-template-columns: 56px minmax(0, 1fr) auto; padding: 24px 0; align-items: center; }
@media (max-width: 1020px) { .cat-list.compact .cat { grid-template-columns: 44px 1fr; } }

/* ---------- Logo maior e selo do hero ---------- */
:root { --header-h: 84px; }
.brand img { height: 48px; width: auto; }
.site-footer .footer-brand img { height: 48px; width: auto; }
.chip-3 { bottom: 10%; }
.hero .shot-caption { margin-top: 20px; }
@media (max-width: 680px) { :root { --header-h: 72px; } .brand img { height: 40px; } }

/* ---------- Barra de recursos: tudo em uma linha no desktop ---------- */
@media (min-width: 1081px) {
  .capbar ul { flex-wrap: nowrap; justify-content: space-between; gap: 16px; }
  .capbar li { white-space: nowrap; font-size: .9rem; gap: 8px; }
}
@media (max-width: 1080px) {
  .capbar ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
  .capbar li { font-size: .88rem; }
}
@media (max-width: 680px) { .capbar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
