/* Rentovix — site comercial. Sem dependências externas: fontes e imagens locais. */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --paper: #f5f3ee;
  --paper-2: #ece9e0;
  --white: #ffffff;
  --ink: #141a2b;
  --ink-2: #454c60;
  --navy: #16213e;
  --navy-2: #1f2d52;
  --amber: #e08a3c;
  --amber-hover: #ea9b52;
  --amber-ink: #8f4a0c;
  --teal: #0e7c86;
  --teal-ink: #0a626a;
  --line: #d8d3c5;
  --line-soft: #e6e2d6;
  --danger: #b3261e;
  --ok: #1d7a55;

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;

  --gutter: 20px;
  --max: 1160px;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--amber);
  color: var(--navy);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-ink);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--navy);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4.1rem);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3rem);
}
h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}
p {
  margin: 0 0 1em;
  max-width: 68ch;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  transition: top 0.2s var(--ease);
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-decoration: none;
}
.brand:hover {
  color: var(--navy);
}
.brand b {
  color: var(--amber-ink);
  font-weight: 800;
}
.brand svg {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--navy);
  background: var(--paper-2);
}
.nav .login {
  color: var(--navy);
  font-weight: 600;
}

.menu-btn {
  display: none;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 880px) {
  .js .menu-btn {
    display: inline-flex;
  }
  .site-header .wrap {
    flex-wrap: wrap;
    padding-block: 8px;
  }
  .nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-bottom: 10px;
  }
  .js .nav {
    display: none;
  }
  .js .nav.open {
    display: flex;
  }
  .nav a {
    padding: 0 10px;
  }
  .nav .btn {
    margin-top: 6px;
    justify-content: center;
  }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 2px 0 rgba(22, 33, 62, 0.25), 0 10px 24px -12px rgba(224, 138, 60, 0.7);
}
.btn--primary:hover {
  background: var(--amber-hover);
  color: var(--navy);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--light:hover {
  background: var(--white);
  color: var(--navy);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- Placa Mercosul (motivo da marca) ---------- */
.plate {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 96px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 7px;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(22, 33, 62, 0.15);
}
.plate::before {
  content: 'BRASIL';
  display: block;
  background: #1c3f94;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-align: center;
  padding: 3px 0 2px;
}
.plate span {
  display: block;
  text-align: center;
  padding: 7px 10px 6px;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.plate--sm {
  min-width: 78px;
}
.plate--sm span {
  font-size: 1rem;
  padding: 5px 8px 4px;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber-ink);
}
.hero__lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  color: var(--ink-2);
  margin-top: 22px;
  max-width: 52ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__note {
  margin: 18px 0 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.fleet {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 34px;
  align-items: center;
}
.fleet small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.fleet__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__visual {
  position: relative;
  padding: 0 0 56px 0;
}
.frame {
  background: var(--navy);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 30px 60px -28px rgba(22, 33, 62, 0.55), 0 8px 18px -10px rgba(22, 33, 62, 0.4);
}
.frame img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  background: var(--white);
}
.frame--phone {
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 31%;
  min-width: 118px;
  border-radius: 24px;
  padding: 7px;
}
.frame--phone img {
  border-radius: 18px;
}
.hero__visual .frame--main {
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
    clip-path: inset(0 0 12% 0 round 16px);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0 round 16px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__visual .frame--main {
    animation: rise 0.9s var(--ease) 0.1s both;
  }
  .hero__visual .frame--phone {
    animation: rise 0.9s var(--ease) 0.35s both;
  }
}

@media (max-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Seções ---------- */
.section {
  padding-block: clamp(56px, 8vw, 104px);
}
.section--alt {
  background: var(--paper-2);
}
.section--navy {
  background: var(--navy);
  color: #e4e8f3;
}
.section--navy h2,
.section--navy h3 {
  color: var(--white);
}
.section--navy a:not(.btn) {
  color: #ffd9b0;
}
.section__head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section__head p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1.15rem;
}
.section--navy .section__head p {
  color: #c9d0e4;
}

/* Linhas alternadas: texto + tela */
.row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 52px);
}
.row + .row {
  border-top: 1px solid var(--line);
}
.row--rev .row__text {
  order: 2;
}
.row__text h2,
.row__text h3 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  margin-bottom: 14px;
}
.row__text p {
  color: var(--ink-2);
}
.row__text ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.row__text li {
  position: relative;
  padding-left: 28px;
}
.row__text li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}
.row__shot .frame {
  padding: 8px;
}
.row__shot--phone {
  display: flex;
  justify-content: center;
}
.row__shot--phone .frame {
  width: min(300px, 70%);
  border-radius: 30px;
  padding: 9px;
}
.row__shot--phone img {
  border-radius: 22px;
}
@media (max-width: 880px) {
  .row {
    grid-template-columns: 1fr;
  }
  .row--rev .row__text {
    order: 0;
  }
}

