/* =========================================================
   SITE MODELO — tokens no estilo shadcn/ui
   Para trocar a cor da marca, mude apenas --brand-h (matiz 0–360)
   Ex.: 221 azul · 160 verde · 25 laranja · 345 rosa · 262 roxo
   ========================================================= */
:root {
  --brand-h: 221;
  --brand-s: 83%;

  --brand: hsl(var(--brand-h) var(--brand-s) 53%);
  --brand-strong: hsl(var(--brand-h) var(--brand-s) 45%);
  --brand-soft: hsl(var(--brand-h) var(--brand-s) 96%);
  --brand-ink: hsl(var(--brand-h) 60% 30%);
  --on-brand: #fff;

  --background: hsl(0 0% 100%);
  --foreground: hsl(240 10% 3.9%);
  --card: hsl(0 0% 100%);
  --muted: hsl(240 4.8% 95.9%);
  --muted-foreground: hsl(240 3.8% 46.1%);
  --border: hsl(240 5.9% 90%);
  --ring: hsl(var(--brand-h) var(--brand-s) 60%);
  --good: hsl(142 71% 40%);
  --star: hsl(43 96% 52%);

  --shadow-sm: 0 1px 2px hsl(240 10% 4% / .06);
  --shadow: 0 1px 3px hsl(240 10% 4% / .06), 0 8px 24px -8px hsl(240 10% 4% / .12);
  --shadow-lg: 0 2px 6px hsl(240 10% 4% / .05), 0 24px 60px -16px hsl(240 10% 4% / .22);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* curvas de animação */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .18s;
  --t-med: .32s;
  --t-slow: .8s;

  --container: 1200px;
  --header-h: 72px;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --brand: hsl(var(--brand-h) var(--brand-s) 62%);
  --brand-strong: hsl(var(--brand-h) var(--brand-s) 70%);
  --brand-soft: hsl(var(--brand-h) 40% 14%);
  --brand-ink: hsl(var(--brand-h) 90% 82%);
  --on-brand: hsl(240 10% 4%);

  --background: hsl(240 10% 3.9%);
  --foreground: hsl(0 0% 98%);
  --card: hsl(240 8% 7%);
  --muted: hsl(240 3.7% 13%);
  --muted-foreground: hsl(240 5% 64.9%);
  --border: hsl(240 3.7% 17%);
  --shadow: 0 1px 2px hsl(0 0% 0% / .4), 0 8px 24px -8px hsl(0 0% 0% / .6);
  --shadow-lg: 0 24px 60px -16px hsl(0 0% 0% / .7);

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--muted { background: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--brand-ink);
  background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px;
}
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 5vw, 52px); margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted-foreground); }

.icon { width: 20px; height: 20px; stroke-width: 1.8; flex: none; }

/* ---------- botões (shadcn) ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: transform var(--t-med) var(--ease), background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn:active { transform: scale(.96); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn--primary { background: var(--foreground); color: var(--background); }
.btn--primary:hover { box-shadow: 0 8px 24px -8px hsl(240 10% 4% / .5); transform: translateY(-1px); }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand:hover { background: var(--brand-strong); box-shadow: 0 10px 30px -10px var(--brand); transform: translateY(-1px); }
.btn--outline { background: var(--card); border-color: var(--border); }
.btn--outline:hover { background: var(--muted); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--muted); }
.btn--icon { --h: 40px; width: var(--h); padding: 0; }

/* ---------- barra de progresso de rolagem ---------- */
.progress {
  position: fixed; inset: 0 0 auto; height: 2px; z-index: 60;
  background: var(--brand); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: color-mix(in srgb, var(--background) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand);
  box-shadow: inset 0 -2px 0 hsl(0 0% 0% / .15);
  transition: transform var(--t-med) var(--ease-spring);
}
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__mark .icon { width: 18px; height: 18px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15px; color: var(--muted-foreground);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--foreground); background: var(--muted); }
.nav__link.is-active { color: var(--foreground); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px;
  border-radius: 50%; background: var(--brand); transform: translateX(-50%);
}
.header__actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

