/* =============================================================
   Team Studio — Stylesheet principal
   Paleta: preto #0A0A0A · branco #FAFAFA · acento roxo #5E60FF
   Tipografia: Space Grotesk (display) + Inter (body)
   ============================================================= */

:root {
  --color-bg: #FAFAFA;
  --color-bg-alt: #F4F4F6;
  --color-text: #0A0A0A;
  --color-text-muted: #4B5563;
  --color-text-soft: #6B7280;
  --color-accent: #5E60FF;
  --color-accent-hover: #4A4CE0;
  --color-accent-soft: #EEEEFF;
  --color-border: #E5E7EB;
  --color-dark: #0A0A0A;
  --color-on-dark: #FAFAFA;

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max-width: 1180px;
  --section-pad-y: clamp(64px, 12vw, 140px);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 10, 10, 0.06);
  --shadow-lg: 0 20px 60px rgba(10, 10, 10, 0.10);

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
  touch-action: manipulation;
}

button {
  touch-action: manipulation;
}

a:hover {
  color: var(--color-accent-hover);
}

p {
  max-width: 64ch;
}

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

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  body { font-size: 16px; }
}

/* ---------- TYPOGRAPHY ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 18ch;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 24px;
}

.section-sub {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 56px;
  max-width: 56ch;
}

/* ---------- BUTTONS ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-on-dark);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-on-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(94, 96, 255, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-text);
  color: var(--color-on-dark);
  border-color: var(--color-text);
}

.btn-sm {
  padding: 12px 22px;
  font-size: 14px;
  min-height: 44px;
  background: var(--color-text);
  color: var(--color-on-dark);
}

.btn-sm:hover {
  background: var(--color-accent);
  color: var(--color-on-dark);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* ---------- HEADER ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  line-height: 1;
}

.logo-dot {
  color: var(--color-accent);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo .logo-text {
  color: var(--color-on-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a:not(.btn) {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav a:not(.btn):hover {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .nav a:not(.btn) { display: none; }
  .nav { gap: 0; }
}

/* ---------- HERO ---------- */

.hero {
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 12vw, 160px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 500px at 85% 10%, rgba(94, 96, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 15% 70%, rgba(167, 139, 250, 0.14), transparent 65%),
    radial-gradient(ellipse 500px 300px at 50% 100%, rgba(94, 96, 255, 0.08), transparent 70%);
  filter: blur(8px);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

/* Live status indicator no eyebrow */
.eyebrow-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(94, 96, 255, 0.08);
  border: 1px solid rgba(94, 96, 255, 0.20);
  border-radius: 999px;
  margin-bottom: 28px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00D97E;
  box-shadow: 0 0 0 0 rgba(0, 217, 126, 0.55);
  animation: status-pulse 2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 217, 126, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 217, 126, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 217, 126, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

.hero-title {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin-bottom: 32px;
}

.accent {
  color: var(--color-accent);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.22em;
  background: var(--color-accent);
  opacity: 0.16;
  border-radius: 4px;
  z-index: -1;
  pointer-events: none;
}

.hero-sub {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--color-text-muted);
  max-width: 58ch;
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 14px;
  color: var(--color-text-soft);
}

/* ---------- DOR ---------- */

.dor {
  background: var(--color-bg-alt);
  padding: var(--section-pad-y) 0;
}

.dor .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
  max-width: 22ch;
}

.dor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.dor-card {
  background: var(--color-bg);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.dor-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dor-card p {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text);
  max-width: none;
}

.dor-closing {
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-accent);
  max-width: none;
}

/* ---------- COMO FUNCIONA ---------- */

.como-funciona {
  padding: var(--section-pad-y) 0;
}

.passos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.passo {
  position: relative;
}

