/* ============================================================
   Amaré Criativa — design system
   Cores oficiais (brand system): Índigo Escuro #251E48, Lavanda Amaré #9292F4,
   Areia Neutra #F3F0EB, Cinza Executivo #4A4A4A
   Tipografia: Arapey (títulos + acentos itálicos) + Instrument Sans (texto)
   ============================================================ */

:root {
  --roxo-profundo: #251E48;  /* Índigo Escuro — headings, seções escuras */
  --lavanda: #9292F4;        /* Lavanda Amaré — acento vívido (fundos escuros, glows) */
  --roxo: #5A53A4;           /* Lavanda Amaré escurecida — legível como texto/ícone sobre claro */
  --grafite: #4A4A4A;        /* Cinza Executivo — texto principal */
  --grafite-suave: #6B685F;  /* tom secundário, mais claro, para parágrafos de apoio */
  --areia: #F3F0EB;          /* Areia Neutra — fundo da página */
  --branco: #FFFFFF;
  --lavanda-suave: #EDEDFB;  /* tint bem leve de Lavanda Amaré — fundo de ícones/cards */
  --cinza: #DCD8C8;          /* cinza morno derivado da Areia Neutra — bordas estruturais */

  --serif: "Arapey", Georgia, serif;
  --sans: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 24px rgba(37, 30, 72, 0.07);
  --shadow-float: 0 16px 48px rgba(37, 30, 72, 0.16);

  --container: 1180px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--grafite);
  background: var(--areia);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

/* granulado sutil sobre todo o site */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.9'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='saturate'%20values='0'/%3E%3C/filter%3E%3Crect%20width='180'%20height='180'%20filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: soft-light;
}

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

/* ---------- tipografia ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--roxo-profundo); }

h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.06; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; }
h3 { font-size: 1.45rem; line-height: 1.25; }

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  letter-spacing: 0.08em;
  color: var(--roxo);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.lead { font-size: 1.2rem; color: var(--grafite-suave); }

em, .it { font-style: italic; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 15px 32px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--roxo-profundo);
  color: var(--branco);
  box-shadow: 0 8px 24px rgba(37, 30, 72, 0.28);
}
.btn-primary:hover { background: var(--roxo); }

.btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--roxo-profundo);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: var(--branco); }

.btn-ghost {
  background: rgba(37, 30, 72, 0.18);
  color: var(--branco);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(37, 30, 72, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--roxo-profundo);
  border-color: var(--roxo);
}
.btn-outline:hover { background: var(--roxo); color: var(--branco); }

.btn svg { flex-shrink: 0; }

/* ---------- navegação ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 18px 0;
}

.nav.scrolled {
  background: rgba(243, 240, 235, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(37, 30, 72, 0.08);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--roxo-profundo);
  opacity: 0.85;
  transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 1; }

.nav-cta { padding: 11px 24px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--roxo-profundo);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.nav-toggle.open span { background: var(--roxo-profundo); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* névoa de luz: mesh gradient suave e desfocado, tons da marca */
  background:
    radial-gradient(38% 32% at 78% 18%, rgba(146, 146, 244, 0.55) 0%, transparent 70%),
    radial-gradient(46% 40% at 14% 78%, rgba(243, 240, 235, 0.7) 0%, transparent 70%),
    radial-gradient(50% 46% at 88% 88%, rgba(37, 30, 72, 0.22) 0%, transparent 65%),
    linear-gradient(135deg, #EFEDFB 0%, #E4E1F7 22%, #C9C6F0 42%, #9292F4 58%, #C9C6F0 74%, #F2F0E9 100%);
}

/* luzes desfocadas, à deriva — a "maré" respirando devagar */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
  z-index: 0;
}
.hero::before {
  width: 55%;
  left: -14%;
  top: -16%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 72%);
  animation: luz-deriva-a 30s ease-in-out infinite alternate;
}
.hero::after {
  width: 50%;
  right: -10%;
  bottom: -16%;
  background: radial-gradient(circle, rgba(146, 146, 244, 0.5) 0%, transparent 72%);
  animation: luz-deriva-b 36s ease-in-out infinite alternate;
}

