/* ==========================================================================
   Cenoideias: tema WordPress (Andrade Lab). Base: protótipo aprovado (styles.css)
   ========================================================================== */

:root {
  --bg: #000;
  --surface: #0b0b0b;
  --surface-2: #121212;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.52);
  --brand: #fdc70d;
  --brand-2: #ff9a1f;
  --brand-ink: #111;
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1200px;
  --font: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--brand); color: var(--brand-ink); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 920px; }

em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--brand);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 0 0 1px rgba(253, 199, 13, 0.2), 0 8px 30px -8px rgba(253, 199, 13, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover { background: #ffd43f; box-shadow: 0 0 0 1px rgba(253, 199, 13, 0.35), 0 10px 40px -6px rgba(253, 199, 13, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 10px 10px 16px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8);
}
.nav-logo img { width: 28px; height: 28px; object-fit: contain; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { display: inline-block; padding: 6px 0; color: rgba(255, 255, 255, 0.82); transition: color 0.2s; }
.nav-links a:hover { color: var(--brand); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 220px;
  overflow: hidden;
  isolation: isolate;
}
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

.hero-badge { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.avatars { display: flex; }
.avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #000;
  margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }
.hero-badge-text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.hero-badge-text strong { font-size: 14px; color: var(--brand); font-weight: 700; }
.hero-badge-text span { font-size: 13px; color: var(--muted); }

.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 980px;
}
.hero-title em { letter-spacing: inherit; }
.hero-sub { margin-top: 24px; max-width: 600px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 8px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }

/* Glow orb (signature element of the template, in brand colors) */
.orb {
  position: absolute;
  left: 50%;
  bottom: -300px;
  width: 760px;
  height: 520px;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}
.orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 50% 42%, #fff7d1 0%, rgba(255, 233, 150, 0.9) 18%, rgba(253, 199, 13, 0.75) 38%, rgba(255, 130, 20, 0.45) 62%, transparent 100%);
  filter: blur(40px);
  animation: orb-pulse 8s ease-in-out infinite;
}
.orb span {
  position: absolute;
  inset: 18% 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 40, 0.55), transparent);
  filter: blur(50px);
  mix-blend-mode: screen;
  animation: orb-drift 12s ease-in-out infinite;
}
.orb::after {
  /* horizon line, like the template */
  content: "";
  position: absolute;
  left: -40%;
  right: -40%;
  top: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 120, 0.6), transparent);
}
@keyframes orb-pulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes orb-drift { 0%, 100% { transform: translate(-6%, 0); } 50% { transform: translate(8%, -6%); } }

/* ---------- Logos ---------- */
.logos {
  position: relative;
  z-index: 1;
  background: #000;
  padding: 56px 0;
  box-shadow: 0 0 32px 48px #000;
}
.logos-label { text-align: center; color: var(--faint); font-size: 18px; margin-bottom: 36px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee var(--marquee-duration, 40s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.logos .marquee-track img { height: 76px; width: auto; max-width: 170px; object-fit: contain; opacity: 0.55; transition: opacity 0.3s; }
.logos .marquee-track { gap: 80px; --marquee-gap: 40px; }
.logos .marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--marquee-gap, 32px))); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 104px 0; }
.section-flush { padding-bottom: 72px; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; display: flex; flex-direction: column; align-items: center; }
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.section-head h2,
.cta-copy h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.section-head p { margin-top: 20px; color: var(--muted); max-width: 560px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.chips li {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(253, 199, 13, 0.25);
  color: var(--brand);
  background: rgba(253, 199, 13, 0.06);
}

/* ---------- Cases carousel ---------- */
.cases-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100% - var(--container)) / 2 + 24px));
  padding: 8px max(24px, calc((100% - var(--container)) / 2 + 24px)) 8px;
  scrollbar-width: none;
}
.cases-track::-webkit-scrollbar { display: none; }
.case-card {
  flex: 0 0 min(380px, 82vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.case-card:hover { border-color: rgba(253, 199, 13, 0.35); transform: translateY(-4px); }
.case-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.case-card:hover .case-media img { transform: scale(1.05); }
.case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 30%, rgba(0, 0, 0, 0.75));
}
.case-name {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 1;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; flex: 1; justify-content: space-between; }
.case-body p { color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.case-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--brand); font-weight: 500; }
.case-link svg { transition: transform 0.3s var(--ease); }
.case-card:hover .case-link svg { transform: translate(2px, -2px); }