.passo-num {
  display: block;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.passo h3 {
  font-size: 26px;
  margin-bottom: 16px;
  max-width: none;
}

.passo p {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 38ch;
}

/* ---------- CATÁLOGO ---------- */

.catalogo {
  background: var(--color-dark);
  color: var(--color-on-dark);
  padding: var(--section-pad-y) 0;
}

.catalogo .section-title {
  color: var(--color-on-dark);
}

.catalogo .section-sub {
  color: rgba(250, 250, 250, 0.65);
}

.catalogo .eyebrow {
  color: var(--color-accent);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.cat-area {
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.cat-area:hover {
  background: rgba(94, 96, 255, 0.08);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(94, 96, 255, 0.18);
}

.cat-area h3 {
  font-size: 18px;
  color: var(--color-on-dark);
  margin-bottom: 20px;
  max-width: none;
  font-weight: 600;
}

.cat-area ul {
  list-style: none;
}

.cat-area li {
  padding: 8px 0;
  font-size: 15px;
  color: rgba(250, 250, 250, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-area li:last-child {
  border-bottom: none;
}

.cat-foot {
  margin-top: 48px;
  text-align: center;
  color: rgba(250, 250, 250, 0.7);
  font-size: 16px;
  max-width: none;
}

.cat-foot a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* ---------- POR QUE ---------- */

.por-que {
  padding: var(--section-pad-y) 0;
  background: var(--color-bg);
}

.pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.pilar h3 {
  font-size: 22px;
  margin-bottom: 12px;
  max-width: 18ch;
}

.pilar p {
  color: var(--color-text-muted);
  font-size: 16px;
}

/* ---------- CASES ---------- */

.cases {
  background: var(--color-bg-alt);
  padding: var(--section-pad-y) 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.case-item {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 32px 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(94, 96, 255, 0.18);
}

.case-sector {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
}

.case-item h3 {
  font-size: 22px;
  margin: 0;
  max-width: none;
  line-height: 1.2;
}

.case-item p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: none;
  flex: 1;
  margin: 0;
}

.case-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 999px;
  align-self: flex-start;
}

.case-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.case-status-live {
  background: rgba(0, 217, 126, 0.10);
  color: #008a4f;
}

.case-status-dev {
  background: rgba(245, 158, 11, 0.10);
  color: #b45309;
}

.case-status-soon {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.case-status-done {
  background: rgba(10, 10, 10, 0.06);
  color: var(--color-text);
  border: 1px solid rgba(10, 10, 10, 0.08);
}

.case-status-done .dot {
  background: var(--color-text);
}

@media (max-width: 480px) {
  .case-item { padding: 26px 22px; }
  .case-item h3 { font-size: 20px; }
}

/* ---------- QUEM ---------- */

.quem {
  padding: var(--section-pad-y) 0;
}

.quem-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.quem-text p {
  color: var(--color-text-muted);
  font-size: 17px;
  margin-bottom: 18px;
}

.quem-highlight {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--color-accent);
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-text);
  max-width: 52ch;
}

/* Stats banner — tech feel monospace numbers */
.stats {
  margin-top: 88px;
  padding: 48px 40px;
  background: var(--color-dark);
  color: var(--color-on-dark);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 200px at 90% 0%, rgba(94, 96, 255, 0.25), transparent 60%),
    radial-gradient(ellipse 300px 200px at 10% 100%, rgba(167, 139, 250, 0.12), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  right: -16px;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-on-dark);
  font-variant-numeric: tabular-nums;
}

.stat-plus {
  color: var(--color-accent);
  margin-left: 2px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(250, 250, 250, 0.55);
  line-height: 1.35;
  text-transform: uppercase;
}

.quem-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

.quem-photo::before {
  content: '';
  position: absolute;
  top: 28px;
  right: -22px;
  width: calc(100% - 40px);
  height: 100%;
  background: var(--color-accent);
  border-radius: 24px;
  z-index: 0;
  opacity: 0.92;
}

.photo-placeholder {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6B6DFF 0%, #1A1A2E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  color: var(--color-on-dark);
  letter-spacing: -0.04em;
  box-shadow: 0 24px 60px rgba(94, 96, 255, 0.28);
  border: 4px solid var(--color-bg);
}

.quem-photo img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(10, 10, 10, 0.18);
  display: block;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .quem-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .photo-placeholder {
    width: 200px;
    height: 200px;
    font-size: 56px;
  }
  .quem-photo img {
    max-width: 320px;
  }
  .quem-photo::before {
    top: 20px;
    right: -16px;
    width: calc(100% - 30px);
    border-radius: 20px;
  }
  /* Stats: 2x2 grid em tablet/mobile */
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 40px 32px;
    margin-top: 64px;
  }
  .stat:not(:last-child)::after { display: none; }
  .stat:nth-child(odd):not(:last-child)::after {
    display: block;
    top: 8px;
    bottom: 8px;
    right: -12px;
    width: 1px;
  }
  .stat:nth-child(-n+2)::before {
    content: '';
    position: absolute;
    left: -8px;
    right: -8px;
    bottom: -16px;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
  }
  .quem-highlight {
    font-size: 17px;
    padding-left: 16px;
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
    padding: 32px 24px;
  }
  .stat-num { font-size: 42px; }
  .stat-label { font-size: 12px; }
  .eyebrow-live {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--color-bg-alt);
  padding: var(--section-pad-y) 0;
}

.faq .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}

