/* ============================================================
   Lan House Janaína — sistema visual
   Ordem: tokens → base → layout → componentes → seções → mídia
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* marca */
  --ink: #1b2a4a;          /* azul-tinta: títulos e faixas escuras */
  --ink-2: #38445f;        /* corpo de texto */
  --muted: #5a6478;        /* texto secundário */
  --blue: #2b6cb0;         /* ação primária */
  --blue-deep: #1d4e80;
  --green: #2f9e44;
  --green-deep: #237a34;
  --wa: #1f7a33;           /* botão WhatsApp (contraste AA com branco) */
  --yellow: #f2b705;       /* destaque — nunca como texto sobre claro */
  --yellow-soft: #fdf3cd;

  /* superfícies */
  --paper: #f6f7f5;
  --white: #ffffff;
  --line: #dfe1da;
  --line-strong: #c9ccc2;

  /* tipografia */
  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  /* medidas */
  --wrap: 1140px;
  --gutter: clamp(18px, 4vw, 32px);
  --section-y: clamp(56px, 7.5vw, 104px);
  --radius-sm: 4px;
  --radius: 8px;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: clamp(1.125rem, 1.6vw, 1.25rem);
  --step-2: clamp(1.375rem, 2.2vw, 1.625rem);
  --step-3: clamp(1.75rem, 3.2vw, 2.25rem);
  --step-4: clamp(2.125rem, 4.6vw, 3.1rem);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }

p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

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

strong { color: var(--ink); font-weight: 600; }

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

