/* Figtree (fonte variável 400–800), hospedada no próprio site. Licença: SIL Open Font License. */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/figtree-latin.woff2") format("woff2");
}

/* ===== Tokens ===== */
:root {
  --bg: #0b1324;
  --bg-glow: #17264a;
  --card: #111b31;
  --card-featured-a: #14203a;
  --card-featured-b: #1b2a4a;
  --input-bg: #0a1120;
  --ink: #000000;
  --paper: #ffffff;
  --paper-soft: rgba(255, 255, 255, 0.72);
  --paper-faint: rgba(255, 255, 255, 0.5);
  --gold: #c9a15e;
  --gold-soft: rgba(201, 161, 94, 0.35);
  /* Accent hues kept recognizable (green = WhatsApp, blue = info) but muted toward the navy/gold sky */
  --whatsapp: #2f9e6c;
  --whatsapp-hover: #38b07a;
  --whatsapp-ink: #04170c;
  --blue: #3a5fa3;
  --blue-hover: #4570b8;
  --instagram-gradient: radial-gradient(circle at 30% 107%, #e8c77e 0%, #e8c77e 6%, #d0705c 45%, #b04d84 62%, #4f5fae 92%);
  --hairline: rgba(255, 255, 255, 0.12);

  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;

  --radius: 14px;
  --measure: 62ch;
  --header-h: 0px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper-soft);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#smooth-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}
#smooth-content {
  width: 100%;
}
.smoother-active #smooth-content {
  padding-top: var(--header-h, 0px);
}
/* ScrollSmoother pins the wrapper to the viewport, so this mask fades content out
   right under the transparent header while the sky behind stays continuous */
.smoother-active #smooth-wrapper {
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--header-h, 0px) - 12px), #000 calc(var(--header-h, 0px) + 36px));
  mask-image: linear-gradient(to bottom, transparent calc(var(--header-h, 0px) - 12px), #000 calc(var(--header-h, 0px) + 36px));
}

h1, h2, h3 {
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}

h1 { font-size: clamp(2.2rem, 4.5vw + 1rem, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.6vw + 1rem, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; color: var(--paper); }

p { margin: 0 0 var(--space-2); max-width: var(--measure); }

a { color: var(--paper); }

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--paper);
  color: var(--ink);
  padding: var(--space-1) var(--space-2);
  z-index: 100;
}
.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  min-height: 44px;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
}
.btn-primary:hover { background: var(--whatsapp-hover); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); }

.btn-blue {
  background: var(--blue);
  color: var(--paper);
}
.btn-blue:hover { background: var(--blue-hover); }

.btn-gold {
  background: var(--gold);
  color: #1d1405;
}
.btn-gold:hover { background: #d6b273; }

.btn-square { border-radius: var(--radius); }

.btn-text {
  color: var(--paper-soft);
  padding: 0.85rem 0.4rem;
}
.btn-text:hover { color: var(--paper); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
}
/* No blur or tint: content simply fades out before reaching the header (see #smooth-wrapper mask).
   Without ScrollSmoother there is no fixed wrapper to mask, so fall back to a plain fade. */
html:not(.smoother-active) .site-header.is-scrolled {
  background: linear-gradient(to bottom, var(--bg) 65%, transparent);
}

/* Logo shrinks toward the top-left corner once the page scrolls */
.logo {
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.site-header.is-scrolled .logo {
  transform: translate(var(--logo-shift-x, 0px), -6px) scale(0.72);
}
.header-cta {
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}
.site-header.is-scrolled .header-cta {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
}
.header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-2);
  flex-wrap: nowrap;
}
.logo { flex-shrink: 0; }
.header-cta { flex-shrink: 0; }
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--paper);
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.logo--footer .logo-img { height: 16px; opacity: 0.55; }
.main-nav {
  display: flex;
  gap: var(--space-3);
  flex: 1;
  justify-content: center;
}
.main-nav a {
  text-decoration: none;
  color: var(--paper-soft);
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--paper); }
.main-nav a[aria-current="page"] { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .logo-img { height: 28px; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--hairline);
    padding: var(--space-2) var(--space-3) var(--space-3);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding-block: 0.6rem; border-top: 1px solid var(--hairline); }
  .main-nav a:first-child { border-top: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-6);
  isolation: isolate;
}

