/* Transportes Possebon — camada customizada sobre o Tailwind (CDN).
   Tema: variáveis RGB (sem alpha) consumidas pelo Tailwind via
   rgb(var(--c-x) / <alpha-value>) e diretamente aqui via rgb(var(--c-x)). */

/* ---------- Tokens de tema ---------- */
:root {
  --c-bg: 246 248 244;
  --c-surface: 252 253 251;
  --c-surface2: 238 243 236;
  --c-line: 222 230 220;
  --c-ink: 20 28 20;
  --c-muted: 88 104 90;
  --c-brand: 34 197 94;
  --c-brand-600: 22 163 74;
  --c-brand-700: 21 128 61;
  --shadow-color: 20 40 24;
  --glow-opacity: 0.22;
  color-scheme: light;
}

html.dark {
  --c-bg: 10 15 10;
  --c-surface: 17 26 18;
  --c-surface2: 23 34 25;
  --c-line: 38 54 40;
  --c-ink: 236 242 236;
  --c-muted: 158 172 160;
  --shadow-color: 0 0 0;
  --glow-opacity: 0.35;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: rgb(var(--c-bg));
  color: rgb(var(--c-ink));
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, fill 0.35s ease, box-shadow 0.35s ease !important;
}

::selection {
  background: rgb(var(--c-brand) / 0.3);
}

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: rgb(var(--c-bg)); }
*::-webkit-scrollbar-thumb { background: rgb(var(--c-line)); border-radius: 999px; border: 2px solid rgb(var(--c-bg)); }
*::-webkit-scrollbar-thumb:hover { background: rgb(var(--c-brand) / 0.6); }

:focus-visible {
  outline: 2px solid rgb(var(--c-brand));
  outline-offset: 3px;
  border-radius: 0.5rem;
}

/* Colunas de grid não devem crescer além do viewport por conteúdo largo
   (tabelas, e-mails longos etc.). */
[class*="col-span"],
.hero-body > * {
  min-width: 0;
}

img,
iframe {
  max-width: 100%;
}

/* ---------- Header ---------- */
[data-header] {
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

[data-header] nav {
  transition: padding 0.3s ease;
}

[data-header].is-scrolled {
  background-color: rgb(var(--c-bg) / 0.82);
  border-bottom-color: rgb(var(--c-line));
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}

[data-header].is-scrolled nav {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(var(--c-muted));
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: rgb(var(--c-ink));
  background-color: rgb(var(--c-surface2));
}

.nav-link.is-active {
  color: rgb(var(--c-ink));
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.15rem;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: rgb(var(--c-brand));
  transform: translateX(-50%);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface) / 0.7);
  color: rgb(var(--c-ink));
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgb(var(--c-brand) / 0.5);
  background: rgb(var(--c-surface));
}

.theme-toggle:active {
  transform: scale(0.94);
}

.mobile-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  animation: menu-in 0.25s ease both;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-panel {
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  box-shadow: 0 30px 60px -20px rgb(var(--shadow-color) / 0.6);
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  color: rgb(var(--c-ink));
  transition: background-color 0.2s ease;
}

.mobile-link:hover {
  background: rgb(var(--c-surface2));
}

/* ---------- Botões ---------- */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 0.95rem;
}

@media (max-width: 400px) {
  .btn-primary,
  .btn-ghost {
    white-space: normal;
    text-align: center;
  }

  .btn-lg {
    padding: 0.9rem 1.1rem;
    font-size: 0.9rem;
  }
}

.btn-primary {
  color: #062b12;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 55%, #16a34a 100%);
  box-shadow: 0 8px 24px -10px rgb(var(--c-brand) / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgb(var(--c-brand) / 0.8), inset 0 1px 0 rgb(255 255 255 / 0.35);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  color: rgb(var(--c-ink));
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface) / 0.6);
}

.btn-ghost:hover {
  border-color: rgb(var(--c-brand) / 0.6);
  background: rgb(var(--c-surface));
  transform: translateY(-2px);
}

