/* Site institucional — usa os tokens e componentes de /assets/css/base.css */

.center { display: flex; justify-content: center; margin-top: 28px; }
.club-more { flex-wrap: wrap; gap: 10px; }

/* ---------- Cabeçalho ---------- */
.nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.nav a { position: relative; transition: color 0.25s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-wa { min-height: 40px; padding: 0 16px; font-size: 14px; }
.burger { display: none; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menu do celular: folha que sobe */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.3); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.35s ease; }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: var(--surface); box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.25); transform: translateY(100%); transition: transform 0.45s var(--ease); }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grip { justify-self: center; width: 40px; height: 4px; margin-bottom: 10px; border-radius: 4px; background: var(--line-2); }
.sheet__panel > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-title); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.sheet__panel .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__product { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
.hero__halo { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0.7) 45%, transparent 70%); }
.hero__product img { position: relative; width: 88%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; animation: float 6s ease-in-out infinite; }
.hero__shadow { position: absolute; bottom: 9%; left: 22%; right: 22%; height: 20px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.18), transparent); animation: shadow 6s ease-in-out infinite; }
.hero__tag { position: absolute; right: 4%; bottom: 14%; display: grid; gap: 2px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 12px; color: var(--muted); }
.hero__tag strong { color: var(--ink); font-family: var(--font-title); font-size: 15px; }
.hero__tag b { color: var(--orange-text); font-family: var(--font-title); font-size: 17px; }
.hero__tag:empty { display: none; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes shadow { 50% { transform: scaleX(0.86); opacity: 0.7; } }
.perks-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(32px, 5vw, 56px); list-style: none; }
.perks-strip li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; color: var(--muted); }
.perks-strip svg { width: 22px; height: 22px; color: var(--orange); }
.perks-strip strong { display: block; color: var(--ink); font-family: var(--font-title); font-size: 15px; }

/* ---------- Modelos ---------- */
.section__head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section__head--row > div { display: grid; gap: 12px; }
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.model { display: flex; flex-direction: column; cursor: pointer; }
.model .card__photo { position: relative; aspect-ratio: 1 / 0.9; }
.model .card__photo img { position: absolute; inset: 0; padding: 7%; }
.model .card__photo img.is-fading { opacity: 0; }
.model .off { position: absolute; z-index: 2; top: 14px; left: 14px; }
.model__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 6px 20px 20px; }
.model__type { color: var(--muted); font-size: 12px; }
.model__name { font-family: var(--font-title); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.model__summary { color: var(--muted); font-size: 13.5px; }
.swatches { display: flex; gap: 6px; margin-top: 6px; }
.swatch { position: relative; width: 22px; height: 22px; border-radius: 50%; padding: 3px; }
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.swatch::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--ink); transform: scale(0.6); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.25s ease; }
.swatch.is-active::after { transform: none; opacity: 1; }
.model__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.model__foot .btn { min-height: 40px; padding: 0 14px; font-size: 13.5px; }

