/* ============================================================================
   RAC-MULTI — landing "Terminais de Containers"
   Estilos da campanha, ESCOPADOS em .rac-lp para não colidir com o shell do site.
   Tokens locais (tema fixo dark), fontes mapeadas para a marca (Inter + JetBrains
   Mono) e accent no laranja Riaworks. `.hero` foi renomeado para `.rac-hero`
   para não conflitar com o hero da home (hero.css).
   ============================================================================ */

.rac-lp {
  --bg: #0E1113; --panel: #161B1E; --panel-2: #1B2225; --ink: #E9EDEF;
  --muted: #9BA6AD; --faint: #6E7A81; --line: #293135;
  --accent: #fa5d19; --accent-2: #e04d10; --on-accent: #150C06;
  --ok: #3AAE72; --warn: #D9982F; --info: #4A93C4; --rust: #D45A4B;
  --night: #0E1214; --night-2: #151B1E; --night-ink: #E8EDEF; --night-muted: #93A0A7; --night-line: #253034;
  --maxw: 1120px; --prose: 60ch;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --r: 3px;

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  position: relative;
  z-index: 1;
}

.rac-lp * { box-sizing: border-box; }
.rac-lp ::selection { background: var(--accent); color: var(--on-accent); }
.rac-lp a { color: inherit; }
.rac-lp img { max-width: 100%; display: block; }
.rac-lp h1, .rac-lp h2, .rac-lp h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
.rac-lp p { margin: 0; }
.rac-lp strong { font-weight: 700; color: var(--ink); }

.rac-lp .wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.15rem, 5vw, 2.25rem); }
.rac-lp .section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.rac-lp .eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: .6em; margin: 0; }
.rac-lp .eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--accent); display: inline-block; }

