/* ============================================
   BLAM Mídia — Central de Conhecimento
   Editorial Design System
   ============================================ */

:root {
  /* Brand */
  --navy: #0A1628;
  --navy-2: #0F1F36;
  --navy-3: #1A2B47;
  --ink: #0B1320;
  --paper: #FAF7F1;
  --paper-2: #F2EDE2;
  --line: #E5DECF;
  --line-strong: #C9C0AB;

  --gold: #B8893A;
  --gold-2: #D4AF37;
  --gold-3: #8C6929;

  --text: #1B2336;
  --text-soft: #4A5468;
  --text-muted: #7A8294;

  --success: #1F7A4D;
  --danger: #B8323A;

  /* Type */
  --serif: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --maxw: 1200px;
  --maxw-prose: 760px;
  --radius: 4px;
  --radius-lg: 8px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11,19,32,.04), 0 1px 1px rgba(11,19,32,.06);
  --shadow: 0 6px 24px rgba(11,19,32,.08), 0 2px 6px rgba(11,19,32,.04);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
}

p { margin: 0 0 1em; }
code {
  font-family: var(--mono);
  font-size: .9em;
  background: var(--paper-2);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--navy);
}

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

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
img.brand-mark { background: transparent; }
.brand-lockup {
  max-width: 220px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}
.brand-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.brand-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}
.site-nav a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: var(--paper) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ink) !important;
}

@media (max-width: 880px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .brand-sub { display: none; }
}

/* ========== HERO ========== */
.hero {
  padding: 80px 0 56px;
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(184,137,58,.10), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .container { max-width: 920px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.badge {
  display: inline-block;
  background: var(--navy);
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.hero-meta time {
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  line-height: 1.08;
  font-variation-settings: 'opsz' 144;
}
.hero h1 .hl {
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(180deg, transparent 70%, rgba(212,175,55,.28) 70%);
  padding: 0 2px;
}
.hero .lead {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 760px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--navy);
  color: var(--paper) !important;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--paper-2);
  border-color: var(--navy);
}
.btn-lg { font-size: 16px; padding: 16px 28px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.hero-stats > div { margin: 0; }
.hero-stats dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats dd {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

/* ========== TLDR ========== */
.tldr {
  padding: 56px 0;
  background: var(--navy);
  color: var(--paper);
}
.tldr .eyebrow {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.tldr-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 36px;
  font-size: 16px;
  line-height: 1.55;
}
.tldr-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(250, 247, 241, 0.88);
}
.tldr-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--gold-2);
  border-radius: 50%;
}
.tldr-list strong { color: var(--paper); font-weight: 600; }
@media (max-width: 720px) {
  .tldr-list { grid-template-columns: 1fr; gap: 14px; }
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
  scroll-margin-top: 80px;
}
.section-alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 780px;
  margin: 0 0 48px;
}
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
  margin: 0 0 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 680px;
}
.section-sub code {
  background: rgba(184,137,58,.12);
  color: var(--gold-3);
}

/* ========== CARD (Sobre/Método) ========== */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}
.card h3 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--navy);
}
.card h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 28px 0 14px;
}
.card p {
  color: var(--text-soft);
  line-height: 1.7;
}
.card p strong { color: var(--ink); font-weight: 600; }
.card ol { padding-left: 22px; color: var(--text-soft); }
.card ol li { margin-bottom: 10px; padding-left: 6px; }
.card ol li::marker { color: var(--gold); font-weight: 600; }

