/* =====================================================================
   FONTES SELF-HOSTED (Inter + Oswald variáveis, latin/latin-ext)
   Sem requisições ao Google: mais rápido e alinhado à LGPD.
   ===================================================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../fonts/oswald-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500 700;
    font-display: swap;
    src: url('../fonts/oswald-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================================
   USE MOTOS - Design System (site público)
   Tokens REAIS extraídos do site original:
   navy #162c7d · azul #1746c9 · vermelho #e40000 · títulos Oswald
   ===================================================================== */
:root {
    --navy: #162c7d;  /* yamaha-blue (botões, seções, footer) */
    --navy-2: #122354;  /* navy mais profundo (gradiente) */
    --navy-3: #0a2870;  /* fim do gradiente */
    --footer: #0a1230;  /* azul bem escuro (quase preto) do rodapé */
    --blue: #162c7d;  /* botões = yamaha-blue #162c7d */
    --blue-dark: #2d418a;  /* hover (efeito do /90 sobre branco) */
    --dark: #232323;  /* yamaha-dark (hero da moto) */
    --cyan: #9db8ff;  /* acento CLARO p/ elementos sobre fundo escuro */
    --price: #e40000;  /* yamaha-red (preços/destaques/eyebrows) */
    --star: #facc15;  /* amarelo das estrelas */
    --ink: #1f2a3f;  /* texto (foreground 210 30% 18%) */
    --muted: #5b6b85;  /* texto secundário */
    --line: #e5e7eb;  /* bordas */
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --radius: 12px;  /* 0.75rem */
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(22, 44, 125, 0.08);
    --shadow-lg: 0 20px 50px rgba(22, 44, 125, 0.16);
    --container: 1200px;
    --header-h: 72px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-head: 'Oswald', 'Inter', sans-serif;
    --t: 0.25s ease;
}
/* Títulos na fonte condensada Oswald, como no site original */
h1,
h2,
h3,
.section__title,
.moto-hero__title,
.page-hero h1,
.lead-section__pitch h2,
.about-snippet h2,
.feature-card h3 {
    font-family: var(--font-head);
    letter-spacing: 0.01em;
}

.section__title,
.page-hero h1,
.lead-section__pitch h2,
.about-snippet h2 {
    text-transform: uppercase;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--t);
}

a:hover {
    color: var(--cyan);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 64px 0;
}

.section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
    font-weight: 800;
}

.section__link {
    font-weight: 600;
    white-space: nowrap;
}

/* ---- Botões --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--t);
    text-align: center;
    line-height: 1;
}

.btn--accent {
    background: var(--blue);
    color: #fff;
}

.btn--accent:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 70, 201, 0.35);
}

.btn--primary {
    background: var(--blue);
    color: #fff;
}

.btn--primary:hover {
    background: #1b1bd6;
    color: #fff;
}

.btn--outline {
    background: transparent;
    border-color: var(--blue);
    color: var(--blue);
}

.btn--outline:hover {
    background: var(--blue);
    color: #fff;
}

.btn--block {
    width: 100%;
}

/* ---- Header (duas linhas: marca+contato / navegação) ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.site-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.site-header__brand {
    display: flex;
    align-items: center;
}

.site-header__brand img {
    height: 48px;
    width: auto;
    max-height: 48px;
}

.site-header__wordmark {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--navy);
}

.site-header__contact {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.site-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
}

.site-header__phone svg {
    color: var(--blue);
}

.site-header__phone:hover {
    color: var(--blue);
}

.site-header__yamaha {
    height: 30px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
}

.site-nav__link {
    color: var(--navy);
    font-weight: 600;
}

.site-nav__link:hover {
    color: var(--blue);
}

.site-nav__cta {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.site-nav__cta:first-of-type {
    margin-left: auto;
}

.site-header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.site-header__toggle span {
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--t);
}

/* ---- Hero / carrossel ---------------------------------------------- */
.hero {
    background: var(--navy);
}

.hero__carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--navy);
}

.hero__track {
    display: flex;
    transition: transform 0.5s ease;
}

.hero__slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
}

.hero__slide img {
    /* Largura total com teto de altura: banner largo aparece inteiro
       (altura natural fica abaixo do teto); banner mais "quadrado" é
       enquadrado em até 72% da tela, preenchendo o quadro sem faixas. */
    width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.85);
    color: var(--navy);
    font-size: 1.8rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: var(--t);
}

.hero__nav:hover {
    background: #fff;
}

.hero__nav--prev {
    left: 16px;
}

.hero__nav--next {
    right: 16px;
}

.hero__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero__dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.hero__dots button.is-active {
    background: var(--cyan);
    width: 26px;
    border-radius: 6px;
}

