/* ==========================================================================
   ÁUREA STUDIO DIGITAL — ESTILOS
   Organização: tokens › base › componentes › seções › utilitários › motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Cores base */
  --ink: #0E0C1D;          /* fundo principal — noite índigo */
  --ink-2: #15122A;        /* superfícies elevadas */
  --ink-3: #1D1938;
  --pearl: #EEEBF7;        /* texto principal */
  --mist: #A7A2BF;         /* texto secundário */
  --line: rgba(238, 235, 247, 0.1);
  --line-strong: rgba(238, 235, 247, 0.2);

  /* Espectro da marca (extraído do símbolo) */
  --blue: #4F7CFF;
  --violet: #8A5CF6;
  --magenta: #E0569B;
  --coral: #FF7A5C;
  --teal: #3FD8C2;

  --aurora: linear-gradient(115deg, var(--blue) 0%, var(--violet) 28%, var(--magenta) 55%, var(--coral) 78%, #FFB36B 100%);
  --aurora-cool: linear-gradient(120deg, var(--violet), var(--blue) 45%, var(--teal));

  /* Tipografia */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 1.9vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.8rem + 3.3vw, 4.6rem);

  /* Espaço e forma */
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 2.5rem);
  --section: clamp(5rem, 3.5rem + 7vw, 9.5rem);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }

a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--violet); color: #fff; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--pearl); color: var(--ink);
  padding: .6rem 1rem; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: calc(1rem + env(safe-area-inset-top, 0px)); }

.section { padding-block: var(--section); position: relative; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head p { color: var(--mist); font-size: var(--step-1); line-height: 1.5; margin-top: 1.25rem; max-width: 38rem; }

/* ---------- 3. Botões ---------- */
.btn {
  --pad-y: .95rem; --pad-x: 1.6rem;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font: 600 .98rem/1.1 var(--font-body);
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  color: #fff;
  background: var(--aurora);
  background-size: 160% 100%;
  background-position: 0% 50%;
  box-shadow: 0 10px 30px -12px rgba(224, 86, 155, .55);
  transition: background-position .6s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 14px 36px -12px rgba(138, 92, 246, .7); }

.btn-ghost {
  color: var(--pearl);
  background: rgba(238, 235, 247, .04);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: rgba(238, 235, 247, .45); background: rgba(238, 235, 247, .08); }

.btn-text {
  --pad-x: .4rem;
  color: var(--mist);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 5px;
}
.btn-text:hover { color: var(--pearl); text-decoration-color: var(--teal); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .45); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-block { width: 100%; }

/* ---------- 4. Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
}
/* O desfoque fica num pseudo-elemento: backdrop-filter no próprio header
   prenderia o menu mobile (position: fixed) dentro dele. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(14, 12, 29, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled::before { opacity: 1; }
body.menu-open .site-header::before { opacity: 0; }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; position: relative; z-index: 2; }
.brand img:first-child { width: 38px; height: auto; transition: transform .8s var(--ease); }
.brand:hover img:first-child { transform: rotate(-12deg) scale(1.06); }
.brand-name { width: clamp(150px, 20vw, 190px); height: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: clamp(1rem, 2vw, 1.9rem); }
.nav-list a {
  position: relative;
  font-size: .95rem; color: var(--mist); text-decoration: none;
  padding: .4rem 0; transition: color .25s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--aurora-cool);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav-list a:hover, .nav-list a.is-current { color: var(--pearl); }
.nav-list a:hover::after, .nav-list a.is-current::after { transform: scaleX(1); }
.nav-cta { --pad-y: .7rem; --pad-x: 1.25rem; font-size: .92rem; }
.nav-mobile-foot { display: none; }

.menu-toggle { display: none; }

@media (max-width: 1023px) {
  .menu-toggle {
    display: grid; place-items: center; gap: 6px; align-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(238, 235, 247, .06);
    border: 1px solid var(--line-strong);
    cursor: pointer; position: relative; z-index: 2;
  }
  .menu-toggle span {
    display: block; width: 18px; height: 1.5px; background: var(--pearl);
    transition: transform .45s var(--ease);
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 2.5rem;
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 1rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(60% 45% at 85% 10%, rgba(138, 92, 246, .28), transparent 70%),
      radial-gradient(50% 40% at 10% 95%, rgba(63, 216, 194, .16), transparent 70%),
      rgba(14, 12, 29, .97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden;
    transition: opacity .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  .nav-list { flex-direction: column; gap: .35rem; }
  .nav-list a {
    font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 2.6rem);
    color: var(--pearl); letter-spacing: -0.02em; display: inline-block;
    opacity: 0; transform: translateY(14px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
  }
  .nav.is-open .nav-list a { opacity: 1; transform: none; }
  .nav.is-open .nav-list li:nth-child(2) a { transition-delay: .04s; }
  .nav.is-open .nav-list li:nth-child(3) a { transition-delay: .08s; }
  .nav.is-open .nav-list li:nth-child(4) a { transition-delay: .12s; }
  .nav.is-open .nav-list li:nth-child(5) a { transition-delay: .16s; }
  .nav.is-open .nav-list li:nth-child(6) a { transition-delay: .2s; }
  .nav-list a::after { display: none; }
  .nav-cta { --pad-y: 1rem; --pad-x: 1.8rem; font-size: 1rem; }
  .nav-mobile-foot { display: flex; gap: 1.5rem; font-size: .95rem; }
  .nav-mobile-foot a { color: var(--mist); text-decoration: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem);
  padding-bottom: 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* grade geométrica sutil */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(70% 60% at 70% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 70% 45%, #000 20%, transparent 75%);
}
.hero-light {
  /* luz que acompanha o cursor (desktop) */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 40%), rgba(138, 92, 246, .16), transparent 60%);
  transition: background .2s;
}

