/* =========================================================================
   Feitiva — site institucional
   Identidade: off-white frio, grafite, cinza mineral e um único ponto de
   luz âmbar ("aurora"). Tipografia: Albert Sans, uma única família.
   ========================================================================= */

/* ---------- Fontes (hospedadas no próprio site) ---------- */
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/albert-sans-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/albert-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/albert-sans-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f3f2ee;        /* off-white neutro, cor predominante */
  --white: #fbfaf8;        /* branco suave */
  --graphite: #1b1c1e;     /* textos */
  --graphite-2: #3b4045;   /* textos secundários fortes */
  --mineral: #7b8187;      /* cinza mineral */
  --line: #dddbd5;         /* linhas e divisões */
  --line-strong: #c6c4bd;
  --aurora: #e0891f;       /* destaque: ponto de luz */
  --aurora-ink: #8a520b;   /* destaque legível em texto */
  --error: #a3402f;

  --font: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --section-space: clamp(96px, 13vw, 184px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, p { margin: 0; }

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

::selection { background: var(--aurora); color: var(--graphite); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--graphite);
  color: var(--paper);
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}

/* ---------- Tipografia ---------- */
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; }

/* Marcador editorial: — 01  Seção */
.marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--mineral);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.marker-rule { width: 28px; height: 1px; background: currentColor; }
.marker-label { margin-left: 8px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--graphite-2); }

/* Link editorial com seta */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--graphite);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.arrow-link:hover { gap: 18px; }
.arrow-link-quiet { color: var(--graphite-2); border-bottom-color: var(--line-strong); }
.arrow-link-quiet:hover { color: var(--graphite); border-bottom-color: var(--graphite); }