/* ---- Faixa de CTA (abaixo do hero) --------------------------------- */
.hero-cta {
    background: var(--navy);
    color: #fff;
    padding: 18px 0;
}

.hero-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-cta__text {
    font-size: 1.05rem;
    margin: 0;
}

.hero-cta__text strong {
    color: var(--cyan);
}

.hero-cta__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn--light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn--light:hover {
    background: #fff;
    color: var(--navy);
}

@media (max-width: 640px) {
    .hero-cta__inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ---- Trust bar ------------------------------------------------------ */
.trust {
    padding: 40px 0;
    background: var(--bg-soft);
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust__item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.trust__item span {
    font-size: 1.8rem;
}

.trust__item strong {
    display: block;
    color: var(--navy);
    font-size: 0.98rem;
}

.trust__item p {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ---- Grid de motos -------------------------------------------------- */
.moto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.moto-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--t);
    display: flex;
    flex-direction: column;
}

.moto-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.moto-card__media {
    position: relative;
    display: block;
    background: var(--bg-soft);
    aspect-ratio: 4/3;
}

.moto-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.moto-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.moto-card__urgencia {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--price);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.moto-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.moto-card__name {
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.moto-card__slogan {
    color: var(--muted);
    font-size: 0.86rem;
    flex: 1;
}

.moto-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.moto-card__from {
    color: var(--muted);
    font-size: 0.8rem;
}

.moto-card__price strong {
    color: var(--blue);
    font-size: 1.35rem;
    font-weight: 800;
}

.moto-card__per {
    color: var(--muted);
    font-size: 0.85rem;
}

/* ---- Seção de lead -------------------------------------------------- */
.lead-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 45%, var(--navy-3) 100%);
    color: #fff;
}

.lead-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.lead-section__pitch h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 16px;
    color: #fff;
}

.lead-section__pitch p {
    color: #c2c6e8;
    font-size: 1.05rem;
}

.lead-section__list {
    list-style: none;
    margin-top: 24px;
    display: grid;
    gap: 12px;
}

.lead-section__list li {
    padding-left: 30px;
    position: relative;
    color: #e6e8f7;
}

.lead-section__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 800;
}

/* ---- Formulário de lead -------------------------------------------- */
.lead-form {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.lead-form__title {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.lead-form__subtitle {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.lead-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--t);
    background: #fff;
    color: var(--ink);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(44, 44, 255, 0.12);
}

.field textarea {
    resize: vertical;
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.field select option[value=""] {
    color: #888;
}

.field-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--muted);
    margin: 6px 0 18px;
    cursor: pointer;
}

.field-check input {
    margin-top: 3px;
    flex-shrink: 0;
}

.field.has-error input,
.field.has-error textarea {
    border-color: #e0385b;
}

/* Rótulo de campo sem input acima (ex: "Tem moto na troca?") */
.field__label {
    font-size: 0.84rem;
    color: var(--muted);
    margin: 0 0 8px;
}

/* Toggle Sim / Não — botões de rádio estilizados como chips */
.field-toggle {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.field-toggle__opt {
    cursor: pointer;
}
.field-toggle__opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.field-toggle__opt span {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    font-size: 0.88rem;
    color: var(--muted);
    background: transparent;
    transition: border-color .15s, color .15s, background .15s;
    user-select: none;
}
.field-toggle__opt input[type="radio"]:checked + span {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    font-weight: 600;
}
.field-toggle__opt:hover span {
    border-color: var(--accent);
    color: var(--fg);
}

/* Campos de troca: linha com Ano + KM lado a lado */
.troca-fields[hidden] { display: none; }
.troca-fields { margin-top: 2px; }
.troca-fields__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lead-form__feedback {
    margin-top: 12px;
    font-size: 0.9rem;
    text-align: center;
    min-height: 1.2em;
}

.lead-form__feedback.is-ok {
    color: #1a9e57;
}

.lead-form__feedback.is-error {
    color: #e0385b;
}

/* ---- Sobre / snippet ----------------------------------------------- */
.about-snippet__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-snippet img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-snippet h2 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.about-snippet p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* ---- Page hero (internas) ------------------------------------------ */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy), var(--navy-2));
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 56px 0;
    overflow: hidden;
}

/* Quando tem imagem de fundo (banner cadastrado no admin), escurece um
   pouco para o texto continuar legível por cima, sem cortar a foto. */
.page-hero--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 44, 125, 0.82), rgba(10, 18, 48, 0.7));
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 8px;
}

.page-hero p {
    color: #c2c6e8;
}

.page-hero--accent {
    background: linear-gradient(135deg, var(--blue), var(--navy));
}