/* Lista de recursos por área (tipografia, sem ícones) */
.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px 40px;
}
.areas h3 {
  font-size: 1.2rem;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--navy);
}
.areas ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  color: var(--ink-2);
}
.areas li strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Planos ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
}
.plan--highlight {
  border-color: var(--navy);
  box-shadow: 0 22px 40px -24px rgba(22, 33, 62, 0.45);
  position: relative;
}
.plan--highlight::after {
  content: 'Mais escolhido';
  position: absolute;
  top: -13px;
  left: 20px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 99px;
}
.plan h3 {
  margin-top: 16px;
}
.plan__desc {
  color: var(--ink-2);
  font-size: 0.98rem;
  margin: 8px 0 0;
  min-height: 3em;
}
.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 18px 0 2px;
  line-height: 1;
}
.plan__price--text {
  font-size: 1.75rem;
  padding-block: 0.4rem;
}
.plan__price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-2);
  letter-spacing: 0;
}
.plan__limits {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.plan ul {
  margin: 0 0 22px;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 8px;
  font-size: 0.98rem;
  flex: 1;
}
.plan li {
  position: relative;
  padding-left: 24px;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 11px;
  height: 6px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}
.plan .btn {
  width: 100%;
}
.plans-state {
  padding: 28px;
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.skeleton {
  min-height: 360px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--paper-2) 30%, var(--line-soft) 50%, var(--paper-2) 70%);
  background-size: 200% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .skeleton {
    animation: shimmer 1.4s linear infinite;
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.plans-note {
  margin-top: 22px;
  font-size: 0.95rem;
  color: var(--ink-2);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--navy);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--navy);
  border-bottom: 2.5px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq details p {
  color: var(--ink-2);
  padding-bottom: 8px;
}

/* ---------- Chamada final ---------- */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 28px;
  align-items: center;
}
.cta p {
  color: #c9d0e4;
  margin: 12px 0 0;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 760px) {
  .cta {
    grid-template-columns: 1fr;
  }
}

/* ---------- Páginas internas ---------- */
.page-head {
  padding-block: clamp(40px, 6vw, 80px) clamp(24px, 3vw, 40px);
}
.page-head p {
  margin-top: 18px;
  font-size: 1.2rem;
  color: var(--ink-2);
  max-width: 60ch;
}
.prose {
  max-width: 780px;
  padding-bottom: 80px;
}
.prose h2 {
  font-size: 1.7rem;
  margin: 2em 0 0.6em;
}
.prose h3 {
  font-size: 1.2rem;
  margin: 1.6em 0 0.5em;
}
.prose ul {
  padding-left: 1.2em;
  max-width: 68ch;
}
.prose li {
  margin-bottom: 0.4em;
}
.notice {
  background: #fff4dc;
  border: 1.5px solid #e6c987;
  border-radius: 12px;
  padding: 16px 18px;
  color: #5b3d06;
  margin: 0 0 28px;
  max-width: 68ch;
}
.pending {
  background: #fff1a8;
  padding: 0 4px;
  border-radius: 3px;
}

/* ---------- Formulário ---------- */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(56px, 8vw, 104px);
  align-items: start;
}
@media (max-width: 880px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.form {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label,
.field legend {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
}
.field .hint {
  font-size: 0.88rem;
  color: var(--ink-2);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1.5px solid #9a9784;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--navy);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--navy);
}
.field [aria-invalid='true'] {
  border-color: var(--danger);
}
.field .error {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
}
.choices {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 14px;
  border: 1.5px solid #9a9784;
  border-radius: 10px;
  cursor: pointer;
  background: var(--white);
}
.choice:has(input:checked) {
  border-color: var(--navy);
  background: #fff6e8;
  box-shadow: inset 0 0 0 1px var(--navy);
}
.choice input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  accent-color: var(--navy);
  flex: none;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
}
.form-status[hidden] {
  display: none;
}
.form-status--ok {
  background: #e3f4ec;
  color: #0f5238;
}
.form-status--err {
  background: #fbe7e5;
  color: #7e1913;
}
.legal-line {
  font-size: 0.88rem;
  color: var(--ink-2);
  margin: 0;
}
.aside-box {
  border-top: 3px solid var(--navy);
  padding-top: 18px;
}
.aside-box h2,
.aside-box h3 {
  margin-bottom: 10px;
}
.aside-box ul {
  padding-left: 1.2em;
  color: var(--ink-2);
}
.aside-box li {
  margin-bottom: 0.5em;
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--navy);
  color: #c9d0e4;
  padding-block: 56px 36px;
  font-size: 0.98rem;
}
.site-footer a {
  color: #e9edf8;
}
.site-footer a:hover {
  color: var(--white);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.footer__grid h2 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fb0d8;
  margin-bottom: 14px;
}
.footer__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.footer__brand {
  color: var(--white);
}
.footer__brand .brand {
  color: var(--white);
}
.footer__brand .brand b {
  color: var(--amber);
}
.footer__legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
  color: #a8b3d1;
}
.footer__legal p {
  margin: 0 0 6px;
  max-width: none;
}
@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Utilitários ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

.section--tight {
  padding-top: 0;
}