h3 {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-intro {
  color: var(--graphite-2);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  max-width: 34em;
}

/* ---------- Botões e links ---------- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--paper);
  font: 500 15px/1 var(--font);
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.button:hover { background: var(--graphite-2); border-color: var(--graphite-2); }
.button:active { transform: translateY(1px); }

.button-quiet {
  background: transparent;
  color: var(--graphite);
  border-color: var(--line-strong);
}
.button-quiet:hover {
  background: var(--white);
  border-color: var(--graphite);
}

.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; }

.button[disabled] { opacity: 0.55; cursor: progress; }

.text-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 0.35s var(--ease), color 0.25s var(--ease);
}
.text-link:hover { color: var(--aurora-ink); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 84px;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}
.header-cta .plus { font-size: 18px; font-weight: 300; letter-spacing: 0; transition: transform 0.3s var(--ease); }
.header-cta:hover .plus { transform: rotate(90deg); }

.logo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--graphite);
}
.logo-dot { color: var(--aurora); }

.main-nav {
  display: flex;
  gap: clamp(28px, 3.4vw, 52px);
  margin: 0 auto;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.main-nav a {
  position: relative;
  color: var(--graphite-2);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--graphite); }
.main-nav a:hover::after,
.main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.main-nav a[aria-current="true"] { color: var(--graphite); }

.menu-button {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
}
.menu-button-lines,
.menu-button-lines::before {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-button-lines { position: relative; transform: translateY(-4px); }
.menu-button-lines::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
}
.menu-button[aria-expanded="true"] .menu-button-lines { transform: translateY(0) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button-lines::before { transform: translateY(-8px) rotate(-90deg); }

.mobile-menu {
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  padding-bottom: 48px;
}
.mobile-nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ---------- Início (hero) — composição editorial ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); overflow-x: clip; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: 24px;
}

.hero-title {
  grid-column: 1 / span 8;
  grid-row: 1;
  align-self: start;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  padding-top: clamp(4px, 1vw, 16px);
}
.hero-line { display: block; }

.hero-image { margin: 0; overflow: hidden; background: var(--white); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hero-image-main {
  grid-column: 9 / span 4;
  grid-row: 1 / span 2;
  position: relative;
  aspect-ratio: 900 / 1023;
}
.hero-caption {
  grid-column: 9 / span 4;
  grid-row: 3;
  align-self: start;
  margin-top: 14px;
  color: var(--mineral);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-intro {
  grid-column: 1 / span 3;
  grid-row: 2;
  align-self: start;
  margin-top: clamp(48px, 6vw, 88px);
}
.hero-lead {
  color: var(--graphite-2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 22em;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 36px;
}

.hero-image-detail {
  grid-column: 5 / span 3;
  grid-row: 2 / span 2;
  align-self: start;
  margin-top: clamp(64px, 8vw, 120px);
  aspect-ratio: 760 / 462;
  box-shadow: 0 0 0 1px rgba(27, 28, 30, 0.06);
}

.hero-meta {
  grid-column: 1 / span 4;
  grid-row: 3;
  align-self: end;
  margin-top: 56px;
  color: var(--graphite-2);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.meta-sep { margin: 0 22px; color: var(--line-strong); }

.hero-index {
  grid-column: 9 / span 3;
  grid-row: 3;
  align-self: end;
  display: grid;
  gap: 6px;
  margin-top: 48px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-index a { position: relative; color: var(--mineral); padding-left: 40px; transition: color 0.2s var(--ease); }
.hero-index a:hover { color: var(--graphite); }
.hero-index a.is-first { color: var(--graphite); }
.hero-index a.is-first::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 26px;
  height: 1px;
  background: var(--graphite);
}

.monogram {
  grid-column: 12;
  grid-row: 3;
  align-self: end;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border: 1px solid var(--graphite);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  padding-bottom: 4px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.monogram span { color: var(--aurora); }
.monogram:hover { background: var(--graphite); color: var(--paper); }


/* Sequência de entrada única (respeita "reduzir movimento") */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-line,
  .js .hero-intro,
  .js .hero-meta,
  .js .hero-index,
  .js .monogram { opacity: 0; transform: translateY(16px); }
  .js .hero-image { clip-path: inset(100% 0 0 0); }

  .is-loaded .hero-line,
  .is-loaded .hero-intro,
  .is-loaded .hero-meta,
  .is-loaded .hero-index,
  .is-loaded .monogram {
    opacity: 1;
    transform: none;
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .is-loaded .hero-line:nth-child(2) { transition-delay: 0.08s; }
  .is-loaded .hero-intro { transition-delay: 0.35s; }
  .is-loaded .hero-meta,
  .is-loaded .hero-index,
  .is-loaded .monogram { transition-delay: 0.6s; }
  .is-loaded .hero-image {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.15s;
  }
  .is-loaded .hero-image-detail { transition-delay: 0.45s; }
}

/* ---------- Seções ---------- */
.section { padding-top: var(--section-space); }

.section-head {
  align-items: end;
  row-gap: 24px;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head > :first-child { grid-column: 1 / span 6; }
.section-head > .section-intro { grid-column: 8 / span 5; }

/* Sobre */
.about-head { grid-column: 1 / span 7; }
.about-title { font-size: clamp(40px, 4.8vw, 68px); }
.about-text {
  grid-column: 9 / span 4;
  display: grid;
  gap: 1.1em;
  padding-top: 0.5em;
  color: var(--graphite-2);
}
.about-text p:first-child { color: var(--graphite); }

/* Soluções */
.solution-list { border-top: 1px solid var(--graphite); }
.solution {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: baseline;
  padding: clamp(26px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.solution h3 {
  grid-column: 1 / span 6;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.solution p {
  grid-column: 8 / span 5;
  color: var(--graphite-2);
  max-width: 32em;
}

/* Produto */
.product { padding-bottom: 8px; }
.product-kicker {
  margin-top: 18px;
  color: var(--mineral);
  font-size: clamp(17px, 1.35vw, 19px);
}

.product-stage {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 11;
}

.frame {
  position: absolute;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(30, 33, 36, 0.08),
    0 2px 4px rgba(30, 33, 36, 0.04),
    0 40px 80px -40px rgba(30, 33, 36, 0.32);
}
.frame-bar {
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--mineral);
  font-size: 12px;
  letter-spacing: 0.01em;
}
.frame-site { left: 0; top: 0; width: 70%; z-index: 1; }
.frame-admin { right: 0; top: 44%; width: 55%; z-index: 2; }

.frame-phone {
  position: absolute;
  right: 1%;
  top: 0;
  width: 15%;
  z-index: 3;
  padding: 6px;
  border-radius: 26px;
  background: var(--graphite);
  box-shadow: 0 40px 70px -35px rgba(30, 33, 36, 0.5);
}
.frame-phone img { border-radius: 20px; }

.product-stage figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 36%;
  color: var(--mineral);
  font-size: 13px;
  line-height: 1.5;
}

/* Revelação única das telas do produto */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .frame,
  .js [data-reveal] .frame-phone {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  }
  .js [data-reveal] .frame-admin { transition-delay: 0.15s; }
  .js [data-reveal] .frame-phone { transition-delay: 0.3s; }
  .js [data-reveal].is-visible .frame,
  .js [data-reveal].is-visible .frame-phone {
    opacity: 1;
    transform: none;
  }
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(56px, 6vw, 88px);
}
.feature-list li {
  padding-top: 20px;
  border-top: 1px solid var(--graphite);
}
.feature-list p {
  margin-top: 10px;
  color: var(--graphite-2);
  font-size: 16px;
  line-height: 1.55;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(48px, 5vw, 64px);
}

/* Trabalhos */
.work-list { display: grid; gap: clamp(72px, 8vw, 120px); }
.work-item {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}
.work-stage { position: relative; margin: 0; grid-column: 1 / span 8; padding-right: 9%; }
.work-item:nth-child(even) .work-stage { grid-column: 5 / span 8; grid-row: 1; }
.work-item:nth-child(even) .work-text { grid-column: 1 / span 4; grid-row: 1; }
.frame-work { position: relative; }
.frame-phone-work { right: 0; top: auto; bottom: -8%; width: 21%; }
.work-text { grid-column: 10 / span 3; }
.work-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.08;
}
.work-text p { margin: 14px 0 24px; color: var(--graphite-2); font-size: 16px; line-height: 1.6; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .frame-phone-work { transition-delay: 0.2s; }
}
@media (max-width: 860px) {
  .work-item { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .work-stage { padding-right: 0; }
  .frame-work { position: relative; }
  .work-text { max-width: 36em; }
}

/* Processo */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  counter-reset: none;
}
.process-list li {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}
.process-list li:first-child { border-top-color: var(--graphite); }
.process-number {
  display: block;
  margin-bottom: clamp(36px, 4vw, 64px);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--mineral);
  font-variant-numeric: tabular-nums;
}
.process-list p {
  margin-top: 10px;
  color: var(--graphite-2);
  font-size: 16px;
  line-height: 1.55;
}

