/* =========================================================
   SinoBrasil Promo — simple, cinematic, Brazilian bold
   ========================================================= */

:root {
  --navy: #04122b;
  --navy-2: #0a2146;
  --blue: #002776;
  --green: #009c3b;
  --green-bright: #00c853;
  --yellow: #ffd500;
  --yellow-soft: #ffe84d;
  --cream: #f6f4ec;
  --ink: #0a1a33;
  --muted: #5b6677;
  --line: #e3e7ee;
  --font: "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-xl {
  padding: 19px 36px;
  font-size: 1.06rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 7px 7px 0 rgba(0, 156, 59, 0.92);
  position: relative;
  overflow: hidden;
}

.btn-yellow:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(0, 156, 59, 0.92);
}

.btn-wa {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.btn-wa:hover {
  background: rgba(37, 211, 102, 0.9);
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-wa svg {
  width: 22px;
  height: 22px;
}

/* shine sweep on primary buttons */
.btn-yellow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -160%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s ease;
  pointer-events: none;
}

.btn-yellow:hover::after {
  left: 170%;
}

/* ---------- Scroll progress ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 130;
  background: linear-gradient(90deg, var(--yellow), var(--green-bright));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- Top bar ---------- */
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4vw;
  height: 74px;
  background: rgba(4, 18, 43, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: height 0.28s ease, background 0.28s ease,
              box-shadow 0.28s ease, border-color 0.28s ease;
}

.bar.is-scrolled {
  height: 60px;
  background: rgba(4, 18, 43, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.bar.is-scrolled ~ .mobile-menu {
  top: 60px;
}

.bar.is-scrolled .brand-mark {
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
}

.bar.is-scrolled .brand-name {
  font-size: 1.08rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 3px 3px 0 rgba(0, 156, 59, 0.85);
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

.brand-name em {
  font-style: normal;
  color: var(--yellow);
}

.bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------- Desktop nav links (≥901px) ---------- */
.bar-nav {
  display: none;
}

@media (min-width: 901px) {
  .bar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    padding-left: 28px;
  }

  .bar-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 10px 14px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .bar-nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
  }

  .bar-nav a:hover,
  .bar-nav a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }

  .bar-nav a:hover::after,
  .bar-nav a:focus-visible::after {
    transform: scaleX(1);
  }

  .bar-nav a.active {
    color: var(--yellow);
  }

  .bar-nav a.active::after {
    transform: scaleX(1);
  }

  .bar-nav a:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
  }
}

.lang-switch {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: var(--yellow);
  color: var(--navy);
}

/* Compact bar between 901-1100px: tighter nav + smaller CTA */
@media (min-width: 901px) and (max-width: 1100px) {
  .bar-nav {
    padding-left: 18px;
    gap: 2px;
  }

  .bar-nav a {
    padding: 10px 10px;
    font-size: 0.88rem;
  }

  .bar-nav a::after {
    left: 10px;
    right: 10px;
  }

  .lang-btn {
    padding: 6px 10px;
  }

  .bar-cta {
    padding: 9px 14px;
    font-size: 0.84rem;
  }
}

/* ---------- Mobile nav ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 4vw 22px;
  background: rgba(4, 18, 43, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 13px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--yellow);
}

.mobile-menu .btn {
  margin-top: 14px;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #007a30;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 4px;
  background: var(--yellow);
}

/* ---------- Hero · pure slideshow ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide:not(.is-active) .hero-media img {
  animation-play-state: paused;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 42%;
  animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12) translate(-1.5%, 1%);
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 43, 0.5) 0%, rgba(4, 18, 43, 0.08) 45%, rgba(4, 18, 43, 0.62) 100%);
}

/* v1.0.13: PT/CN 双图互斥显示 — 用 html[lang] attribute selector 切换,
   promo.js applyLang 切 document.documentElement.lang 时浏览器自动重排 */
.hero-media--cn { display: none; }
.hero-media--pt { display: block; }
html[lang="zh-CN"] .hero-media--pt { display: none; }
html[lang="zh-CN"] .hero-media--cn { display: block; }


.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -32%;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  border: 70px solid rgba(0, 156, 59, 0.16);
  border-radius: 50%;
  animation: spin 80s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Hero text stack (3 inner layers, synced with slides) ---------- */
.hero-stack {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 120px 6vw 140px;
  pointer-events: none;
}

.hero-stack > * {
  pointer-events: auto;
}

.hero-inner {
  position: absolute;
  inset: 120px 6vw auto;
  max-width: 640px;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.hero-inner.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 213, 0, 0.12);
  border: 1px solid rgba(255, 213, 0, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(4, 18, 43, 0.45);
}