/* troca de tema: ícone gira */
.theme-btn .icon { transition: transform .5s var(--ease-spring), opacity var(--t-fast); }
.theme-btn .icon--moon { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .theme-btn .icon--sun { opacity: 0; transform: rotate(90deg) scale(.5); }
:root[data-theme="dark"] .theme-btn .icon--moon { opacity: 1; transform: none; }
.theme-btn { position: relative; }

/* menu mobile */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto; z-index: 49;
  background: var(--background); border-bottom: 1px solid var(--border);
  padding: 12px 16px 24px;
  display: grid; gap: 4px;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a { padding: 14px 12px; border-radius: var(--r-sm); font-size: 18px; font-weight: 500; }
.mobile-nav a:hover { background: var(--muted); }
.mobile-nav .btn { margin-top: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 8vw, 96px)); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    radial-gradient(40% 40% at 0% 60%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); letter-spacing: -0.045em; margin-top: 20px; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand), hsl(calc(var(--brand-h) + 40) 85% 60%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.8vw, 21px); color: var(--muted-foreground); max-width: 540px; }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { margin-top: 40px; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted-foreground); }
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--background);
  margin-left: -10px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke-width: 0; }

/* visual do hero */
.hero__visual { position: relative; aspect-ratio: 4 / 4.4; }
.hero__visual .media { position: absolute; inset: 0 0 0 8%; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.float-card {
  position: absolute; z-index: 2;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow); padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; line-height: 1.3;
  animation: float 6s var(--ease-soft) infinite;
}
.float-card strong { display: block; font-size: 15px; }
.float-card small { color: var(--muted-foreground); font-size: 13px; }
.float-card--a { left: 0; top: 14%; }
.float-card--b { right: -4%; bottom: 12%; animation-delay: -3s; }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ponto "ao vivo" com pulso */
.live { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--good); flex: none; }
.live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--good); animation: pulse 1.8s ease-out infinite;
}
.live.is-closed { background: hsl(0 72% 55%); }
.live.is-closed::after { border-color: hsl(0 72% 55%); }
@keyframes pulse { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.7); } }

/* ---------- mídia / placeholders de foto ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(80% 60% at 20% 20%, hsl(calc(var(--brand-h) + var(--hue, 0)) 80% 72% / .9), transparent 60%),
    radial-gradient(70% 70% at 90% 90%, hsl(calc(var(--brand-h) + var(--hue, 0) + 50) 80% 60% / .85), transparent 60%),
    hsl(calc(var(--brand-h) + var(--hue, 0)) 50% 40%);
  isolation: isolate;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media__label {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: #fff;
  background: hsl(0 0% 0% / .28); backdrop-filter: blur(6px);
  padding: 6px 10px; border-radius: 999px;
}
.media__label .icon { width: 14px; height: 14px; }
.media:has(img) .media__label { display: none; }

/* ---------- números ---------- */
.stats { border-block: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 44px) 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat__num { font-size: clamp(34px, 4.5vw, 52px); font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted-foreground); font-size: 15px; margin-top: 4px; }

/* ---------- cards de serviço ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-fast);
}
.card::before { /* holofote que segue o mouse */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%);
  transition: opacity var(--t-med);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 20px;
  transition: transform var(--t-med) var(--ease-spring);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon .icon { width: 22px; height: 22px; }
.card h3 { font-size: 20px; letter-spacing: -0.02em; }
.card p { margin-top: 10px; color: var(--muted-foreground); }
.card__link { margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; color: var(--brand-ink); }
.card__link .icon { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease); }
.card:hover .card__link .icon { transform: translateX(4px); }