/* ---------- Por que elétrica ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { display: flex; flex-direction: column; gap: 12px; padding: 26px; }
.perk p { color: var(--muted); font-size: 14.5px; }
.steps { position: relative; margin-top: clamp(48px, 7vw, 80px); }
.steps > h3 { text-align: center; margin-bottom: 32px; }
.steps ol { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; text-align: center; }
.steps li { display: grid; justify-items: center; gap: 8px; }
.steps li p { color: var(--muted); font-size: 14px; max-width: 240px; }
.steps li strong { font-family: var(--font-title); font-size: 17px; }
.steps__n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-2); color: var(--orange-text); font-weight: 700; font-size: 17px; box-shadow: var(--shadow-sm); }
.steps__line { position: absolute; left: 16.6%; right: 16.6%; top: calc(32px + 24px + 1.2em); width: 66.8%; height: 4px; overflow: visible; }
.steps__line line { stroke: var(--orange); stroke-width: 1.5; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.6s var(--ease) 0.3s; vector-effect: non-scaling-stroke; }
.steps.is-drawn .steps__line line { stroke-dashoffset: 0; }

/* ---------- Clube ---------- */
.club-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery[data-size="1"] { grid-template-columns: minmax(0, 360px); justify-content: center; }
.gallery[data-size="2"] { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; }
.gallery[data-size="3"] { grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; }
.shot { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--bg-alt); text-align: left; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shot:hover img { transform: scale(1.05); }
.shot__tag { position: absolute; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 1px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12px; color: var(--muted); }
.shot__tag strong { color: var(--ink); font-family: var(--font-title); font-size: 15px; }
.club-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding: 26px 30px; }
.club-cta p { color: var(--muted); margin-top: 4px; }
.club-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Lightbox */
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(250, 250, 247, 0.82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: var(--ink); }
.lightbox[open] { display: grid; place-items: center; animation: fade-in 0.35s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes fade-in { from { opacity: 0; } }
.lightbox figure { display: grid; justify-items: center; gap: 14px; max-width: min(92vw, 560px); }
.lightbox img { max-width: 100%; max-height: 70dvh; border-radius: 24px; box-shadow: var(--shadow-lg); object-fit: contain; user-select: none; }
.lightbox figcaption { display: grid; justify-items: center; gap: 2px; text-align: center; }
.lightbox figcaption strong { font-family: var(--font-title); font-size: 22px; }
.lightbox figcaption span, .lightbox__count { color: var(--muted); font-size: 13px; }
.lightbox figcaption q { max-width: 460px; margin-top: 6px; font-style: italic; color: var(--ink-2); }
.lightbox__close, .lightbox__nav { position: fixed; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease); }
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { transform: scale(1.06); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox.is-single .lightbox__nav { display: none; }

/* ---------- Test ride ---------- */
.ride { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ride > div { display: grid; gap: 16px; }
.ride__list { display: grid; gap: 10px; margin-top: 8px; list-style: none; }
.ride__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ride__list svg { width: 18px; height: 18px; color: var(--orange); }
.form { display: grid; gap: 18px; padding: clamp(22px, 4vw, 32px); }
.field { display: grid; gap: 8px; border: 0; }
.field > span, .field legend { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input[type="text"], .field input[type="date"], .field select { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); outline: 0; font-size: 16px; transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.field input:focus, .field select:focus { border-color: var(--orange); background: var(--surface); box-shadow: 0 0 0 4px var(--orange-soft); }
.field input.is-invalid { border-color: #d93a3a; }
.field legend { margin-bottom: 8px; }
.pills { display: flex; gap: 8px; }
.pills label { flex: 1; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: grid; place-items: center; min-height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.25s ease; }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.form__error { color: #d93a3a; font-size: 14px; }
.form__note { color: var(--faint); font-size: 12px; text-align: center; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about > div:last-child { display: grid; gap: 16px; }
.about__media { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 32px; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--bg-alt) 70%); border: 1px solid var(--line); overflow: hidden; }
.about__media img { width: 62%; border-radius: 50%; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.45); }
.about__media.has-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.about__text { display: grid; gap: 12px; color: var(--ink-2); font-size: 16.5px; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.about__facts div { padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.about__facts strong { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.about__facts span { color: var(--muted); font-size: 13px; }

/* ---------- Depoimentos ---------- */
.quotes { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quote { flex: 0 0 min(86%, 380px); scroll-snap-align: start; display: grid; gap: 16px; padding: 24px; }
.quote p { color: var(--ink-2); font-style: italic; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote strong { display: block; font-family: var(--font-title); }
.quote span { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 96px; display: grid; justify-items: start; gap: 16px; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.faq__item.is-open { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--font-title); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-alt); color: var(--ink); transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease; }
.faq__icon svg { width: 16px; height: 16px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--orange-soft); color: var(--orange-text); }
.faq__body { overflow: hidden; height: 0; transition: height 0.4s var(--ease); }
.faq__item[open] .faq__body { height: auto; }
.faq__body p { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Contato ---------- */
.visit { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.visit > div:first-child { display: grid; align-content: start; gap: 14px; }
.contacts { display: grid; gap: 10px; margin-top: 12px; }
.contact { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 20px; }
.contact > span:nth-child(2) { flex: 1; }
.contact strong { display: block; font-family: var(--font-title); font-size: 15px; }
.contact small { color: var(--muted); font-size: 13.5px; }
.contact__arrow { width: 18px; height: 18px; color: var(--faint); transition: transform 0.4s var(--ease), color 0.3s ease; }
.contact:hover .contact__arrow { transform: translateX(4px); color: var(--orange); }
.hours { padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; }
.hours dt { color: var(--muted); }
.hours dd { font-weight: 500; }
.hours__status { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hours__status i { width: 8px; height: 8px; border-radius: 50%; background: #b5b5b0; }
.hours__status b { color: var(--ink); font-weight: 600; }
.hours__status.is-open i { background: var(--wa); animation: hours-pulse 2s ease-out infinite; }
.hours__status.is-open b { color: var(--wa); }
@keyframes hours-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 85, 0.5); } 100% { box-shadow: 0 0 0 7px rgba(31, 174, 85, 0); } }
.visit__map { position: relative; min-height: 440px; padding: 0; }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(0.95) brightness(1.04); }
.visit__route { position: absolute; right: 16px; bottom: 16px; }

/* ---------- Rodapé (o único bloco escuro) ---------- */
.footer { background: var(--dark); color: #fff; padding: clamp(56px, 8vw, 96px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer__slogan { font-family: var(--font-title); font-weight: 700; font-size: clamp(44px, 8vw, 96px); line-height: 0.98; letter-spacing: -0.045em; }
.footer__slogan span { color: #ff8a3d; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding-top: 28px; }
.footer .brand small { color: rgba(255, 255, 255, 0.55); }
.footer .brand img { box-shadow: none; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.footer__nav a:hover { color: #fff; }
.footer__legal { width: 100%; color: rgba(255, 255, 255, 0.45); font-size: 12.5px; }
.footer__legal a:hover { color: #fff; }

/* WhatsApp flutuante */
.float-wa { position: fixed; z-index: 40; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -10px rgba(31, 174, 85, 0.7); transition: transform 0.35s var(--ease), opacity 0.3s ease; }
.float-wa svg { width: 26px; height: 26px; }
.float-wa:hover { transform: scale(1.06); }
.float-wa.is-hidden { opacity: 0; transform: scale(0.8); pointer-events: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .models, .perks { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav, .nav-wa { display: none; }
  .burger { display: grid; }
  .hero__inner, .ride, .about, .faq, .visit { grid-template-columns: 1fr; }
  .hero__product { width: min(88vw, 380px); margin-top: -8px; }
  .hero__tag { right: 0; bottom: 8%; padding: 10px 14px; }
  .faq__head { position: static; }
  .about__media { max-width: 380px; width: 100%; justify-self: center; }
  .visit__map { min-height: 340px; }
}
@media (max-width: 640px) {
  .brand small { display: none; }
  .hero__copy { text-align: left; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .perks-strip { grid-template-columns: 1fr; gap: 8px; }
  .models { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 16px; scrollbar-width: none; }
  .models::-webkit-scrollbar { display: none; }
  .model { flex: 0 0 80%; scroll-snap-align: center; }
  .perks { grid-template-columns: 1fr; }
  .perk { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; padding: 20px; }
  .perk .icon-dot { grid-row: span 2; }
  .steps ol { grid-template-columns: 1fr; text-align: left; gap: 18px; }
  .steps li { grid-template-columns: auto 1fr; justify-items: start; column-gap: 14px; row-gap: 0; }
  .steps__n { grid-row: span 2; }
  .steps__line { display: none; }
  .gallery, .gallery[data-size="2"], .gallery[data-size="3"] { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery[data-size="1"] { grid-template-columns: minmax(0, 300px); }
  .club-cta { padding: 22px; }
  .club-cta__actions, .club-cta__actions .btn { width: 100%; }
  .lightbox__nav { top: auto; bottom: 20px; translate: none; }
  .lightbox__nav--prev { left: calc(50% - 58px); }
  .lightbox__nav--next { right: calc(50% - 58px); }
  .lightbox img { max-height: 60dvh; }
  .about__facts strong { font-size: 24px; }
  .footer__top .btn { width: 100%; }
}
