/* ==========================================================================
   JDM Estamparia — Design System
   Paleta: branco / preto / azul da marca / cinza claro
   Tipografia: Fraunces (display) + Manrope (corpo)
   ========================================================================== */

:root {
  --white: #ffffff;
  --ink: #14161c;
  --ink-soft: #2b2e38;
  --gray-100: #f5f6f8;
  --gray-200: #eceef2;
  --gray-300: #dbdee5;
  --gray-500: #8a92a3;
  --gray-600: #5b6472;

  --blue-900: #0c2c66;
  --blue-700: #12459b;
  --blue-600: #1a56c4;
  --blue-500: #2568e0;
  --blue-100: #e8f0fd;
  --blue-50: #f3f7fe;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", -apple-system, sans-serif;

  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(20, 22, 28, 0.06);
  --shadow-md: 0 12px 32px rgba(12, 44, 102, 0.12);
  --shadow-lg: 0 24px 60px rgba(12, 44, 102, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.05; font-weight: 600; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--blue-600); color: var(--white); }

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

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section--tight { padding: 72px 0; }
@media (max-width: 780px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--blue-600);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.01em;
}
.section-head p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); transform: translateY(-3px); }
.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border-color: var(--blue-600);
}
.btn-outline:hover { background: var(--blue-600); color: var(--white); transform: translateY(-3px); }
.btn-sm { padding: 11px 20px; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; transition: height 0.4s var(--ease); }
.site-header.is-scrolled .brand img { height: 36px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  transition: color 0.4s var(--ease);
  letter-spacing: -0.01em;
}
.site-header.is-scrolled .brand-name { color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  padding: 4px 0;
  transition: color 0.4s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--blue-500);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.site-header.is-scrolled .nav-links a { color: var(--ink-soft); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  position: relative;
  z-index: 110;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.site-header.is-scrolled .nav-toggle { border-color: rgba(20,22,28,0.25); }
.site-header.is-scrolled .nav-toggle span, .site-header.is-scrolled .nav-toggle span::before, .site-header.is-scrolled .nav-toggle span::after { background: var(--ink); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); top: 0; background: var(--ink) !important; }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); top: 0; background: var(--ink) !important; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
    pointer-events: none;
  }
  .nav-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { color: var(--ink); font-size: 1.4rem; }
  .nav-links a::after { background: var(--blue-600); }
  .header-actions .btn-primary { display: none; }
  .nav-open .header-actions .btn-primary {
    display: inline-flex; position: fixed; bottom: 40px; left: 50%;
    transform: translateX(-50%); z-index: 105;
  }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10,14,26,0.86) 0%, rgba(10,14,26,0.45) 45%, rgba(10,14,26,0.15) 70%, rgba(10,14,26,0.35) 100%),
    linear-gradient(100deg, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0) 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 100px;
  color: var(--white);
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue-500);
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  line-height: 1.6;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-scroll {
  position: absolute;
  bottom: 36px; right: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: "";
  writing-mode: horizontal-tb;
  width: 1px; height: 46px;
  background: linear-gradient(rgba(255,255,255,0.8), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@media (max-width: 780px) {
  .hero-scroll { display: none; }
  .hero-content { padding: 130px 0 70px; }
}

/* ---------- Sobre ---------- */
.about { background: var(--gray-100); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media video { width: 100%; height: 100%; object-fit: cover; }
.about-media::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
  border-radius: inherit;
}
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); letter-spacing: -0.01em; }
.about-copy p { margin-top: 20px; color: var(--gray-600); font-size: 1.05rem; line-height: 1.75; }
.about-copy p + p { margin-top: 16px; }
.about-stats {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
}
.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--blue-600);
}
.about-stat span { font-size: 0.82rem; color: var(--gray-600); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ---------- Diferenciais ---------- */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.dif-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.dif-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.dif-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
}
.dif-icon img { width: 34px; height: 34px; object-fit: contain; }
.dif-card h3 { font-size: 1.15rem; font-weight: 700; font-family: var(--font-body); }
.dif-card p { margin-top: 10px; color: var(--gray-600); font-size: 0.94rem; line-height: 1.55; }
@media (max-width: 900px) { .diferenciais-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .diferenciais-grid { grid-template-columns: 1fr; } }

