@charset "UTF-8";

/* Identidade de 50 anos e movimentos decorativos. Os dados continuam estáticos. */
:root {
  --legacy-gold: #e2be7c;
  --legacy-ink: #171d27;
}

html { scroll-behavior: smooth; }
.sidebar {
  background: radial-gradient(ellipse at 0 0, #36312750, transparent 44%), #171d25;
  overflow-y: auto;
  scrollbar-width: thin;
}
.brand-logo { padding: 0; background: transparent; border-radius: 0; }
.brand-logo img {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  filter: drop-shadow(0 5px 16px #c69a4726);
}
.brand small { color: #cfb985; font-size: 7px; letter-spacing: 1.5px; }
.side-nav a { transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.side-nav a:hover { transform: translateX(2px); }
.side-nav a.active { background: #39302e; }
.public .topbar { height: 100px; background: #171d25; border-bottom-color: #303641; }
.public-brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.public-brand img { display: block; width: 76px; height: 76px; max-height: none; }
.public-brand > span { font-size: 21px; font-weight: 650; letter-spacing: -.5px; }
.public-brand small { color: #d6bb83; margin-top: 1px; font-size: 8px; letter-spacing: 1px; font-weight: 450; }
.public .header-label { color: #b5beca; border-left-color: #3b424d; }
.public .topbar > .btn.secondary { color: #e5e9ee; background: #ffffff06; border-color: #414854; }
.public .topbar > .btn.secondary:hover { background: #ffffff12; border-color: #d4b57a; }
.public main { padding-top: 33px; }
.btn { transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 7px 19px #bd2b4530; }
.btn:active { transform: translateY(0); }
.metric { transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.metric:hover { transform: translateY(-3px); border-color: #dcc7a1; box-shadow: 0 10px 26px #242b3910; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #b99152; }
.footer { border-top-color: #e7dfd3; }

.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 9px;
  min-height: 32px;
  border: 1px solid #e2e4e9;
  border-radius: 6px;
  background: transparent;
  color: #667080;
  font-size: 9px;
  font-weight: 500;
  white-space: nowrap;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { border-color: #b99762; color: #89642f; }
.motion-toggle[aria-pressed="true"] { background: #b8934d12; border-color: #b8934d75; }
.motion-toggle-icon { font-size: 12px; width: 12px; line-height: 1; }
.public .motion-toggle { color: #c4cbd6; border-color: #414854; }
.public .motion-toggle:hover { color: #e2be7c; border-color: #b99762; }
.motion-toggle:disabled { opacity: .7; }

.public-intro.kinetic-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 1fr);
  align-items: center;
  gap: 16px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 330px;
  margin: 0 0 18px;
  padding: 36px 37px;
  text-align: left;
  border: 1px solid #37353c;
  border-radius: 18px;
  background: #181e28;
  color: #f5f4f1;
}
.kinetic-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 88% 12%, #d3a15d22, transparent 55%), radial-gradient(ellipse at 76% 95%, #a92e3f40, transparent 50%);
  animation: ambient-glow 10s ease-in-out infinite alternate;
}
.kinetic-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, #c72e43, #dfbf80 70%, transparent);
  opacity: .8;
}
.kinetic-hero .hero-copy { min-width: 0; position: relative; z-index: 2; animation: hero-enter 650ms ease-out both; }
.kinetic-hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d6bb83;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.1px;
  line-height: 1.8;
  margin-bottom: 19px;
}
.legacy-line { flex-shrink: 0; display: inline-block; height: 1px; width: 24px; background: #d3b77f; }
.kinetic-hero h1 { font-size: clamp(29px, 3.4vw, 43px); line-height: 1.16; letter-spacing: -1.5px; font-weight: 620; }
.kinetic-hero h1 > span { color: #e4c28a; text-shadow: 0 0 34px #d7a75c18; }
.kinetic-hero p { max-width: 480px; color: #bac2cf; font-size: 11px; line-height: 1.85; margin-top: 18px; }
.kinetic-hero .hero-cta { margin-top: 22px; min-height: 40px; padding: 10px 15px; border-color: #ed687c55; }
.hero-visual { min-width: 0; position: relative; padding-top: 26px; }
.hero-outline-word {
  position: absolute;
  inset: 0 0 auto;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #9a8d7b60;
  text-align: center;
  white-space: nowrap;
}
.hero-visual-caption { display: flex; align-items: center; justify-content: center; gap: 6px; color: #a4afc0; font-size: 8px; margin-top: -5px; }
.status-light { width: 5px; height: 5px; background: #e0bd7a; border-radius: 50%; box-shadow: 0 0 12px #e0bd7a66; }
.hero-coordinate { position: absolute; bottom: 12px; right: 21px; font-size: 6px; color: #978e85; letter-spacing: 1.7px; }

.delivery-scene {
  --truck-width: 144px;
  --journey-duration: 9.6s;
  width: 100%;
  height: 205px;
  position: relative;
  overflow: hidden;
  color: #d1b47b;
  contain: paint;
}
.scene-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#c1aa7d0c 1px, transparent 1px), linear-gradient(90deg, #c1aa7d0c 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 73%);
}
.scene-kicker { position: absolute; top: 17px; left: 0; width: 100%; text-align: center; font-size: 6px; letter-spacing: 1.8px; color: #b2b9c7; }
.route-map { position: absolute; bottom: 67px; width: 100%; height: 100px; overflow: visible; }
.route-base { stroke: #d6b47b32; stroke-width: 1.2; }
.route-flow { stroke: #d6b47b; stroke-width: 1.4; stroke-dasharray: 5 9; animation: route-trace 4.5s linear infinite; }
.route-point { fill: #dfbd7d; stroke: #242934; stroke-width: 4; paint-order: stroke; }
.route-point--middle { fill: #cb5164; }
.route-halo { stroke: #e5c58b60; stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: route-beacon 2.8s ease-out infinite; }
.scene-road { position: absolute; bottom: 43px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #98a7bb80 12%, #98a7bb80 88%, transparent); }
.scene-road span { position: absolute; top: 7px; left: 0; width: 100%; height: 1px; background: repeating-linear-gradient(90deg, #8491a640 0 13px, transparent 13px 27px); }
/* A largura do contêiner representa o percurso; o SVG mantém a largura do veículo.
   Assim translateX(100%) percorre a cena sem recalcular left a cada quadro. */
.truck-runner { position: absolute; bottom: 34px; width: max(0px, calc(96% - var(--truck-width) - 8px)); height: calc(var(--truck-width) * .6); left: 4%; transform: translateX(0); animation: truck-travel var(--journey-duration) linear infinite; }
.delivery-truck { display: block; width: var(--truck-width); max-width: none; height: 100%; overflow: visible; }
.truck-body { animation: truck-bounce var(--journey-duration) ease-in-out infinite; }
.truck-wheel { transform-box: fill-box; transform-origin: center; animation: wheel-spin var(--journey-duration) linear infinite; }
.speed-line { position: absolute; height: 1px; border-radius: 1px; background: #dfbc7d; opacity: 0; animation: speed-streak var(--journey-duration) linear infinite; }
.speed-line--one { width: 25px; left: -14px; top: 33%; }
.speed-line--two { width: 18px; left: -23px; top: 45%; }
.speed-line--three { width: 31px; left: -20px; top: 57%; }
.route-caption { display: flex; gap: 9px; align-items: center; position: absolute; bottom: 13px; left: 6%; right: 6%; font-size: 6px; letter-spacing: 1.1px; color: #a6b1c1; }
.route-caption-line { height: 1px; background: #bca47738; flex: 1; }

.delivery-scene--compact { --truck-width: 104px; height: 148px; }
.delivery-scene--compact .scene-kicker { top: 2px; font-size: 5px; letter-spacing: 1.4px; }
.delivery-scene--compact .route-map { height: 75px; bottom: 57px; opacity: .72; }
.delivery-scene--compact .scene-road { bottom: 41px; }
.delivery-scene--compact .truck-runner { bottom: 35px; }
.delivery-scene--compact .route-caption { font-size: 5px; letter-spacing: .8px; }

.connection-ribbon { overflow: hidden; height: 39px; display: flex; align-items: center; margin: 0 0 28px; border-top: 1px solid #e4d8c4; border-bottom: 1px solid #e4d8c4; background: #f2ede4; color: #6d5c43; contain: paint; }
.ribbon-track { display: flex; width: max-content; animation: connection-flow 33s linear infinite; }
.ribbon-group { display: flex; align-items: center; justify-content: space-around; min-width: max(1050px, 100vw); gap: 36px; padding: 0 18px; flex-shrink: 0; }
.ribbon-group span { font-size: 9px; letter-spacing: 1.2px; font-weight: 550; white-space: nowrap; }
.ribbon-group b { font-size: 14px; color: #b78a47; font-weight: 400; }

.form-aside { background: #1c2330; border-color: #34394a; }
.form-aside > .delivery-scene { margin: -5px 0 18px; }
.form-aside h2 { color: #f1ede5; }
.form-aside .eyebrow { color: #d5b780; }
.form-aside > p:not(.eyebrow) { color: #b7c0d0; }
.form-aside .how-it-works strong { color: #e7e9ed; }
.form-aside .how-it-works small { color: #a6b1c3; }
.form-aside .how-it-works li > span { background: #d2b1780c; border-color: #8e79504a; color: #dfc087; }
.form-aside .aside-bottom { border-top-color: #3b4351; color: #a5b1c4; }

.welcome-banner.kinetic-banner { background: radial-gradient(ellipse at 100% 30%, #a6814626, transparent 56%), #1c2330; border-color: #343a47; padding: 25px 29px; }
.kinetic-banner .banner-copy { position: relative; min-width: 0; z-index: 1; }
.kinetic-banner .banner-label { color: #d8b77c; font-size: 7px; letter-spacing: 1.1px; }
.kinetic-banner h2 { color: #f2f1ef; }
.kinetic-banner p { color: #bbc5d3; font-size: 11px; }
.kinetic-banner p strong { color: #f1d8a7; }
.kinetic-banner a { color: #e0bf81; }
.banner-scene { flex: 0 0 250px; min-width: 0; }
.banner-scene .delivery-scene { --truck-width: 116px; height: 141px; }
.banner-scene .scene-kicker { color: #aab3c1; }
.login-message .login-art { background: #272630; color: #dabb82; box-shadow: 0 15px 35px #41322515; }
.login-message .login-art > span { background: #b4374c; }
.confirmation-details { border-color: #d9c5a1; }

.motion-reveal { transition: opacity 550ms ease, transform 550ms cubic-bezier(.2,.65,.2,1); }
.motion-reveal.reveal-pending { opacity: 0; transform: translateY(17px); }
.motion-reveal:focus-within { opacity: 1; transform: none; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after,
.motion-suspended *, .motion-suspended *::before, .motion-suspended *::after,
.scene-offscreen *, .scene-offscreen *::before { animation-play-state: paused !important; }
.motion-paused .motion-reveal { opacity: 1; transform: none; transition: none; }
.motion-paused .hero-copy { animation: none; }
.motion-paused .truck-runner { animation: none; transform: none; left: calc(50% - var(--truck-width) / 2); opacity: 1; }
.motion-paused .truck-body, .motion-paused .truck-wheel { animation: none; transform: none; }
.motion-paused .speed-line { animation: none; opacity: 0; }
.motion-paused .btn:hover, .motion-paused .metric:hover, .motion-paused .side-nav a:hover { transform: none; }

@keyframes truck-travel {
  0%, 12.5% { transform: translateX(0); opacity: 1; }
  12.5% { animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
  80%, 92.5% { transform: translateX(100%); opacity: 1; }
  96% { transform: translateX(100%); opacity: 0; }
  96.01% { transform: translateX(0); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
/* Rodas compartilham a curva e o ciclo da viagem, paradas por 1,2 s em cada ponta. */
@keyframes wheel-spin {
  0%, 12.5% { transform: rotate(0); }
  12.5% { animation-timing-function: cubic-bezier(.45, 0, .35, 1); }
  80%, 100% { transform: rotate(1080deg); }
}
@keyframes truck-bounce {
  0%, 12.5%, 23%, 33%, 43%, 53%, 63%, 73%, 80%, 100% { transform: translateY(0); }
  18%, 28%, 38%, 48%, 58%, 68%, 76% { transform: translateY(-.9px); }
}
@keyframes speed-streak {
  0%, 13%, 80%, 100% { transform: translateX(3px); opacity: 0; }
  20%, 30%, 40%, 50%, 60%, 70% { transform: translateX(-9px); opacity: .38; }
  25%, 35%, 45%, 55%, 65%, 75% { transform: translateX(-3px); opacity: .12; }
}
@keyframes route-trace { to { stroke-dashoffset: -112; } }
@keyframes route-beacon { 0%, 100% { transform: scale(.8); opacity: .4; } 55% { transform: scale(1.4); opacity: .8; } }
@keyframes connection-flow { to { transform: translateX(-50%); } }
@keyframes ambient-glow { from { opacity: .7; } to { opacity: 1; } }
@keyframes hero-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1200px) {
  .kinetic-hero.public-intro { padding: 30px; grid-template-columns: minmax(0, 1.4fr) minmax(200px, 1fr); }
  .kinetic-hero h1 { font-size: 34px; }
  .kinetic-hero p { font-size: 10px; }
  .banner-scene { flex-basis: 200px; }
  .banner-scene .delivery-scene { --truck-width: 100px; }
}
@media (max-width: 1050px) {
  .private .kinetic-hero.public-intro { grid-template-columns: 1fr; gap: 25px; }
  .private .kinetic-hero h1 { font-size: 38px; }
  .private .hero-visual { width: 100%; max-width: 410px; margin: 0 auto; }
  .private .hero-visual > .delivery-scene { height: 165px; }
  .private .hero-visual .scene-kicker { top: 6px; }
  .private .hero-visual .route-map { height: 80px; bottom: 59px; }
}
@media (max-width: 950px) {
  .form-aside > .delivery-scene { max-width: 350px; margin: 0 auto 19px; }
  .kinetic-banner h2 { font-size: 20px; }
  .banner-scene { flex-basis: 170px; }
  .banner-scene .delivery-scene { --truck-width: 90px; }
  .private .topbar-right { gap: 12px; }
  .private .local-date { display: none; }
}
@media (max-width: 760px) {
  .public .topbar { height: 84px; gap: 12px; }
  .public-brand { gap: 9px; margin-right: auto; }
  .public-brand img { width: 60px; height: 60px; max-height: none; }
  .public-brand > span { font-size: 17px; }
  .public-brand small { font-size: 6px; letter-spacing: .5px; }
  .brand-logo img { width: 100px; height: 100px; }
  .kinetic-hero.public-intro, .private .kinetic-hero.public-intro { display: block; padding: 27px 25px; border-radius: 14px; }
  .kinetic-hero h1, .private .kinetic-hero h1 { font-size: 36px; letter-spacing: -1.2px; }
  .kinetic-hero .eyebrow { font-size: 6px; letter-spacing: .9px; margin-bottom: 16px; }
  .kinetic-hero p { font-size: 11px; }
  .kinetic-hero p br { display: none; }
  .hero-visual, .private .hero-visual { margin: 30px auto 7px; max-width: 380px; }
  .hero-visual > .delivery-scene, .private .hero-visual > .delivery-scene { --truck-width: 132px; height: 170px; }
  .hero-visual .scene-kicker { top: 5px; }
  .hero-visual .route-map { height: 80px; bottom: 61px; }
  .hero-coordinate { font-size: 5px; right: 15px; bottom: 10px; }
  .connection-ribbon { margin-bottom: 21px; height: 33px; }
  .ribbon-group span { font-size: 8px; }
  .welcome-banner.kinetic-banner { display: block; padding: 24px; }
  .kinetic-banner h2 { font-size: 22px; }
  .kinetic-banner .banner-label { font-size: 6px; }
  .banner-scene { width: 100%; max-width: 330px; margin: 22px auto 0; }
  .banner-scene .delivery-scene { --truck-width: 112px; height: 130px; }
  .private .topbar-right .motion-toggle { font-size: 8px; padding: 6px 8px; }
  .private .topbar-right .motion-toggle-icon { font-size: 10px; }
  #formulario-agendamento { scroll-margin-top: 15px; }
}
@media (max-width: 600px) {
  .public-brand > span { display: none; }
  .public .topbar .motion-toggle { min-width: 32px; padding: 8px; }
  .public .topbar .motion-toggle [data-motion-label] { display: none; }
  .public .topbar > .btn { font-size: 9px; padding: 8px 11px; }
  .kinetic-hero h1, .private .kinetic-hero h1 { font-size: 32px; }
  .hero-outline-word { font-size: 21px; }
  .kinetic-hero .hero-cta { font-size: 10px; }
}
@media (max-width: 380px) {
  .kinetic-hero.public-intro { padding: 25px 21px; }
  .kinetic-hero h1, .private .kinetic-hero h1 { font-size: 29px; }
  .private .motion-toggle [data-motion-label] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion-reveal.reveal-pending { opacity: 1; transform: none; }
  .truck-runner { transform: none; left: calc(50% - var(--truck-width) / 2); opacity: 1; }
  .btn:hover, .metric:hover, .side-nav a:hover { transform: none; }
}
