/* =========================================================
   Visual "marketplace": topo branco, página inicial larga,
   seções arejadas, títulos em caixa alta, colagem da marca.
   Carregado depois do site.css (sobrescreve o topo).
   ========================================================= */
.topbar { background: var(--white); border-bottom: 1px solid #E1E6EE; position: sticky; top: 0; z-index: 30; }
.topbar-inner { max-width: 1100px; }
.brand-name { color: var(--navy); }
.menu { align-items: center; }
.menu a { color: var(--navy); }
.menu a.menu-cta { background: var(--orange); color: #fff; padding: 6px 14px; border-radius: 999px; }
.menu-me .avatar-img { border-color: #E1E6EE; }

.page-wide { max-width: 1100px; }
.section-title { text-transform: uppercase; letter-spacing: .12em; font-size: 1.15rem; text-align: center; margin: 2.6rem 0 1.2rem; }
.section-title-left { text-align: left; margin-top: 0; }
.button-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }

/* Topo da página inicial */
.hero2 { display: grid; gap: 24px; align-items: center; padding: 8px 0 24px; }
@media (min-width: 860px) { .hero2 { grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 24px 0 40px; } }
.hero2 h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; letter-spacing: -.01em; }
.hero2-lead { font-size: 1.15rem; color: #33445e; margin: 0 0 18px; }
.hero2-form { background: var(--white); border-radius: 18px; padding: 16px; box-shadow: 0 10px 30px rgba(11, 37, 69, .10); display: grid; gap: 10px; }
.hero2-field { display: grid; gap: 4px; position: relative; }
.hero2-field span { font-size: .9rem; font-weight: 800; }
.hero2-field select, .hero2-field input { font: inherit; padding: 12px 14px; border: 2px solid #C9D1DC; border-radius: 12px; background: #fff; width: 100%; }
.hero2-route { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero2-buttons { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.hero2-buttons .button { margin: 0; }

/* Colagem (arte do topo) */
.collage { position: relative; height: 360px; max-width: 480px; margin: 0 auto; width: 100%; }
.collage-panel { position: absolute; right: 0; top: 10px; width: 72%; height: 300px; border-radius: 26px;
  background: linear-gradient(160deg, #0B2545 0%, #16406f 60%, #FF7A1A 160%); display: grid; place-items: center; overflow: hidden; }
.collage-truck { width: 92%; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25)); }
.chip-city { display: inline-block; background: #fff; border: 1px solid #DCE2EA; border-radius: 6px; padding: 5px 10px; font-size: .78rem; font-weight: 900; letter-spacing: .06em; color: var(--navy); box-shadow: 0 2px 6px rgba(11, 37, 69, .08); }
.chip-from { position: absolute; left: 0; top: 30px; }
.chip-to { position: absolute; left: 0; top: 68px; }
.collage-path { position: absolute; left: 8%; top: 100px; width: 30%; height: 150px; }
.collage-arrow { position: absolute; left: 4%; top: 190px; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem; font-weight: 900; border: 4px solid #fff; box-shadow: 0 4px 12px rgba(11, 37, 69, .2); }
.collage-offer { position: absolute; right: 16%; bottom: 6px; background: #fff; border-radius: 14px; padding: 10px 12px; display: flex; gap: 10px; align-items: center;
  box-shadow: 0 10px 24px rgba(11, 37, 69, .18); }
.collage-offer span { display: grid; line-height: 1.2; font-size: .9rem; }
.collage-price { background: var(--orange-light); color: var(--orange-dark); font-weight: 900; font-size: 1.1rem !important; padding: 6px 10px; border-radius: 10px; }
.collage-badge { position: absolute; left: 0; bottom: 70px; background: var(--navy); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 800;
  box-shadow: 0 6px 16px rgba(11, 37, 69, .2); }
@media (max-width: 520px) { .collage { height: 300px; } .collage-panel { height: 240px; } .collage-badge { bottom: 50px; } }

/* Fileira de tipos */
.cat-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
@media (min-width: 860px) { .cat-row { justify-content: center; flex-wrap: wrap; } }
.cat-tile { flex: none; width: 108px; display: grid; justify-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.cat-tile-fig { width: 76px; height: 76px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 2.3rem; box-shadow: 0 4px 14px rgba(11, 37, 69, .08); transition: transform .15s; }
.cat-tile:hover .cat-tile-fig { transform: translateY(-3px); }

/* Como funciona (3 passos) */
.band { background: var(--white); border-radius: 24px; padding: 8px 18px 22px; margin: 18px 0; }
.three-steps { display: grid; gap: 22px; }
@media (min-width: 760px) { .three-steps { grid-template-columns: repeat(3, 1fr); } }
.step-card h3 { margin: 12px 0 4px; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; }
.step-card p { margin: 0; color: #33445e; font-size: .98rem; }
.step-art { height: 130px; border-radius: 18px; background: var(--bg); display: flex; align-items: center; justify-content: center; gap: 12px; }
.mini-fig { font-size: 3.4rem; }
.mini-chips { display: grid; gap: 6px; }
.step-art-people img { border-radius: 50%; opacity: .85; }
.step-best { display: grid; justify-items: center; background: #fff; border-radius: 14px; padding: 8px 10px; box-shadow: 0 8px 18px rgba(11, 37, 69, .12); }
.step-best strong { color: var(--orange-dark); }
.step-art-route { gap: 0; }
.route-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; }
.route-line { width: 110px; border-top: 3px dashed #9fb0c5; text-align: center; font-size: .78rem; color: #5b6b80; padding-top: 4px; margin-top: 20px; }

/* Faixa de confiança */
.trust-band { background: var(--navy); color: #fff; border-radius: 24px; padding: 22px 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 24px 0; }
@media (min-width: 760px) { .trust-band { grid-template-columns: repeat(4, 1fr); } }
.trust-band div { display: grid; justify-items: center; text-align: center; gap: 2px; }
.trust-band span { font-size: 2rem; }
.trust-band small { color: #b9c7da; }

/* Duas colunas (segurança / motorista) */
.split { display: grid; gap: 22px; align-items: center; margin: 36px 0; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } }
.split p { color: #33445e; }
.split-img { width: 100%; max-width: 440px; justify-self: center; }
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list li > span { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 4px 12px rgba(11, 37, 69, .08); }
.icon-list p { margin: 2px 0 0; font-size: .95rem; }

.cards-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }

.faq-round { max-width: 720px; margin: 0 auto; }
.faq-round summary { list-style: none; display: flex; gap: 10px; align-items: center; }
.faq-round summary::-webkit-details-marker { display: none; }
.faq-round summary::before { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); display: grid; place-items: center; font-weight: 900; line-height: 1; }
.faq-round details[open] summary::before { content: "−"; }

.final-cta { text-align: center; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); color: #fff; border-radius: 24px; padding: 30px 18px; margin: 30px 0 10px; }
.final-cta h2 { margin-top: 0; font-size: 1.6rem; }
.final-cta .button { background: #fff; color: var(--orange-dark); }

/* Rodapé em colunas */
.footer2 { background: var(--white); border-top: 1px solid #E1E6EE; margin-top: 30px; padding: 28px 20px 16px; }
.footer2-cols { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 760px) { .footer2-cols { grid-template-columns: repeat(4, 1fr); } }
.footer2 h4 { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: #5b6b80; }
.footer2 ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer2 a { color: var(--navy); text-decoration: none; font-size: .95rem; }
.footer2 a:hover { color: var(--orange-dark); }
.footer2 .link { font-size: .95rem; padding: 0; }
.footer2-bottom { max-width: 1100px; margin: 18px auto 0; padding-top: 14px; border-top: 1px solid #E1E6EE; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: .85rem; color: #5b6b80; }
.footer2-bottom .powered { flex-basis: auto; margin: 0; }

/* Ajustes finos */
.cat-tile { width: 122px; font-size: .72rem; overflow-wrap: anywhere; hyphens: auto; }
.hero2-buttons .button { white-space: nowrap; padding-left: 10px; padding-right: 10px; }
@media (max-width: 520px) {
  .brand-name { display: none; }
  .menu { gap: 10px; }
  .menu a { font-size: .85rem; }
  .menu-me span { display: none; }
}

/* Cadastro de motorista em etapas */
.wizard { display: grid; gap: 16px; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(11, 37, 69, .08); }
@media (min-width: 760px) { .wizard { grid-template-columns: 300px 1fr; } }
.wizard-side { background: var(--navy); color: #fff; padding: 20px; }
.wizard-art { width: 100%; max-width: 220px; display: block; margin: 0 auto 6px; }
.wizard-title { font-weight: 900; font-size: 1.15rem; margin: 6px 0; }
.wizard-bar { display: block; height: 10px; background: rgba(255, 255, 255, .18); border-radius: 999px; overflow: hidden; margin: 6px 0; }
.wizard-bar > span { display: block; height: 100%; background: var(--orange); border-radius: 999px; }
.wizard-count { font-size: .85rem; color: #b9c7da; margin: 0 0 10px; }
.wizard-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; position: relative; }
.wizard-steps li, .wizard-steps li a { display: flex; align-items: center; gap: 10px; color: #b9c7da; text-decoration: none; font-weight: 800; font-size: .95rem; padding: 4px 0; }
.wizard-steps li.ok, .wizard-steps li.ok a { color: #fff; }
.wizard-steps li.now, .wizard-steps li.now a { color: var(--orange); }
.wizard-dot { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: .85rem; }
.wizard-steps li.ok .wizard-dot { background: var(--orange); border-color: var(--orange); color: #fff; }
.wizard-main { padding: 22px 20px 26px; }
.wizard-fig { width: 84px; height: 84px; font-size: 2.6rem; }
@media (max-width: 759px) { .wizard-art { max-width: 160px; } .wizard-steps { grid-template-columns: 1fr 1fr; } }
.progress-card { display: flex; gap: 12px; align-items: center; background: var(--white); border: 2px solid var(--orange); border-radius: 16px; padding: 12px 14px; margin: 12px 0; text-decoration: none; color: var(--navy); }
.progress-card > span:last-child { display: grid; flex: 1; }
.progress-card .wizard-bar { background: var(--orange-light); }
.progress-card small { color: #5b6b80; }

/* Criar conta: escolha com figura + painel que muda */
.join { display: grid; background: var(--white); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(11, 37, 69, .08); }
@media (min-width: 860px) { .join { grid-template-columns: 1fr 1.15fr; } }
.join-art { background: linear-gradient(165deg, #0B2545 0%, #16406f 70%, #FF7A1A 170%); color: #fff; padding: 28px 24px; display: grid; align-content: start; gap: 8px; }
.join-big { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; text-transform: uppercase; line-height: 1.05; margin: 0; }
.join-art p { margin: 4px 0; color: #dbe5f1; }
.join-img { width: 140px; margin: 14px 0; }
.join-img-wide { width: 100%; max-width: 300px; }
.join-points { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-weight: 800; }
@media (max-width: 859px) { .join-art { padding: 18px; } .join-img { width: 90px; margin: 6px 0; } .join-img-wide { max-width: 200px; } .join-points { display: none; } }
.join-main { padding: 24px 22px 28px; }
.role-cards { display: grid; gap: 10px; }
@media (min-width: 560px) { .role-cards { grid-template-columns: 1fr 1fr; } }
.role-card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px; border: 2px solid #C9D1DC; border-radius: 14px; cursor: pointer; background: #fff; }
.role-card input { position: absolute; opacity: 0; pointer-events: none; }
.role-text { display: grid; }
.role-text small { color: #5b6b80; font-weight: 600; }
.role-fig { font-size: 2.4rem; }
.role-card:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.role-card:has(input:checked) small { color: #dbe5f1; }
.role-card:has(input:focus-visible) { outline: 3px solid var(--orange); }
.role-both { display: flex; gap: 8px; align-items: center; margin: 8px 0 4px; font-size: .95rem; cursor: pointer; }
.role-both input { width: 20px; height: 20px; accent-color: var(--orange); }

/* ---------- Senha: olhinho ---------- */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 52px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: 10px; }
.pw-eye:focus-visible { outline: 3px solid var(--orange); }

/* ---------- Câmera guiada (static/js/camera.js) ---------- */
html.cam-open, html.cam-open body { overflow: hidden; }
.cam-open-button { margin-bottom: 10px; }
.cam { position: fixed; inset: 0; z-index: 1000; background: #000; overflow: hidden; }
.cam-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-mirror { transform: scaleX(-1); }
/* Moldura: o resto da tela fica escuro (sombra gigante em volta) */
.cam-shade { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(0, 0, 0, .55); pointer-events: none; }
.cam-guide { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); border: 5px dashed #fff; transition: border-color .2s; }
.cam-guide-face { width: min(68vw, 300px, 42vh); aspect-ratio: 3 / 4; border-radius: 50%; }
.cam-guide-wide { width: min(90vw, 560px); aspect-ratio: 1.5; border-radius: 16px; }
.cam-guide-tall { width: min(82vw, 420px, 52vh); aspect-ratio: .72; border-radius: 12px; }
.cam-guide.cam-ok { border: 6px solid #22C55E; }
.cam-ring { position: absolute; inset: -14px; border-radius: inherit; border: 6px solid #22C55E; opacity: calc(var(--fill, 0)); transform: scale(calc(1.08 - var(--fill, 0) * .08)); transition: opacity .1s; }
.cam-msg { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: max-content; max-width: 92vw; margin: 0; padding: 10px 18px; border-radius: 999px; background: rgba(11, 37, 69, .9); color: #fff; font-weight: 900; font-size: 1.15rem; text-align: center; }
.cam-guide.cam-ok ~ .cam-msg { background: #15803D; }
.cam-bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; }
.cam-small { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .2); color: #fff; font-size: 1.4rem; cursor: pointer; }
.cam-shutter { width: 76px; height: 76px; border-radius: 50%; border: 6px solid #fff; background: var(--orange); cursor: pointer; }
.cam-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .15s; }
.cam-flash.on { opacity: .9; }
.cam-review { position: fixed; inset: 0; z-index: 1000; background: var(--navy); color: #fff; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 20px; overflow: auto; }
.cam-review-title { font-size: 1.6rem; font-weight: 900; margin: 0; }
.cam-review-img { max-width: min(92vw, 520px); max-height: 60vh; border-radius: 16px; border: 4px solid #fff; }
.cam-review .button { width: min(92vw, 420px); }
.cam-again { background: transparent; color: #fff; border-color: #fff; }

/* ---------- Ajustes de celular ---------- */
@media (max-width: 480px) {
  .two { grid-template-columns: 1fr; gap: 0; }
  .join-main, .wizard-main { padding: 18px 16px 22px; }
}
@media (max-width: 759px) {
  .wizard-art { display: none; }
  .wizard-side { padding: 16px; }
}
/* Campos com 16px ou mais: o iPhone não dá zoom sozinho ao tocar */
input, select, textarea { font-size: max(16px, 1rem); }
.cam-video { z-index: 0; } .cam-shade { z-index: 1; } .cam-guide { z-index: 2; } .cam-msg, .cam-bar { z-index: 3; } .cam-flash { z-index: 4; }

/* ---------- Festa (templates/includes/party.html) ---------- */
html.party-open { overflow: hidden; }
.party { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 50% 35%, #16406f 0%, #0B2545 65%); overflow: hidden; animation: party-in .3s ease-out; }
.party-bye { animation: party-out .25s ease-in forwards; }
.party-card { position: relative; z-index: 1; width: min(100%, 420px); text-align: center; color: #fff; }
.party-card h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 900; line-height: 1.1; margin: 4px 0 8px; color: #fff; animation: party-pop .6s .35s both cubic-bezier(.2, 1.6, .4, 1); }
.party-emoji { font-size: 3.4rem; margin: 0; animation: party-pop .6s .2s both cubic-bezier(.2, 1.6, .4, 1); }
.party-text { font-size: 1.15rem; color: #dbe5f1; margin: 0 0 20px; animation: party-up .5s .5s both; }
.party .button { animation: party-up .5s .65s both; }
.party-close { margin-top: 12px; background: none; border: 0; color: #b9c7da; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; padding: 10px; }
.logo-anim { display: block; margin: 0 auto; animation: logo-drive 1s cubic-bezier(.2, .9, .3, 1.2) both; }
.logo-box { animation: logo-bounce .5s 1s ease-in-out 4 alternate; transform-origin: 64px 64px; }
.logo-wheel { animation: logo-spin .35s linear 3; }
.logo-speed { animation: logo-speed .5s linear 2; }
.party-confetti { position: absolute; inset: 0; pointer-events: none; }
.party-confetti i { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: party-fall 3s ease-in both; }
@keyframes party-in { from { opacity: 0; } }
@keyframes party-out { to { opacity: 0; } }
@keyframes party-pop { from { opacity: 0; transform: scale(.3); } }
@keyframes party-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes party-fall { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--drift), 105vh) rotate(var(--spin)); opacity: .9; } }
@keyframes logo-drive { from { transform: translateX(-120vw); } 80% { transform: translateX(12px); } }
@keyframes logo-bounce { to { transform: translateY(-6px) rotate(-3deg); } }
@keyframes logo-spin { to { transform: rotate(360deg); } }
@keyframes logo-speed { 50% { opacity: .2; transform: translateX(-6px); } }
@media (prefers-reduced-motion: reduce) { .party *, .party { animation: none !important; } }

/* Selo na foto de perfil */
.avatar-wrap { position: relative; display: inline-block; flex: none; line-height: 0; }
.avatar-seal { position: absolute; left: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #1D6FD6; color: #fff; font-size: .8rem; font-weight: 900; line-height: 1; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(11, 37, 69, .25); }
.avatar-seal-founder { background: #FFC93C; font-size: .95rem; }

/* ---------- Conta (abas, cartão, atalhos, configurações, dinheiro) ---------- */
.account-tabs { display: flex; gap: 4px; overflow-x: auto; margin: -8px -4px 16px; padding: 0 4px; border-bottom: 2px solid #E1E6EE; scrollbar-width: none; }
.account-tabs a { flex: none; padding: 12px 12px 10px; color: var(--navy); text-decoration: none; font-weight: 800; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.account-tabs a.on { border-color: var(--orange); color: var(--orange-dark, #D9600A); }
.me-card { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 6px 20px rgba(11, 37, 69, .06); margin-bottom: 14px; }
.me-card h1 { margin: 0; font-size: 1.7rem; }
.me-line { margin: 2px 0; color: #4a5a70; font-weight: 800; }
.me-card .badges { margin: 4px 0 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: grid; gap: 2px; align-content: start; background: #fff; border: 2px solid #E1E6EE; border-radius: 16px; padding: 14px; text-decoration: none; color: var(--navy); min-height: 118px; transition: transform .15s, border-color .15s; }
.tile:hover, .tile:focus-visible { border-color: var(--orange); transform: translateY(-2px); }
.tile-fig { font-size: 2rem; line-height: 1.2; }
.tile strong { font-size: 1.1rem; }
.tile small { color: #5a6b80; font-size: .88rem; }
.tile-hot { background: var(--orange); border-color: var(--orange); color: #fff; }
.tile-hot small { color: #FFE3CC; }
.how-cards-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
@media (min-width: 760px) { .how-cards-4 { grid-template-columns: repeat(4, 1fr); } }
.how-cards-4 .how-card { background: #fff; border-radius: 16px; padding: 14px; text-align: center; box-shadow: 0 4px 14px rgba(11, 37, 69, .05); }
.how-cards-4 .how-card p { margin: 4px 0 0; font-size: .92rem; color: #4a5a70; }
.how-cards-4 .how-fig { margin: 0 auto 6px; }
.invite-card, .split-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 16px; margin-bottom: 18px; box-shadow: 0 4px 14px rgba(11, 37, 69, .05); }
.invite-card h2, .split-card h2 { margin: 0 0 4px; font-size: 1.25rem; }
.invite-card > div, .split-card > div { flex: 1; min-width: 0; }
.copy-line { overflow-wrap: anywhere; }
.settings-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .settings-grid { grid-template-columns: 1fr 1fr; } }
.settings-group { background: #fff; border-radius: 18px; padding: 8px 16px 10px; box-shadow: 0 4px 14px rgba(11, 37, 69, .05); }
.settings-group h2 { font-size: 1.1rem; margin: 10px 0 6px; }
.settings-group > a, .settings-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid #EEF1F5; color: var(--navy); text-decoration: none; font-weight: 700; min-height: 48px; }
.settings-group > a small, .settings-row small { color: #2f855a; font-weight: 900; white-space: nowrap; }
.settings-row form { margin: 0; }
.money-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.money-card { background: #fff; border-radius: 16px; padding: 12px; text-align: center; display: grid; gap: 2px; box-shadow: 0 4px 14px rgba(11, 37, 69, .05); }
.money-card span { font-size: 1.6rem; }
.money-card small { color: #5a6b80; font-weight: 800; font-size: .8rem; }
.money-card strong { font-size: 1.15rem; }
.money-ok strong { color: #2f855a; }
.money-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 12px 14px; color: var(--navy); text-decoration: none; }
.money-row span { display: grid; }
.money-row small { color: #5a6b80; }
.my-bid { margin: 8px 0 -4px; font-weight: 800; color: var(--navy); }
@media (max-width: 480px) { .menu a.menu-wide { display: none; } }

/* ---------- Entrada: carrinho atravessa a tela ---------- */
.intro-run { display: none; }
html.intro .intro-run { display: block; position: fixed; left: 0; top: 38vh; z-index: 1200; pointer-events: none; animation: intro-drive 1.7s cubic-bezier(.45, .05, .55, .95) forwards; }
html.intro .intro-run .logo-anim { animation: none; width: 120px; height: auto; filter: drop-shadow(0 10px 14px rgba(11, 37, 69, .25)); }
html.intro .intro-run .logo-speed { stroke: #FF7A1A; animation: logo-speed .25s linear infinite; }
html.intro .intro-run .logo-wheel { animation: logo-spin .3s linear infinite; }
html.intro .intro-run .logo-box { animation: logo-bounce .25s ease-in-out infinite alternate; }
@keyframes intro-drive { 0% { transform: translateX(-160px); } 45% { transform: translateX(calc(50vw - 60px)); } 60% { transform: translateX(calc(50vw - 50px)); } 100% { transform: translateX(110vw); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.intro .intro-run { display: none; } }

/* ---------- Página inicial: a ligação entre quem manda e quem leva ---------- */
.connect { text-align: center; padding: 18px 0 8px; }
.connect-title { font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.08; margin: 0 auto 10px; max-width: 820px; }
.connect-lead { font-size: 1.12rem; color: #3d4f66; max-width: 680px; margin: 0 auto 18px; }
.connect-road { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; max-width: 760px; margin: 0 auto 18px; }
.connect-side { display: grid; justify-items: center; gap: 2px; width: 108px; }
.connect-side img { border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(11, 37, 69, .12); }
.connect-side strong { font-size: .95rem; }
.connect-tag { font-weight: 900; font-size: .8rem; padding: 2px 8px; border-radius: 999px; }
.connect-save { background: #E3F4EA; color: #1f7a45; }
.connect-earn { background: var(--orange-light); color: #b4500a; }
.connect-track { position: relative; height: 70px; }
.connect-line { position: absolute; left: 0; right: 0; top: 50px; border-top: 4px dashed #C9D1DC; }
.connect-car { position: absolute; top: 0; left: 0; width: 70px; animation: connect-go 4.5s ease-in-out infinite; }
.connect-car .logo-anim { width: 70px; height: auto; animation: none; }
.connect-car .logo-speed { stroke: #FF7A1A; animation: logo-speed .3s linear infinite; }
.connect-car .logo-wheel { animation: logo-spin .4s linear infinite; }
@keyframes connect-go { 0% { left: 0; transform: scaleX(1); } 45% { left: calc(100% - 70px); transform: scaleX(1); } 50% { left: calc(100% - 70px); transform: scaleX(-1); } 95% { left: 0; transform: scaleX(-1); } 100% { left: 0; transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .connect-car { animation: none; left: calc(50% - 35px); } }
.doors { display: grid; gap: 12px; max-width: 860px; margin: 0 auto 14px; }
@media (min-width: 720px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; text-decoration: none; text-align: left; color: #fff; box-shadow: 0 10px 24px rgba(11, 37, 69, .14); transition: transform .15s; }
.door:hover, .door:focus-visible { transform: translateY(-3px); }
.door-send { background: var(--orange); }
.door-drive { background: var(--navy); }
.door-fig { font-size: 2.6rem; flex: none; }
.door strong { display: block; font-size: 1.25rem; }
.door small { color: rgba(255, 255, 255, .85); }
.door-go { margin-left: auto; font-size: 1.6rem; font-weight: 900; }
.live-strip { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; background: #fff; border: 2px solid #E1E6EE; border-radius: 999px; padding: 8px 16px; color: var(--navy); text-decoration: none; font-weight: 700; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: live-pulse 1.6s infinite; }
.live-go { color: #D9600A; font-weight: 900; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.two-sides { display: grid; gap: 16px; margin: 22px 0; }
@media (min-width: 980px) { .two-sides { grid-template-columns: 1fr 1fr; } .two-sides .how-cards-4 { grid-template-columns: 1fr 1fr; } }
.side-box { border-radius: 22px; padding: 20px; }
.side-send { background: #FFF1E6; }
.side-drive { background: #E8EEF6; }
.side-box h2 { margin: 0 0 12px; font-size: 1.5rem; }
.side-kicker { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: #5a6b80; }
.side-box .button { width: auto; display: inline-block; }
.hero2-h { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 6px; }

/* ---------- Revisão celular (nov/2026) ---------- */
/* Grade da busca na página inicial: sem isso o formulário empurrava a página para 477 px */
.hero2 > * { min-width: 0; }
.hero2 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .hero2 { grid-template-columns: 1.05fr 1fr; } }
@media (max-width: 520px) {
  .hero2-buttons { grid-template-columns: 1fr; }
  .hero2-buttons .button { white-space: normal; }
  .hero2-art { display: none; }            /* a colagem é enfeite: no celular só alonga a página */
}
/* Faixa "fretes esperando agora": no celular vira um cartão simples */
@media (max-width: 600px) {
  .live-strip { display: block; text-align: center; border-radius: 18px; padding: 12px 16px; line-height: 1.5; font-size: .95rem; }
  .live-dot { display: inline-block; vertical-align: middle; margin-right: 4px; }
  .live-go { display: block; margin-top: 2px; }
  .connect-side { width: 96px; }
  .connect-side img { width: 60px; height: 60px; }
  .connect-side strong { font-size: .85rem; line-height: 1.2; text-align: center; }
  .connect-tag { font-size: .72rem; }
  .connect-track { height: 60px; }
  .connect-line { top: 42px; }
  .connect-car, .connect-car .logo-anim { width: 56px; }
  @keyframes connect-go { 0% { left: 0; transform: scaleX(1); } 45% { left: calc(100% - 56px); transform: scaleX(1); } 50% { left: calc(100% - 56px); transform: scaleX(-1); } 95% { left: 0; transform: scaleX(-1); } 100% { left: 0; transform: scaleX(1); } }
  .door { padding: 16px; gap: 12px; }
  .door strong { font-size: 1.12rem; line-height: 1.25; }
  .door small { display: block; line-height: 1.35; margin-top: 2px; }
  .door-fig { font-size: 2.2rem; }
  .side-box { padding: 16px; }
  .side-box .button { display: block; width: 100%; text-align: center; }
}
/* Abas da conta: as 4 cabem na tela, figura em cima e nome embaixo */
@media (max-width: 600px) {
  .account-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: -8px 0 16px; padding: 0; }
  .account-tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 8px; font-size: .74rem; white-space: nowrap; }
  .account-tabs .tab-ico { font-size: 1.3rem; line-height: 1; }
  .account-tabs .count { font-size: .65rem; padding: 0 5px; }
}
/* Fotos do anúncio: uma foto só ocupa a largura toda */
.gallery a:only-child { flex: 1; }
.gallery a:only-child img { width: 100%; object-fit: cover; }
@media (max-width: 600px) { .gallery img { height: 240px; max-width: calc(100vw - 40px); object-fit: cover; } }
/* Rede de segurança: nada passa da largura da tela */
html, body { overflow-x: clip; }
/* Tipos em círculos: nome inteiro, sem quebrar no meio da palavra */
.cat-tile { width: 112px; overflow-wrap: normal; hyphens: none; letter-spacing: 0; font-size: .7rem; }
.cat-tile strong { text-transform: none; font-size: .82rem; }
