/* =========================================================
   X25 Cursos — Oficina de Impressão 3D para Iniciantes
   ========================================================= */

:root {
  /* Marca */
  --orange: #f15a24;          /* laranja da logomarca */
  --neon: #ff6a1a;            /* laranja neon — CTAs e destaques */
  --neon-hi: #ff8a3d;
  --neon-glow: rgba(255, 106, 26, .45);
  --neon-soft: rgba(255, 106, 26, .12);

  /* Grafites e cinzas */
  --g-950: #111113;
  --g-900: #161618;
  --g-850: #1c1c1f;
  --g-800: #232327;
  --g-700: #2e2e33;
  --g-600: #3c3c42;          /* cinza da logomarca */
  --g-400: #7d7d86;
  --g-300: #a4a4ac;
  --g-200: #d5d5da;
  --g-100: #ececef;
  --paper: #f4f3f1;
  --white: #fff;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--g-800);
  background: var(--g-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--neon); color: var(--g-950); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Temas de seção ---------- */
.theme-dark { background: var(--g-900); color: var(--g-200); }
.theme-dark h1, .theme-dark h2, .theme-dark h3 { color: var(--white); }
.theme-light { background: var(--paper); color: var(--g-700); }
.theme-light h2, .theme-light h3 { color: var(--g-950); }
.theme-gray { background: var(--g-100); color: var(--g-700); }
.theme-gray h2, .theme-gray h3 { color: var(--g-950); }

section { position: relative; }

/* ---------- Tipografia ---------- */
.h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); font-weight: 700; }
.h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 700; }
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.7; max-width: 58ch; }
.theme-dark .lead { color: var(--g-300); }
.hl { color: var(--neon); }
.hl-dark { color: var(--orange); }

.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 1.1rem; color: var(--g-400);
}
.theme-dark .kicker { color: var(--g-300); }
.kicker .mono {
  color: var(--neon); letter-spacing: .05em;
  padding: .2em .55em; border: 1px solid currentColor; border-radius: 6px; font-size: .72rem;
}
.kicker .ic { color: var(--neon); }

/* ---------- Botões ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--bh); padding: 0 1.6em; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { --bh: 40px; padding: 0 1.1em; font-size: .78rem; border-radius: 10px; }
.btn-lg { --bh: 62px; padding: 0 2.2em; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--neon); color: var(--g-950);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, .6), 0 10px 30px -8px var(--neon-glow);
}
.btn-primary:hover { background: var(--neon-hi); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--neon-hi), 0 16px 40px -8px var(--neon-glow), 0 0 28px -4px var(--neon-glow); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { color: var(--white); border-color: rgba(255, 106, 26, .55); background: rgba(255, 106, 26, .06); }
.btn-outline:hover { background: var(--neon); color: var(--g-950); border-color: var(--neon); box-shadow: 0 0 22px -4px var(--neon-glow); }

.btn-dark { background: var(--g-900); color: var(--white); }
.btn-dark:hover { background: var(--g-950); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(0,0,0,.45); }
.btn-ghost-dark { color: var(--g-900); border-color: var(--g-200); background: var(--white); text-transform: none; letter-spacing: .01em; }
.btn-ghost-dark:hover { border-color: var(--neon); color: var(--g-950); transform: translateY(-2px); box-shadow: 0 0 0 3px var(--neon-soft); }
.btn-ghost-dark .ic { color: #1fa855; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 2rem;
  font-size: .9rem; font-weight: 500; color: var(--g-300); text-decoration: none;
  border-bottom: 1px solid var(--g-700); padding-bottom: .3em; transition: color .2s, border-color .2s;
}
.link-arrow:hover { color: var(--neon); border-color: var(--neon); }
.link-arrow .ic { width: 1em; height: 1em; }

/* Cantos tipo "mira" (bordas iluminadas) */
.corner { position: absolute; width: 18px; height: 18px; pointer-events: none; border-color: var(--neon); border-style: solid; }
.corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: var(--radius-lg); }
.corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: var(--radius-lg); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .3s, backdrop-filter .3s, box-shadow .3s, transform .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(17, 17, 19, .82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand img { width: 108px; height: auto; }
.main-nav { display: flex; gap: 2rem; margin-left: auto; }
.main-nav a { color: var(--g-300); text-decoration: none; font-size: .88rem; font-weight: 500; position: relative; padding: .4em 0; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--neon); transition: right .3s var(--ease); }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { right: 0; }