.carousel-nav { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }
.round-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface-2);
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.2s, transform 0.2s var(--ease), opacity 0.2s;
}
.round-btn:hover { transform: scale(1.06); }
.round-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.round-btn-primary { background: var(--brand); color: var(--brand-ink); border-color: transparent; }

/* ---------- Statement ---------- */
.statement .container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; }
.statement-text {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.statement-text .w { opacity: 0.18; transition: opacity 0.4s; }
.statement-text .w.on { opacity: 1; }

/* ---------- Portfolio marquee ---------- */
.marquee-slow { --marquee-duration: 70s; }
.marquee-slow .marquee-track { gap: 20px; --marquee-gap: 10px; }
.work-card {
  position: relative;
  margin: 0;
  width: 380px;
  height: 285px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work-card:hover img { transform: scale(1.05); }
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.85));
}
.work-card figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.work-card figcaption span {
  display: inline-block;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  position: relative;
  min-height: 320px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  /* corner glow, as in the template */
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(253, 199, 13, 0.32), rgba(255, 120, 20, 0.12) 60%, transparent);
  z-index: -1;
  transition: transform 0.6s var(--ease);
}
.service-card:hover::before { transform: scale(1.25); }
.service-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.16;
  filter: grayscale(0.4);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
  mask-image: linear-gradient(200deg, #000 10%, transparent 75%);
  -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 75%);
}
.service-card:hover .service-bg { opacity: 0.32; transform: scale(1.04); }
.service-card-wide { grid-column: 1 / -1; }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.service-top h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; max-width: 420px; }
.service-card p { color: var(--muted); max-width: 520px; font-size: 15px; }
.icon-btn {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  font-size: 16px;
  transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.icon-btn:hover { background: var(--brand); color: var(--brand-ink); transform: rotate(45deg); }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1040px; margin: 0 auto; }
.compare-col {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.compare-col-hl {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(253, 199, 13, 0.12), rgba(255, 120, 20, 0.04) 45%, var(--surface-2) 80%);
  border-color: rgba(253, 199, 13, 0.25);
}
.compare-title { font-size: 16px; font-weight: 500; margin-bottom: 28px; min-height: 24px; display: flex; align-items: center; }
.compare-title img { height: 22px; width: auto; }
.compare-title.muted { color: var(--muted); }
.compare-col li { display: flex; align-items: center; gap: 14px; padding: 11px 0; font-size: 15px; }
.compare-col:not(.compare-col-hl) li { color: var(--faint); }
.mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.mark-x { background: rgba(255, 255, 255, 0.06); color: var(--faint); }
.mark-ok { background: var(--brand); color: var(--brand-ink); }
.mark-ok svg { stroke-width: 3; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 199, 13, 0.4), transparent);
}
.step { text-align: center; display: flex; flex-direction: column; align-items: center; }
.step-icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--brand);
  background: #0e0e0e;
  border: 1px solid rgba(253, 199, 13, 0.25);
  box-shadow: 0 0 30px -6px rgba(253, 199, 13, 0.35);
  margin-bottom: 24px;
}
.step h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; max-width: 300px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s, background-color 0.3s;
}
.faq details[open] { border-color: rgba(253, 199, 13, 0.25); background: var(--surface-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); }
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { background: var(--brand); color: var(--brand-ink); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; max-width: 700px; }

/* ---------- CTA / Contact ---------- */
.cta-section { padding-bottom: 220px; overflow-x: clip; isolation: isolate; }
.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 56px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #111 0%, #080808 100%);
  box-shadow: 0 40px 120px -40px rgba(253, 199, 13, 0.25);
}
.cta-copy p { color: var(--muted); margin-top: 20px; max-width: 420px; }
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.contact-list svg { flex: none; font-size: 18px; color: var(--brand); margin-top: 3px; }
.contact-list a:hover { color: var(--brand); }