/* ---- Filtros -------------------------------------------------------- */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.filter-chip {
    padding: 8px 18px;
    border-radius: 30px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--navy);
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--t);
}

.filter-chip:hover,
.filter-chip.is-active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.empty-state {
    text-align: center;
    color: var(--muted);
    padding: 40px 0;
}

/* ---- Detalhe da moto ----------------------------------------------- */
.moto-hero {
    position: relative;
    background: var(--dark);
    color: #fff;
    min-height: 300px;
    overflow: hidden;
}

/* O banner aparece INTEIRO: ele define a altura do hero (com teto de
   segurança) e o texto flutua por cima, na base. */
.moto-hero__bg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: cover;
    object-position: center;
}

/* Véu em degradê só onde o texto fica (esquerda/base), para legibilidade
   sem escurecer a arte inteira. */
.moto-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 12, 20, 0.72) 0%, rgba(10, 12, 20, 0.25) 45%, rgba(10, 12, 20, 0) 70%),
                linear-gradient(to top, rgba(10, 12, 20, 0.55) 0%, rgba(10, 12, 20, 0) 35%);
    pointer-events: none;
}

.moto-hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 40px 20px;
}

.breadcrumb {
    font-size: 0.82rem;
    color: #aab;
    margin-bottom: 10px;
}

.breadcrumb a {
    color: var(--cyan);
}

.moto-hero__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
}

.moto-hero__slogan {
    color: #d6d9f0;
    max-width: 540px;
    margin-top: 6px;
}