.section--navy :focus-visible { outline-color: var(--yellow); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--blue { background: var(--blue); color: #fff; }
.section--navy { background: var(--ink); color: #d7dcea; }

.section--navy h2,
.section--navy h3 { color: #fff; }
.section--blue h2,
.section--blue h3 { color: #fff; }
.section--blue p { color: #e8eef7; }
.section--navy p { color: #cdd4e3; }

.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { font-size: var(--step-1); color: var(--muted); }
.section--blue .section-head p,
.section--navy .section-head p { color: inherit; }

.lede { font-size: var(--step-1); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover { background: var(--blue-deep); color: #fff; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn--wa { --btn-bg: var(--wa); }
.btn--wa:hover { background: #175f27; }

.btn--yellow {
  --btn-bg: var(--yellow);
  --btn-fg: #2a2200;
}
.btn--yellow:hover { background: #dba600; color: #2a2200; }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn--light:hover { background: var(--yellow); color: var(--ink); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  padding-inline: 6px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.btn--ghost:hover { background: transparent; color: var(--blue-deep); }

.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 0.875rem; }

.link-cta {
  display: inline-block;
  padding-block: 3px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--blue-deep);
  border-bottom: 1px solid rgba(43, 108, 176, 0.35);
  padding-bottom: 2px;
}
.link-cta:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: var(--yellow);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.brand-text strong { font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  display: inline-block;
  padding: 10px 11px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.nav a:hover { background: var(--paper); color: var(--ink); }

.header-cta { margin-left: 8px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.is-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header.is-open .burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 76px) clamp(36px, 5vw, 64px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { max-width: 19ch; }

.hero-sub {
  font-size: var(--step-1);
  color: var(--ink-2);
  max-width: 46ch;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 22px;
  font-size: var(--step--1);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-strong);
  flex: none;
}

/* Ilustração: folha de currículo + carimbo (decorativa) */
.sheet-stack {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  aspect-ratio: 210 / 262;
  transform: rotate(-1.2deg);
}

.sheet {
  position: absolute;
  inset: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
}

.sheet--back {
  transform: translate(14px, 12px) rotate(2.6deg);
  background: #fbfbf9;
  box-shadow: 0 1px 0 var(--line);
}

.sheet--front {
  padding: 26px 24px;
  box-shadow: 0 18px 34px -26px rgba(27, 42, 74, 0.55);
}

.sheet-head {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.sheet-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.sheet-role {
  display: block;
  margin-top: 4px;
  font-size: 0.6875rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.sheet-label {
  display: block;
  width: 48%;
  height: 6px;
  background: var(--blue);
  border-radius: 1px;
  margin-bottom: 9px;
}

.sheet-block { margin-bottom: 17px; }

.sheet-line {
  display: block;
  height: 4px;
  background: #e7e9e4;
  border-radius: 2px;
  margin-bottom: 6px;
}
.sheet-line:nth-child(2) { width: 94%; }
.sheet-line:nth-child(3) { width: 78%; }
.sheet-line:nth-child(4) { width: 86%; }

.sheet-block.is-accent .sheet-label { background: var(--yellow); }

.stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 8px 14px;
  color: var(--ink);
  background: rgba(242, 183, 5, 0.16);
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px #fff;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.stamp small {
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.sheet-stack .stamp {
  position: absolute;
  right: 14px;
  bottom: 18px;
}

.sheet-chip {
  position: absolute;
  left: -14px;
  bottom: -14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px -14px rgba(27, 42, 74, 0.8);
}
.sheet-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex: none;
}

/* ---------- Faixa de sinais ---------- */
.signals {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.signals ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.signals li {
  padding: 20px 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 12px;
}
.signals li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.signals li + li::before { content: none; }
.signals li span { font-weight: 600; color: var(--ink); }
.signals .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}
.signals li:nth-child(2) .dot { background: var(--green); }
.signals li:nth-child(3) .dot { background: var(--yellow); }

/* ---------- Frentes ---------- */
.frentes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
}

.frente {
  --accent: var(--blue);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
}
.frente:nth-child(2) { --accent: var(--green); }
.frente:nth-child(3) { --accent: var(--yellow); }

.frente .icon {
  color: var(--accent);
  margin-bottom: 14px;
}
.frente h3 { font-size: var(--step-2); margin-bottom: 8px; }
.frente p { font-size: 0.9375rem; flex-grow: 1; }
.frente .link-cta { margin-top: 18px; align-self: flex-start; }

.icon { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Catálogo de serviços ---------- */
.catalogo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.cat summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.cat summary::-webkit-details-marker { display: none; }
.cat summary::marker { content: ""; }

.cat h3 {
  font-size: var(--step-1);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1;
}
.cat h3 .letra {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.cat .mais { display: none; }

.cat-resumo {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 10px 0 14px;
}

.cat ul li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.cat .link-cta { display: inline-block; margin-top: 16px; }

/* ---------- Faixa currículo ---------- */
.curriculo-band { padding-block: clamp(40px, 5.5vw, 64px); }
.curriculo-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}
.curriculo-inner h2 { margin-bottom: 8px; max-width: 22ch; }
.curriculo-inner p { color: #e6edf7; max-width: 52ch; }
.curriculo-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Desenvolvimento ---------- */
.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.dev {
  background: var(--white);
  padding: clamp(22px, 3vw, 32px);
}
.dev .icon { color: var(--blue); margin-bottom: 12px; }
.dev h3 { font-size: var(--step-2); margin-bottom: 6px; }
.dev .dev-resumo { font-size: 0.9375rem; color: var(--muted); margin-bottom: 14px; }
.dev ul {
  display: grid;
  gap: 7px;
}
.dev li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.dev li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------- Orçamento ---------- */
.orcamento {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(26px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.orcamento h3 { font-size: var(--step-2); margin-bottom: 10px; }
.orcamento p { font-size: 0.9375rem; }

.form { display: grid; gap: 12px; }
.form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
}
.form textarea { min-height: 92px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(43, 108, 176, 0.25);
  outline-offset: 0;
}
.form .erro {
  display: none;
  margin-top: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #a32121;
}
.form .campo.invalido .erro { display: block; }
.form .campo.invalido input,
.form .campo.invalido select { border-color: #a32121; }
.form .form-note { font-size: 0.75rem; color: var(--muted); }
.form .btn { width: 100%; margin-top: 2px; }

/* ---------- Financeiro ---------- */
.modalidades {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(24px, 4vw, 56px);
  margin-top: 8px;
}
.modalidade {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.modalidade h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: #fff;
  margin: 0 0 2px;
  letter-spacing: 0;
}
.modalidade p {
  font-size: 0.8125rem;
  color: #aeb8cc;
  margin: 0;
}
.modalidade a {
  flex: none;
  padding: 3px 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 183, 5, 0.45);
}
.modalidade a:hover { color: #fff; border-color: #fff; }

.financeiro-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: clamp(26px, 3.5vw, 38px);
}
.financeiro-foot .ressalva {
  font-size: 0.8125rem;
  color: #aeb8cc;
  max-width: 46ch;
  margin: 0;
}
.section--navy .stamp {
  color: var(--yellow);
  background: rgba(242, 183, 5, 0.1);
  box-shadow: inset 0 0 0 2px var(--ink);
  transform: rotate(-5deg);
}

/* ---------- Sobre ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.sobre-grid p { font-size: var(--step-1); }

.diferenciais {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.diferencial {
  background: var(--paper);
  padding: 18px;
}
.diferencial .icon { width: 22px; height: 22px; color: var(--blue); margin-bottom: 8px; }
.diferencial h3 {
  font-size: 0.9375rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 3px;
}
.diferencial p { font-size: 0.8125rem; color: var(--muted); margin: 0; }

/* ---------- Contato ---------- */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.endereco {
  font-style: normal;
  font-size: var(--step-1);
  color: var(--ink);
  line-height: 1.5;
}
.endereco .ref {
  display: block;
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.contato-lista { margin-top: 24px; display: grid; gap: 16px; }
.contato-lista dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.contato-lista dd { margin: 3px 0 0; font-size: var(--step-1); color: var(--ink); }
.contato-lista a { text-decoration: none; border-bottom: 1px solid rgba(43, 108, 176, 0.4); }

.mapa {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapa-placeholder p { font-size: 0.875rem; color: var(--muted); margin-bottom: 14px; max-width: 32ch; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--ink);
  color: #aeb8cc;
  padding-block: clamp(40px, 5vw, 60px) 24px;
  font-size: 0.875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
}
.site-footer .brand { color: #fff; margin: 0 0 12px; }
.site-footer .brand-mark { background: var(--yellow); color: var(--ink); }
.site-footer .brand-text { color: #fff; }
.site-footer p { color: #aeb8cc; max-width: 34ch; }
.footer-col h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0 0 12px;
}
.footer-col ul { display: grid; gap: 2px; }
.footer-col a {
  display: inline-block;
  padding-block: 4px;
  color: #cdd4e3;
  text-decoration: none;
}
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.75rem;
  color: #8f9ab1;
}

/* ---------- Barra fixa mobile ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; min-height: 46px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 24ch; }
  .sheet-stack { width: min(100%, 300px); order: 2; }
  .frentes-grid { grid-template-columns: 1fr; }
  .catalogo { grid-template-columns: 1fr; gap: 34px; }
  .dev-grid { grid-template-columns: 1fr; }
  .orcamento { grid-template-columns: 1fr; }
  .modalidades { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .curriculo-inner { grid-template-columns: 1fr; }
  .signals ul { grid-template-columns: 1fr; }
  .signals li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 880px) {
  html { scroll-padding-top: 76px; }

  .header-inner { min-height: 60px; gap: 12px; }
  .nav {
    position: fixed;
    inset: 60px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -30px rgba(27, 42, 74, 0.6);
  }
  .nav a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-header.is-open .nav { display: flex; }
  .burger { display: block; }
  .header-cta { display: none; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 76px; }

  .frentes-grid { gap: 14px; }
  .diferenciais { grid-template-columns: 1fr; }
  .section { padding-block: clamp(44px, 9vw, 64px); }
}

@media (max-width: 700px) {
  .cat summary { align-items: center; }
  .cat h3 { padding-bottom: 12px; }

  .cat .mais {
    display: block;
    position: relative;
    width: 14px;
    height: 14px;
    flex: none;
    align-self: center;
    margin-left: auto;
    margin-top: -4px;
  }
  .cat .mais::before,
  .cat .mais::after {
    content: "";
    position: absolute;
    background: var(--ink);
    transition: transform 0.15s ease;
  }
  .cat .mais::before { left: 0; right: 0; top: 6px; height: 2px; }
  .cat .mais::after { top: 0; bottom: 0; left: 6px; width: 2px; }
  .cat[open] .mais::after { transform: scaleY(0); }

  .cat-resumo { margin-top: 12px; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

/* ---------- Impressão ---------- */
@media print {
  .site-header, .mobile-bar, .mapa, .sheet-stack, .btn { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding-block: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