.kv {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.kv li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.kv li:nth-child(odd) { padding-right: 24px; }
.kv li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.kv li span {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.kv li b { color: var(--ink); font-weight: 500; font-size: 15px; }
.kv li b a { color: var(--navy); border-bottom: 1px solid var(--line-strong); }
.kv li b a:hover { color: var(--gold-3); border-bottom-color: var(--gold-3); }

@media (max-width: 720px) {
  .card { padding: 28px 22px; }
  .kv { grid-template-columns: 1fr; }
  .kv li:nth-child(even) { padding-left: 0; border-left: 0; }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.pillars > div {
  padding: 18px;
  background: var(--paper-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.pillars b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
}
.pillars span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
@media (max-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .2s ease;
}
.service:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.service h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
}
.service p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}
@media (max-width: 920px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ========== COMPARATIVO ========== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.cmp thead th {
  background: var(--navy);
  color: var(--paper);
  text-align: left;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 20px;
}
.cmp tbody td {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  vertical-align: top;
}
.cmp tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-2);
  white-space: nowrap;
}
.cmp tbody td:last-child {
  color: var(--ink);
  font-weight: 500;
}
.cmp tbody tr:hover td { background: rgba(184,137,58,.05); }
.cmp tbody tr:hover td:first-child { background: rgba(184,137,58,.10); }

/* ========== CASES ========== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.case::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 18px;
  font-family: var(--serif);
  font-size: 80px;
  color: var(--gold-2);
  opacity: 0.35;
  line-height: 1;
}
.case blockquote {
  margin: 0;
  padding-left: 28px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.case figcaption {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}
.case figcaption b { color: var(--navy); font-weight: 600; }
.case figcaption span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--gold-3);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 720px) { .cases-grid { grid-template-columns: 1fr; } }

.case-roas {
  margin-top: 40px;
  background: var(--navy);
  color: var(--paper);
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.case-roas h3 {
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--sans);
}
.case-roas p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
  color: rgba(250,247,241,.92);
}
.case-roas b { color: var(--gold-2); font-weight: 700; }
.case-roas strong { color: var(--paper); display: block; margin-top: 8px; font-weight: 600; }

/* ========== FAQ ========== */
.faq-list {
  max-width: 880px;
}
.faq-group {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 56px 0 4px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-3);
}
.faq-group:first-child { margin-top: 0; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  transition: background .15s ease;
}
.faq-list details[open] {
  background: var(--paper-2);
  padding: 0 20px;
  margin: 0 -20px;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.35;
  position: relative;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 300;
  color: var(--gold-3);
  line-height: 1;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after {
  content: '−';
  color: var(--navy);
}
.faq-list details[open] summary { color: var(--navy); }
.faq-list summary:hover { color: var(--navy); }
.faq-list details div {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 740px;
}

/* ========== GLOSSARY ========== */
.glossary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.glossary > div {
  padding: 22px 28px 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.glossary > div:nth-child(even) {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.glossary dt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.glossary dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.glossary dd code {
  background: rgba(184,137,58,.12);
  color: var(--gold-3);
}
@media (max-width: 720px) {
  .glossary { grid-template-columns: 1fr; }
  .glossary > div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ========== STACK ========== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.stack-grid > div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.stack-grid h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.stack-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stack-grid li {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
@media (max-width: 1000px) { .stack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========== CTA FINAL ========== */
.cta-final {
  padding: 100px 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(212,175,55,.16), transparent 60%),
    var(--navy);
  color: var(--paper);
  text-align: center;
}
.cta-final h2 {
  color: var(--paper);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final p {
  font-size: 17px;
  color: rgba(250,247,241,.78);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.cta-final .btn-primary {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--ink) !important;
}
.cta-final .btn-primary:hover {
  background: var(--paper);
  border-color: var(--paper);
}
.cta-final .btn-ghost {
  color: var(--paper) !important;
  border-color: rgba(250,247,241,.3);
}
.cta-final .btn-ghost:hover {
  background: rgba(250,247,241,.08);
  border-color: var(--paper);
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-quote {
  margin-top: 44px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-2);
  opacity: 0.85;
}

/* ========== CONTACT / FORM ========== */
.contact {
  padding: 100px 0;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(212,175,55,.14), transparent 60%),
    var(--navy);
  color: var(--paper);
  scroll-margin-top: 80px;
}
.contact-head { margin: 0 auto 48px; text-align: center; max-width: 720px; }
.contact-head .eyebrow { color: var(--gold-2); }
.contact-head h2 { color: var(--paper); }
.contact-head .section-sub { color: rgba(250,247,241,.75); margin-left: auto; margin-right: auto; }

.contact-form {
  max-width: 760px;
  margin: 0 auto;
  background: var(--paper);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 20px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(10,22,40,.10);
}
.contact-form textarea { resize: vertical; min-height: 80px; font-family: var(--sans); }
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%231B2336' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field-consent { margin-top: 4px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-soft);
  cursor: pointer;
  line-height: 1.5;
}
.consent input[type=checkbox] { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--navy); }

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--paper) !important;
  border-color: var(--navy);
  font-size: 16px;
  padding: 16px 28px;
}
.btn-submit:hover:not(:disabled) { background: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-submit:disabled { opacity: .65; cursor: progress; }
[hidden] { display: none !important; }
.btn-loading { display: inline-flex; align-items: center; gap: 8px; }
.btn-loading::before {
  content: '';
  width: 14px; height: 14px;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-meta {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}
.form-status {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--text);
}
.form-status.success {
  background: rgba(31, 122, 77, .10);
  border-color: rgba(31, 122, 77, .35);
  color: var(--success);
  font-weight: 500;
}
.form-status.error {
  background: rgba(184, 50, 58, .10);
  border-color: rgba(184, 50, 58, .35);
  color: var(--danger);
  font-weight: 500;
}

.contact .cta-quote {
  margin-top: 44px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold-2);
  opacity: 0.85;
}

@media (max-width: 600px) {
  .contact-form { grid-template-columns: 1fr; padding: 28px 22px; }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--ink);
  color: rgba(250,247,241,.7);
  padding: 64px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-brand p { margin: 12px 0 8px; line-height: 1.55; }
.footer-brand strong { color: var(--paper); font-weight: 600; }
.footer-meta {
  font-size: 12px;
  color: rgba(250,247,241,.45);
  line-height: 1.55;
}
.site-footer h5 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin: 0 0 16px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer a {
  color: rgba(250,247,241,.78);
}
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(250,247,241,.08);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(250,247,241,.45);
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== PRINT ========== */
@media print {
  .site-header, .nav-cta, .cta-final, .site-footer { display: none; }
  .hero-cta { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .section { padding: 24px 0; page-break-inside: avoid; }
}

/* ========== A11Y ========== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