/* Contato */
.contact { padding-bottom: var(--section-space); }
.contact-intro { grid-column: 1 / span 5; }
.contact-intro h2 { font-size: clamp(44px, 5.4vw, 80px); }
.contact-intro > p:not(.marker) {
  margin-top: 24px;
  color: var(--graphite-2);
  font-size: clamp(17px, 1.35vw, 19px);
  max-width: 24em;
}

.contact-direct {
  display: grid;
  gap: 18px;
  margin: 40px 0 0;
}
.contact-direct div { display: grid; gap: 2px; }
.contact-direct dt { color: var(--mineral); font-size: 14px; }
.contact-direct dd { margin: 0; font-size: 18px; }

.contact-form {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 8px;
}
.field { display: grid; align-content: start; }
.field-wide { grid-column: 1 / -1; }

.field label {
  margin-bottom: 8px;
  color: var(--graphite-2);
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--graphite);
  font: 400 17px/1.5 var(--font);
  padding: 8px 0 10px;
  transition: border-color 0.25s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 132px; }
.field input::placeholder,
.field textarea::placeholder { color: #9fa4a8; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-bottom-color: var(--mineral); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--graphite);
  box-shadow: 0 1px 0 0 var(--graphite);
}

.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--graphite-2);
  border-bottom: 1.5px solid var(--graphite-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { padding-right: 24px; cursor: pointer; }

.field-error {
  min-height: 22px;
  padding-top: 4px;
  color: var(--error);
  font-size: 13px;
  line-height: 1.4;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-bottom-color: var(--error); }

.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 16px;
}
.form-status {
  flex: 1 1 260px;
  color: var(--graphite-2);
  font-size: 15px;
  line-height: 1.5;
}
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--graphite); }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--graphite);
  color: var(--paper);
  padding: clamp(56px, 7vw, 96px) 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 48px;
}
.logo-light { color: var(--paper); font-size: 30px; }
.site-footer .logo { grid-column: 1 / span 4; align-self: start; }