.faq-item {
  max-width: 760px;
  margin: 0 auto 12px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-item summary {
  padding: 24px 28px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 56px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 28px 24px;
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: none;
}

/* ---------- CTA FINAL ---------- */

.cta-final {
  padding: clamp(100px, 14vw, 160px) 0;
  background: var(--color-dark);
  color: var(--color-on-dark);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(94, 96, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-final h2 {
  color: var(--color-on-dark);
  font-size: clamp(36px, 5.5vw, 64px);
  max-width: 16ch;
  margin: 0 auto 28px;
}

.cta-final p {
  color: rgba(250, 250, 250, 0.75);
  font-size: 18px;
  max-width: 50ch;
  margin: 0 auto 40px;
}

.cta-final .cta-note {
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 14px;
}

/* ---------- FOOTER ---------- */

.site-footer {
  padding: 60px 0 40px;
  background: var(--color-dark);
  color: rgba(250, 250, 250, 0.65);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand .logo-text {
  color: var(--color-on-dark);
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(250, 250, 250, 0.55);
  max-width: 32ch;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  font-size: 14px;
}

.footer-links a {
  color: rgba(250, 250, 250, 0.75);
}

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

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(250, 250, 250, 0.45);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links {
    align-items: flex-start;
  }
}

/* ---------- ACCESSIBILITY ---------- */

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* =============================================================
   MOBILE OPTIMIZATIONS (UX review por Uma, 2026-05-19)
   ============================================================= */

/* Backdrop-filter fallback pra Safari iOS antigo */
@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .site-header {
    background: rgba(250, 250, 250, 0.96);
  }
}

@media (max-width: 768px) {
  /* Inverter ordem Quem: foto primeiro (ancora emocional no mobile) */
  .quem-inner {
    grid-template-areas: "photo" "text";
    gap: 36px;
  }
  .quem-text { grid-area: text; }
  .quem-photo { grid-area: photo; }

  /* Section pad mais enxuto */
  :root { --section-pad-y: 72px; }
}

@media (max-width: 480px) {
  /* Hero: title menor + CTAs full-width column */
  .hero {
    padding-top: 56px;
    padding-bottom: 88px;
  }
  .hero-title {
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
  }
  .hero-sub {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 32px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-note {
    font-size: 13px;
    text-align: center;
  }

  /* Dor: cards mais compactos */
  .dor-card { padding: 28px 22px; }
  .dor-card p { font-size: 17px; }
  .dor-grid { gap: 14px; margin-bottom: 48px; }
  .dor-closing { font-size: 20px; }

  /* Como funciona: passos mais juntos */
  .passos { gap: 40px; margin-top: 40px; }
  .passo-num { font-size: 48px; }
  .passo h3 { font-size: 24px; }

  /* Section title menor */
  .section-title { font-size: 32px; margin-bottom: 18px; }
  .section-sub { font-size: 16px; margin-bottom: 40px; }

  /* Catálogo: padding card menor */
  .cat-area { padding: 24px 22px; }
  .cat-area h3 { font-size: 17px; margin-bottom: 16px; }
  .cat-area li { font-size: 14.5px; padding: 7px 0; }

  /* Pilares mais compactos */
  .pilares { gap: 28px; margin-top: 40px; }
  .pilar h3 { font-size: 20px; }

  /* Case card padding menor */
  .case-card { padding: 32px 24px; }
  .case-card h3 { font-size: 24px; }

  /* FAQ summary com peso visual de toque */
  .faq-item summary {
    padding: 20px 24px;
    padding-right: 52px;
    font-size: 16.5px;
    user-select: none;
  }
  .faq-item summary:active {
    background: var(--color-accent-soft);
  }
  .faq-item summary::after { right: 20px; }
  .faq-item p { padding: 0 24px 22px; font-size: 15.5px; }

  /* CTA final full-width + texto centralizado */
  .cta-final h2 { font-size: 38px; }
  .cta-final .btn-lg {
    width: 100%;
    max-width: 340px;
  }

  /* Footer compacto */
  .site-footer { padding: 48px 0 32px; }
  .footer-links a { font-size: 14px; padding: 6px 0; }

  /* Foto: portrait menor no mobile pequeno */
  .photo-placeholder {
    width: 184px;
    height: 184px;
    border-width: 3px;
    font-size: 52px;
  }
  .quem-photo img {
    max-width: 280px;
    border-radius: 18px;
  }
  .quem-photo::before {
    top: 16px;
    right: -12px;
    border-radius: 16px;
  }

  /* Logo header menor */
  .logo-text { font-size: 20px; }
  .logo-mark { width: 28px; height: 28px; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }

  /* Eyebrow ligeiramente menor em mobile pra não roubar atenção do título */
  .eyebrow { font-size: 13px; margin-bottom: 14px; }
}

/* Mobile nav: link extra de catálogo */
@media (max-width: 768px) {
  .nav a:not(.btn):not(.nav-mobile) { display: none; }
  .nav { gap: 14px; }
  .nav-mobile {
    display: inline-block;
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 4px;
  }
  .nav-mobile:hover { color: var(--color-text); }
}
@media (min-width: 769px) {
  .nav-mobile { display: none; }
}