/* =========================================================
   01 · HERO
   ========================================================= */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 28px) 0 64px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 70% 10%, #1f1f23 0%, var(--g-900) 55%, var(--g-950) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 80% at 60% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 80% at 60% 50%, #000 30%, transparent 85%);
}
.hero-glow {
  position: absolute; width: 760px; height: 420px; left: 50%; bottom: -140px; transform: translateX(-30%);
  background: radial-gradient(closest-side, rgba(255, 106, 26, .22), transparent);
  filter: blur(10px);
}

.hero-layout {
  display: grid; align-items: center; gap: 32px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(330px, .9fr);
  grid-template-areas: "copy visual form";
}
.hero-copy { grid-area: copy; }
.hero-visual { grid-area: visual; }
.hero-form-wrap { grid-area: form; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--g-300);
  padding: .55em 1.1em .55em .9em; border: 1px solid var(--g-700); border-radius: 999px; background: rgba(255,255,255,.02);
  max-width: 100%;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero-title {
  font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem);
  font-weight: 800; line-height: 1; letter-spacing: -.035em;
}
.hero-title .hl { display: block; position: relative; }
.hero-sub { margin-top: 1.5rem; font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 1.7; color: var(--g-300); max-width: 48ch; }
.hero-sub strong { color: var(--white); font-weight: 600; }

.hero-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.hero-specs li {
  display: flex; align-items: center; gap: .6em; font-size: .85rem; color: var(--g-300);
  padding: .65em 1em; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
}
.hero-specs .ic { color: var(--neon); }
.hero-specs strong { color: var(--white); font-weight: 600; }

/* Visual: impressora recortada */
.hero-layout > * { min-width: 0; }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hv-stage { position: relative; width: 100%; max-width: 420px; }
.hv-printer {
  position: relative; z-index: 2; width: 100%;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)) drop-shadow(0 0 1px rgba(255,255,255,.2));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hv-plate {
  position: absolute; z-index: 1; left: -6%; right: -6%; bottom: -8%; height: 34%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 26, .5), rgba(255, 106, 26, 0));
  filter: blur(16px); animation: glow 4s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.hv-axis-z {
  position: absolute; left: 2%; top: 10%; bottom: 22%; width: 1px;
  background: linear-gradient(var(--neon), transparent); opacity: .7;
}
.hv-axis-z span { position: absolute; top: -22px; left: -4px; font: 600 .7rem var(--mono); color: var(--neon); }
.hv-axis-z::before, .hv-axis-z::after { content: ""; position: absolute; left: -4px; width: 9px; height: 1px; background: var(--neon); }
.hv-axis-z::before { top: 30%; } .hv-axis-z::after { top: 60%; }

.hv-chip {
  position: absolute; z-index: 3; right: -8%; top: -16%;
  display: grid; gap: 4px; padding: 10px 12px; min-width: 150px;
  background: rgba(22, 22, 24, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 106, 26, .4); border-radius: 10px; box-shadow: 0 0 24px -8px var(--neon-glow);
  font-size: .72rem; color: var(--g-300);
}
.hv-chip .mono { color: var(--neon); font-size: .68rem; }
.hv-chip b { color: var(--white); font-family: var(--mono); font-weight: 500; }
.hv-bar { display: block; height: 3px; border-radius: 3px; background: var(--g-700); overflow: hidden; }
.hv-bar i { display: block; height: 100%; width: 0; background: var(--neon); box-shadow: 0 0 8px var(--neon); transition: width .4s linear; }

/* Formulário */
.lead-form {
  position: relative; padding: 28px 26px 22px;
  background: linear-gradient(180deg, rgba(38, 38, 43, .92), rgba(26, 26, 29, .94));
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255, 106, 26, .14), 0 0 48px -20px var(--neon-glow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.form-head { margin-bottom: 18px; }
.form-kicker { font-size: .7rem; color: var(--neon); margin-bottom: 6px; }
.form-title { font-size: 1.55rem; font-weight: 700; }
.form-desc { margin-top: 6px; font-size: .88rem; line-height: 1.55; color: var(--g-300); }

.field { position: relative; margin-bottom: 12px; }
.field input {
  width: 100%; height: 56px; padding: 22px 16px 6px; border-radius: 12px;
  font: 500 1rem var(--font); color: var(--white);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none;
}
.field input:hover { border-color: rgba(255,255,255,.22); }
.field input:focus { outline: none; border-color: var(--neon); background: rgba(255, 106, 26, .05); box-shadow: 0 0 0 4px rgba(255, 106, 26, .14); }
.field label {
  position: absolute; left: 17px; top: 18px; font-size: .95rem; color: var(--g-400); pointer-events: none;
  transform-origin: left top; transition: transform .2s var(--ease), color .2s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--g-300); }
