/* =========================================================
   Orion Rent a Car — style.css
   Tokens derivados da marca: azuis do poster/hero (#1C6DD0,
   #005CB5, #00337C), navy do kit (#0C142E) e amarelo (#FFB626)
   usado apenas para a ação principal.
   ========================================================= */

:root {
  --ink: #0C142E;
  --ink-soft: #4A5578;
  --mist: #F3F7FC;
  --line: rgba(12, 20, 46, .12);

  --blue-900: #002B86;
  --blue-800: #00337C;
  --blue-700: #005CB5;
  --blue-600: #1C6DD0;
  --blue-100: #E3EEFB;

  --sun: #FFB626;
  --sun-hover: #FFC653;

  --font-display: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --overlap: 84px;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --hex: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  --shadow-card: 0 1px 2px rgba(12, 20, 46, .06), 0 14px 34px -14px rgba(12, 20, 46, .22);
  --focus: #1C6DD0;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }   /* garante que o atributo hidden vença qualquer display de componente */
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero, .section--dark, .cta, .site-footer, .site-header { --focus: var(--sun); }

.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  padding: 12px 18px; border-radius: 10px; background: #fff; color: var(--ink);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 999px;
  font: 700 1rem/1 var(--font-display); letter-spacing: -.005em; text-decoration: none; text-align: center;
  cursor: pointer; touch-action: manipulation;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 182, 38, .8); }