/* ---------- Produtos ---------- */
.produtos { background: var(--gray-100); }
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.prod-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
}
.prod-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.prod-card:hover img { transform: scale(1.08); }
.prod-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,14,26,0.92) 0%, rgba(10,14,26,0.15) 55%, rgba(10,14,26,0) 75%);
}
.prod-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px;
  color: var(--white);
}
.prod-body h3 { font-size: 1.05rem; font-weight: 700; font-family: var(--font-body); }
.prod-body .prod-tags { margin: 8px 0 16px; font-size: 0.78rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.prod-body .btn { width: 100%; }
@media (max-width: 1080px) { .produtos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .produtos-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .prod-body { padding: 16px; } }
@media (max-width: 480px) { .produtos-grid { grid-template-columns: 1fr; } }

/* ---------- Processo ---------- */
.processo-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.processo-item { position: relative; text-align: left; }
.processo-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.05em;
}
.processo-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 14px 0 18px;
  background: var(--blue-50);
}
.processo-icon img { width: 100%; height: 100%; object-fit: cover; }
.processo-item h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; }
.processo-item p { margin-top: 8px; font-size: 0.86rem; color: var(--gray-600); line-height: 1.5; }
@media (max-width: 900px) { .processo-track { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; } }
@media (max-width: 560px) { .processo-track { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Galeria ---------- */
.galeria { background: var(--ink); color: var(--white); overflow: hidden; }
.galeria .section-head p { color: rgba(255,255,255,0.65); }
.galeria .eyebrow { color: var(--blue-500); }
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.masonry-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: #0b0d13;
}
.masonry-item video {
  width: 100%; display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.masonry-item:hover video { transform: scale(1.05); }
.masonry-item::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  border-radius: inherit;
  pointer-events: none;
}
@media (max-width: 720px) { .masonry { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 10, 16, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox video { max-width: min(90vw, 640px); max-height: 82vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 26px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  background: none; border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  position: relative;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-q .plus::before { left: 9px; right: 9px; top: 14px; height: 1.5px; }
.faq-q .plus::after { top: 9px; bottom: 9px; left: 14px; width: 1.5px; }
.faq-item.is-open .faq-q .plus { background: var(--blue-600); border-color: var(--blue-600); transform: rotate(180deg); }
.faq-item.is-open .faq-q .plus::before, .faq-item.is-open .faq-q .plus::after { background: var(--white); }
.faq-item.is-open .faq-q .plus::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a p { padding: 0 4px 26px; color: var(--gray-600); line-height: 1.65; max-width: 640px; }

/* ---------- CTA Final ---------- */
.cta-final {
  position: relative;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700) 60%, var(--blue-600));
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta-final::before {
  content: "";
  position: absolute; inset: -40% -10%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.14), transparent 55%);
}
.cta-final h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -0.02em; max-width: 760px; margin: 0 auto; text-wrap: balance; }
.cta-final p { margin-top: 18px; font-size: 1.1rem; color: rgba(255,255,255,0.82); }
.cta-final .hero-actions { justify-content: center; margin-top: 36px; }

/* ---------- Contato ---------- */
#contato.section { padding: 60px 0; }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}
.contato-info { text-align: center; }
.contato-info .eyebrow { justify-content: center; }
.contato-info .eyebrow::before { display: none; }
.contato-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.contato-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contato-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.contato-list .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contato-list strong { display: block; font-size: 0.95rem; }
.contato-list span, .contato-list a { color: var(--gray-600); font-size: 0.92rem; line-height: 1.5; }
.contato-list a:hover { color: var(--blue-600); }
.contato-social { margin-top: 18px; display: flex; gap: 12px; justify-content: center; }
.contato-social a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contato-social a:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); transform: translateY(-3px); }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3.4;
  border: 1px solid var(--gray-200);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) {
  .contato-list { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 26px 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center; justify-content: center;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.footer-legal a:hover { color: var(--white); }
@media (max-width: 700px) {
  .footer-bottom { flex-direction: column; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #22c35e;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(34, 195, 94, 0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 36px rgba(34, 195, 94, 0.55); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 195, 94, 0.55);
  animation: wapulse 2.4s ease-out infinite;
}
@keyframes wapulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.23s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.30s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.37s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.44s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.51s; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 150px 0 100px; }
.legal-page .wrap { max-width: 860px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-page .updated { margin-top: 12px; color: var(--gray-600); font-size: 0.9rem; }
.legal-page h2 { font-family: var(--font-body); font-size: 1.3rem; margin-top: 44px; margin-bottom: 14px; }
.legal-page p, .legal-page li { color: var(--gray-600); line-height: 1.75; font-size: 1rem; }
.legal-page ul { margin-top: 12px; display: grid; gap: 10px; padding-left: 22px; list-style: disc; }
.legal-page a { color: var(--blue-600); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