.field input:focus + label { color: var(--neon); }
.field.is-valid input { border-color: rgba(64, 201, 124, .55); }
.field.is-invalid input { border-color: #ff5a5a; box-shadow: 0 0 0 4px rgba(255, 90, 90, .12); }
.field.is-invalid label { color: #ff8c8c; }
.field-error { font-size: .78rem; color: #ff8c8c; min-height: 0; margin-top: 0; transition: margin .2s; }
.field.is-invalid .field-error { margin-top: 5px; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--white); -webkit-box-shadow: 0 0 0 40px #26262b inset; caret-color: var(--white); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lead-form .btn-primary { margin-top: 6px; --bh: 58px; font-size: .9rem; }
.btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(17,17,19,.25); border-top-color: var(--g-950); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lead-form.is-loading .btn-primary { pointer-events: none; opacity: .85; }
.lead-form.is-loading .btn-spinner { display: inline-block; }
.lead-form.is-loading .btn-ic { display: none; }
.form-note { margin-top: 12px; font-size: .75rem; color: var(--g-400); text-align: center; }

.form-status { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: .88rem; line-height: 1.5; }
.form-status:focus { outline: none; }
.form-status.is-visible { display: flex; gap: 12px; align-items: flex-start; animation: rise .4s var(--ease); }
.form-status .ic { margin-top: 1px; width: 22px; height: 22px; }
.form-status strong { display: block; color: var(--white); margin-bottom: 2px; }
.form-status a { color: var(--neon); font-weight: 600; }
.form-status.ok { background: rgba(64, 201, 124, .1); border: 1px solid rgba(64, 201, 124, .35); color: var(--g-200); }

/* ---- Card do formulário em branco (destaque sobre o hero escuro) ---- */
.lead-form {
  background: var(--white); color: var(--g-700);
  border: 1px solid var(--white);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255, 106, 26, .35), 0 0 60px -18px var(--neon-glow);
}
.lead-form .form-title { color: var(--g-950); }
.lead-form .form-kicker { color: var(--orange); }
.lead-form .form-desc { color: var(--g-400); }
.lead-form .field input { color: var(--g-950); background: var(--g-100); border-color: var(--g-200); }
.lead-form .field input:hover { border-color: var(--g-300); }
.lead-form .field input:focus { background: var(--white); border-color: var(--neon); box-shadow: 0 0 0 4px rgba(255, 106, 26, .16); }
.lead-form .field label { color: var(--g-400); }
.lead-form .field input:not(:placeholder-shown) + label { color: var(--g-400); }
.lead-form .field input:focus + label { color: var(--orange); }
.lead-form .field.is-valid input { border-color: #3fb877; }
.lead-form .field.is-invalid input { border-color: #e04343; box-shadow: 0 0 0 4px rgba(224, 67, 67, .12); }
.lead-form .field.is-invalid label, .lead-form .field-error { color: #d23a3a; }
.lead-form .field input:-webkit-autofill { -webkit-text-fill-color: var(--g-950); -webkit-box-shadow: 0 0 0 40px var(--g-100) inset; caret-color: var(--g-950); }
.lead-form .form-note { color: var(--g-400); }
.lead-form .form-status { color: var(--g-700); }
.lead-form .form-status strong { color: var(--g-950); }
.lead-form .form-status a { color: var(--orange); }
.lead-form .form-status.step { background: #fff3ec; border-color: rgba(241, 90, 36, .45); }
.lead-form .form-status.ok { background: #eefaf3; border-color: rgba(63, 184, 119, .5); }
.lead-form .form-status.ok .ic { color: #2f9e62; }
.lead-form .form-status.err { background: #fdeeee; border-color: rgba(224, 67, 67, .45); }
.lead-form .form-status.err .ic { color: #d23a3a; }
.form-status.ok .ic { color: #40c97c; }
.form-status.step { background: var(--neon-soft); border: 1px solid rgba(255, 106, 26, .4); color: var(--g-200); }
.form-status.step .ic { color: var(--neon); }
.form-status.err { background: rgba(255, 90, 90, .08); border: 1px solid rgba(255, 90, 90, .35); color: var(--g-200); }
.form-status.err .ic { color: #ff7373; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.lead-form.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 1px var(--neon), 0 0 0 0 var(--neon-glow); } 40% { box-shadow: 0 0 0 2px var(--neon), 0 0 60px 6px var(--neon-glow); } }

/* Régua de camadas no rodapé do hero */
.layer-ruler {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 1px, transparent 1px 12px) bottom / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, rgba(255, 106, 26, .55) 0 1px, transparent 1px 120px) bottom / 100% 16px no-repeat;
  opacity: .6;
}

/* =========================================================
   02 · CURIOSIDADE
   ========================================================= */
.curiosity { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.curiosity::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.025) 0 1px, transparent 1px 7px);
  mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.curiosity-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; }
.curiosity .lead { margin-top: 1.4rem; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 2.8rem; counter-reset: p; }
.process li { position: relative; padding: 0 12px 0 0; display: grid; gap: 2px; align-content: start; }
.process li:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; left: 52px; right: 8px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--g-300) 0 4px, transparent 4px 8px);
}
.p-ic {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 12px;
  background: var(--white); color: var(--orange); border: 1px solid var(--g-200);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.2); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.process li:hover .p-ic { transform: translateY(-3px); border-color: var(--neon); box-shadow: 0 0 0 4px var(--neon-soft); }
.p-n { font-size: .68rem; color: var(--g-400); }
.process strong { font-size: .98rem; color: var(--g-950); font-weight: 600; line-height: 1.3; }
.process small { font-size: .8rem; color: var(--g-400); line-height: 1.4; }

/* Colagem */
.collage { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; justify-self: end; width: 100%; }
.collage figure { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.collage figure:hover img { transform: scale(1.05); }
.cl-main { left: 0; top: 0; width: 64%; height: 82%; }
.cl-side { right: 0; bottom: 0; width: 44%; height: 54%; border: 6px solid var(--paper); }
.cl-cut { position: absolute; right: 4%; top: 2%; width: 27%; z-index: 3; filter: drop-shadow(0 18px 22px rgba(0,0,0,.3)); animation: float 6s ease-in-out infinite; }
.tag {
  position: absolute; left: 12px; bottom: 12px; font-size: .66rem; color: var(--white);
  padding: .4em .7em; border-radius: 6px; background: rgba(17,17,19,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cl-dim { position: absolute; left: 0; width: 64%; top: calc(82% + 14px); height: 14px; color: var(--orange); }
.cl-z { position: absolute; left: 0; top: calc(82% + 36px); font-size: .68rem; color: var(--g-400); }

/* =========================================================
   03 · EXPERIÊNCIA
   ========================================================= */
.experience {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(255, 106, 26, .07), transparent 70%),
    var(--g-900);
}
.experience::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 50%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 50%);
}
.exp-head { max-width: 860px; position: relative; }
.exp-head .lead { margin-top: 1.4rem; }

.exp-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); margin-top: clamp(48px, 6vw, 80px); align-items: start; position: relative; }

.exp-photo { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(255,255,255,.08); }
.exp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.exp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(17,17,19,.92)); }
.exp-photo figcaption { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 22px; font-size: .92rem; color: var(--g-300); line-height: 1.55; }
.exp-photo figcaption strong { display: block; color: var(--white); font-size: 1.1rem; margin-bottom: 2px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; color: var(--neon); text-transform: uppercase; margin-bottom: 10px; padding: .35em .7em; border: 1px solid rgba(255,106,26,.45); border-radius: 6px; background: rgba(17,17,19,.6); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); animation: pulse 1.4s infinite; }