.orbit-visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  justify-content: space-between;
  padding-inline: 4vw;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.orbit-visual .line {
  position: relative;
  width: 1px;
  height: 100%;
  overflow: hidden;
}
.orbit-visual .line::after {
  content: "";
  display: block;
  position: absolute;
  height: 16%;
  width: 100%;
  top: -50%;
  left: 0;
  background: linear-gradient(to bottom, rgba(201, 161, 94, 0) 0%, var(--line-color, var(--gold)) 75%, var(--line-color, var(--gold)) 100%);
  animation: line-drop 7s 0s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}
/* Alternating lines fall upward instead, so the two directions stay parallel and never cross */
.orbit-visual .line:nth-child(even)::after {
  animation-name: line-rise;
  background: linear-gradient(to top, rgba(201, 161, 94, 0) 0%, var(--line-color, var(--gold)) 75%, var(--line-color, var(--gold)) 100%);
}
.orbit-visual .line:nth-child(1)::after { --line-color: var(--gold); animation-delay: 0s; }
.orbit-visual .line:nth-child(2)::after { --line-color: #2f8fb0; animation-delay: 0.5s; }
.orbit-visual .line:nth-child(3)::after { --line-color: var(--paper); animation-delay: 1s; }
.orbit-visual .line:nth-child(4)::after { --line-color: var(--gold); animation-delay: 1.5s; }
.orbit-visual .line:nth-child(5)::after { --line-color: #2f8fb0; animation-delay: 2s; }
.orbit-visual .line:nth-child(6)::after { --line-color: var(--paper); animation-delay: 2.5s; }
.orbit-visual .line:nth-child(7)::after { --line-color: var(--gold); animation-delay: 3s; }
.orbit-visual .line:nth-child(8)::after { --line-color: #2f8fb0; animation-delay: 3.5s; }
.orbit-visual .line:nth-child(9)::after { --line-color: var(--paper); animation-delay: 4s; }
.orbit-visual .line:nth-child(10)::after { --line-color: var(--gold); animation-delay: 4.5s; }
.orbit-visual .line:nth-child(11)::after { --line-color: #2f8fb0; animation-delay: 5s; }
.orbit-visual .line:nth-child(12)::after { --line-color: var(--paper); animation-delay: 5.5s; }

@keyframes line-drop {
  0% { top: -50%; }
  100% { top: 110%; }
}
@keyframes line-rise {
  0% { top: 110%; }
  100% { top: -50%; }
}

@media (max-width: 900px) {
  .orbit-visual { opacity: 0.5; padding-inline: 2vw; }
}

.hero-content {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.hero-content h1 { margin-bottom: var(--space-3); }
.hero-lede {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--paper-soft);
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* ===== Sections (shared rhythm) ===== */
main section {
  padding-block: var(--space-5);
  border-top: 1px solid var(--hairline);
}
main section.hero { border-top: none; padding-block: var(--space-6); }
.section-lede {
  color: var(--paper-faint);
  font-size: 1.05rem;
  margin-bottom: var(--space-4);
}

/* ===== Cards (shared) ===== */
.service-card,
.outcome-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: var(--space-3);
}

/* Flip-on-scroll reveal, progressive enhancement only when JS confirmed running */
.js .service-card,
.js .outcome-card {
  opacity: 0;
  transform: rotateY(-85deg);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}
.js .service-card.is-visible,
.js .outcome-card.is-visible {
  opacity: 1;
  transform: rotateY(0deg);
}

/* ===== Services ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  perspective: 1400px;
}
.service-card { transform-style: preserve-3d; backface-visibility: hidden; }
.service-card--wide { grid-column: span 2; }
.service-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--card-featured-a), var(--card-featured-b));
  border-color: var(--gold-soft);
  padding: var(--space-4);
}
.service-eyebrow {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}
.service-card--featured h3 { font-size: 1.6rem; }
.service-card p:last-child { margin-bottom: 0; }

@media (max-width: 820px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card--featured, .service-card--wide { grid-column: span 1; }
}

/* ===== Process ===== */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}
.process-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-2);
  align-items: start;
  padding-block: var(--space-2);
  border-top: 1px solid var(--hairline);
}
.process-list li:first-child { border-top: none; }
.process-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-list h3 { margin-bottom: 0.25rem; }
.process-list p { margin-bottom: 0; color: var(--paper-soft); }

@media (max-width: 480px) {
  .process-list li { grid-template-columns: 1fr; }
}

/* ===== Outcomes ===== */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  perspective: 1400px;
}
.outcome-card { transform-style: preserve-3d; backface-visibility: hidden; border-left: 3px solid var(--gold); }
.outcome-card p { margin-bottom: 0; color: var(--paper-soft); }