@keyframes luz-deriva-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(6%, 8%) scale(1.08); }
}
@keyframes luz-deriva-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-8%, -6%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 130px 24px 140px;
}

.hero h1 {
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 30px rgba(255, 255, 255, 0.45);
}

.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 560px;
  margin: 0 auto 2.4rem;
  color: var(--grafite-suave);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(37, 30, 72, 0.65);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(rgba(37, 30, 72, 0.55), transparent);
  animation: descer 2.2s ease-in-out infinite;
}
@keyframes descer {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- seções ---------- */

section { padding: 110px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { text-wrap: balance; }
.section-head p { margin-top: 1rem; color: var(--grafite-suave); font-size: 1.1rem; text-wrap: balance; }

/* ícones das seções */
.ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--lavanda-suave);
  color: var(--roxo);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ---------- nichos ---------- */

.nichos { padding: 72px 0; }

.nichos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.nicho {
  background: var(--branco);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nicho .ico { margin-bottom: 10px; }
.nicho strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--roxo-profundo);
}
.nicho span { font-size: 0.98rem; color: var(--grafite-suave); }

/* ---------- serviços ---------- */

.servicos { background: var(--branco); border-radius: 56px 56px 0 0; }

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.servico {
  background: var(--areia);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.servico:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }

.servico-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.servico .ico { background: var(--branco); }
.servico .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--roxo);
}

.servico h3 { margin-bottom: 12px; }
.servico p { color: var(--grafite-suave); margin-bottom: 18px; }

.servico ul { list-style: none; display: grid; gap: 8px; }
.servico li {
  font-size: 0.95rem;
  color: var(--grafite);
  padding-left: 22px;
  position: relative;
}
.servico li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  background: var(--lavanda);
}

/* ---------- manifesto ---------- */

.manifesto {
  background:
    radial-gradient(100% 80% at 80% 0%, rgba(146, 146, 244, 0.35) 0%, transparent 60%),
    var(--branco);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.manifesto-texto p { margin-bottom: 1.2rem; font-size: 1.08rem; color: var(--grafite-suave); }
.manifesto-texto p:first-of-type {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--roxo-profundo);
}

.manifesto-img {
  position: relative;
}
.manifesto-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.valores {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.valor {
  border-top: 1px solid var(--cinza);
  padding-top: 20px;
}
.valor .ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  margin-bottom: 14px;
}
.valor span { text-wrap: pretty; }
.valor strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--roxo-profundo);
  display: block;
  margin-bottom: 6px;
}
.valor span { font-size: 0.95rem; color: var(--grafite-suave); }

/* ---------- time ---------- */

.time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.pessoa {
  background: var(--branco);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pessoa:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }

.pessoa figure {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
}
.pessoa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.pessoa:hover img { transform: scale(1.04); }

.pessoa-info { padding: 28px 30px 32px; }
.pessoa-info h3 { margin-bottom: 2px; }
.pessoa-info .cargo {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--roxo);
  display: block;
  margin-bottom: 14px;
}
.pessoa-info p { font-size: 0.99rem; color: var(--grafite-suave); margin-bottom: 18px; }

.pessoa-info .zap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--roxo-profundo);
  text-decoration: none;
  border-bottom: 1px solid var(--lavanda);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.pessoa-info .zap:hover { color: var(--roxo); border-color: var(--roxo); }

/* ---------- portfólio ---------- */