.modules { display: grid; gap: 0; }
.module {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 22px;
  padding: 30px 0 30px; border-top: 1px solid var(--g-700);
}
.module:last-child { border-bottom: 1px solid var(--g-700); }
.module::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--neon);
  box-shadow: 0 0 10px var(--neon); transition: width .6s var(--ease);
}
.module:hover::before { width: 100%; }
.m-n { position: absolute; right: 0; top: 30px; font-size: .75rem; color: var(--g-400); transition: color .3s; }
.module:hover .m-n { color: var(--neon); }
.m-ic {
  grid-row: 1 / span 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  color: var(--neon); background: rgba(255, 106, 26, .07); border: 1px solid rgba(255, 106, 26, .3);
  transition: background-color .3s, box-shadow .3s;
}
.m-ic .ic { width: 26px; height: 26px; }
.module:hover .m-ic { background: rgba(255, 106, 26, .14); box-shadow: 0 0 22px -6px var(--neon-glow); }
.m-body h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 600; padding-right: 40px; }
.m-body p { margin-top: 8px; color: var(--g-300); font-size: .95rem; line-height: 1.7; max-width: 56ch; }

/* Faixa do projeto (chaveiro) */
.project-band {
  position: relative; margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(120deg, #26262b, #1b1b1e 60%);
  border: 1px solid rgba(255, 106, 26, .35);
  box-shadow: 0 0 0 1px rgba(255,106,26,.08) inset, 0 0 60px -30px var(--neon-glow);
}
.project-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 5px);
  mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000);
}
.pb-copy { position: relative; }
.pb-copy .h3 { max-width: 18ch; }
.pb-copy p:not(.kicker) { margin: 1rem 0 1.8rem; color: var(--g-300); max-width: 50ch; }