.hero-sticker {
  display: inline-block;
  position: relative;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--yellow);
  transform: rotate(-3deg);
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(4, 18, 43, 0.5);
}

.hero-sub {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(4, 18, 43, 0.55);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-chips li {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 13px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

@media (max-width: 900px) {
  .hero-stack {
    padding: 100px 5vw 120px;
  }
  .hero-inner {
    inset: 100px 5vw auto;
  }
  .hero-ctas .btn-xl {
    padding: 16px 24px;
    font-size: 0.98rem;
  }
}

@media (max-width: 560px) {
  .hero-stack {
    padding: 88px 5vw 110px;
  }
  .hero-inner {
    inset: 88px 5vw auto;
  }
  .hero-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 14px;
  }
  .hero-sub {
    margin-bottom: 22px;
  }
  .hero-chips {
    gap: 6px;
  }
  .hero-chips li {
    font-size: 0.74rem;
    padding: 6px 11px;
  }
}

.hero-nav {
  position: absolute;
  left: 50%;
  bottom: 88px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hero-dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: scale(1.35);
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: var(--yellow);
  width: 103%;
  margin-left: -1.5%;
  transform: rotate(-1.4deg);
  box-shadow: 0 6px 0 rgba(4, 18, 43, 0.18);
  padding: 15px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.marquee-track i {
  font-style: normal;
  color: var(--green);
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Core ---------- */
.core {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--cream);
  border-bottom: 1.5px solid var(--ink);
}

.core-item {
  position: relative;
  padding: clamp(48px, 6vw, 84px) clamp(28px, 4vw, 60px);
  border-right: 1.5px solid var(--ink);
  transform-style: preserve-3d;
  will-change: transform;
}

.core-item.tilt-active {
  transition: transform 0.14s ease-out;
}

.core-item:last-child {
  border-right: 0;
}

.core-num {
  display: block;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--navy);
  line-height: 1;
}

.core-item h2 {
  margin-top: 18px;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.core-item p {
  margin-top: 12px;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 300px;
}

.core-item:nth-child(2) {
  background: #fff;
}

.core-item:nth-child(3) {
  background: var(--yellow);
}

.core-item:nth-child(3) p {
  color: rgba(4, 18, 43, 0.72);
}

.core-item:nth-child(3) .core-num {
  color: var(--navy);
  -webkit-text-stroke: 0;
}

/* ---------- Core CTA · 两个行动按钮 (跳表单 / WhatsApp) ---------- */
.core-cta {
  /* 横跨 .core grid 的全部 3 列 — .core 是 grid-template-columns: repeat(3, 1fr) */
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.4vw, 18px);
  flex-wrap: wrap;
  margin-top: clamp(36px, 4vw, 56px);
  padding: 0 4vw clamp(36px, 4vw, 56px);
}

.core-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.core-cta-btn-quote {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(247, 195, 37, 0.35);
}
.core-cta-btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(247, 195, 37, 0.45);
  background: #ffd33a;
}

.core-cta-btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.core-cta-btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  background: #1ebe5d;
}

@media (max-width: 640px) {
  .core-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .core-cta-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}

/* ---------- Cases ---------- */
.cases {
  background: #fff;
  padding: clamp(80px, 9vw, 130px) 4vw;
}

.cases-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 4vw, 54px);
}

.cases-title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4.5vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

/* v1.0.15: cases 标题突出数字 — 绿色字体 + 加粗 + 略大 */
.cases-title__num {
  color: var(--green);
  font-weight: 900;
  font-size: 1.08em;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-right: 0.18em;
}
.cases-title {
  /* 容纳 __num + __text 并排(防止 num + space + text 中间出现异常空白) */
  white-space: nowrap;
}

.case-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.case-carousel::-webkit-scrollbar {
  display: none;
}

.case-track {
  display: flex;
  gap: 24px;
}

.case-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.case-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 rgba(4, 18, 43, 0.92);
}

.case-img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(4, 18, 43, 0.1);
}

.case-card:nth-child(2) {
  box-shadow: 8px 8px 0 rgba(0, 156, 59, 0.9);
}

.case-card:nth-child(2):hover {
  box-shadow: 12px 12px 0 rgba(0, 156, 59, 0.9);
}

.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
}

.case-route {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  font-weight: 900;
  color: var(--ink);
}

.case-route i {
  font-style: normal;
  color: var(--green);
  font-weight: 900;
}

.case-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.case-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1.5px dashed rgba(4, 18, 43, 0.18);
}