.btn--sun:hover { background: var(--sun-hover); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--line { border-color: var(--blue-600); color: var(--blue-700); background: transparent; }
.btn--line:hover { background: var(--blue-600); color: #fff; }
.btn--line .ico { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn--line:hover .ico { transform: translateX(3px); }

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-stuck, .site-header.is-open {
  background: rgba(12, 20, 46, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.bar { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__word { height: 34px; width: auto; }

.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a {
  padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .9375rem;
  color: rgba(255, 255, 255, .88); text-decoration: none; transition: background-color .2s, color .2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .12); }

.burger {
  display: none; width: 44px; height: 44px; margin-left: auto; padding: 0;
  border: 0; border-radius: 12px; background: transparent; color: #fff; cursor: pointer;
  place-items: center;
}
.burger .ico { width: 26px; height: 26px; }
.burger .ico--close { display: none; }
.burger[aria-expanded="true"] .ico--open { display: none; }
.burger[aria-expanded="true"] .ico--close { display: block; }

@media (max-width: 899px) {
  .burger { display: grid; }
  .bar__cta { display: none; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
    background: var(--ink); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { padding: 14px 8px; border-radius: 10px; font-size: 1.0625rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + clamp(28px, 6vw, 64px)) 0 calc(var(--overlap) + clamp(48px, 6vw, 80px));
  background:
    radial-gradient(60% 70% at 12% 0%, rgba(143, 188, 242, .35), transparent 62%),
    linear-gradient(165deg, #0D5899 0%, var(--blue-800) 46%, var(--blue-900) 100%);
}
.hero__grid { display: grid; gap: clamp(20px, 4vw, 40px); align-items: center; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font: 600 .8125rem/1.3 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  color: #CFE2FA;
}
.eyebrow--dark { color: var(--blue-700); }
.hex { width: 14px; height: 15px; flex: none; background: currentColor; clip-path: var(--hex); transform: rotate(-15deg); }

.hero h1 { font-size: clamp(2.5rem, 1.35rem + 4.6vw, 5rem); font-weight: 700; line-height: 1.02; letter-spacing: -.03em; }
.lede { margin-top: 22px; max-width: 34ch; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.seal {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: .9375rem; font-weight: 600; color: #fff;
}
.seal .ico { color: var(--sun); }

/* Assinatura: o anel “abertura” gira devagar com a rolagem; o carro sai dele */
.hero__stage { position: relative; width: min(100%, 560px); margin-inline: auto; }
.stage__ring {
  position: absolute; top: 0; right: 0; width: 78%; height: auto;
  transform: rotate(var(--spin, 0deg)); will-change: transform;
  filter: drop-shadow(0 30px 50px rgba(0, 20, 80, .35));
}
@media (min-width: 960px) {
  .hero__stage { margin-inline: auto 0; }
}


/* ---------- slide de carros (hero) ---------- */
.stage__view { position: relative; width: 100%; aspect-ratio: 1 / .92; }
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute; left: -3%; bottom: 0; width: 104%; margin: 0; opacity: 0; transform: translateX(16%);
  pointer-events: none; transition: opacity .7s ease, transform .95s var(--ease);
}
.slide img { width: 100%; height: auto; filter: drop-shadow(0 26px 22px rgba(0, 10, 50, .45)); }
.slide.is-active { opacity: 1; transform: none; }
.slide.is-out { opacity: 0; transform: translateX(-16%); }
.stage__cap { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 18px; }
.cap__txt { display: grid; gap: 2px; font-size: .9375rem; color: rgba(255, 255, 255, .88); }
.cap__txt strong { font: 700 1.25rem/1.2 var(--font-display); color: #fff; }
.cap__price { font-weight: 700; color: var(--sun); }
.cap__ctrl { display: flex; align-items: center; gap: 8px; }
.cap__b {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: #fff; cursor: pointer;
  background: rgba(255, 255, 255, .14); border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 50%;
  transition: background-color .2s;
}
.cap__b:hover { background: rgba(255, 255, 255, .3); }
.cap__b .ico { width: 18px; height: 18px; }
.cap__b .ico--play, .cap__b[aria-pressed="true"] .ico--pause { display: none; }
.cap__b[aria-pressed="true"] .ico--play { display: block; }

/* ---------- adesivos interativos ---------- */
.tag {
  position: absolute; z-index: 4; display: grid; gap: 0; justify-items: start; padding: 9px 14px 9px 11px; min-height: 40px;
  color: var(--ink); background: var(--sun); border: 0; border-radius: 14px; cursor: pointer; pointer-events: auto; text-align: left;
  font: 700 .8125rem/1.2 var(--font-display);
  box-shadow: 0 0 0 3px #fff, 0 14px 26px -8px rgba(0, 10, 60, .6);
  transform: rotate(var(--rot, -4deg)); transform-origin: 20% 80%;
  animation: wiggle 7s ease-in-out 1.5s 3;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tag--white { background: #fff; box-shadow: 0 0 0 3px var(--sun), 0 14px 26px -8px rgba(0, 10, 60, .6); }
.tag--sky { background: #CFE2FA; }
.tag__row { display: inline-flex; align-items: center; gap: 8px; }
.tag .ico { width: 18px; height: 18px; flex: none; }
.tag__d {
  display: block; max-width: 22ch; max-height: 0; overflow: hidden; opacity: 0;
  font: 500 .75rem/1.35 var(--font-body);
  transition: max-height .3s var(--ease), opacity .25s, margin .3s;
}
.tag:hover, .tag:focus-visible, .tag.is-open { animation: none; transform: rotate(0) scale(1.06); z-index: 6; }
.tag:hover .tag__d, .tag:focus-visible .tag__d, .tag.is-open .tag__d { max-height: 6em; margin-top: 5px; opacity: 1; }
@keyframes wiggle { 0%, 86%, 100% { transform: rotate(var(--rot, -4deg)); } 90% { transform: rotate(calc(var(--rot, -4deg) + 3deg)) scale(1.04); } 94% { transform: rotate(calc(var(--rot, -4deg) - 2deg)); } }
@media (max-width: 559px) {
  .tag { font-size: .6875rem; padding: 6px 10px 6px 8px; min-height: 40px; }
  .tag .ico { width: 16px; height: 16px; }
  /* no celular os adesivos ficam sobre a área do anel, para não cobrir o carro */
  .tag[data-act="pix"] { top: 4% !important; left: 0 !important; }
  .tag[data-act="carta"] { top: 19% !important; left: 6% !important; right: auto !important; }
  .tag[data-act="aeroporto"] { bottom: -10px !important; right: 0 !important; }
}

/* aviso rápido */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(92vw, 460px); padding: 14px 18px; color: #fff; background: var(--ink); border-radius: 14px;
  font-weight: 600; font-size: .9375rem; text-align: center; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6);
}
@media (min-width: 760px) { .toast { bottom: 28px; } }
.is-flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { box-shadow: 0 30px 70px -28px rgba(0, 25, 90, .6); } 30% { box-shadow: 0 0 0 5px var(--sun), 0 30px 70px -28px rgba(0, 25, 90, .6); } }

.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.field label { font-size: .875rem; font-weight: 700; color: var(--ink); }
.field input, .field select {
  width: 100%; min-width: 0; min-height: 52px; padding: 0 12px;
  border: 1.5px solid #C9D2E3; border-radius: var(--r-sm); background: #fff; color: var(--ink);
  font: 500 1rem var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C142E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.field input:hover, .field select:hover { border-color: var(--blue-600); }
.field input:focus-visible, .field select:focus-visible { outline: 0; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(28, 109, 208, .22); }
.field [aria-invalid="true"] { border-color: #C23B3B; }

.facts { display: grid; gap: 20px; padding: 40px 0 8px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts .ico { width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--blue-100); color: var(--blue-700); }
.facts strong { display: block; font: 600 1rem/1.3 var(--font-display); }
.facts span span, .facts li > span { font-size: .9375rem; color: var(--ink-soft); }
.facts li > span strong { color: var(--ink); margin-bottom: 2px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- seções ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist { background: var(--mist); }
.section--dark { background: linear-gradient(180deg, var(--ink), #0A1129); color: #fff; }
.section__head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head h2 { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem); }
.section__head p:not(.eyebrow) { margin-top: 14px; font-size: 1.0625rem; color: var(--ink-soft); }
.section--dark .section__head p:not(.eyebrow) { color: rgba(255, 255, 255, .78); }

/* ---------- passos ---------- */
.steps { display: grid; gap: 36px; position: relative; }
.step { position: relative; padding-left: 76px; }
.step__num {
  position: absolute; left: 0; top: 0; width: 56px; height: 62px; display: grid; place-items: center; isolation: isolate;
  color: #fff; font: 700 1.375rem/1 var(--font-display);
}
.step__num::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue-600); clip-path: var(--hex); transform: rotate(-15deg); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); }
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .step { padding: 80px 0 0; }
  .steps::before { /* linha do poster: hexágono + traço */
    content: ""; position: absolute; left: 56px; right: 0; top: 30px; height: 3px;
    background: linear-gradient(90deg, var(--blue-600) 0, var(--blue-600) 60%, transparent);
    opacity: .35; border-radius: 3px;
  }
}

/* ---------- destinos ---------- */
.places { display: grid; gap: 20px; }
@media (min-width: 760px) { .places { grid-template-columns: repeat(2, 1fr); gap: 24px; } .place:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; } }
@media (min-width: 960px) { .places { grid-template-columns: repeat(3, 1fr); } .place:last-child { grid-column: auto; aspect-ratio: 4 / 5; } }
.place { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; background: var(--blue-800); }
@media (min-width: 760px) { .place { aspect-ratio: 4 / 5; } }
.place img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 8, 40, 0) 20%, rgba(0, 8, 40, .72) 58%, rgba(0, 8, 40, .94) 100%); }
.place:hover img { transform: scale(1.05); }
.place__txt { position: absolute; inset: auto 0 0 0; padding: 22px; }
.place h3 { font-size: 1.375rem; }
.place p { margin-top: 8px; font-size: .9375rem; color: rgba(255, 255, 255, .88); max-width: 34ch; }

/* ---------- dúvidas ---------- */
.faq-layout { display: grid; gap: 8px 64px; }
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: 5fr 7fr; align-items: start; }
  .faq-layout .section__head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
}
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font: 600 1.125rem/1.35 var(--font-display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--blue-600); transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue-700); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq details p { padding: 0 0 22px; max-width: 62ch; color: var(--ink-soft); }

/* ---------- CTA final ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(72px, 10vw, 128px) 0;
  background: radial-gradient(60% 90% at 90% 50%, rgba(28, 109, 208, .55), transparent 70%), linear-gradient(120deg, #0D5899 0%, var(--blue-800) 40%, var(--blue-900) 100%);
}
.cta__ring {
  position: absolute; z-index: -1; top: 50%; right: -14%; width: min(72vw, 640px); height: auto;
  transform: translateY(-50%) rotate(var(--spin, 0deg)); opacity: .92;
}
@media (max-width: 959px) {
  /* no celular o anel fica ao fundo, embaixo, para não competir com o título */
  .cta__ring { top: auto; bottom: -22%; right: -24%; width: 78vw; transform: none; opacity: .4; }
}
@media (min-width: 960px) { .cta__ring { right: 4%; } }
.cta h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); max-width: 16ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta p { margin: 16px 0 32px; max-width: 42ch; font-size: 1.125rem; color: rgba(255, 255, 255, .9); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 28px; }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer__brand p { margin-top: 16px; max-width: 32ch; }
.footer__nav { display: grid; gap: 4px; align-content: start; }
.footer__nav a { padding: 10px 8px; margin-left: -8px; width: fit-content; text-decoration: none; font-weight: 600; color: #fff; }
.footer__nav a:hover, .footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__contact { display: grid; gap: 8px; align-content: start; }
.footer__contact a { display: inline-block; padding: 10px 0; color: #fff; font-weight: 600; }
.credits { margin-top: 6px; font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }

/* ---------- WhatsApp fixo ---------- */
.wa-float {
  position: fixed; z-index: 50;
  left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px;
  border-radius: 999px; background: var(--sun); color: var(--ink); text-decoration: none;
  font: 700 1.0625rem/1 var(--font-display);
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease), opacity .25s, visibility .25s;
}
.wa-float:hover { background: var(--sun-hover); }
.wa-float .ico { width: 24px; height: 24px; }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }
.site-footer { padding-bottom: calc(28px + 88px); }   /* espaço para a barra fixa do celular */
@media (min-width: 760px) {
  .site-footer { padding-bottom: 28px; }
  .wa-float { left: auto; width: 60px; height: 60px; min-height: 0; padding: 0; right: 24px; bottom: 24px; background: #14804A; color: #fff; }
  .wa-float:hover { background: #17934F; transform: scale(1.05); }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wa-float .ico { width: 30px; height: 30px; }
}

/* ---------- animações ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: .9s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .stage__ring { transform: none !important; }
}

@media (max-width: 559px) {
  .seal { display: none; }
  .hero { padding-top: calc(var(--header-h) + 16px); }
  .hero h1 { font-size: 2.25rem; }
  .lede { margin-top: 14px; }
  .hero__cta { margin-top: 20px; }
  .hero__cta .btn { flex: 1 1 auto; padding-inline: 18px; }
}