.hero-grid {
  display: grid; align-items: center;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.hero-copy { position: relative; z-index: 2; max-width: 40rem; }
.hero-tagline {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: var(--step--1); color: var(--mist); letter-spacing: .06em;
  margin-bottom: 1.6rem;
}
.hero-tagline::before { content: ""; width: 28px; height: 1px; background: var(--aurora-cool); }
.hero h1 {
  font-size: var(--step-4);
  font-weight: 450;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero-sub { margin-top: 1.5rem; color: var(--mist); font-size: var(--step-1); line-height: 1.5; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }

.hero-visual {
  position: relative;
  width: min(78vw, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid; place-items: center;
  order: -1;
}
.symbol-aura {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--blue), var(--violet), var(--magenta), var(--coral), var(--teal), var(--blue));
  filter: blur(60px);
  opacity: .38;
  animation: aura 18s linear infinite;
}
.symbol-orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: orbit 60s linear infinite; }
.symbol {
  position: relative; width: 72%;
  filter: drop-shadow(0 20px 50px rgba(14, 12, 29, .6));
  animation: breathe 9s ease-in-out infinite;
}

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes aura { to { transform: rotate(360deg); } }
@keyframes breathe {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-10px) rotate(1.5deg) scale(1.015); }
}

.scroll-hint {
  position: absolute; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px; border: 1px solid var(--line-strong);
  display: none;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 3px; background: var(--pearl);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; }
  .hero-visual { order: 0; width: 100%; max-width: 540px; }
  .scroll-hint { display: block; }
}
@media (max-width: 899px) {
  .hero { align-items: flex-start; }
  .hero-visual { width: min(62vw, 340px); margin-bottom: -.5rem; }
}