.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 14px; }
.field label { font-size: 13px; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background-color 0.2s;
  resize: vertical;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.field select option { background: #111; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brand); background: rgba(253, 199, 13, 0.04); }
.field.invalid input,
.field.invalid textarea { border-color: #ff6b6b; }
.form .btn { margin-top: 6px; padding: 14px 20px; }
.form-note { font-size: 13px; color: var(--muted); min-height: 1em; }

.orb-bottom { bottom: -300px; width: 900px; }
.orb-bottom::after { display: none; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.8) 160px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding-top: 72px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.9fr 1.4fr 0.9fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 28px; width: auto; }
.footer-tagline { margin-top: 18px; font-family: var(--serif); font-style: normal; font-weight: 500; font-size: 24px; }
.footer-muted { margin-top: 12px; color: var(--faint); font-size: 14px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 14px; }
.footer-col h3 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.footer-col a { padding: 3px 0; color: var(--muted); transition: color 0.2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 32px;
  padding-right: 96px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}
.footer-bottom a { padding: 4px 0; }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }

/* ==========================================================================
   Página de case
   ========================================================================== */
.nav-links a.is-active { color: var(--brand); }

.case-hero { position: relative; padding: 150px 0 40px; overflow: hidden; isolation: isolate; }
.case-hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  padding: 6px 0;
  transition: color 0.2s;
}
.back-link:hover { color: var(--brand); }
.back-link svg { transition: transform 0.3s var(--ease); }
.back-link:hover svg { transform: translateX(-3px); }
.case-eyebrow { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin-bottom: 4px; }
.case-title {
  font-size: clamp(42px, 6.2vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}
.case-summary { margin-top: 22px; color: var(--muted); max-width: 560px; font-size: 17px; }

.case-cover {
  margin: 64px 0 0;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 40px 120px -40px rgba(253, 199, 13, 0.35);
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.orb-case { top: 360px; bottom: auto; width: 1100px; height: 640px; }
.orb-case::after { display: none; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 20px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fact { padding: 22px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }
.fact dd { margin: 6px 0 0; font-size: 16px; font-weight: 500; line-height: 1.35; }

.case-intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.case-text { display: flex; flex-direction: column; gap: 22px; }
.case-text .tag { align-self: flex-start; margin-bottom: 0; }
.case-text p { color: var(--muted); font-size: 17px; }
.case-text .lead {
  color: var(--text);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.case-side {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.case-side img { width: 100%; height: 100%; object-fit: cover; }

.case-quote { padding-top: 40px; }
.case-quote .statement-text { margin: 0; text-align: center; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 16px; }
.gallery-item {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }

.next-section { padding-bottom: 40px; }
.next-case {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  padding: 44px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}
.next-case img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.6;
  transition: transform 1s var(--ease), opacity 0.5s;
}
.next-case::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 10%, rgba(0, 0, 0, 0.3) 70%), linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 60%);
}
.next-case:hover img { transform: scale(1.04); opacity: 0.75; }
.next-case-body { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.next-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); }
.next-name { font-size: clamp(40px, 6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.next-summary { color: rgba(255, 255, 255, 0.75); }
.next-arrow {
  position: absolute;
  right: 44px;
  bottom: 44px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 10px 40px -8px rgba(253, 199, 13, 0.6);
  transition: transform 0.4s var(--ease);
}
.next-case:hover .next-arrow { transform: translateX(6px); }

.cta-card-center { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; }
.cta-card-center h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; }
.cta-card-center p { color: var(--muted); margin-top: 20px; max-width: 520px; }

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.94);
  color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in 0.3s var(--ease); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 16px; object-fit: contain; }
.lightbox .round-btn { position: fixed; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover,
.lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-count { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--muted); }
@keyframes lb-in { from { opacity: 0; } }