.portfolio { background: var(--roxo-profundo); color: var(--branco); border-radius: 56px; }
.portfolio h2, .portfolio h3 { color: var(--branco); }
.portfolio .section-head p { color: rgba(255, 255, 255, 0.78); }
.portfolio .eyebrow { color: var(--lavanda); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.case-card {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: rgba(146, 146, 244, 0.15);
  display: block;
}
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-card:hover img,
.case-card:focus-visible img { transform: scale(1.05); }
.case-card:focus-visible { outline: 3px solid var(--lavanda); outline-offset: 3px; }

.case-info {
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  padding: 44px 22px 18px;
  background: linear-gradient(transparent, rgba(30, 24, 58, 0.72));
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  pointer-events: none;
}
.case-info strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--branco);
}
.case-info em {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 24, 58, 0.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lightbox figure {
  max-width: min(86vw, 900px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(86vh - 60px);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.lightbox figcaption {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--branco);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--transition);
  z-index: 210;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lb-prev { left: 10px; top: auto; bottom: 20px; transform: none; }
  .lb-next { right: 10px; top: auto; bottom: 20px; transform: none; }
}

.portfolio-cta { text-align: center; }
.portfolio-cta p { margin-bottom: 22px; color: rgba(255, 255, 255, 0.85); }

/* ---------- processo ---------- */

.processo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: passo;
}

.passo {
  background: var(--branco);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.passo::before {
  counter-increment: passo;
  content: counter(passo, decimal-leading-zero);
  font-family: var(--serif);
  font-style: italic;
  color: var(--roxo);
  font-size: 2.2rem;
  display: block;
  margin-bottom: 14px;
}
.passo h3 { font-size: 1.3rem; margin-bottom: 8px; }
.passo p { font-size: 0.96rem; color: var(--grafite-suave); }

/* ---------- contato ---------- */

.contato {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(146, 146, 244, 0.5) 0%, transparent 55%),
    linear-gradient(170deg, #F8F7F2 0%, #EAE8F5 60%, #D6D3F0 100%);
  border-radius: 56px 56px 0 0;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contato-info h2 { margin-bottom: 1.2rem; }
.contato-info > p { margin-bottom: 2rem; color: var(--grafite-suave); max-width: 420px; }

.contato-canais { display: grid; gap: 14px; margin-bottom: 2.2rem; }
.canal {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--roxo-profundo);
  font-weight: 500;
  transition: transform var(--transition);
}
.canal:hover { transform: translateX(4px); }
.canal .ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--branco);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
  color: var(--roxo);
}

.form-card {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-float);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: 0.98rem; color: var(--grafite-suave); margin-bottom: 26px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-size: 0.88rem; font-weight: 600; color: var(--roxo-profundo); }
.campo input,
.campo textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--grafite);
  border: 1px solid var(--cinza);
  border-radius: 12px;
  padding: 13px 16px;
  background: var(--areia);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--roxo);
  box-shadow: 0 0 0 3px rgba(146, 146, 244, 0.18);
}

.form-card .btn { width: 100%; justify-content: center; margin-top: 22px; }
.form-msg {
  display: none;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--roxo-profundo);
  background: var(--lavanda-suave);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}
.form-msg.show { display: block; }

/* ---------- footer ---------- */

.footer {
  background: var(--roxo-profundo);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 36px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.footer-logo img { height: 60px; filter: brightness(0) invert(1); }

.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: rgba(146, 146, 244, 0.75);
  max-width: 300px;
  line-height: 1.5;
}

.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--branco); }

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- whatsapp flutuante ---------- */

.zap-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition);
}
.zap-float:hover { transform: scale(1.08); }

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after, .hero-scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsivo ---------- */

@media (max-width: 960px) {
  section { padding: 80px 0; }

  .servicos-grid, .manifesto-grid, .contato-grid, .time-grid { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 56px; }
  .manifesto-img { order: -1; max-width: 480px; }
  .valores { grid-template-columns: repeat(2, 1fr); }
  .processo-grid { grid-template-columns: repeat(2, 1fr); }
  .nichos-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio { border-radius: 36px; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(243, 240, 235, 0.98);
    backdrop-filter: blur(18px);
    gap: 28px;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links.open { transform: none; }
  .nav-links a { color: var(--roxo-profundo) !important; font-size: 1.3rem; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .form-card { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .valores, .processo-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