/* ---------- sobre ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split .media { aspect-ratio: 5 / 5.6; }
.about__badge {
  position: absolute; right: 20px; top: 20px; z-index: 2;
  background: var(--card); color: var(--foreground); border-radius: var(--r-md); padding: 14px 18px; box-shadow: var(--shadow);
  text-align: center; line-height: 1.1;
}
.about__badge strong { font-size: 32px; letter-spacing: -0.04em; display: block; }
.about__badge small { font-size: 12px; color: var(--muted-foreground); }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick {
  width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--brand); color: var(--on-brand); margin-top: 1px;
}
.checklist .tick .icon { width: 14px; height: 14px; stroke-width: 3; }

/* ---------- etapas ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--border); }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 650; background: var(--foreground); color: var(--background); margin-bottom: 20px;
}
.step h3 { font-size: 20px; }
.step p { margin-top: 10px; color: var(--muted-foreground); }

/* ---------- galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery .media { border-radius: var(--r-md); cursor: zoom-in; }
.gallery .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, hsl(0 0% 0% / .35)); opacity: 0; transition: opacity var(--t-med); }
.gallery .media:hover::after { opacity: 1; }
.gallery .media > * { transition: transform var(--t-slow) var(--ease); }
.gallery .media:hover img { transform: scale(1.06); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }

/* ---------- depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote .who { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; flex: none; }
.quote footer strong { display: block; font-size: 15px; }
.quote footer small { color: var(--muted-foreground); }

/* ---------- FAQ (accordion) ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; padding: 22px 4px; text-align: left; font-size: 18px; font-weight: 500;
}
.faq__q:hover { color: var(--brand-ink); }
.faq__q .icon { transition: transform var(--t-med) var(--ease); color: var(--muted-foreground); }
.faq__item.is-open .faq__q .icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 4px 22px; color: var(--muted-foreground); max-width: 680px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  background: var(--foreground); color: var(--background);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: -40%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg at 70% 50%, transparent, color-mix(in srgb, var(--brand) 55%, transparent), transparent 40%);
  animation: spin 14s linear infinite;
  filter: blur(40px);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(32px, 5vw, 56px); }
.cta p { margin-top: 16px; opacity: .72; font-size: 18px; max-width: 560px; }
.cta .btn--outline { background: transparent; color: var(--background); border-color: color-mix(in srgb, var(--background) 30%, transparent); }
.cta .btn--outline:hover { background: color-mix(in srgb, var(--background) 10%, transparent); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.input {
  width: 100%; min-height: 46px; padding: 10px 14px;
  font: inherit; font-size: 15px; color: var(--foreground);
  background: var(--background); border: 1px solid var(--border); border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder { color: var(--muted-foreground); }
.input:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ring) 22%, transparent); }
textarea.input { min-height: 130px; resize: vertical; }
.form .btn { justify-self: start; }
.btn .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: none; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .btn__label-icon { display: none; }
.form__note { font-size: 13px; color: var(--muted-foreground); }

.info { display: grid; gap: 12px; }
.info__item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; }
.info__item .card__icon { margin: 0; width: 42px; height: 42px; border-radius: 12px; flex: none; }
.info__item strong { display: block; }
.info__item span, .info__item a { color: var(--muted-foreground); font-size: 15px; }
.info__item a:hover { color: var(--brand-ink); }
.hours { display: grid; gap: 2px; font-size: 14px; color: var(--muted-foreground); margin-top: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 24px; }
.hours .is-today { color: var(--foreground); font-weight: 600; }
.open-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; margin-top: 4px; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 10; background: var(--muted); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
:root[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 14px; letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a, .footer p { color: var(--muted-foreground); font-size: 15px; }
.footer li a:hover { color: var(--foreground); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted-foreground); }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); color: var(--muted-foreground); transition: color var(--t-fast), background var(--t-fast), transform var(--t-med) var(--ease); }
.socials a:hover { color: var(--foreground); background: var(--muted); transform: translateY(-2px); }
.socials .icon { width: 18px; height: 18px; }

/* ---------- botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25d366;
  box-shadow: 0 10px 30px -8px rgb(37 211 102 / .7);
  transition: transform var(--t-med) var(--ease-spring);
  animation: pop-in .6s var(--ease-spring) 1.2s both;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s ease-out infinite; }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pop-in { from { opacity: 0; transform: scale(.4) translateY(20px); } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 70;
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  background: var(--foreground); color: var(--background);
  padding: 14px 18px; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; font-size: 15px; max-width: calc(100% - 32px);
  transition: transform var(--t-med) var(--ease), opacity var(--t-med);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal="left"] { transform: translateX(-24px); }
.js [data-reveal="right"] { transform: translateX(24px); }

/* troca de tema: revelação circular (View Transitions API) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal .6s var(--ease-soft) both; }
@keyframes theme-reveal {
  from { clip-path: circle(0 at var(--vx, 50%) var(--vy, 50%)); }
  to { clip-path: circle(var(--vr, 150%) at var(--vx, 50%) var(--vy, 50%)); }
}

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

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .services, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card--b { right: 0; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  /* 3º depoimento ocupa a linha inteira em vez de ficar sozinho */
  .testimonials > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav, .header__actions .btn--brand { display: none; }
  .menu-btn { display: inline-flex; }
  .hero__inner, .split, .contact { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; aspect-ratio: 4 / 3.8; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .testimonials {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    margin-inline: -16px; padding-inline: 16px; scrollbar-width: none;
  }
  .testimonials > * { scroll-snap-align: center; }
  /* cards fora da tela na horizontal nunca "entram" na viewport: mostra todos */
  .js .testimonials [data-reveal] { opacity: 1; transform: none; filter: none; }
  /* espaço para o botão flutuante do WhatsApp não cobrir o rodapé */
  .footer { padding-bottom: 96px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery .g-wide { grid-column: span 2; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .float-card { padding: 10px 12px; font-size: 13px; }
  .float-card--b { right: 0; }
  .card { padding: 22px; }
}