@media (max-width: 820px) {
  .case-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-side { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery-item:first-child { grid-row: span 1; }
  .gallery-item:last-child { grid-column: span 2; }
  .next-case { min-height: 320px; padding: 28px; }
  .next-arrow { top: 24px; right: 24px; bottom: auto; width: 52px; height: 52px; }
  .lightbox-prev,
  .lightbox-next { top: auto; bottom: 16px; transform: none; }
  .lightbox-prev:hover,
  .lightbox-next:hover { transform: scale(1.06); }
  .lightbox-count { bottom: 30px; }
}

@media (max-width: 600px) {
  .case-hero { padding-top: 130px; }
  .case-cover { margin-top: 40px; border-radius: 20px; aspect-ratio: 4 / 3; }
  .fact { padding: 18px; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .gallery-item { border-radius: 14px; }
  .orb-case { top: 300px; width: 600px; height: 420px; }
}

/* ---------- Abertura (home) ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
  animation: intro-exit 0.8s var(--ease) 1.8s forwards;
}
.intro-glow {
  position: absolute;
  width: min(760px, 160vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(253, 199, 13, 0.32), rgba(255, 120, 20, 0.1) 55%, transparent);
  filter: blur(30px);
  opacity: 0;
  animation: intro-glow 1.6s var(--ease) 0.1s forwards;
}
.intro-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.intro-logo {
  width: min(380px, 72vw);
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: intro-wipe 1s var(--ease) 0.25s forwards;
}
.intro-line {
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  animation: intro-line 0.7s var(--ease) 1.1s forwards;
}
.intro-skip .intro { display: none; }

@keyframes intro-glow { to { opacity: 1; } }
@keyframes intro-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes intro-line { to { width: min(380px, 72vw); } }
@keyframes intro-exit { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.js :is(.hero-title, .hero-sub, .section-head, .statement-text, .case-title, .case-eyebrow, .case-summary).reveal:not(.in) { filter: blur(6px); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .cta-card { grid-template-columns: 1fr; padding: 40px; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav { gap: 12px; }
  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform 0.3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border-radius: 18px;
    background: #0c0c0c;
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { display: block; padding: 12px 14px; font-size: 16px; border-radius: 10px; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.05); }
  .nav { min-width: min(100%, 360px); justify-content: space-between; }
  .nav-cta { margin-left: auto; }

  .compare { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps::before { display: none; }
}

@media (max-width: 700px) {
  .services { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 130px 0 200px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }
  .service-card { padding: 24px; min-height: 280px; }
  .compare-col { padding: 26px 22px; }
  .cta-card { padding: 28px 20px; border-radius: 24px; }
  .field-row { flex-direction: column; }
  .work-card { width: 280px; height: 210px; }
  .logos .marquee-track { gap: 40px; --marquee-gap: 20px; }
  .logos .marquee-track img { height: 56px; }
  .orb { width: 520px; height: 400px; bottom: -260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-right: 0; padding-bottom: 92px; }
  .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
  .cases-track { scroll-padding-inline: 16px; padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track,
  .orb::before,
  .orb span { animation: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .statement-text .w { opacity: 1; }
}

/* ==========================================================================
   Página de portfólio
   ========================================================================== */
.pf-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  padding: 180px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.pf-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.pf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.7) 60%, #000 100%);
}
.pf-hero-inner { position: relative; }
.pf-hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.pf-sub {
  margin-top: 20px;
  font-family: var(--font);
  font-style: normal;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--muted);
}
.pf-hero .orb { bottom: -360px; }

.pf-cat { padding-top: 96px; padding-bottom: 0; }
.pf-cat + .pf-cat { padding-top: 104px; }

.pf-banner {
  position: relative;
  height: clamp(340px, 60vh, 580px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
}
.pf-banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.pf-banner:hover img { transform: scale(1.03); }
.pf-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 25%, rgba(0, 0, 0, 0.85));
}
.pf-banner-title {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 48px);
  font-size: clamp(30px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.pf-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}
.pf-body .lead {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.pf-body p:not(.lead) { color: var(--muted); font-size: 17px; }

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.pf-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.pf-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pf-item:hover img { transform: scale(1.05); }
.pf-item:hover .gallery-zoom,
.pf-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .pf-body { grid-template-columns: 1fr; gap: 24px; }
  .pf-grid { gap: 10px; }
}