/* Entrada orquestrada do hero */
.load-in {
  opacity: 0; transform: translateY(18px);
  animation: loadIn 1s var(--ease) forwards;
  animation-delay: calc(var(--d) * 110ms + 150ms);
}
@keyframes loadIn { to { opacity: 1; transform: none; } }
.hero-visual { animation: visualIn 1.6s var(--ease) both; }
@keyframes visualIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* ---------- 6. O que eu faço ---------- */
.services {
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service {
  position: relative;
  background: var(--ink);
  padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
  display: flex; flex-direction: column; gap: .9rem;
  isolation: isolate;
}
.service::before {
  /* brilho que segue o cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(320px circle at var(--cx, 50%) var(--cy, 0%), rgba(138, 92, 246, .14), transparent 65%);
  transition: opacity .4s;
}
.service:hover::before { opacity: 1; }
.service .icon {
  width: 40px; height: 40px; margin-bottom: 1.2rem;
  fill: none; stroke: var(--teal);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease), stroke .3s;
}
.service:nth-child(2) .icon { stroke: var(--coral); }
.service:nth-child(3) .icon { stroke: var(--magenta); }
.service:nth-child(4) .icon { stroke: var(--blue); }
.service:hover .icon { transform: translateY(-3px) rotate(-4deg); }
.service p { color: var(--mist); font-size: .98rem; }

@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } .service { min-height: 330px; } }

/* ---------- 7. Por que Áurea (seção clara) ---------- */
.why {
  position: relative;
  background: #F3F1FA;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(2.25rem, 1.5rem + 4vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.why::after {
  /* faixa de espectro no topo */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--aurora);
}
.why::before {
  content: ""; position: absolute; z-index: -1;
  width: 520px; height: 520px; right: -180px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 92, 246, .16), transparent 65%);
}
.why h2 { max-width: 20ch; font-size: var(--step-3); }
.why-list {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  display: grid; gap: 2.5rem 3rem;
  grid-template-columns: 1fr;
}
.why-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(14, 12, 29, .12);
}
.why-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.4rem + 3vw, 4.8rem);
  font-weight: 300;
  line-height: .85;
  letter-spacing: -0.05em;
  background: var(--aurora);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  min-width: 2.2ch;
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.why-item:nth-child(1) .why-num { background-position: 0% 50%; }
.why-item:nth-child(2) .why-num { background-position: 33% 50%; }
.why-item:nth-child(3) .why-num { background-position: 66% 50%; }
.why-item:nth-child(4) .why-num { background-position: 100% 50%; }
.why-item.is-visible .why-num { opacity: 1; transform: none; }
.why-item h3 { color: var(--ink); margin-bottom: .45rem; }
.why-item p { color: #4A4563; }
.why-item > div { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease) .15s, transform .8s var(--ease) .15s; }
.why-item.is-visible > div { opacity: 1; transform: none; }

@media (min-width: 760px) { .why-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 8. Portfólio ---------- */
.filters {
  display: flex; gap: .5rem;
  overflow-x: auto; scrollbar-width: none;
  margin: -.25rem calc(var(--gutter) * -1) 2rem;
  padding: .25rem var(--gutter);
  -webkit-overflow-scrolling: touch;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex-shrink: 0;
  font: 500 .92rem var(--font-body);
  color: var(--mist);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .6rem 1.1rem;
  cursor: pointer;
  transition: color .25s, background-color .25s, border-color .25s;
}
.filter:hover { color: var(--pearl); border-color: rgba(238, 235, 247, .4); }
.filter.is-active { color: var(--ink); background: var(--pearl); border-color: var(--pearl); }

.portfolio {
  display: grid; gap: clamp(1rem, .6rem + 1.5vw, 1.75rem);
  grid-template-columns: 1fr;
}
.project {
  display: flex; flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .4s, transform .6s var(--ease);
  animation: projectIn .6s var(--ease) both;
}
@keyframes projectIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.project:hover { border-color: var(--line-strong); }
.project-media {
  position: relative;
  aspect-ratio: 854 / 384;
  background:
    radial-gradient(80% 90% at 50% 100%, rgba(138, 92, 246, .22), transparent 70%),
    linear-gradient(180deg, #F4F2FA, #E4E0F0);
  overflow: hidden;
}
.project-media img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 6% 4% 2%;
  transition: transform .9s var(--ease);
}
.project:hover .project-media img { transform: scale(1.035) translateY(-4px); }
.project-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.project-cat { font-size: var(--step--1); color: var(--teal); font-weight: 500; }
.project-body h3 { font-size: var(--step-2); }
.project-body p { color: var(--mist); font-size: .97rem; }
.project-link {
  margin-top: auto; padding-top: 1rem;
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; color: var(--pearl);
  text-decoration: none; align-self: flex-start;
}
.project-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.project-link:hover svg { transform: translate(3px, -3px); }
.project-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.project-link:hover span { background-size: 100% 1px; }

.portfolio-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
}
.portfolio-empty h3 { font-size: var(--step-2); }
.portfolio-empty p { color: var(--mist); max-width: 34rem; }