.moto-hero__year {
    display: inline-block;
    margin-top: 12px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.moto-detail__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.moto-detail__stage {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 30px;
    display: grid;
    place-items: center;
    min-height: 360px;
}

.moto-detail__stage img {
    max-height: 420px;
    object-fit: contain;
    transition: opacity var(--t);
}

.color-picker {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: var(--swatch);
    cursor: pointer;
    box-shadow: 0 0 0 1.5px var(--line);
    transition: var(--t);
}

.color-swatch.is-active {
    box-shadow: 0 0 0 2px var(--blue);
    transform: scale(1.1);
}

.color-picker__label {
    margin-top: 12px;
    color: var(--muted);
    font-weight: 600;
}

.moto-detail__offer {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.offer-box {
    margin-bottom: 16px;
}

.offer-box__label {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.offer-box__price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
}

.offer-box__price small {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 600;
}

.offer-box--alt .offer-box__price {
    color: var(--blue);
}

.offer-box__note {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.offer-box__obs {
    font-size: 0.82rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 14px;
    margin-bottom: 18px;
}

.offer-box__actions {
    display: grid;
    gap: 10px;
}

.offer-box__link {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.offer-box__valid {
    text-align: center;
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 14px;
}

/* ---- Ficha técnica + galeria --------------------------------------- */
.moto-specs {
    background: var(--bg-soft);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.specs-grid__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.specs-grid__item dt {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.specs-grid__item dd {
    color: var(--navy);
    font-weight: 700;
    margin-top: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.gallery-grid img {
    border-radius: var(--radius);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ---- Conteúdo em colunas ------------------------------------------- */
.content-cols {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}

.content-cols__text h2 {
    color: var(--navy);
    margin: 0 0 16px;
}

.content-cols__text p {
    color: var(--muted);
    margin-bottom: 16px;
}

.steps {
    margin: 16px 0 16px 18px;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.rounded-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.info-card {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 24px;
}

.info-card h3 {
    color: var(--navy);
    margin-bottom: 12px;
}

.info-card p {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.contact-list {
    display: grid;
    gap: 22px;
}

.contact-item {
    display: flex;
    gap: 14px;
}

.contact-item span {
    font-size: 1.5rem;
}

.contact-item strong {
    color: var(--navy);
}

.contact-item p {
    color: var(--muted);
}

.legal h2 {
    color: var(--navy);
    margin: 28px 0 10px;
    font-size: 1.2rem;
}

.legal p {
    color: var(--muted);
    margin-bottom: 8px;
}

.legal__updated {
    font-size: 0.82rem;
    margin-top: 24px;
}

/* ---- Footer --------------------------------------------------------- */
.site-footer {
    background: var(--footer);
    color: #aab0d0;
    padding-top: 56px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
}

.site-footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.site-footer__about {
    font-size: 0.88rem;
    line-height: 1.7;
}

.site-footer__col h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.site-footer__col a {
    display: block;
    color: #c2c6e8;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.site-footer__col a:hover {
    color: var(--cyan);
}

.site-footer__hours {
    font-size: 0.85rem;
    margin-top: 10px;
}

.site-footer__social {
    display: flex;
    gap: 16px;
    margin-top: 14px;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.site-footer__bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #8b90c0;
}

/* ---- WhatsApp flutuante -------------------------------------------- */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    border-radius: 30px;
    padding: 0 20px 0 16px;
    height: 52px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: var(--t);
    white-space: nowrap;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.whatsapp-float__label {
    display: none;
}

@media (min-width: 768px) {
    .whatsapp-float__label {
        display: inline;
    }
}

.whatsapp-float:hover {
    transform: scale(1.04);
    background: #1ebe5d;
    color: #fff;
}

/* ---- Páginas utilitárias (obrignado / erro) ------------------------- */
.thanks-page,
.error-page {
    background: var(--navy);
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.thanks-card,
.error-card {
    background: var(--navy-2);
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    padding: 48px 36px;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0,229,255,0.12);
}

.thanks-card__icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.thanks-card h1,
.error-card h1 {
    color: var(--cyan);
    margin-bottom: 12px;
}

.thanks-card p,
.error-card p {
    color: #aab0e8;
    margin-bottom: 24px;
}

.thanks-card__hint {
    font-size: 0.85rem;
}

.thanks-card__hint a,
.error-card a.btn {
}

.error-card__code {
    font-size: 4rem;
    font-weight: 800;
    color: var(--blue);
}

/* ---- Responsivo ----------------------------------------------------- */
@media (max-width: 900px) {
    .lead-section__grid,
    .about-snippet__grid,
    .moto-detail__grid,
    .content-cols {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .moto-detail__offer {
        position: static;
    }
    .trust__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header__toggle {
        display: flex;
    }
    .site-header__contact {
        display: none;
    }
    .site-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 14px;
    }
    .site-nav.is-open {
        display: flex;
    }
    .site-nav__link {
        padding: 14px 2px;
        border-bottom: 1px solid var(--line);
    }
    .site-nav__cta,
    .site-nav__cta:first-of-type {
        margin: 12px 0 0;
    }
    .section {
        padding: 44px 0;
    }
}

@media (max-width: 520px) {
    .trust__grid {
        grid-template-columns: 1fr;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
    .lead-form {
        padding: 20px;
    }
}

/* =====================================================================
   HOME - seções espelhadas do site original
   ===================================================================== */
/* ---- Cabeçalho de seção centralizado (eyebrow + título + subtítulo) -- */
.section--center {
    text-align: center;
}

.section__eyebrow {
    display: block;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section--center .section__title {
    color: var(--navy);
}

.section__subtitle {
    color: var(--muted);
    max-width: 620px;
    margin: 12px auto 0;
}

.section__head--center {
    display: block;
    text-align: center;
    margin-bottom: 40px;
}

/* ---- Cartão de moto (ano + à vista + parcela + 2 botões) ------------- */
.moto-card__year {
    display: inline-block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.moto-card__price {
    display: block;
    margin-bottom: 14px;
}

.moto-card__label {
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.moto-card__value {
    display: block;
    color: var(--price);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    font-family: var(--font-head);
}

.moto-card__parcela {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

.moto-card__actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.btn--whats {
    background: #fff;
    border-color: #25d366;
    color: #128c3e;
}

.btn--whats:hover {
    background: #25d366;
    color: #fff;
}

.btn--whats svg {
    width: 18px;
    height: 18px;
}

/* ---- Proposta: itens com ícone + métricas --------------------------- */
.pitch-steps {
    list-style: none;
    margin: 24px 0;
    display: grid;
    gap: 14px;
}

.pitch-steps li {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #e6e8f7;
    font-weight: 500;
}

.pitch-steps .pitch-ico {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.metrics-row {
    display: flex;
    gap: 28px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
    flex-wrap: wrap;
}

.metric__num {
    display: block;
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: var(--font-head);
}

.metric__label {
    color: #aab0d8;
    font-size: 0.82rem;
}

/* ---- Diferenciais (6 cards) ----------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
    transition: var(--t);
}

.feature-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: transparent;
}

.feature-card__ico {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(44,44,255,0.08);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.feature-card h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.88rem;
}

/* ---- Depoimentos ---------------------------------------------------- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonial-card__stars {
    color: #ffb400;
    letter-spacing: 2px;
}

.testimonial-card__quote {
    color: #3a3f63;
    font-size: 0.92rem;
    flex: 1;
    line-height: 1.6;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--cyan);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.testimonial-card__name {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-card__city {
    color: var(--muted);
    font-size: 0.8rem;
}

/* ---- Sobre: métricas + selo ----------------------------------------- */
.about-metrics {
    display: flex;
    gap: 32px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.about-metrics .metric__num {
    color: var(--blue);
    font-size: 2rem;
}

.about-metrics .metric__label {
    color: var(--muted);
}

.about-figure {
    position: relative;
}

.about-figure img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-badge span {
    color: var(--cyan);
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
}

/* ---- FAQ (acordeão) -------------------------------------------------- */
.faq {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-item__q {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 18px 22px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item__q::after {
    content: "+";
    color: var(--blue);
    font-size: 1.4rem;
    transition: transform var(--t);
}

.faq-item.is-open .faq-item__q::after {
    transform: rotate(45deg);
}

.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t);
}

.faq-item__a p {
    padding: 0 22px 18px;
    color: var(--muted);
}

.faq-item.is-open .faq-item__a {
    max-height: 320px;
}

/* ---- Contato (cards + mapa) ----------------------------------------- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 920px;
    margin: 0 auto;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    text-align: center;
}

.contact-card__ico {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(44,44,255,0.08);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

.contact-card__label {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-card__value {
    color: var(--navy);
    font-weight: 700;
    margin-top: 4px;
    word-break: break-word;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 26px 0;
}

.contact-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    transition: var(--t);
}

.contact-social a:hover {
    background: var(--blue);
}

.map-card {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.map-card__placeholder {
    padding: 40px 20px;
    text-align: center;
}

.map-card__placeholder p {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 14px;
}

.map-card iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

/* ---- Responsivo das novas seções ------------------------------------ */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .feature-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .metrics-row,
    .about-metrics {
        gap: 20px;
    }
}

/* =====================================================================
   MODAL - pop-up "SOLICITE SUA PROPOSTA" (replicado do site original)
   ===================================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.is-open {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 35, 0.72);
    backdrop-filter: blur(3px);
}

.modal__dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    overflow: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--t);
}

.modal__close:hover {
    background: var(--price);
}

.modal__pitch {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy) 45%, var(--navy-3) 100%);
    color: #fff;
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal__eyebrow {
    color: var(--price);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.modal__title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.7rem;
    text-transform: uppercase;
    line-height: 1.15;
    margin: 8px 0 12px;
    letter-spacing: 0.01em;
}

.modal__sub {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin-bottom: 22px;
}

.modal__benefits {
    list-style: none;
    display: grid;
    gap: 12px;
}

.modal__benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
}

.modal__benefits .check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.modal__form {
    padding: 34px 32px;
}

.modal__form .lead-form {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.modal__form .lead-form__title {
    color: var(--navy);
}

@media (max-width: 760px) {
    .modal__dialog {
        grid-template-columns: 1fr;
        max-height: 94vh;
    }
    .modal__pitch {
        padding: 30px 26px;
    }
    .modal__title {
        font-size: 1.4rem;
    }
    .modal__benefits {
        display: none;
    }
    .modal__form {
        padding: 26px 22px;
    }
}

/* =====================================================================
   BARRA FIXA da moto (mobile/tablet) - replicada do original
   ===================================================================== */
.moto-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background: var(--navy);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.22);
}

.moto-sticky__info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.moto-sticky__info img {
    width: 56px;
    height: 42px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 3px;
    flex-shrink: 0;
}

.moto-sticky__text {
    min-width: 0;
}

.moto-sticky__text strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.moto-sticky__text span {
    font-size: 0.82rem;
    color: var(--cyan);
    font-weight: 700;
}

.moto-sticky__cta {
    flex-shrink: 0;
    padding: 10px 22px;
}

@media (max-width: 1024px) {
    .moto-sticky {
        display: flex;
    }
    body:has(.moto-sticky) {
        padding-bottom: 68px;
    }
    body:has(.moto-sticky) .whatsapp-float {
        bottom: 82px;
    }
}

/* =====================================================================
   SIMULADOR DE FINANCIAMENTO
   ===================================================================== */
.simulator {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}

.simulator__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin-bottom: 22px;
}

.simulator__ico {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: rgba(22, 44, 125, 0.08);
    border-radius: 14px;
    font-size: 1.6rem;
}

.simulator__head h2 {
    font-family: var(--font-head);
    text-transform: uppercase;
    color: var(--navy);
    font-size: 1.3rem;
}

.simulator .field {
    margin-bottom: 16px;
}

.simulator .field label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.simulator select,
.simulator input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: var(--ink);
}

.simulator select:focus,
.simulator input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(22, 44, 125, 0.12);
}

.sim-preview[hidden] { display: none; }

.sim-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.sim-preview img {
    width: 100px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
    background: #fff;
}

.sim-preview strong {
    display: block;
    color: var(--navy);
}

.sim-preview span {
    color: var(--price);
    font-weight: 700;
    font-family: var(--font-head);
}

.sim-range {
    width: 100%;
    accent-color: var(--blue);
}

.sim-range__ticks {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.72rem;
    margin-top: 4px;
}

.simulator__note {
    color: var(--muted);
    font-size: 0.76rem;
    text-align: center;
    margin-top: 12px;
}

.modal__dialog--single {
    grid-template-columns: 1fr;
    max-width: 460px;
}

.sim-result {
    padding: 32px 30px 8px;
}

.sim-result__title {
    font-family: var(--font-head);
    text-transform: uppercase;
    color: var(--navy);
    font-size: 1.5rem;
    margin: 6px 0 18px;
}

.sim-result__grid {
    display: grid;
    gap: 10px;
}

.sim-result__grid > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.sim-result__grid > div span {
    color: var(--muted);
    font-size: 0.88rem;
}

.sim-result__grid > div strong {
    color: var(--navy);
    font-weight: 700;
}

.sim-result__highlight {
    background: rgba(22, 44, 125, 0.05);
    border-radius: var(--radius-sm);
    padding: 14px !important;
    border-bottom: 0 !important;
}

.sim-result__highlight span {
    color: var(--navy) !important;
    font-weight: 600;
}

.sim-result__highlight strong {
    color: var(--price);
    font-size: 1.5rem;
    font-family: var(--font-head);
}

.sim-result__note {
    color: var(--muted);
    font-size: 0.84rem;
    margin: 14px 0 0;
}

/* =====================================================================
   WIZARD interativo (pop-up "Solicite sua proposta")
   ===================================================================== */
.lead-wizard {
    display: flex;
    flex-direction: column;
    min-height: 390px;
}

.wizard__progress {
    height: 5px;
    background: var(--line);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 22px;
}

.wizard__progress span {
    display: block;
    height: 100%;
    width: 20%;
    background: var(--blue);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.wizard__step {
    display: none;
    flex: 1;
    animation: wzIn 0.25s ease;
}

.wizard__step.is-active {
    display: block;
}

.wizard__done.is-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes wzIn {
    from {
        opacity: 0;
        transform: translateX(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.wizard__q {
    font-family: var(--font-head);
    text-transform: uppercase;
    color: var(--navy);
    font-size: 1.15rem;
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.wizard__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wizard__chips--scroll {
    max-height: 232px;
    overflow-y: auto;
    padding: 2px;
}

.chip {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 11px 18px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.15s;
}

.chip:hover {
    border-color: var(--blue);
    background: rgba(22, 44, 125, 0.04);
}

.chip.is-selected {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.chip--muted {
    color: var(--muted);
}

.wizard__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.wizard__summary .sum-pill {
    background: rgba(22, 44, 125, 0.08);
    color: var(--navy);
    font-size: 0.74rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.wizard__nav {
    margin-top: 16px;
}

.wizard__back {
    background: none;
    border: 0;
    color: var(--muted);
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
}

.wizard__back:hover {
    color: var(--blue);
}

.wizard__done {
    text-align: center;
    padding: 26px 0;
}

.wizard__done-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 2rem;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.wizard__done h3 {
    font-family: var(--font-head);
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 8px;
}

.wizard__done p {
    color: var(--muted);
}

.lead-wizard .field {
    margin-bottom: 12px;
}

.lead-wizard .field input,
.lead-wizard .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.lead-wizard .field input:focus,
.lead-wizard .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(22, 44, 125, 0.12);
}

.lead-wizard .field-check {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--muted);
    margin: 6px 0 14px;
}

.lead-wizard .field-check input {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

/* =====================================================================
   ANIMAÇÕES DE ENTRADA (aplicadas via JS; sem JS nada muda)
   ===================================================================== */
.hero__slide-link {
    display: block;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Escalona os cards dentro da mesma grade */
.reveal:nth-child(2) { transition-delay: 0.07s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =====================================================================
   SELO "ABERTO AGORA" (header) e SPECS-CHAVE (box de oferta)
   ===================================================================== */
.open-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

.open-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b9c0cf;
    flex-shrink: 0;
}

.open-badge.is-open {
    color: #157347;
}

.open-badge.is-open::before {
    background: #23a55a;
    box-shadow: 0 0 0 3px rgba(35, 165, 90, 0.18);
}

@media (max-width: 860px) {
    .open-badge {
        display: none;
    }
}

.offer-specs {
    list-style: none;
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.offer-specs li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.offer-specs span {
    font-size: 0.74rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.offer-specs strong {
    font-size: 0.95rem;
    color: var(--navy);
}

/* =====================================================================
   FILTRO POR FINALIDADE, COMPARADOR E AVALIAÇÃO DE USADA
   ===================================================================== */
.filter-group {
    margin-bottom: 18px;
}

.filter-group__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

/* ---- Checkbox "Comparar" no card ------------------------------------ */
.moto-card__compare {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    margin-bottom: 6px;
    user-select: none;
}

.moto-card__compare input {
    accent-color: var(--navy);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* ---- Barra flutuante do comparador ---------------------------------- */
.compare-bar {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--navy);
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.compare-bar__clear {
    background: none;
    border: 0;
    color: var(--cyan);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 600;
    font-family: inherit;
}

/* ---- Modal do comparador -------------------------------------------- */
.compare-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(10, 18, 48, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.compare-modal.is-open {
    display: flex;
}

.compare-modal__box {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 28px;
    max-width: 860px;
    width: 100%;
    max-height: 88vh;
    overflow: auto;
}

.compare-modal__box h2 {
    color: var(--navy);
    margin-bottom: 18px;
}

.compare-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: 0;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
}

.compare-modal__table table {
    width: 100%;
    border-collapse: collapse;
}

.compare-modal__table th {
    text-align: left;
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 12px 10px 0;
    width: 110px;
    vertical-align: middle;
}

.compare-modal__table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    font-size: 0.95rem;
}

.compare-modal__table tr:first-child td,
.compare-modal__table tr:last-child td {
    border-bottom: 0;
}

.compare-modal__table img {
    width: 150px;
    height: 100px;
    object-fit: contain;
}

.compare-modal__table td strong {
    color: var(--navy);
}

/* ---- Avaliação de usada (home) --------------------------------------- */
.trade-in {
    background: var(--bg-soft);
}

.trade-in__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.trade-in__pitch .section__title {
    margin: 6px 0 14px;
}

.trade-in__pitch p {
    color: var(--muted);
    margin-bottom: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 12px;
}

@media (max-width: 860px) {
    .trade-in__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .compare-modal__table th {
        width: 84px;
    }
    .compare-modal__table img {
        width: 90px;
        height: 64px;
    }
}

/* Passos da avaliação de usada em fundo claro */
.trade-in .pitch-steps li {
    color: var(--ink);
}

.trade-in .pitch-steps .pitch-ico {
    background: var(--navy);
    color: #fff;
}

/* Correção: display:flex do card anulava o atributo hidden dos filtros */
.moto-card[hidden] {
    display: none;
}

/* ---- Modo comparação: checkboxes só aparecem após ativar ------------ */
.compare-hint {
    display: block;
    width: 100%;
    text-align: left;
    background: #eef2fb;
    border: 1px dashed var(--navy);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-family: inherit;
    font-size: 0.92rem;
    padding: 12px 16px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: var(--t);
}

.compare-hint:hover {
    background: #e2e9f9;
}

.compare-hint strong {
    text-decoration: underline;
}

.moto-card__compare {
    display: none;
}

.is-compare .moto-card__compare {
    display: inline-flex;
}

/* Mesma correção do card: display:flex anulava o hidden da barra */
.compare-bar[hidden] {
    display: none;
}

/* =====================================================================
   BANNER DE COOKIES (LGPD)
   ===================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 80;
    max-width: 520px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ink);
    line-height: 1.5;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookie-banner__decline {
    background: none;
    border: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.cookie-banner__decline:hover {
    color: var(--ink);
}

/* =====================================================================
   PÁGINA 404 (classe própria .page-404; .error-page fica p/ "obrigado")
   ===================================================================== */
.page-404 {
    background: var(--bg);
}

.p404 {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    background-color: var(--navy-2);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Camadas: véu navy diagonal + fade branco na base (emenda com a seção) */
.p404::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--bg) 0%, rgba(255, 255, 255, 0) 22%),
        linear-gradient(115deg, rgba(10, 18, 48, 0.94) 30%, rgba(22, 44, 125, 0.55) 100%);
}

.p404__bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px clamp(20px, 5vw, 56px);
}

.p404__logo {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
}

.p404__brand {
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.4rem;
}

.p404__help {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 9px 18px;
    transition: var(--t);
}

.p404__help:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Número gigante fantasma, atrás do conteúdo */
.p404__ghost {
    position: absolute;
    right: -2%;
    bottom: -6%;
    z-index: 1;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(16rem, 38vw, 34rem);
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.14);
    user-select: none;
    pointer-events: none;
}

.p404__content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px clamp(20px, 8vw, 96px) 90px;
    max-width: 760px;
    animation: p404-in 0.55s ease both;
}

@keyframes p404-in {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.p404__eyebrow {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    background: var(--price);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.p404__content h1 {
    color: #fff;
    font-size: clamp(2.4rem, 6.5vw, 4.4rem);
    line-height: 1.04;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.p404__content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.p404__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.p404__links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.p404__links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 7px 16px;
    transition: var(--t);
}

.p404__links a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.07);
}

/* Sugestões: cards sobem sobre o fade do hero */
.p404__suggest {
    position: relative;
    z-index: 3;
    padding: 0 0 72px;
    margin-top: -46px;
}

.p404__suggest .moto-card {
    box-shadow: var(--shadow-lg);
    border: 0;
}

@media (max-width: 720px) {
    .p404 {
        min-height: 92vh;
        text-align: center;
    }
    .p404__content {
        align-items: center;
        padding-bottom: 70px;
    }
    .p404__eyebrow {
        align-self: center;
    }
    .p404__help {
        display: none;
    }
    .p404__ghost {
        right: 50%;
        transform: translateX(50%);
        bottom: -3%;
    }
}

/* Comparador no mobile: colunas fixas que cabem na tela, sem rolar de lado */
@media (max-width: 640px) {
    .compare-modal {
        padding: 10px;
    }
    .compare-modal__box {
        padding: 18px 12px;
    }
    .compare-modal__box h2 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    .compare-modal__table table {
        table-layout: fixed;
        width: 100%;
    }
    .compare-modal__table th {
        width: 58px;
        font-size: 0.62rem;
        padding: 6px 4px 6px 0;
        letter-spacing: 0.02em;
    }
    .compare-modal__table td {
        padding: 6px 4px;
        font-size: 0.8rem;
        word-break: break-word;
    }
    .compare-modal__table img {
        width: 100%;
        height: 56px;
        object-fit: contain;
    }
    .compare-modal__table .btn {
        padding: 7px 6px;
        font-size: 0.7rem;
        width: 100%;
    }
}

/* =====================================================================
   FLUIDEZ: o navegador só pinta as seções quando elas se aproximam
   da tela (content-visibility). Corte grande no custo de renderização.
   ===================================================================== */
.section {
    content-visibility: auto;
    contain-intrinsic-size: auto 560px;
}

/* =====================================================================
   ACESSIBILIDADE: skip link e foco visível por teclado
   ===================================================================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--navy);
    color: #fff;
    padding: 12px 22px;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 700;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

.filter-chip:focus-visible,
.btn:focus-visible,
.chip:focus-visible,
.color-swatch:focus-visible,
.hero__nav:focus-visible,
.faq-item__q:focus-visible,
.moto-card__compare input:focus-visible {
    outline: 3px solid var(--price);
    outline-offset: 2px;
}

/* =====================================================================
   LIGHTBOX DA GALERIA, CAMPO INVÁLIDO E PLACEHOLDER DE FOTO
   ===================================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(8, 12, 30, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 84vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    animation: lightbox-in 0.25s ease both;
}

@keyframes lightbox-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.lightbox__close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox__close:hover {
    color: #fff;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: var(--t);
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.lightbox__nav--prev {
    left: 14px;
}

.lightbox__nav--next {
    right: 14px;
}

/* Campo apontado como inválido pelo servidor */
.lead-form input.is-invalid,
.lead-form textarea.is-invalid,
.lead-wizard input.is-invalid {
    border-color: var(--price);
    box-shadow: 0 0 0 3px rgba(228, 0, 0, 0.12);
}

/* Moto ainda sem foto: placeholder no lugar do buraco */
.moto-card__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 400 / 260;
    width: 100%;
    background: var(--bg-soft);
    color: #b6c0d4;
}

.moto-card__placeholder small {
    font-size: 0.78rem;
    font-weight: 600;
}

/* =====================================================================
   PÁGINA LEGAL (privacidade + termos) - layout melhorado
   ===================================================================== */
.legal {
    max-width: 820px;
}

.legal h2 {
    scroll-margin-top: 96px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    margin-top: 34px;
}

.legal p strong {
    color: var(--ink);
}

.legal-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.legal-toc a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    transition: var(--t);
}

.legal-toc a:hover {
    border-color: var(--navy);
    background: var(--bg-soft);
}

.legal-box {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-left: 4px solid var(--navy);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin: 14px 0;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

.legal-box--destaque {
    border-left-color: var(--price);
    background: #fdf3f3;
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.65;
}

.site-footer__legal {
    margin-top: 10px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
}

.site-footer__legal a:hover {
    color: #fff;
}

/* Ressalva legal no resultado do simulador */
.sim-result__legal {
    font-size: 0.74rem;
    color: var(--muted);
    line-height: 1.55;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

/* Botão secundário "Refazer simulação" no passo 1 do modal */
.sim-result__back-link {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 0.84rem;
    text-align: center;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sim-result__back-link:hover { color: var(--fg); }

/* Simulador embutido na página da moto (fora do layout de 2 colunas) */
.moto-simulador__box {
    max-width: 460px;
    margin: 0 auto;
}

.moto-card__value--consulte,
.offer-box__price--consulte {
    font-size: 1.25rem;
}