@media (max-width: 600px) {
  .pf-hero { min-height: 60vh; padding-top: 140px; }
  .pf-cat + .pf-cat { padding-top: 96px; }
  .pf-banner { height: 300px; border-radius: 20px; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-body p:not(.lead) { font-size: 16px; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bl-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.bl-card:hover { border-color: rgba(253, 199, 13, 0.35); transform: translateY(-4px); }
.bl-card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.bl-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.bl-card:hover .bl-card-media img { transform: scale(1.05); }
.bl-card-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.bl-date { font-size: 13px; color: var(--brand); }
.bl-card h2 { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.bl-card p { color: var(--muted); font-size: 15px; }
.bl-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--brand);
  font-weight: 500;
}
.bl-link svg { transition: transform 0.3s var(--ease); }
.bl-card:hover .bl-link svg { transform: translate(2px, -2px); }

.bl-post-hero { position: relative; padding: 170px 0 0; overflow: hidden; isolation: isolate; }
.bl-post-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.bl-post-head .back-link { margin-bottom: 8px; }
.bl-title {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 880px;
}
.bl-cover {
  margin: 56px 0 0;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.bl-cover img { width: 100%; height: 100%; object-fit: cover; }

.bl-body { padding-top: 72px; }
.bl-article { max-width: 760px; }
.bl-p { color: rgba(255, 255, 255, 0.8); font-size: 18px; line-height: 1.75; margin-top: 24px; }
.bl-p.lead {
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-top: 0;
}
.bl-p strong { color: var(--text); font-weight: 500; }
.bl-p a, .bl-list-items a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.bl-h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; margin-top: 56px; }
.bl-h3 { font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; margin-top: 40px; }
.bl-list-items {
  margin-top: 20px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.7;
  list-style: disc;
}
.bl-list-items li + li { margin-top: 8px; }
.bl-figure { margin: 48px 0 0; }
.bl-figure img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); }
.bl-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--faint); text-align: center; }

@media (max-width: 980px) {
  .bl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bl-grid { grid-template-columns: 1fr; }
  .bl-p { font-size: 17px; }
  .bl-cover { border-radius: 20px; aspect-ratio: 4 / 3; }
  .bl-post-hero { padding-top: 140px; }
}

/* ==========================================================================
   Página de contato
   ========================================================================== */
.ct-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.ct-info h2 {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.ct-info .contact-list { margin-top: 0; }
.ct-info .contact-list li { font-size: 17px; }
.ct-social { margin-top: 56px; }
.ct-social h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.ct-social-links { display: flex; flex-direction: column; gap: 10px; }
.ct-social-links a { font-size: 17px; color: rgba(255, 255, 255, 0.82); transition: color 0.2s; }
.ct-social-links a:hover { color: var(--brand); }
.ct-form {
  padding: 40px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #111 0%, #080808 100%);
}
.ct-map { padding-top: 0; }
.ct-map-frame {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--line);
}
.ct-map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

@media (max-width: 820px) {
  .ct-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .ct-form { padding: 26px 20px; border-radius: 24px; }
  .ct-map-frame { border-radius: 20px; }
  .ct-map-frame iframe { height: 320px; }
}

/* Topo da listagem do blog: mais baixo, para os cards aparecerem logo */
.bl-hero { min-height: 0; padding: 170px 0 56px; }
@media (max-width: 600px) {
  .bl-hero { padding: 130px 0 40px; }
}

/* Brilho do topo nas outras páginas: mesmo efeito da home */
.pf-hero .orb { bottom: -180px; }
.orb-case { top: 100px; height: 600px; width: 1000px; }
.bl-post-hero .orb { top: 100px; bottom: auto; height: 600px; width: 1000px; }
@media (max-width: 600px) {
  .orb-case { top: 110px; width: 600px; height: 420px; }
  .bl-post-hero .orb { top: 110px; width: 600px; height: 420px; }
}

/* Brilho dos topos internos: abaixo do texto, sem a linha do horizonte e sem corte reto embaixo */
.pf-hero { overflow-x: clip; overflow-y: visible; }
.pf-hero .orb { bottom: -300px; opacity: 0.8; }
.pf-hero .orb::after,
.bl-post-hero .orb::after { display: none; }
.orb-case { top: 190px; opacity: 0.85; }
.bl-post-hero .orb { top: 170px; opacity: 0.85; }
@media (max-width: 600px) {
  .pf-hero .orb { bottom: -230px; }
  .orb-case,
  .bl-post-hero .orb { top: 230px; }
}