/* buttons */
.rac-lp .btn { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: .005em; padding: .82em 1.4em; border-radius: var(--r); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .2s ease; }
.rac-lp .btn .arw { transition: transform .18s ease; }
.rac-lp .btn:hover .arw { transform: translateX(3px); }
.rac-lp .btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px -12px var(--accent); }
.rac-lp .btn--primary:hover { background: var(--accent-2); box-shadow: 0 12px 30px -12px var(--accent); }
.rac-lp .btn--ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .9; }
.rac-lp .btn--ghost:hover { opacity: 1; }
.rac-lp .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* hero */
.rac-lp .rac-hero { --h-ink: #EAEEF0; --h-muted: #9AA6AD; --h-accent: var(--accent); --h-bg: #0B0F12;
  position: relative; background: radial-gradient(120% 100% at 80% 0%, #12191E 0%, #0B0F12 60%); color: var(--h-ink); overflow: hidden; border-bottom: 1px solid #1e262b; }
.rac-lp .rac-hero::before { content: none; }
.rac-lp .rac-hero .wrap { position: relative; z-index: 2; }
.rac-lp .hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; min-height: min(78vh, 720px); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.rac-lp .rac-hero .eyebrow { color: var(--h-muted); }
.rac-lp .rac-hero .eyebrow::before { background: var(--h-accent); }
.rac-lp .rac-hero h1 { font-size: clamp(2.35rem, 5.6vw, 4.15rem); margin-top: 1.1rem; color: var(--h-ink); }
.rac-lp .rac-hero h1 em { font-style: normal; color: var(--h-accent); position: relative; }
.rac-lp .rac-hero .lede { font-size: clamp(1.08rem, 1.55vw, 1.28rem); color: var(--h-muted); max-width: 40ch; margin-top: 1.35rem; }
.rac-lp .rac-hero .cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; align-items: center; }
.rac-lp .rac-hero .microcta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: #74808a; text-transform: uppercase; }
.rac-lp .hero-canvas-wrap { position: relative; align-self: stretch; min-height: 340px; }
.rac-lp #yardCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%); }
.rac-lp .hero-hud { position: absolute; left: 22%; right: 6%; bottom: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; z-index: 3; pointer-events: none; }
.rac-lp .hero-hud .legend { display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.rac-lp .hero-hud .legend span { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--h-muted); }
.rac-lp .hero-hud .legend i { width: 8px; height: 8px; border-radius: 2px; }
.rac-lp .hero-hud .chip { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; color: #F1897A; background: rgba(210,60,45,.14); border: 1px solid rgba(210,60,45,.4); border-radius: 100px; padding: .3em .7em; font-weight: 600; }

/* animated title + underline */
.rac-lp .anim-title .word { display: inline-block; }
.js .rac-lp .anim-title .word { opacity: 0; transform: translateY(.6em); transition: opacity .5s ease, transform .55s cubic-bezier(.2,.75,.2,1); transition-delay: calc(var(--i, 0) * 42ms); }
.js .rac-lp .anim-title.in .word { opacity: 1; transform: none; }
.rac-lp .rac-hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .09em; background: var(--h-accent); transform: scaleX(0); transform-origin: left; }
.js .rac-lp .rac-hero h1.in em::after { animation: rac-draw .7s cubic-bezier(.2,.7,.2,1) .5s forwards; }

/* marquee — barra escura, códigos claros */
.rac-lp .marquee { background: #0a0d10; color: var(--ink); border-block: 1px solid var(--line); overflow: hidden; }
.rac-lp .marquee .track { display: inline-flex; white-space: nowrap; will-change: transform; animation: rac-scrollx 38s linear infinite; }
.rac-lp .marquee .track span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .05em; padding: .7rem 0; }
.rac-lp .marquee .track .u { color: var(--ink); }
.rac-lp .marquee .track .sep { color: var(--accent); padding-inline: 1.1rem; }
.rac-lp .marquee .track .s-ok { color: #57c98c; } .rac-lp .marquee .track .s-rent { color: #e6b04a; } .rac-lp .marquee .track .s-ret { color: #f08b7d; } .rac-lp .marquee .track .s-sold { color: #6fb0dc; }
.rac-lp .marquee:hover .track { animation-play-state: paused; }

/* browser frame */
.rac-lp .browser { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); box-shadow: 0 30px 70px -44px rgba(0,0,0,.55), 0 1px 0 var(--line); }
.rac-lp .browser .bar { display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.rac-lp .browser .dots { display: flex; gap: 6px; }
.rac-lp .browser .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.rac-lp .browser .addr { flex: 1; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .03em; color: var(--faint); background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: .3em .9em; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rac-lp .browser img { width: 100%; height: auto; background: #0b0f12; }

/* banner-show */
.rac-lp .banner-show { background: var(--panel-2); border-block: 1px solid var(--line); }
.rac-lp .banner-show .head { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; max-width: 46ch; margin: 0 auto 2.4rem; }
.rac-lp .banner-show h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.rac-lp .banner-show .head p { color: var(--muted); }
.rac-lp .banner-frame { max-width: 1000px; margin: 0 auto; }
.rac-lp .banner-cap { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: center; margin-top: 1.4rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rac-lp .banner-cap span { display: inline-flex; align-items: center; gap: .45em; }
.rac-lp .banner-cap i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* carousel */
.rac-lp .carousel { position: relative; }
.rac-lp .carousel .viewport { overflow: hidden; border-radius: 8px; }
.rac-lp .carousel .track { display: flex; transition: transform .55s cubic-bezier(.4,.0,.2,1); }
.rac-lp .carousel .slide { min-width: 100%; padding: 2px; }
.rac-lp .carousel figure { margin: 0; }
.rac-lp .carousel figcaption { margin-top: .9rem; text-align: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .04em; color: var(--muted); }
.rac-lp .cbtn { position: absolute; top: 42%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 92%, transparent); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 3; backdrop-filter: blur(6px); }
.rac-lp .cbtn:hover { border-color: var(--accent); color: var(--accent); }
.rac-lp .cbtn.prev { left: -8px; } .rac-lp .cbtn.next { right: -8px; }
.rac-lp .cbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.rac-lp .carousel .dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.3rem; }
.rac-lp .carousel .dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.rac-lp .carousel .dots button[aria-current="true"] { background: var(--accent); transform: scale(1.35); }
.rac-lp .carousel .dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* stat band */
.rac-lp .band { border-block: 1px solid var(--line); background: var(--panel); }
.rac-lp .band .wrap { padding-block: 0; }
.rac-lp .stat-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.rac-lp .stat { padding: 1.7rem 1.1rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .35rem; }
.rac-lp .stat:first-child { border-left: none; }
.rac-lp .stat .v { font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rac-lp .stat .k { font-size: .82rem; color: var(--muted); line-height: 1.35; }

/* chart band */
.rac-lp .chart-band { background: var(--panel-2); border-block: 1px solid var(--line); }
.rac-lp .chart-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.rac-lp .chart-txt h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.rac-lp .chart-txt p { color: var(--muted); }
.rac-lp .chart-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem 1.3rem 1rem; }
.rac-lp .chart-card .ch-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.rac-lp .chart-card .ch-t { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rac-lp .chart-card .ch-v { font-family: var(--font-mono); font-weight: 500; font-size: 1.15rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.rac-lp #trendCanvas { width: 100%; height: 180px; display: block; }

/* night (problema) */
.rac-lp .night { background: var(--night); color: var(--night-ink); position: relative; }
.rac-lp .night::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 15px, rgba(255,255,255,.02) 15px 16px); }
.rac-lp .night .wrap { position: relative; }
.rac-lp .night .eyebrow { color: var(--night-muted); } .rac-lp .night .eyebrow::before { background: var(--rust); }
.rac-lp .night h2 { color: var(--night-ink); }
.rac-lp .night .lead { color: color-mix(in srgb, var(--night-ink) 78%, transparent); font-size: clamp(1.15rem, 2vw, 1.5rem); max-width: 24ch; font-weight: 500; }
.rac-lp .night p { color: var(--night-muted); } .rac-lp .night strong { color: var(--night-ink); }
.rac-lp .ledger { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--night-line); border-radius: var(--r); overflow: hidden; max-width: 780px; }
.rac-lp .ledger li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.05rem 1.2rem; border-bottom: 1px solid var(--night-line); align-items: baseline; }
.rac-lp .ledger li:last-child { border-bottom: none; }
.rac-lp .ledger .tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); white-space: nowrap; padding-top: .2em; }
.rac-lp .ledger p { color: var(--night-muted); }
.rac-lp .kicker-line { margin-top: 2rem; font-size: 1.12rem; color: var(--night-ink); max-width: 52ch; }