.footer-nav {
  grid-column: 6 / span 3;
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.footer-nav a,
.footer-contact a {
  color: #c9ccca;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--white); }

.footer-contact {
  grid-column: 9 / span 4;
  display: grid;
  gap: 10px;
  align-content: start;
  font-size: 15px;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid #3a3f44;
  color: #93989c;
  font-size: 13px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-title { grid-column: 1 / span 12; }
  .hero-image-main { grid-column: 7 / span 6; grid-row: 2 / span 2; margin-top: 48px; }
  .hero-intro { grid-column: 1 / span 5; grid-row: 2; }
  .hero-image-detail { grid-column: 1 / span 5; grid-row: 3; margin-top: 56px; }
  .hero-meta { grid-column: 1 / span 6; grid-row: 4; }
  .hero-index { grid-column: 7 / span 4; grid-row: 4; }
  .monogram { grid-row: 4; }
  .hero-caption { grid-column: 7 / span 6; grid-row: 4; }
  .hero-meta, .hero-index, .monogram { grid-row: 5; }

  .section-head > :first-child { grid-column: 1 / span 9; }
  .section-head > .section-intro { grid-column: 1 / span 9; }
  .about-head { grid-column: 1 / span 12; }
  .about-text { grid-column: 1 / span 8; margin-top: 40px; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .contact-intro { grid-column: 1 / span 12; margin-bottom: 56px; }
  .contact-form { grid-column: 1 / span 12; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .menu-button { display: block; }

  .solution h3 { grid-column: 1 / -1; }
  .solution p { grid-column: 1 / -1; margin-top: 12px; }

  /* Telas do produto empilhadas no tablet e no celular */
  .product-stage { aspect-ratio: auto; display: grid; gap: 20px; }
  .frame, .frame-phone { position: relative; inset: auto; width: 100%; }
  .frame-phone { display: none; }
  .product-stage figcaption { position: static; max-width: none; margin-top: 4px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .mobile-menu { inset: 68px 0 0 0; }
  .logo { font-size: 23px; }
  html { scroll-padding-top: 72px; }

  .hero-grid { display: flex; flex-direction: column; }
  .hero-title { padding-top: 8px; }
  .hero-intro { margin-top: 32px; }
  .hero-image-main { margin-top: 48px; width: 100%; }
  .hero-image-detail { display: none; }
  .hero-caption { margin-top: 12px; }
  .hero-meta { margin-top: 40px; }
  .hero-index { margin-top: 28px; }
  .hero-line { display: inline; }
  .hero-meta, .hero-index, .monogram { align-self: flex-start; }
  .monogram { margin-top: 36px; width: 64px; height: 64px; font-size: 30px; }

  .section-head > :first-child,
  .section-head > .section-intro,
  .about-text { grid-column: 1 / -1; }
  .about-text { margin-top: 32px; }

  .frame-bar { height: 24px; font-size: 11px; }
  .feature-list { grid-template-columns: 1fr; }
  .product-actions .button { flex: 1 1 100%; }
  .process-list { grid-template-columns: 1fr; row-gap: 40px; }
  .process-number { margin-bottom: 20px; }

  .contact-form { grid-template-columns: 1fr; }
  .form-footer .button { flex: 1 1 100%; }

  .footer-grid { row-gap: 36px; }
  .site-footer .logo,
  .footer-nav,
  .footer-contact { grid-column: 1 / -1; }
}

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

/* Live site preview (iframe scaled to the frame) */
.live-shot { position: relative; width: 100%; overflow: hidden; background: #133a2b; }
.live-shot iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