.btn-ghost:hover svg {
  transform: translateX(3px);
}

.btn-ghost svg {
  transition: transform 0.2s ease;
}

.link {
  color: rgb(var(--c-brand-600));
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(var(--c-brand) / 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

html.dark .link { color: #4ade80; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- Utilidades de conteúdo ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--c-brand) / 0.35);
  background: rgb(var(--c-brand) / 0.08);
  color: rgb(var(--c-brand-700));
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html.dark .eyebrow { color: #86efac; }

.eyebrow .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgb(var(--c-brand));
  box-shadow: 0 0 0 0 rgb(var(--c-brand) / 0.6);
  animation: dot-pulse 2.2s ease-out infinite;
}

@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgb(var(--c-brand) / 0.6); }
  70% { box-shadow: 0 0 0 8px rgb(var(--c-brand) / 0); }
  100% { box-shadow: 0 0 0 0 rgb(var(--c-brand) / 0); }
}

.text-gradient {
  background: linear-gradient(120deg, #4ade80, #22c55e 50%, #16a34a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgb(var(--c-brand) / 0.15);
  color: rgb(var(--c-brand-600));
}

html.dark .check { color: #4ade80; }

.section {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .section { padding-block: 7rem; }
}

.section-alt {
  background:
    radial-gradient(60rem 30rem at 100% 0%, rgb(var(--c-brand) / 0.06), transparent 60%),
    rgb(var(--c-surface) / 0.55);
  border-block: 1px solid rgb(var(--c-line) / 0.7);
}

.section-head {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.section-head .eyebrow { margin-bottom: 1rem; }

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgb(var(--c-muted));
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero-body {
  flex: 1;
  align-content: center;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: var(--glow-opacity);
  pointer-events: none;
}

.hero-glow-a {
  width: 44rem;
  height: 44rem;
  top: -18rem;
  left: -12rem;
  background: radial-gradient(circle, rgb(var(--c-brand)) 0%, transparent 65%);
  animation: drift-a 18s ease-in-out infinite alternate;
}

.hero-glow-b {
  width: 36rem;
  height: 36rem;
  right: -10rem;
  bottom: 2rem;
  background: radial-gradient(circle, rgb(var(--c-brand-700)) 0%, transparent 65%);
  animation: drift-b 22s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6rem, 4rem) scale(1.12); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-5rem, -3rem) scale(1.08); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgb(var(--c-ink) / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--c-ink) / 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 100%);
}

.hero-visual {
  position: relative;
  padding: 1.25rem 1.25rem 2.5rem 2rem;
}

.hero-photo {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgb(var(--c-line));
  box-shadow:
    0 40px 80px -30px rgb(var(--shadow-color) / 0.55),
    0 0 0 1px rgb(var(--c-brand) / 0.15);
}

@media (max-width: 1023px) {
  .hero-photo { aspect-ratio: 16 / 10; }
}

.hero-photo img {
  animation: slow-zoom 24s ease-in-out infinite alternate;
  transform-origin: 60% 60%;
}

@keyframes slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero-photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgb(var(--c-bg) / 0.55) 100%),
    linear-gradient(90deg, rgb(var(--c-brand) / 0.12), transparent 40%);
  mix-blend-mode: normal;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface) / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgb(var(--shadow-color) / 0.5);
  animation: float 6s ease-in-out infinite;
}

.float-card-a { top: 0; left: 0; animation-delay: 0s; }
.float-card-b { right: 0; top: 42%; animation-delay: -2s; }
.float-card-c { left: 8%; bottom: 0; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: rgb(var(--c-brand) / 0.15);
  color: rgb(var(--c-brand-600));
}

html.dark .float-icon { color: #4ade80; }

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 2px solid rgb(var(--c-surface));
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .hero-visual { padding: 0.75rem 0.5rem 2rem 0.5rem; }
  .float-card-a { top: -0.25rem; left: -0.25rem; }
  .float-card-b { right: -0.25rem; top: 50%; }
  .float-card-c { left: 0.5rem; bottom: -0.25rem; }
  .float-card { padding: 0.55rem 0.75rem; gap: 0.6rem; }
  .float-card p { font-size: 0.72rem; }
  .float-card p.font-semibold { font-size: 0.8rem; }
}