/* turn (a virada) */
.rac-lp .turn h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); max-width: 20ch; }
.rac-lp .turn .body { max-width: var(--prose); color: var(--muted); font-size: 1.12rem; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.rac-lp .turn .big { color: var(--ink); font-weight: 600; }

/* section heads */
.rac-lp .sec-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.6rem; max-width: 42ch; }
.rac-lp .sec-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.5rem); }

/* cards (o que você ganha) */
.rac-lp .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rac-lp .card { background: var(--panel); padding: 1.7rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; position: relative; transition: background .18s ease, transform .18s ease; }
.rac-lp .card:hover { background: var(--panel-2); transform: translateY(-2px); }
.rac-lp .card .kick { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.rac-lp .card h3 { font-size: 1.22rem; letter-spacing: -.01em; }
.rac-lp .card p { color: var(--muted); font-size: .98rem; }
.rac-lp .card .proof { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: .68rem; line-height: 1.5; letter-spacing: .01em; color: var(--faint); }

/* steps (como funciona) */
.rac-lp .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rac-lp .step { background: var(--panel); padding: 1.8rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; }
.rac-lp .step .n { font-family: var(--font-mono); font-size: .95rem; font-weight: 500; color: var(--accent); letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.rac-lp .step .n small { color: var(--faint); font-weight: 400; }
.rac-lp .step h3 { font-size: 1.08rem; } .rac-lp .step p { color: var(--muted); font-size: .96rem; }
.rac-lp .flowbar { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rac-lp .flowbar .track { flex: 1; height: 1px; background: var(--line); position: relative; }
.rac-lp .flowbar .track::after { content: "\2192"; position: absolute; right: -2px; top: -.72em; color: var(--accent); }

/* personas */
.rac-lp .personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rac-lp .persona { border-top: 3px solid var(--role); padding-top: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }
.rac-lp .persona .role { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--role); }
.rac-lp .persona h3 { font-size: 1.15rem; } .rac-lp .persona p { color: var(--muted); font-size: .96rem; }
.rac-lp .persona.dono { --role: var(--accent); } .rac-lp .persona.oper { --role: var(--info); } .rac-lp .persona.fin { --role: var(--ok); }

/* proof cards */
.rac-lp .proof-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.rac-lp .pcard { border: 1px dashed var(--line); border-radius: var(--r); padding: 1.4rem; background: var(--panel-2); display: flex; flex-direction: column; gap: .7rem; min-height: 150px; }
.rac-lp .pcard .badge { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.rac-lp .pcard p { color: var(--muted); font-size: .95rem; }
.rac-lp .proof-note { margin-top: 1.6rem; font-size: 1.02rem; color: var(--ink); max-width: 60ch; font-weight: 500; border-left: 3px solid var(--accent); padding-left: 1rem; }

/* faq */
.rac-lp .faq { max-width: 820px; border-top: 1px solid var(--line); }
.rac-lp .faq details { border-bottom: 1px solid var(--line); }
.rac-lp .faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.4rem 1.25rem 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.rac-lp .faq summary::-webkit-details-marker { display: none; }
.rac-lp .faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 1.5rem; color: var(--accent); transition: transform .2s ease; }
.rac-lp .faq details[open] summary::after { content: "\2013"; }
.rac-lp .faq .a { padding: 0 2.4rem 1.4rem 0; color: var(--muted); max-width: 68ch; }
.rac-lp .faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* final CTA */
.rac-lp .final { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(2.2rem, 5vw, 3.6rem); position: relative; overflow: hidden; }
.rac-lp .final::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); }
.rac-lp .final h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 18ch; }
.rac-lp .final p { color: var(--muted); max-width: 58ch; margin-top: 1.2rem; }
.rac-lp .final .cta-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.rac-lp .final .btn--ghost { color: var(--ink); border-color: var(--line); opacity: 1; }
.rac-lp .final .btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* reveal */
.js .rac-lp .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.js .rac-lp .reveal.in { opacity: 1; transform: none; }

@keyframes rac-draw { to { transform: scaleX(1); } }
@keyframes rac-scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .rac-lp .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .rac-lp .hero-canvas-wrap { order: 2; height: 280px; min-height: 280px; margin-top: 1.5rem; }
  .rac-lp #yardCanvas { -webkit-mask-image: none; mask-image: none; }
  .rac-lp .hero-hud { left: 4%; right: 4%; }
  .rac-lp .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .rac-lp .stat:nth-child(3n+1) { border-left: none; }
  .rac-lp .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .rac-lp .steps { grid-template-columns: 1fr; }
  .rac-lp .personas { grid-template-columns: 1fr; }
  .rac-lp .chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rac-lp .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .rac-lp .stat:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .rac-lp .stat:nth-child(2n+1) { border-left: none; }
  .rac-lp .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rac-lp .cbtn.prev { left: 2px; } .rac-lp .cbtn.next { right: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rac-lp .reveal, .js .rac-lp .anim-title .word { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rac-lp .marquee .track { animation: none; }
  .rac-lp .rac-hero h1 em::after { transform: scaleX(1); animation: none; }
  .rac-lp .carousel .track { transition: none; }
}