@media (min-width: 760px) {
  .portfolio { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .portfolio { grid-template-columns: repeat(6, 1fr); }
  .project { grid-column: span 2; }
  .project.is-wide { grid-column: span 3; }
}

.inline-cta {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
}
.inline-cta p { font-family: var(--font-display); font-size: var(--step-2); letter-spacing: -0.02em; }

.noscript-list { display: grid; gap: .5rem; }

/* ---------- 9. Depoimentos ---------- */
.testimonial-list { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.testimonial {
  margin: 0; padding: 2rem;
  border-radius: var(--r-md);
  background: var(--ink-2); border: 1px solid var(--line);
}
.testimonial blockquote { margin: 0 0 1.5rem; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; }
.testimonial figcaption { color: var(--mist); font-size: .95rem; }
.testimonial figcaption strong { color: var(--pearl); display: block; }

/* ---------- 10. Fundadora ---------- */
.founder { overflow: hidden; }
.founder-grid {
  display: grid; gap: clamp(1rem, 1rem + 3vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
.founder-photo {
  margin: 0 calc(var(--gutter) * -1);
  position: relative;
}
.founder-photo img {
  width: 100%;
  /* fade em todas as bordas para a foto se fundir à página */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 16%, #000 70%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
  filter: saturate(.92) contrast(1.02);
}
.founder-copy h2 { max-width: 18ch; }
.prose { margin-top: 1.75rem; display: grid; gap: 1.05rem; color: var(--mist); max-width: 38rem; }
.prose .lead { color: var(--pearl); font-size: var(--step-1); line-height: 1.45; }

.stack { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.75rem; }
.stack li {
  font-size: .85rem; padding: .35rem .8rem;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--mist);
}

.expect-title { margin-top: 3rem; font-size: var(--step-1); }
.expect {
  margin: 1.25rem 0 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.expect > div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .25rem; }
.expect dt { font-weight: 600; color: var(--pearl); display: flex; align-items: center; gap: .6rem; }
.expect dt::before { content: ""; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--aurora-cool); flex-shrink: 0; }
.expect dd { margin: 0; color: var(--mist); font-size: .97rem; padding-left: 1.2rem; }

.founder-cta {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.5rem; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(138, 92, 246, .14), rgba(63, 216, 194, .08));
  border: 1px solid var(--line);
}
.founder-cta p { color: var(--mist); }
.founder-cta strong { color: var(--pearl); font-weight: 600; }

@media (min-width: 960px) {
  .founder-grid { grid-template-columns: .9fr 1.1fr; }
  .founder-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 2rem); }
}
@media (max-width: 959px) {
  .founder-photo { max-width: 560px; margin-inline: auto; margin-bottom: -3.5rem; }
}

/* ---------- 11. Processo / timeline ---------- */
.process-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
.process-head p { color: var(--mist); font-size: var(--step-1); margin-top: 1.1rem; }

.timeline {
  --progress: 0;
  position: relative;
  padding-left: 2.75rem;
  display: grid; gap: 2.75rem;
}
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after {
  background: linear-gradient(to bottom, var(--blue), var(--violet), var(--magenta), var(--coral), var(--teal));
  transform-origin: top;
  transform: scaleY(var(--progress));
}
.step { position: relative; }
.step-dot {
  position: absolute; left: calc(-2.75rem + 4px); top: .3rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--line-strong);
  transition: border-color .5s, box-shadow .5s, background-color .5s;
  z-index: 1;
}
.step.is-active .step-dot { border-color: var(--pearl); background: var(--violet); box-shadow: 0 0 0 6px rgba(138, 92, 246, .18); }
.step-num { display: block; font-size: var(--step--1); color: var(--mist); margin-bottom: .25rem; font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--step-2); margin-bottom: .35rem; transition: color .5s; color: var(--mist); }
.step.is-active h3 { color: var(--pearl); }
.step p { color: var(--mist); max-width: 30rem; }