.pb-visual { position: relative; display: grid; place-items: center; min-height: 240px; }
.kc { position: relative; display: flex; align-items: center; transform: rotate(-8deg); animation: swing 6s ease-in-out infinite; transform-origin: 20px 50%; }
@keyframes swing { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(-4deg); } }
.kc-ring { position: relative; z-index: 2; width: 58px; height: 58px; border-radius: 50%; border: 6px solid #c4c4cc; margin-right: -34px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 4px 10px rgba(0,0,0,.45); }
.kc-body {
  position: relative; display: grid; place-items: center; min-width: 250px; height: 92px; padding: 0 30px 0 40px; border-radius: 22px 46px 46px 22px;
  background: var(--neon);
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 1px, transparent 1px 4px), linear-gradient(160deg, #ff8a3d, #f15a24);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 20px 40px -14px rgba(0,0,0,.7), 0 0 40px -10px var(--neon-glow);
}
.kc-body::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--g-850); box-shadow: inset 0 2px 3px rgba(0,0,0,.6); }
.kc-text {
  font-weight: 800; font-size: 2rem; letter-spacing: .04em; color: var(--g-950);
  text-shadow: 0 1px 0 rgba(255,255,255,.3), 0 -1px 0 rgba(0,0,0,.15);
}
.kc-text.typing::after { content: "_"; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pb-label { position: absolute; right: 0; bottom: 0; font-size: .66rem; color: var(--g-400); }

.printer-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; max-width: 920px;
  border-left: 2px solid var(--neon); background: rgba(255,255,255,.025); border-radius: 0 12px 12px 0;
  font-size: .88rem; color: var(--g-300); line-height: 1.65;
}
.printer-note .ic { color: var(--neon); margin-top: 3px; }
.printer-note strong { color: var(--white); font-weight: 600; }

/* =========================================================
   04 · PARA QUEM
   ========================================================= */
.audience { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.audience::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; pointer-events: none;
  background-image: linear-gradient(var(--g-200) 1px, transparent 1px), linear-gradient(90deg, var(--g-200) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .7;
  mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.audience-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; position: relative; z-index: 1; }
.aud-head { position: sticky; top: calc(var(--header-h) + 32px); }
.aud-head .lead { margin-top: 1.4rem; }

.stamp {
  display: inline-grid; place-items: center; margin-top: 2.4rem; width: 132px; height: 132px; border-radius: 50%;
  border: 1.5px dashed var(--orange); color: var(--g-900); text-align: center; line-height: 1.1;
  transform: rotate(-10deg); position: relative;
}
.stamp::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid var(--g-200); }
.stamp span { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--g-400); }
.stamp b { font-size: .8rem; font-weight: 800; color: var(--orange); letter-spacing: -.01em; }
.stamp { grid-auto-rows: min-content; align-content: center; gap: 2px; }

.profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.profile {
  position: relative; display: grid; gap: 18px; padding: 28px 26px 30px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--g-200);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.profile:nth-child(even) { transform: translateY(48px); }
.profile:hover { border-color: rgba(241, 90, 36, .6); box-shadow: 0 24px 50px -24px rgba(0,0,0,.25), 0 0 0 4px var(--neon-soft); }
.profile:nth-child(odd):hover { transform: translateY(-4px); }
.profile:nth-child(even):hover { transform: translateY(44px); }
.profile > .ic { width: 42px; height: 42px; padding: 9px; border-radius: 12px; color: var(--white); background: var(--g-900); transition: background-color .3s; }
.profile:hover > .ic { background: var(--orange); }
.profile h3 { font-size: 1.18rem; font-weight: 600; }
.profile p { margin-top: 8px; font-size: .92rem; line-height: 1.65; color: var(--g-400); }
.profile::after { content: ""; position: absolute; right: 22px; top: 26px; width: 8px; height: 8px; border-radius: 2px; background: var(--g-200); transition: background-color .3s, box-shadow .3s; }
.profile:hover::after { background: var(--neon); box-shadow: 0 0 10px var(--neon); }