@media (max-width: 380px) {
  .float-card-b { right: 0; }
  .float-card-b .float-icon { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 0.9rem;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--c-muted));
  white-space: nowrap;
}

.marquee-item::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgb(var(--c-brand));
}

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

/* ---------- Stats ---------- */
.stat {
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface) / 0.7);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--c-brand) / 0.5);
}

.stat-value {
  margin-top: 0.35rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, rgb(var(--c-ink)), rgb(var(--c-brand-600)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html.dark .stat-value {
  background: linear-gradient(120deg, #f4fff6, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40rem 12rem at 0% 0%, rgb(var(--c-brand) / 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-hover {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease, box-shadow 0.35s ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  border-color: rgb(var(--c-brand) / 0.55);
  box-shadow: 0 30px 60px -30px rgb(var(--shadow-color) / 0.6), 0 0 0 1px rgb(var(--c-brand) / 0.15);
}

.card-hover:hover::before {
  opacity: 1;
}

.card-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgb(var(--c-brand) / 0.22), rgb(var(--c-brand) / 0.06));
  border: 1px solid rgb(var(--c-brand) / 0.25);
  color: rgb(var(--c-brand-600));
  transition: transform 0.35s ease;
}

html.dark .card-icon { color: #4ade80; }

.card-hover:hover .card-icon {
  transform: rotate(-6deg) scale(1.06);
}

.card-title {
  position: relative;
  margin-top: 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-text {
  position: relative;
  margin-top: 0.6rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: rgb(var(--c-muted));
}

/* ---------- Steps ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 2.9rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgb(var(--c-brand) / 0.6) 20%, rgb(var(--c-brand) / 0.6) 80%, transparent);
  }
}

.step {
  position: relative;
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  transition: transform 0.35s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgb(var(--c-brand) / 0.5);
}

.step-num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgb(var(--c-brand) / 0.14);
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: rgb(var(--c-surface));
  border: 1px solid rgb(var(--c-brand) / 0.5);
  color: rgb(var(--c-brand-600));
  box-shadow: 0 0 0 6px rgb(var(--c-surface));
}

html.dark .step-icon { color: #4ade80; }

.step-title {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.step-text {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgb(var(--c-muted));
}

/* ---------- Benefícios + comparativo ---------- */
.benefit {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.benefit:hover {
  border-color: rgb(var(--c-line));
  background: rgb(var(--c-surface) / 0.7);
}

.benefit-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: rgb(var(--c-brand) / 0.14);
  color: rgb(var(--c-brand-600));
}

html.dark .benefit-icon { color: #4ade80; }

.table-hint {
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  color: rgb(var(--c-muted));
}

.table-hint::after {
  content: " →";
}

.table-card {
  min-width: 0;
  max-width: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgb(var(--shadow-color) / 0.6);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.compare {
  width: 100%;
  min-width: 32rem;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
}

.compare th,
.compare td {
  padding: 0.95rem 1rem;
  text-align: center;
  border-bottom: 1px solid rgb(var(--c-line));
}

.compare thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--c-muted));
  background: rgb(var(--c-surface2));
}

.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: rgb(var(--c-ink));
}

.compare thead th:first-child,
.compare tbody th {
  padding-left: 1.5rem;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}

.compare .compare-hl {
  background: rgb(var(--c-brand) / 0.08);
  font-weight: 700;
}

.compare thead .compare-hl {
  color: rgb(var(--c-brand-700));
  background: rgb(var(--c-brand) / 0.16);
}

html.dark .compare thead .compare-hl { color: #86efac; }

.yes,
.no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
}

.yes {
  background: rgb(var(--c-brand) / 0.2);
  color: rgb(var(--c-brand-700));
}

html.dark .yes { color: #4ade80; }

.no {
  background: rgb(var(--c-ink) / 0.06);
  color: rgb(var(--c-muted));
}

.maybe {
  font-size: 0.8rem;
  color: rgb(var(--c-muted));
}

.yes-text {
  color: rgb(var(--c-brand-700));
}

html.dark .yes-text { color: #86efac; }

/* ---------- Sobre ---------- */
.about-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgb(var(--c-line));
  box-shadow: 0 40px 80px -40px rgb(var(--shadow-color) / 0.6);
}

.about-photo img {
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.about-photo:hover img {
  transform: scale(1.04);
}

.about-badge {
  position: absolute;
  right: -0.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface) / 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgb(var(--shadow-color) / 0.5);
}

@media (min-width: 1024px) {
  .about-badge { right: -1.5rem; }
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding-left: 1.75rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, rgb(var(--c-brand) / 0.7), rgb(var(--c-line)));
}

.tl-item {
  position: relative;
}

.tl-dot {
  position: absolute;
  left: -1.75rem;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: rgb(var(--c-surface));
  border: 2px solid rgb(var(--c-brand));
  box-shadow: 0 0 0 4px rgb(var(--c-bg));
}

.tl-dot-now {
  background: rgb(var(--c-brand));
  box-shadow: 0 0 0 4px rgb(var(--c-bg)), 0 0 0 8px rgb(var(--c-brand) / 0.2);
}

.tl-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.tl-text {
  margin-top: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(var(--c-muted));
}

/* ---------- Galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 11rem;
  grid-auto-flow: dense;
  gap: 0.9rem;
}

.gallery .g-a { grid-column: span 2; grid-row: span 2; }

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 14rem;
    gap: 1.1rem;
  }
  .gallery .g-a { grid-column: span 2; grid-row: span 2; }
  .gallery .g-b { grid-column: span 2; }
  .gallery .g-c { grid-row: span 2; }
  .gallery .g-d { grid-row: span 2; }
  .gallery .g-e { grid-column: span 2; }
}

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface2));
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease;
}

.g-item:hover img {
  transform: scale(1.07);
}

.g-item figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f4fff6;
  background: rgb(6 20 10 / 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / 0.12);
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.g-item:hover figcaption,
.g-item:focus-within figcaption {
  transform: translateY(0);
  opacity: 1;
}

@media (hover: none) {
  .g-item figcaption { transform: none; opacity: 1; }
}

/* ---------- Depoimentos ---------- */
.slider {
  --per-view: 1;
  --gap: 1rem;
}

@media (min-width: 768px) { .slider { --per-view: 2; } }
@media (min-width: 1024px) { .slider { --per-view: 3; --gap: 1.25rem; } }

.slider-viewport {
  overflow: hidden;
  margin-inline: -0.25rem;
  padding: 0.25rem;
}

.slider-track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.testimonial {
  position: relative;
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 1.5rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial:hover {
  border-color: rgb(var(--c-brand) / 0.45);
}

.quote-icon {
  width: 2rem;
  height: 2rem;
  color: rgb(var(--c-brand) / 0.5);
}

.testimonial blockquote {
  margin-top: 0.75rem;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgb(var(--c-ink) / 0.92);
}

.testimonial figcaption {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.testimonial figcaption strong { font-weight: 700; }
.testimonial figcaption span:last-child { color: rgb(var(--c-muted)); }

.stars::before {
  content: "★★★★★";
  letter-spacing: 0.12em;
  color: rgb(var(--c-brand));
  font-size: 0.85rem;
}

.slider-controls {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
  border-color: rgb(var(--c-brand) / 0.6);
  transform: translateY(-1px);
}

.slider-dots {
  display: flex;
  gap: 0.4rem;
}

.slider-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgb(var(--c-line));
  transition: width 0.3s ease, background-color 0.3s ease;
}

.slider-dot.is-active {
  width: 1.5rem;
  background: rgb(var(--c-brand));
}

/* ---------- Área ---------- */
.area-card {
  position: relative;
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid rgb(var(--c-line));
  background:
    radial-gradient(40rem 20rem at 0% 100%, rgb(var(--c-brand) / 0.1), transparent 60%),
    rgb(var(--c-surface));
  overflow: hidden;
}

@media (min-width: 1024px) {
  .area-card { padding: 3.5rem; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-bg) / 0.6);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgb(var(--c-ink));
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: rgb(var(--c-brand) / 0.6);
}

.chip-hl {
  border-color: rgb(var(--c-brand) / 0.6);
  background: rgb(var(--c-brand) / 0.14);
  color: rgb(var(--c-brand-700));
  font-weight: 700;
}

html.dark .chip-hl { color: #86efac; }

.chip-soft {
  border-style: dashed;
  color: rgb(var(--c-muted));
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 1.25rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.is-open {
  border-color: rgb(var(--c-brand) / 0.5);
}

.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-weight: 600;
  color: rgb(var(--c-ink));
  transition: background-color 0.2s ease;
}

.faq-btn:hover {
  background: rgb(var(--c-surface2) / 0.6);
}

.faq-chevron {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: rgb(var(--c-muted));
  transition: transform 0.35s ease, color 0.2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: rgb(var(--c-brand));
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-content {
  overflow: hidden;
  padding: 0 1.35rem;
  font-size: 0.925rem;
  line-height: 1.7;
  color: rgb(var(--c-muted));
  transition: padding 0.4s ease;
}

.faq-item.is-open .faq-content {
  padding-bottom: 1.25rem;
}

/* ---------- Orçamento (form) ---------- */
.quote-card {
  position: relative;
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  overflow: hidden;
  box-shadow: 0 40px 100px -50px rgb(var(--shadow-color) / 0.6);
}

@media (min-width: 1024px) {
  .quote-card { padding: 3.5rem; }
}

.quote-glow {
  position: absolute;
  top: -12rem;
  right: -10rem;
  width: 32rem;
  height: 32rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(var(--c-brand) / 0.28), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(var(--c-muted));
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-bg) / 0.7);
  color: rgb(var(--c-ink));
  font-size: 0.925rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgb(var(--c-muted) / 0.7);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgb(var(--c-brand));
  box-shadow: 0 0 0 4px rgb(var(--c-brand) / 0.15);
  background: rgb(var(--c-bg));
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: rgb(239 68 68 / 0.8);
}

.field textarea { resize: vertical; min-height: 6rem; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.form-error {
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgb(239 68 68 / 0.35);
  background: rgb(239 68 68 / 0.08);
  color: rgb(220 38 38);
  font-size: 0.85rem;
}

html.dark .form-error { color: #fca5a5; }

/* ---------- Contato ---------- */
.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  transition: transform 0.3s ease, border-color 0.3s ease;
}

a.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgb(var(--c-brand) / 0.5);
}

.contact-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  background: rgb(var(--c-brand) / 0.14);
  color: rgb(var(--c-brand-600));
}

html.dark .contact-icon { color: #4ade80; }

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(var(--c-muted));
}

.contact-value {
  margin-top: 0.15rem;
  font-weight: 600;
}

.map-card {
  min-height: 22rem;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface2));
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
  filter: saturate(0.85);
}

html.dark .map-card iframe {
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) brightness(0.9);
}

/* ---------- Footer ---------- */
.footer-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--c-muted));
}

.footer-link {
  color: rgb(var(--c-muted));
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: rgb(var(--c-brand-600));
}

html.dark .footer-link:hover { color: #4ade80; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  background: #25d366;
  color: white;
  box-shadow: 0 16px 36px -12px rgb(37 211 102 / 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 44px -12px rgb(37 211 102 / 0.9);
}

.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid #25d366;
  animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--c-line));
  background: rgb(var(--c-surface));
  color: rgb(var(--c-ink));
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgb(var(--shadow-color) / 0.5);
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.wa-float:hover .wa-tooltip,
.wa-float:focus-visible .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .wa-float { right: 2rem; bottom: 2rem; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-photo img { animation: none; }
  .marquee-track { animation: none; }
}