@media (min-width: 960px) {
  .process-grid { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .process-head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
  .timeline { gap: 3.5rem; }
}

/* ---------- 12. Investimento ---------- */
.plans { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.plan {
  position: relative;
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.4rem);
  border-radius: var(--r-md);
  background: var(--ink-2);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.plan > p:first-of-type { color: var(--mist); }
.plan h3 { font-size: var(--step-2); }
.plan-price { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .15rem; }
.plan-price span { font-size: var(--step--1); color: var(--mist); }
.plan-price strong { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.3; }
.plan .btn { margin-top: .5rem; }
.plan-featured {
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) padding-box,
    linear-gradient(140deg, rgba(138, 92, 246, .8), rgba(224, 86, 155, .4) 40%, rgba(63, 216, 194, .5)) border-box;
  border: 1px solid transparent;
}

@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.different {
  margin-top: 1rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding: clamp(1.5rem, 1.25rem + 1vw, 2.1rem) clamp(1.75rem, 1.5rem + 1vw, 2.4rem);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
}
.different p { color: var(--mist); margin-top: .3rem; }

.pdf-band {
  margin-top: clamp(3.5rem, 3rem + 3vw, 6rem);
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(63, 216, 194, .12), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(138, 92, 246, .16), transparent 60%),
    var(--ink-2);
  border: 1px solid var(--line);
}
.pdf-icon { width: 44px; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pdf-copy h3 { font-size: var(--step-2); }
.pdf-copy p { color: var(--mist); margin-top: .4rem; max-width: 34rem; }
.pdf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }

@media (min-width: 960px) {
  .pdf-band { grid-template-columns: auto 1fr auto; gap: 2rem; }
  .pdf-actions { flex-direction: column; align-items: stretch; }
}

/* ---------- 13. Contato / formulário ---------- */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
.contact-intro p { color: var(--mist); font-size: var(--step-1); line-height: 1.5; margin-top: 1.25rem; max-width: 30rem; }
.contact-direct { margin-top: 2rem; display: grid; gap: .8rem; }
.contact-direct a {
  display: inline-flex; align-items: center; gap: .75rem;
  text-decoration: none; color: var(--pearl); font-weight: 500;
  word-break: break-all;
}
.contact-direct svg { width: 20px; height: 20px; fill: var(--teal); flex-shrink: 0; }
.contact-direct svg.stroke { fill: none; stroke: var(--teal); stroke-width: 1.6; }
.contact-direct a:hover { color: var(--teal); }

.form-card {
  position: relative;
  padding: clamp(1.5rem, 1.1rem + 2vw, 2.75rem);
  border-radius: var(--r-lg);
  background: rgba(29, 25, 56, .55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.form-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  background: radial-gradient(60% 50% at 100% 0%, rgba(224, 86, 155, .18), transparent 70%);
  pointer-events: none;
}
.quote-form { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .9rem; color: var(--mist); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 1rem var(--font-body); /* 16px evita zoom no iOS */
  color: var(--pearl);
  background: rgba(14, 12, 29, .6);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: .9rem 1rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23A7A2BF' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field select option { background: var(--ink-2); color: var(--pearl); }
.field input::placeholder, .field textarea::placeholder { color: rgba(167, 162, 191, .55); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 4px rgba(138, 92, 246, .2);
  background: rgba(14, 12, 29, .85);
}
.field.has-error input, .field.has-error select { border-color: var(--coral); }
.field-error { font-size: .85rem; color: #FF9C85; }
.form-error { color: #FF9C85; font-size: .95rem; }
.form-error a { color: var(--pearl); }
.hp { position: absolute; left: -9999px; }
.quote-form .btn { margin-top: .5rem; }
.quote-form .btn[disabled] { opacity: .7; cursor: progress; }

@media (min-width: 640px) {
  .quote-form { grid-template-columns: 1fr 1fr; }
  .field-full, .quote-form .btn, .form-error { grid-column: 1 / -1; }
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }

.form-success {
  text-align: center;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem) 1rem;
  display: grid; justify-items: center; gap: .8rem;
  animation: successIn .8s var(--ease) both;
}
.form-success:focus { outline: none; }
.form-success img { width: 72px; margin-bottom: .75rem; animation: breathe 6s ease-in-out infinite; }
.form-success h3 { font-size: var(--step-2); }
.form-success p { color: var(--mist); max-width: 26rem; }
@keyframes successIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- 14. Sobre ---------- */
.about-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p { color: var(--mist); font-size: var(--step-1); line-height: 1.55; max-width: 36rem; }
.about-copy p + p { margin-top: 1rem; }
.about-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 2.25rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.about-tags li { background: var(--ink); padding: 1rem 1.1rem; font-size: .95rem; font-weight: 500; }
.about-media {
  margin: 0; position: relative;
  aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center;
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(138, 92, 246, .22), transparent 70%),
    var(--ink-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.about-media img { width: 62%; }
.about-media img[src*="foto"], .about-media img.is-photo { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 960px) { .about-grid { grid-template-columns: 1.2fr .8fr; gap: 5rem; } }

/* ---------- 15. FAQ ---------- */
.faq-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.faq-head p { color: var(--mist); margin-top: 1rem; }
.faq-head a { color: var(--pearl); text-underline-offset: 4px; text-decoration-color: var(--teal); }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; letter-spacing: -0.01em;
  transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(var(--pearl), var(--pearl)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--pearl), var(--pearl)) center / 1.5px 12px no-repeat;
  transition: transform .45s var(--ease), background-size .45s var(--ease), border-color .3s;
}
.faq[open] summary::after { transform: rotate(180deg); background-size: 12px 1.5px, 1.5px 0; border-color: var(--teal); }
.faq summary:hover { color: #fff; }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--mist); padding-bottom: 1.5rem; max-width: 44rem; }

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: .75fr 1.25fr; gap: 4rem; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
}

/* ---------- 16. CTA final ---------- */
.final-cta { padding-block: 0 var(--section); }
.final-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg);
  padding: clamp(3rem, 2rem + 6vw, 7rem) clamp(1.5rem, 1rem + 4vw, 5rem);
  background: var(--aurora);
  background-size: 200% 200%;
  animation: auroraShift 16s ease-in-out infinite;
  color: #fff;
}
.final-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(14, 12, 29, .45), transparent 60%),
    linear-gradient(transparent, rgba(14, 12, 29, .15));
}
@keyframes auroraShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.final-symbol {
  position: absolute; z-index: -1;
  width: clamp(260px, 40vw, 520px);
  right: clamp(-140px, -8vw, -40px); bottom: clamp(-160px, -10vw, -60px);
  opacity: .28; mix-blend-mode: soft-light;
  filter: saturate(0) brightness(2);
  animation: orbit 90s linear infinite;
}
.final-panel h2 { font-size: var(--step-4); font-weight: 450; letter-spacing: -0.035em; line-height: 1.02; max-width: 16ch; }
.final-panel p { margin-top: 1.25rem; font-size: var(--step-1); opacity: .92; max-width: 30rem; }
.final-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }

/* ---------- 17. Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 2.5rem + 3vw, 5rem); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer-brand img { width: 52px; margin-bottom: 1rem; }
.footer-name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; letter-spacing: .02em; }
.footer-tag { color: var(--mist); font-size: .92rem; margin-top: .2rem; }
.footer-seo { color: rgba(167, 162, 191, .75); font-size: .88rem; margin-top: 1.1rem; max-width: 26rem; }
.footer-title { font-size: .85rem; color: var(--mist); margin-bottom: 1rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
.footer-links a, .socials a { color: var(--pearl); text-decoration: none; font-size: .96rem; opacity: .85; transition: opacity .2s, color .2s; }
.footer-links a:hover, .socials a:hover { opacity: 1; color: var(--teal); }
.socials { display: grid; gap: .7rem; }
.socials a { display: inline-flex; align-items: center; gap: .7rem; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials svg.stroke { fill: none; stroke: currentColor; stroke-width: 1.7; }
.socials svg .fill { fill: currentColor; }
.footer-bottom {
  margin-top: 3.5rem; padding-block: 1.75rem calc(6rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .88rem; color: var(--mist);
}
.to-top { color: var(--mist); text-underline-offset: 4px; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr .7fr; }
  .footer-bottom { padding-bottom: 1.75rem; }
}

/* ---------- 18. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 90;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.15rem .8rem .9rem;
  border-radius: 999px;
  background: #1FA855;
  color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 12px 30px -10px rgba(31, 168, 85, .6), 0 2px 8px rgba(0, 0, 0, .25);
  transform: translateY(0);
  transition: transform .45s var(--ease), box-shadow .3s, opacity .4s;
}
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(31, 168, 85, .75), 0 2px 8px rgba(0, 0, 0, .25); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
@media (max-width: 420px) {
  .wa-float { padding: .85rem; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- 19. Scroll reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--rd, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 20. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal, .why-num, .why-item > div, .load-in { opacity: 1 !important; transform: none !important; }
  .timeline::after { transform: scaleY(1); }
}
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