/* =========================================================
   05 · GALERIA
   ========================================================= */
.gallery { padding: clamp(80px, 10vw, 140px) 0; background: var(--g-950); overflow: hidden; }
.gallery::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.gal-head { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.gal-head .h2 { max-width: 14ch; }

.gal-grid {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 15vw, 200px); grid-auto-flow: dense; gap: 14px;
}
.g-item {
  position: relative; grid-row: span 2; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--g-800); isolation: isolate; text-align: left;
}
.g-item.g-tall { grid-row: span 3; }
.g-item.g-wide { grid-column: span 2; grid-row: span 2; }
/* posicionamento explícito no desktop: 4 colunas × 7 linhas, sem buracos */
@media (min-width: 961px) {
  .gal-grid { grid-template-rows: repeat(7, clamp(150px, 15vw, 200px)); }
  .g-item:nth-child(1)  { grid-area: 1 / 1 / 4 / 2; }   /* mascote */
  .g-item:nth-child(2)  { grid-area: 1 / 2 / 3 / 4; }   /* beagle */
  .g-item:nth-child(3)  { grid-area: 1 / 4 / 3 / 5; }   /* ovo */
  .g-item:nth-child(4)  { grid-area: 3 / 2 / 6 / 3; }   /* pássaro */
  .g-item:nth-child(5)  { grid-area: 3 / 3 / 5 / 4; }   /* miniatura */
  .g-item:nth-child(6)  { grid-area: 3 / 4 / 6 / 5; }   /* escultura */
  .g-item:nth-child(7)  { grid-area: 6 / 1 / 8 / 3; }   /* nome 3D */
  .g-item:nth-child(8)  { grid-area: 4 / 1 / 6 / 2; }   /* topo de bolo */
  .g-item:nth-child(9)  { grid-area: 5 / 3 / 8 / 4; }   /* presépio */
  .g-item:nth-child(10) { grid-area: 6 / 4 / 8 / 5; }   /* árvore */
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; filter: saturate(.92); }
.g-item.g-wide img { object-position: 50% 58%; }
.g-item::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: box-shadow .4s;
}
.g-item::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,12,.82)); opacity: .7; transition: opacity .4s;
}
.g-cap {
  position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 10px;
  font-size: .86rem; font-weight: 500; color: var(--white); transform: translateY(4px); opacity: .9; transition: transform .4s var(--ease), opacity .4s;
}
.g-cap .mono { font-size: .66rem; color: var(--neon); padding: .2em .45em; border: 1px solid rgba(255,106,26,.5); border-radius: 5px; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); filter: saturate(1.05); }
.g-item:hover::before, .g-item:focus-visible::before { box-shadow: inset 0 0 0 1.5px var(--neon), 0 0 30px -6px var(--neon-glow); }
.g-item:hover::after { opacity: 1; }
.g-item:hover .g-cap { transform: none; opacity: 1; }
.g-item:focus-visible { outline-offset: 4px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px 72px; background: rgba(10,10,12,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s ease; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lb-figure { display: grid; gap: 14px; justify-items: center; max-height: 100%; }
.lb-figure img { max-height: calc(100svh - 110px); max-width: min(90vw, 760px); width: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.6); }
.lb-figure figcaption { color: var(--g-200); font-size: .92rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: background-color .2s, border-color .2s; }
.lb-btn:hover { background: var(--neon); border-color: var(--neon); color: var(--g-950); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   06 · LOCALIZAÇÃO
   ========================================================= */
.location { padding: clamp(80px, 10vw, 130px) 0; }
.loc-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.loc-card {
  display: flex; gap: 20px; align-items: center; margin-top: 2rem; padding: 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--g-200); box-shadow: 0 20px 40px -28px rgba(0,0,0,.3);
}
.loc-pin { position: relative; flex: none; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; color: var(--white); background: var(--orange); box-shadow: 0 10px 24px -8px rgba(241, 90, 36, .6); }
.loc-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 20px; border: 1px solid rgba(241, 90, 36, .35); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.loc-pin .ic { width: 28px; height: 28px; }
.loc-lines { display: grid; line-height: 1.5; color: var(--g-400); font-size: .98rem; }
.loc-lines strong { font-size: 1.3rem; color: var(--g-950); font-weight: 700; letter-spacing: -.01em; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.loc-hint { margin-top: 14px; font-size: .85rem; color: var(--g-400); }

.loc-map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--g-200); border: 1px solid var(--g-200); box-shadow: 0 30px 60px -36px rgba(0,0,0,.45); }
.loc-map iframe { width: 100%; height: 100%; border: 0; border-radius: inherit; filter: grayscale(.85) contrast(1.05); transition: filter .5s; display: block; }
.loc-map:hover iframe { filter: none; }