/* Títulos em Inter, a fonte da marca; o texto corrido segue em Satoshi */
:root { --display: "Inter", ui-sans-serif, system-ui, sans-serif; }
h1, h2, h3, h4,
.statement-text, .next-name, .case-name, .case-eyebrow {
  font-family: var(--display);
}
.hero-title, .section-head h2, .cta-copy h2, .cta-card-center h2, .case-title,
.pf-hero h1, .pf-banner-title, .bl-title, .next-name, .statement-text {
  font-weight: 600;
}
.case-eyebrow { font-weight: 600; }

/* Crédito Andrade Lab no rodapé: wordmark no mesmo estilo do andradelab.com (tema escuro) */
.made-by { display: inline-flex; align-items: baseline; gap: 8px; padding: 4px 0; color: var(--faint); transition: color 0.2s; }
.made-by:hover { color: var(--text); }
.al-logo { font-family: "Geist", system-ui, sans-serif; font-size: 16px; font-weight: 600; letter-spacing: -0.05em; color: #f4f4f5; white-space: nowrap; }
.al-logo span { color: #8f8f96; font-weight: 400; }
.al-logo i { display: inline-block; font-style: normal; color: #a3bbea; transition: transform 1s var(--ease); }
.made-by:hover .al-logo i { transform: rotate(360deg); }

/* ==========================================================================
   WordPress additions
   ========================================================================== */

/* Admin bar: keep the fixed nav below it */
.admin-bar .nav-wrap { top: 52px; }
@media (max-width: 782px) { .admin-bar .nav-wrap { top: 66px; } }

/* Skip link */
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 12px;
  background: var(--brand); color: var(--brand-ink); font-weight: 500;
  transform: translateY(-160%); transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; }

/* Forms */
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.is-sending button[type="submit"] { opacity: 0.6; pointer-events: none; }
.form-note.is-ok { color: var(--brand); }
.form-note.is-error { color: #ff8a8a; }
.form-legal { font-size: 12px; color: var(--faint); }
.form-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form-legal a:hover { color: var(--brand); }

/* Footer: privacy + cookies */
.footer-legal { display: inline-flex; gap: 16px; align-items: baseline; }
.footer-cookie { padding: 4px 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
.footer-cookie:hover { color: var(--brand); }

/* WhatsApp lead gate */
.wagate {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--text);
}
.wagate::backdrop { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wagate[open] { animation: lb-in 0.3s var(--ease); }
.wagate-form { position: relative; padding: 32px; }
.wagate-form .tag { margin-bottom: 14px; align-self: flex-start; width: fit-content; }
.wagate-form h2 { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.wagate-lead { margin: 10px 0 8px; color: var(--muted); font-size: 15px; }
.wagate-close { position: absolute; top: 16px; right: 16px; }
@media (max-width: 600px) { .wagate-form { padding: 24px 20px; } }

/* Cookie notice (inc/tracking.php) */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 120;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  max-width: min(560px, calc(100vw - 112px));
  padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: rgba(11, 11, 11, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; color: var(--muted);
}
.cookie[hidden] { display: none; }
.cookie p { flex: 1 1 260px; }
.cookie a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: 8px; }

/* Blog listing: pagination and empty state */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers {
  min-width: 44px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px;
  text-align: center; color: var(--muted); transition: color 0.2s, border-color 0.2s;
}
.pagination a.page-numbers:hover { color: var(--brand); border-color: rgba(253, 199, 13, 0.4); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.bl-empty { color: var(--muted); text-align: center; }

/* Editor content (posts, privacy page) */
.bl-article > :first-child { margin-top: 0; }
.bl-article img { max-width: 100%; height: auto; }
.bl-article .wp-block-image { margin: 48px 0 0; }
.bl-article .wp-block-image img { border-radius: 20px; border: 1px solid var(--line); }
.prose--legal .bl-p.lead { font-size: 20px; }
.prose--legal .bl-h2 { font-size: 26px; margin-top: 48px; }

/* Case story from the editor: every paragraph like the prototype */
.case-text > p:not(.lead) { color: var(--muted); font-size: 17px; }