@media (max-width: 820px) {
  .outcomes-grid { grid-template-columns: 1fr; gap: var(--space-3); }
}

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 0; max-width: var(--measure); }
.faq-list details {
  border-top: 1px solid var(--hairline);
  padding-block: var(--space-2);
}
.faq-list details:last-child { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--paper);
  font-size: 1.02rem;
  padding-left: 28px;
  position: relative;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
/* Seta própria: o ::marker nativo não aceita transição */
.faq-list summary::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.35em;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}
.faq-list details[open] > summary::after { transform: translateY(0.25em) rotate(-135deg); }
/* Resposta abre/fecha deslizando (Chrome/Edge recentes; nos demais abre direto) */
.faq-list details {
  interpolate-size: allow-keywords;
}
.faq-list details::details-content {
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition: block-size 0.35s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.35s ease, content-visibility 0.35s allow-discrete;
}
.faq-list details[open]::details-content {
  block-size: auto;
  opacity: 1;
}
.faq-list p {
  padding-left: 28px;
  margin-top: var(--space-2);
  margin-bottom: 0;
  color: var(--paper-soft);
}

/* ===== Lead form (in hero) ===== */
.lead-form {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: grid;
  gap: var(--space-2);
  margin-block: var(--space-4) var(--space-2);
  max-width: 440px;
}
.field { display: grid; gap: 0.35rem; }
.field-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.field label {
  font-size: 0.9rem;
  color: var(--paper-soft);
}
.field input {
  background: var(--input-bg);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  color: var(--paper);
  font-family: var(--font);
  font-size: 1rem;
  min-height: 44px;
}
.field input:focus-visible {
  border-color: var(--gold);
}
.field input[aria-invalid="true"] { border-color: #e8a3a3; }
.field-error {
  margin: 0;
  font-size: 0.85rem;
  color: #e8a3a3;
}
.field-error:empty { display: none; }
.field-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--paper-soft);
}
.field-hint:empty { display: none; }
.field-hint__fix {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--gold);
  text-decoration: underline;
  cursor: pointer;
}
.form-submit { justify-self: center; margin-top: var(--space-1); }
.form-status {
  min-height: 1.2em;
  font-size: 0.92rem;
  margin: 0;
}
.form-status[data-state="ok"] { color: #8fd3a6; }
.form-status[data-state="error"] { color: #e8a3a3; }

/* ===== Contact (closing CTA) ===== */
.contact-inner {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
}
.contact-inner p { color: var(--paper-soft); }
.contact-inner .lead-form {
  text-align: left;
  margin-inline: auto;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: var(--space-4);
}
.footer-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  text-align: center;
  color: var(--paper-faint);
  font-size: 0.9rem;
}
.footer-row .logo { margin-bottom: 0.25rem; }
.footer-row a { color: var(--paper-soft); text-decoration: none; }
.footer-row a:hover { color: var(--gold); }
.footer-tagline,
.footer-copy { margin: 0; }
.footer-copy { font-size: 0.82rem; opacity: 0.8; }

/* ===== Floating social buttons (Instagram above WhatsApp) ===== */
.social-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.social-float__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(3, 8, 20, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.social-float__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(3, 8, 20, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.social-float__btn:active { transform: translateY(0) scale(0.96); }
.social-float__btn svg { width: 28px; height: 28px; display: block; }
.social-float__btn--whatsapp { background: var(--whatsapp); }
.social-float__btn--whatsapp svg { width: 30px; height: 30px; }
.social-float__btn--instagram {
  width: 48px;
  height: 48px;
  background: var(--instagram-gradient);
}
.social-float__btn--instagram svg { width: 24px; height: 24px; }

@media (max-width: 480px) {
  .social-float { right: 14px; bottom: 14px; gap: 10px; }
  .social-float__btn { width: 52px; height: 52px; }
  .social-float__btn--instagram { width: 46px; height: 46px; }
}

/* ===== Starry sky (canvas drawn by interactions.js) ===== */
.sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 110% 65% at 50% -10%, var(--bg-glow) 0%, transparent 65%),
    radial-gradient(ellipse 70% 55% at 100% 105%, rgba(35, 58, 105, 0.35) 0%, transparent 70%),
    var(--bg);
}

/* ===== Nosso trabalho (nosso-trabalho.html) ===== */
main section.hero--page { padding-block: var(--space-5) var(--space-4); }
.page-eyebrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 auto var(--space-2);
}
.page-note {
  color: var(--paper-faint);
  font-size: 0.9rem;
  margin-inline: auto;
}