/* =========================================================
   07 · CTA FINAL
   ========================================================= */
.final-cta { padding: clamp(100px, 13vw, 180px) 0; overflow: hidden; text-align: center; background: var(--g-900); isolation: isolate; }
.fc-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(255, 106, 26, .28), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 6px);
}
.fc-bg::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: min(900px, 90%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--neon), transparent); box-shadow: 0 0 20px var(--neon);
}
.fc-inner { position: relative; display: grid; justify-items: center; }
.fc-title { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; max-width: 20ch; text-wrap: balance; }
.nw { white-space: nowrap; }
@media (min-width: 961px) { .kc { transform-origin: 20px 50%; scale: 1.2; } }
.fc-title .hl { display: block; }
.final-cta .lead { margin: 1.6rem auto 2.4rem; }
.fc-cut { position: absolute; z-index: -1; filter: drop-shadow(0 30px 30px rgba(0,0,0,.5)); opacity: .9; }
.fc-cut-l { left: max(-60px, calc(50% - 760px)); bottom: 14%; width: clamp(160px, 20vw, 300px); transform: rotate(-10deg); }
.fc-cut-r { right: max(-30px, calc(50% - 720px)); top: 16%; width: clamp(120px, 14vw, 210px); transform: rotate(8deg); }

/* =========================================================
   08 · OUTRAS OFICINAS
   ========================================================= */
.other-courses { padding: clamp(72px, 9vw, 120px) 0; }
.oc-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.oc-head { position: sticky; top: calc(var(--header-h) + 32px); }
.oc-head .lead { margin: 1.2rem 0 2rem; }
.oc-head .btn-dark .ic { color: #3fd27d; }
.oc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.oc-list li { border-top: 1px solid var(--g-200); }
.oc-list a {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 18px 4px; text-decoration: none; color: var(--g-900); font-weight: 500; font-size: .95rem; line-height: 1.35;
  transition: color .25s, padding .3s var(--ease);
}
.oc-list a::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--orange); transition: width .5s var(--ease);
}
.oc-list .mono { font-size: .7rem; color: var(--g-400); transition: color .25s; }
.oc-list .ic { width: 1.05em; height: 1.05em; color: var(--g-300); transition: transform .3s var(--ease), color .25s; }
.oc-list a:hover, .oc-list a:focus-visible { color: var(--g-950); padding-left: 10px; }
.oc-list a:hover::before, .oc-list a:focus-visible::before { width: 100%; }
.oc-list a:hover .mono, .oc-list a:hover .ic { color: var(--orange); }
.oc-list a:hover .ic { transform: translateX(3px); }

@media (max-width: 960px) {
  .oc-layout { grid-template-columns: 1fr; }
  .oc-head { position: static; }
}
@media (max-width: 640px) {
  .oc-list { grid-template-columns: 1fr; }
  .oc-head .btn { width: 100%; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--g-950); border-top: 1px solid var(--g-800); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; font-size: .85rem; color: var(--g-400); }
.footer-inner img { width: 96px; }
.f-addr { flex: 1 1 auto; }
.f-wa { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; color: var(--g-200); transition: color .2s; }
.f-wa:hover { color: var(--neon); }