.case-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--yellow);
  box-shadow: 3px 3px 0 rgba(4, 18, 43, 0.22);
  flex: 0 0 auto;
}

.case-person strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
}

.case-person span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.case-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 38px;
}

.car-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--yellow);
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 4px 4px 0 rgba(4, 18, 43, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.car-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 rgba(4, 18, 43, 0.9);
}

.car-btn:disabled {
  opacity: 0.32;
  box-shadow: none;
  cursor: default;
}

.car-btn svg {
  width: 22px;
  height: 22px;
}

.car-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}

.car-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #c8cfd9;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.car-dot.active {
  background: var(--green);
  transform: scale(1.35);
}

/* ---------- About ---------- */
.about {
  background: var(--cream);
  padding: clamp(80px, 9vw, 130px) 4vw;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  max-width: 1180px;
  margin-inline: auto;
}

.about-title {
  margin-top: 14px;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

/* v1.0.16: about 标题突出文字 — 绿色字体 + 略大 */
.about-title__highlight {
  color: var(--green);
  font-weight: 900;
  display: inline-block;
  letter-spacing: -0.02em;
}

.about-p {
  margin-top: 18px;
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 520px;
}

.about-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 36px;
  margin-top: 32px;
  padding: 24px 0 8px;
  border-top: 1px solid var(--line);
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
  font-weight: 700;
}

.about-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: 2px 2px 0 rgba(4, 18, 43, 0.35);
}

.about-visual {
  position: relative;
}

.about-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 1.5px solid var(--ink);
  box-shadow: 14px 14px 0 rgba(4, 18, 43, 0.92);
  overflow: hidden;
  background: var(--cream);
  transform: rotate(1deg);
}

.about-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.about-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.about-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.42);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 4;
}

.about-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.about-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: scale(1.08);
}
.about-arrow svg {
  width: 14px;
  height: 14px;
}

.about-dots {
  display: flex;
  gap: 5px;
}

.about-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.about-dot.active {
  background: var(--yellow);
  transform: scale(1.4);
}

.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  border: 1.5px solid var(--ink);
  box-shadow: 14px 14px 0 rgba(4, 18, 43, 0.92);
  transform: rotate(1deg);
}

.about-badge {
  position: absolute;
  left: -14px;
  bottom: -18px;
  background: var(--yellow);
  color: var(--navy);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: 6px 6px 0 rgba(0, 156, 59, 0.9);
  transform: rotate(-2deg);
}

.about-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge span {
  display: block;
  margin-top: 5px;
  font-size: 0.76rem;
  font-weight: 700;
}

/* ---------- Quote ---------- */
.quote {
  background:
    radial-gradient(900px 520px at 90% 0%, rgba(0, 39, 118, 0.95), transparent 60%),
    radial-gradient(800px 520px at 0% 100%, rgba(0, 156, 59, 0.5), transparent 60%),
    var(--navy);
  color: #fff;
  padding: clamp(90px, 11vw, 150px) 4vw;
  text-align: center;
}

.quote-inner {
  max-width: 780px;
  margin-inline: auto;
}

.quote-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--yellow-soft);
}

.quote-title {
  margin-top: 16px;
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.quote-sub {
  margin-top: 14px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 12px;
  margin-top: 42px;
}

.quote-form input {
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.quote-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.quote-form input:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.12);
}

.quote-form .btn {
  padding-inline: 26px;
}

.form-success {
  display: none;
  margin-top: 18px;
  font-weight: 800;
  color: #63f59a;
}

.form-success.show {
  display: block;
}

.full-link {
  display: inline-block;
  margin-top: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 213, 0, 0.5);
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.full-link:hover {
  color: var(--yellow);
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: #030c1d;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  padding: 22px 4vw;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
}

.footer a:hover {
  color: var(--yellow);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  animation: waPulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .core {
    grid-template-columns: 1fr;
  }

  .core-item {
    border-right: 0;
    border-bottom: 1.5px solid var(--ink);
  }

  .core-item:last-child {
    border-bottom: 0;
  }

  .case-carousel {
    max-width: 580px;
    margin-inline: auto;
  }

  .case-card {
    flex-basis: 100%;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form .btn {
    width: 100%;
  }

  /* v1.0.21: 移动端取消 cases-title nowrap — PT 长标题("Aprovado por mais de ...")在 30.4px 字号下整段 ~660px,超出 375px viewport 被截断 */
  .cases-title {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 560px) {
  .bar {
    height: 66px;
  }

  .bar .btn-yellow {
    display: none;
  }

  .mobile-menu {
    top: 66px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  html {
    scroll-behavior: auto;
  }
}