.work-list { display: grid; gap: var(--space-6); }
.work-item {
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
  gap: var(--space-5);
  align-items: center;
}
.work-item--reverse .work-text { order: 2; }
.work-points {
  list-style: none;
  padding: 0;
  margin: var(--space-3) 0 0;
  display: grid;
  gap: 0.6rem;
}
.work-points li { position: relative; padding-left: 1.6rem; color: var(--paper-soft); }
.work-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.js .work-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .work-item.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .work-list { gap: var(--space-5); }
  .work-item { grid-template-columns: 1fr; gap: var(--space-4); }
  .work-item--reverse .work-text { order: 0; }
}

/* Mockups: base */
.mock {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -24px rgba(3, 8, 20, 0.75);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
}
.mock p { margin: 0; max-width: none; }

/* Mockup: site no navegador */
.mock-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #0d1629;
  border-bottom: 1px solid var(--hairline);
}
.mock-browser__bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.mock .mock-browser__url {
  flex: 1;
  margin-left: 10px;
  background: var(--input-bg);
  border-radius: 999px;
  padding: 3px 12px;
  color: var(--paper-faint);
  font-size: 12px;
}
.mock-site { background: #fbf6f0; color: #3b2f2f; padding: 18px 22px 22px; }
.mock-site__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.mock-site__brand { font-weight: 800; color: #7a3b4f; font-size: 15px; letter-spacing: -0.01em; }
.mock-site__links { display: flex; gap: 14px; color: #8a7a74; font-size: 12px; }
.mock-site__hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; align-items: center; }
.mock .mock-site__title { font-size: clamp(17px, 1.6vw + 6px, 23px); font-weight: 800; line-height: 1.15; color: #2e2222; margin-bottom: 8px; letter-spacing: -0.02em; }
.mock .mock-site__text { color: #7b6a64; font-size: 12.5px; margin-bottom: 14px; }
.mock-site__cta { display: inline-block; background: #25a366; color: #fff; font-weight: 700; font-size: 12px; padding: 8px 14px; border-radius: 999px; }
.mock-site__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 28%, #f6d3c3 0%, transparent 50%),
    radial-gradient(circle at 75% 72%, #c98aa0 0%, transparent 60%),
    linear-gradient(160deg, #e9b9a4, #a35d77);
}
.mock-site__badge {
  position: absolute;
  left: -10px;
  bottom: 14px;
  background: #fff;
  color: #2e2222;
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 11px;
  box-shadow: 0 8px 20px rgba(60, 30, 30, 0.18);
}
.mock-site__services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.mock-site__service { background: #fff; border: 1px solid #f0e4da; border-radius: 10px; padding: 10px; }
.mock-site__service b { display: block; color: #2e2222; font-size: 12.5px; }
.mock-site__service span { color: #a3786a; font-size: 11.5px; }

@media (max-width: 520px) {
  .mock-site { padding: 14px; }
  .mock-site__links { display: none; }
  .mock-site__hero { grid-template-columns: 1fr; }
  .mock-site__photo { aspect-ratio: 16 / 9; }
  .mock-site__badge { left: 10px; }
  .mock-site__services { grid-template-columns: 1fr 1fr; }
  .mock-site__service:last-child { display: none; }
}

/* Mockup: celular com WhatsApp */
.mock-phone {
  width: min(330px, 100%);
  margin-inline: auto;
  padding: 10px;
  border-radius: 38px;
  background: #070b16;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px -24px rgba(3, 8, 20, 0.75);
  font-size: 13px;
  line-height: 1.4;
}
.mock-phone p { margin: 0; max-width: none; }
.mock-phone__screen { border-radius: 29px; overflow: hidden; background: #0b141a; }
.mock-chat__head { display: flex; align-items: center; gap: 10px; padding: 16px 14px 10px; background: #1f2c34; }
.mock-chat__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e9b9a4, #a35d77);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
}
.mock-chat__name { display: block; color: #fff; font-weight: 700; font-size: 13.5px; }
.mock-chat__status { display: block; color: #8fd3a6; font-size: 11px; }
.mock-chat__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 18px; min-height: 390px; }
.mock-chat__day {
  align-self: center;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
  background: #182229;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.mock-phone .bubble { max-width: 84%; padding: 7px 10px 5px; border-radius: 12px; color: #e9edef; }
.bubble--in { align-self: flex-start; background: #202c33; border-top-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: #005c4b; border-top-right-radius: 4px; }
.bubble time { display: block; text-align: right; font-size: 10px; color: rgba(255, 255, 255, 0.55); margin-top: 2px; }
.bubble__tag { display: block; font-size: 10.5px; font-weight: 700; color: #f0cf94; margin-bottom: 2px; }
.bubble__options { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.bubble__options span { border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 1px 9px; font-size: 11.5px; }
.bubble__options span:nth-child(2) { background: rgba(255, 255, 255, 0.16); border-color: transparent; }
.mock-phone .bubble--typing { display: flex; gap: 4px; padding: 11px 12px; }
.bubble--typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); animation: typing 1.2s ease-in-out infinite; }
.bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble--typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* Mockup: CRM (funil) */
.mock-app__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #0d1629;
  border-bottom: 1px solid var(--hairline);
  color: var(--paper);
}
.mock-app__muted { color: var(--paper-faint); }
.mock-app__btn { flex-shrink: 0; border: 1px solid var(--gold-soft); color: var(--gold); border-radius: 8px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.mock-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(124px, 1fr));
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
}
.mock-col { display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, 0.025); border-radius: 10px; padding: 8px; }
.mock .mock-col__head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--paper-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 2px 7px;
  border-bottom: 2px solid var(--col-color);
}
.mock-col__head span { color: var(--paper-faint); }
.mock-card { background: #16223c; border: 1px solid var(--hairline); border-radius: 8px; padding: 8px 10px; }
.mock-card b { display: block; color: var(--paper); font-size: 12.5px; font-weight: 600; }
.mock-card span { display: block; color: var(--paper-faint); font-size: 11.5px; }
.mock-tag { display: inline-block; margin-top: 6px; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.mock-tag--site { background: rgba(201, 161, 94, 0.16); color: var(--gold); }
.mock-tag--whats { background: rgba(47, 158, 108, 0.2); color: #7fd1a8; }
.mock-tag--insta { background: rgba(176, 77, 132, 0.22); color: #e39cc2; }
.mock-card--new { border-color: var(--gold-soft); animation: card-glow 2.4s ease-in-out infinite; }
@keyframes card-glow {
  50% { box-shadow: 0 0 0 3px rgba(201, 161, 94, 0.2); }
}

/* Mockup: automação (fluxo) */
.mock-flow { display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px 14px 22px; }
.flow-step { position: relative; text-align: center; padding-inline: 6px; }
.flow-step b { display: block; color: var(--paper); font-size: 13px; font-weight: 600; }
.flow-step > span:last-child { display: block; color: var(--paper-faint); font-size: 11.5px; }
.flow-step__icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #16223c;
  border: 1px solid var(--gold-soft);
  color: var(--gold);
}
.flow-step__icon svg { width: 24px; height: 24px; }
/* Linha entre os passos, com um ponto de luz que percorre o caminho */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  height: 2px;
  background: var(--gold-soft);
}
.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 22px;
  left: calc(50% + 32px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  opacity: 0;
  animation: flow-dot 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.7s);
}
@keyframes flow-dot {
  0% { left: calc(50% + 32px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(150% - 40px); opacity: 0; }
}
.mock-log { list-style: none; margin: 0; padding: 12px 16px 14px; border-top: 1px solid var(--hairline); background: #0d1629; display: grid; gap: 6px; }
.mock-log li { display: flex; gap: 10px; color: var(--paper-soft); font-size: 12px; }
.mock-log li::before { content: "✓"; color: #7fd1a8; font-weight: 700; }
.mock-log time { color: var(--paper-faint); min-width: 3.2em; font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .mock-flow { grid-template-columns: 1fr; gap: 22px; padding: 20px 18px; }
  .flow-step { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; text-align: left; align-items: center; padding: 0; }
  .flow-step__icon { margin: 0; }
  .flow-step b { align-self: center; }
  .flow-step > span:last-child { align-self: start; }
  .flow-step:not(:last-child)::after { top: 56px; bottom: -18px; left: 25px; right: auto; width: 2px; height: auto; }
  .flow-step:not(:last-child)::before { display: none; }
}

/* Chamada final */
main section.work-cta { padding-block: var(--space-5) var(--space-6); }
.work-cta .hero-actions { margin-top: var(--space-3); }

/* Galeria: mais exemplos de sites (carrossel) */
.site-gallery__intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-5);
  align-items: end;
  margin-bottom: var(--space-4);
}
.site-gallery__intro .work-points { margin-top: 0; }
@media (max-width: 900px) {
  .site-gallery__intro { grid-template-columns: 1fr; gap: var(--space-3); margin-bottom: var(--space-3); }
}
.site-example { margin: 0; display: grid; gap: var(--space-2); align-content: start; }
.site-example figcaption { font-size: 0.92rem; color: var(--paper-faint); text-align: center; transition: opacity 0.4s ease; }
.site-example figcaption b { display: block; color: var(--paper); font-weight: 600; font-size: 1rem; }
.js .site-gallery {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .site-gallery.is-visible { opacity: 1; transform: none; }

/* Sem JavaScript: fileira com rolagem lateral */
.site-carousel { position: relative; border-radius: var(--radius); }
.site-carousel__track { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-2); }
.site-carousel__track > .site-example { flex: 0 0 min(420px, 85%); scroll-snap-align: center; }
.site-carousel__controls { display: none; }

/* Com JavaScript: exemplo no centro, vizinhos menores e desfocados atrás */
.site-carousel.is-ready {
  overflow: hidden;
  padding-block: var(--space-2);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.site-carousel.is-dragging { cursor: grabbing; }
.is-ready .site-carousel__track { display: grid; overflow: visible; padding: 0; }
.is-ready .site-carousel__track > .site-example {
  grid-area: 1 / 1;
  width: min(460px, 78%);
  justify-self: center;
  transform: translateX(calc(var(--x, 0%) + var(--drag, 0px))) scale(var(--s, 1));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease, opacity 0.6s ease;
}
.is-dragging .site-carousel__track > .site-example { transition: none; }
.site-example[data-pos="center"] { --x: 0%; --s: 1; z-index: 3; }
.site-example[data-pos="left"],
.site-example[data-pos="right"] { --s: 0.78; z-index: 2; filter: blur(3px) brightness(0.55); opacity: 0.85; cursor: pointer; }
.site-example[data-pos="left"] { --x: -68%; }
.site-example[data-pos="right"] { --x: 68%; }
.site-example[data-pos="hidden"] { --s: 0.6; z-index: 1; filter: blur(6px); opacity: 0; pointer-events: none; }
.site-example:not([data-pos="center"]) figcaption { opacity: 0; }

.is-ready .site-carousel__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.site-carousel__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.site-carousel__arrow:hover { border-color: var(--gold); color: var(--gold); }
.site-carousel__dots { display: flex; gap: 8px; }
.site-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--paper-faint);
  opacity: 0.5;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}
.site-carousel__dots button[aria-current="true"] { width: 22px; background: var(--gold); opacity: 1; }

@media (max-width: 900px) {
}
@media (max-width: 600px) {
  .is-ready .site-carousel__track > .site-example { width: 80%; }
  .site-example[data-pos="left"] { --x: -74%; }
  .site-example[data-pos="right"] { --x: 74%; }
}

.mini-site { padding: 14px 16px 16px; font-size: 11.5px; min-height: 236px; }
.mock .mini-site p { margin: 0; }
.mini-site__nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 10.5px; }
.mini-site__nav b { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; }
.mock .mini-site .mini-site__title { font-size: 16px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 10px; max-width: 18ch; }
.mini-site__cta { display: inline-block; font-weight: 700; font-size: 11px; padding: 6px 12px; border-radius: 999px; color: #fff; }

/* Oficina: escuro com laranja */
.mini-site--oficina { background: linear-gradient(160deg, #1b1e24, #121418); color: #c9ccd2; }
.mini-site--oficina .mini-site__nav b { color: #fff; }
.mini-site--oficina .mini-site__title { color: #fff; }
.mini-site--oficina .mini-site__cta { background: #f26b1d; }
.mini-site__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.mini-site__chips span { border: 1px solid rgba(242, 107, 29, 0.45); color: #f6a676; border-radius: 6px; padding: 2px 7px; font-size: 10.5px; }
.mini-site__strip { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 10.5px; }
.mini-site__strip b { color: #f26b1d; }

/* Loja virtual: claro e limpo */
.mini-site--loja { background: #ffffff; color: #3d3d46; padding-top: 12px; }
.mini-site--loja .mini-site__nav { margin-bottom: 10px; }
.mini-site--loja .mini-site__nav b { color: #2b2b78; }
.mini-site__search { flex: 1; max-width: 120px; background: #f1f1f6; color: #9a9aaa; border-radius: 999px; padding: 3px 9px; }
.mini-site__cart { position: relative; font-size: 13px; }
.mini-site__cart i { position: absolute; top: -5px; right: -8px; background: #5b4fe0; color: #fff; font-style: normal; font-size: 8.5px; font-weight: 700; border-radius: 999px; padding: 0 4px; }
.mini-site__banner { background: #eeecff; color: #4a3fd0; font-weight: 700; font-size: 10.5px; text-align: center; border-radius: 6px; padding: 5px; margin-bottom: 10px; }
.mini-site__products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mini-site__product { display: grid; gap: 2px; font-size: 10px; }
.mini-site__img { display: block; aspect-ratio: 1; border-radius: 8px; background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.55) 0 22%, transparent 23%), var(--img); margin-bottom: 4px; }
.mini-site__product b { color: #24242c; font-weight: 600; line-height: 1.2; }
.mini-site__product span { color: #5b4fe0; font-weight: 700; }
.mini-site__product i { font-style: normal; text-align: center; background: #5b4fe0; color: #fff; font-weight: 700; border-radius: 6px; padding: 3px 0; margin-top: 3px; }

/* Restaurante: creme com vermelho */
.mini-site--restaurante { background: #fff8ee; color: #5a4636; }
.mini-site--restaurante .mini-site__nav b { color: #b5361f; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 14px; }
.mini-site__open { color: #2f8f55; font-weight: 700; }
.mini-site--restaurante .mini-site__title { color: #2e2018; }
.mini-site--restaurante .mini-site__cta { background: #25a366; }
.mini-site__menu { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.mini-site__menu li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px dashed #e6d4bf; padding-bottom: 5px; }
.mini-site__menu b { color: #b5361f; }

/* Conversas: aviso do sistema e números da campanha */
.mock-chat__system {
  align-self: center;
  text-align: center;
  font-size: 10.5px;
  color: #f0cf94;
  background: rgba(201, 161, 94, 0.12);
  border: 1px solid rgba(201, 161, 94, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 4px;
}
.mock-chat__stats {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 12px;
}
.mock-chat__stats span { background: #182229; border-radius: 10px; padding: 7px 4px; text-align: center; font-size: 10px; color: rgba(255, 255, 255, 0.6); }
.mock-chat__stats b { display: block; color: #fff; font-size: 16px; }

/* Seções invertidas: o exemplo visual continua na coluna larga */
.work-item--reverse { grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); }
@media (max-width: 900px) {
  .work-item--reverse { grid-template-columns: 1fr; }
}

/* Clínica: branco com verde-água */
.mini-site--clinica { background: linear-gradient(180deg, #eef8f8, #ffffff 60%); color: #4a5a5c; }
.mini-site--clinica .mini-site__nav b { color: #0f7f82; }
.mini-site--clinica .mini-site__title { color: #16393b; }
.mini-site--clinica .mini-site__cta { background: #0f8b8d; }
.mini-site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.mini-site__cards span { background: #fff; border: 1px solid #d5ecec; border-radius: 8px; padding: 8px 4px; text-align: center; font-weight: 600; color: #16393b; font-size: 10.5px; }
.mini-site--clinica .mini-site__strip { border-top-color: #d5ecec; color: #6b7d7f; }

/* Salão: rosado */
.mini-site--salao { background: #fbf4ef; color: #7b6a64; }
.mini-site--salao .mini-site__nav b { color: #7a3b4f; }
.mini-site--salao .mini-site__title { color: #2e2222; }
.mini-site--salao .mini-site__cta { background: #25a366; }
.mini-site--salao .mini-site__cards span { border-color: #f0e4da; color: #2e2222; }
.mini-site--salao .mini-site__strip { border-top-color: #f0e4da; }
.mini-site__cards small { display: block; font-weight: 500; color: #a3786a; font-size: 9.5px; margin-top: 2px; }

/* LGPD: aviso no formulário e página de privacidade */
.form-privacy { margin: 0; font-size: 0.82rem; color: var(--paper-faint); }
.form-privacy a, .footer-copy a { color: inherit; text-decoration: underline; }
.form-privacy a:hover, .footer-copy a:hover { color: var(--gold); }
.footer-copy a { margin-left: 0.5em; }
main section.legal { padding-block: var(--space-4) var(--space-6); }
.legal-inner { max-width: 70ch; }
.legal h2 { font-size: 1.3rem; margin: var(--space-4) 0 var(--space-1); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--paper-soft); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.35em; }
.legal a { color: var(--gold); }

/* Texto só para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