/* =========================================================
   WhatsApp flutuante + barra mobile
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); background: #1fa855;
  box-shadow: 0 12px 30px -8px rgba(31, 168, 85, .6), 0 0 0 1px rgba(255,255,255,.1) inset;
  transition: transform .3s var(--ease), bottom .35s var(--ease);
}
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-tip {
  position: absolute; right: 72px; white-space: nowrap; padding: 8px 14px; border-radius: 10px; font-size: .82rem; font-weight: 500;
  background: var(--white); color: var(--g-900); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }

.mobile-bar { display: none; }

/* =========================================================
   Animações de entrada
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .profile[data-reveal]:nth-child(even).is-in { transform: translateY(48px); }
.js .modules .module[data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .modules .module[data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .modules .module[data-reveal]:nth-child(4) { transition-delay: .24s; }
.js .profiles .profile[data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .profiles .profile[data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .profiles .profile[data-reveal]:nth-child(4) { transition-delay: .24s; }
/* depois da entrada, hover volta a ser instantâneo */
.js .profile.is-in.done { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; transition-delay: 0s; }

.hero-copy > *, .hero-visual, .hero-form-wrap { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .3s; }
.hero-visual { animation-delay: .2s; }
.hero-form-wrap { animation-delay: .32s; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1199px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    grid-template-areas: "copy form" "visual form";
    column-gap: 48px; row-gap: 0;
  }
  .hero-visual { min-height: 0; justify-content: flex-start; padding-top: 28px; }
  .hv-stage { max-width: 260px; }
  .hv-chip { right: auto; left: 104%; top: 30%; }
  .hv-axis-z { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }

  .hero { min-height: 0; padding-bottom: 72px; }
  .hero-layout { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "form"; }
  .hero-copy { text-align: left; }
  .hero-visual { justify-content: center; padding: 40px 0 24px; }
  .hv-stage { max-width: min(340px, 74vw); }
  .hv-chip { left: auto; right: -6%; top: -10%; }
  .hero-form-wrap { max-width: 560px; width: 100%; justify-self: center; }
  .link-arrow { display: none; }

  .curiosity-layout, .exp-layout, .audience-layout, .loc-layout, .project-band { grid-template-columns: 1fr; }
  .collage { justify-self: center; max-width: 480px; }
  .exp-photo { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .aud-head { position: static; }
  .stamp { position: absolute; right: 0; top: 0; margin: 0; width: 108px; height: 108px; }
  .aud-head { padding-right: 116px; }
  .gal-head { grid-template-columns: 1fr; gap: 16px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(130px, 30vw, 220px); }
  .pb-visual { min-height: 180px; }
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .eyebrow { font-size: .68rem; letter-spacing: .08em; }
  .hero-title { font-size: clamp(2.3rem, 10.5vw, 2.9rem); }
  .hero-sub { margin-top: 1.2rem; }
  .hero-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 1.5rem; }
  .hero-specs li { flex-direction: column; align-items: flex-start; gap: .4em; padding: .7em .75em; font-size: .76rem; line-height: 1.3; }
  .hero-specs li strong { display: block; }
  .hv-chip { right: -2px; top: -14%; min-width: 132px; }
  .lead-form { padding: 24px 18px 18px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .lead-form .btn-primary { font-size: .84rem; letter-spacing: .04em; }

  .process { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .process li:nth-child(2)::after { display: none; }

  .profiles { grid-template-columns: 1fr; }
  .profile:nth-child(even), .js .profile[data-reveal]:nth-child(even).is-in { transform: none; }
  .profile:nth-child(even):hover { transform: translateY(-4px); }
  .aud-head { padding-right: 0; }
  .stamp { position: relative; margin-top: 1.8rem; }

  .m-n { display: none; }
  .module { column-gap: 16px; }
  .m-ic { width: 44px; height: 44px; }
  .m-body h3 { padding-right: 0; }

  .kc-body { min-width: 200px; height: 76px; }
  .kc-text { font-size: 1.5rem; }
  .kc-ring { width: 44px; height: 44px; border-width: 6px; }

  .gal-grid { gap: 10px; }
  .g-item.g-wide { grid-column: span 2; }
  .g-cap { font-size: .78rem; left: 10px; bottom: 10px; }

  .loc-card { padding: 18px; gap: 16px; }
  .loc-actions .btn { flex: 1 1 100%; }

  .fc-cut-l { display: none; }
  .exp-photo { aspect-ratio: 1 / 1; }
  .exp-photo img { object-position: 50% 78%; }
  .fc-cut-r { width: 96px; right: -24px; top: 6%; opacity: .5; }
  .btn-lg { width: 100%; padding: 0 1.2em; }

  .lightbox { padding: 64px 12px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }

  /* barra fixa de CTA */
  .mobile-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(17,17,19,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-bar .btn { --bh: 50px; font-size: .84rem; }
  .mobile-bar.is-visible { transform: none; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  body.bar-on .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .wa-tip { display: none; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
