/* ==========================================================================
   Mex Company — sistema visual
   Paleta evoluída: violeta da marca + verde-lagoa (Região dos Lagos)
   Tokens: :root = tema escuro (padrão da marca). Claro sobrescreve.
   ========================================================================== */

:root {
  /* superfícies */
  --bg:            #0B0710;
  --surface:       #140E1D;
  --surface-2:     #1C1428;
  --surface-3:     #241A33;
  --border:        #2A2038;
  --border-strong: #3B2D50;

  /* texto */
  --text:       #F5F1FA;
  --text-muted: #A99EBC;
  --text-dim:   #7B6F90;

  /* marca */
  --violet:        #9B5CFF;
  --violet-strong: #7C3AED;
  --violet-ink:    #FFFFFF;
  --violet-soft:   rgba(155, 92, 255, 0.14);
  --violet-line:   rgba(155, 92, 255, 0.32);

  /* apoio — verde-lagoa */
  --lagoon:      #19CBB6;
  --lagoon-soft: rgba(25, 203, 182, 0.13);
  --lagoon-line: rgba(25, 203, 182, 0.30);

  --shadow-lift: 0 18px 44px -24px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 0 0 1px var(--violet-line), 0 24px 60px -28px rgba(124, 58, 237, 0.7);

  /* tipografia */
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* medidas */
  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 44px);
  --radius: 14px;
  --radius-lg: 22px;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg:            #FAF8FC;
    --surface:       #FFFFFF;
    --surface-2:     #F3EFF9;
    --surface-3:     #EBE4F4;
    --border:        #E6DFF0;
    --border-strong: #D2C6E3;

    --text:       #150F1F;
    --text-muted: #5C5270;
    --text-dim:   #857B96;

    --violet:      #6D28D9;
    --violet-soft: rgba(109, 40, 217, 0.09);
    --violet-line: rgba(109, 40, 217, 0.24);

    --lagoon:      #0C8577;
    --lagoon-soft: rgba(12, 133, 119, 0.09);
    --lagoon-line: rgba(12, 133, 119, 0.26);

    --shadow-lift: 0 16px 40px -28px rgba(21, 15, 31, 0.5);
    --shadow-glow: 0 0 0 1px var(--violet-line), 0 24px 50px -30px rgba(109, 40, 217, 0.4);
  }
}

:root[data-theme="light"] {
  --bg:            #FAF8FC;
  --surface:       #FFFFFF;
  --surface-2:     #F3EFF9;
  --surface-3:     #EBE4F4;
  --border:        #E6DFF0;
  --border-strong: #D2C6E3;

  --text:       #150F1F;
  --text-muted: #5C5270;
  --text-dim:   #857B96;

  --violet:      #6D28D9;
  --violet-soft: rgba(109, 40, 217, 0.09);
  --violet-line: rgba(109, 40, 217, 0.24);

  --lagoon:      #0C8577;
  --lagoon-soft: rgba(12, 133, 119, 0.09);
  --lagoon-line: rgba(12, 133, 119, 0.26);

  --shadow-lift: 0 16px 40px -28px rgba(21, 15, 31, 0.5);
  --shadow-glow: 0 0 0 1px var(--violet-line), 0 24px 50px -30px rgba(109, 40, 217, 0.4);
}

/* ---------- base ---------- */

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.028em;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }
img, svg, video { max-width: 100%; }

a { color: inherit; }

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

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

section { padding-block: clamp(64px, 9vw, 112px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lagoon);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--lagoon-line);
  flex: none;
}

.section-head { display: grid; gap: 16px; max-width: 62ch; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { font-size: clamp(28px, 4.4vw, 46px); }
.section-head p { color: var(--text-muted); font-size: clamp(15px, 1.6vw, 17.5px); }

.lede { color: var(--text-muted); font-size: clamp(16px, 1.8vw, 19px); max-width: 58ch; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-primary {
  background: var(--violet-strong);
  color: var(--violet-ink);
  box-shadow: 0 12px 34px -16px rgba(124, 58, 237, 0.85);
}
.btn-primary:hover { background: #8B4BF5; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--violet-line); background: var(--violet-soft); transform: translateY(-2px); }
.btn-lagoon { background: var(--lagoon-soft); color: var(--lagoon); border-color: var(--lagoon-line); }
.btn-lagoon:hover { transform: translateY(-2px); }

/* ---------- cabeçalho ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--border); }

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

.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; flex: none; }
.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.05em;
  background: linear-gradient(96deg, var(--text) 38%, var(--violet) 72%, var(--lagoon) 108%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nav { margin-left: auto; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .16s ease, background-color .16s ease;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.header-cta { flex: none; }
.header-cta .btn { padding: 11px 20px; font-size: 14px; }

.menu-btn {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--surface);
    border-block: 1px solid var(--border);
    padding: 12px var(--gutter) 20px;
    margin: 0;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 13px 12px; font-size: 16px; }
  .nav-list .nav-cta { margin-top: 10px; }
  .nav-list .nav-cta a { background: var(--violet-strong); color: var(--violet-ink); text-align: center; }
}

/* ---------- hero ---------- */

.hero { position: relative; padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -40%; left: 50%;
  width: min(1100px, 150%);
  aspect-ratio: 1;
  transform: translateX(-58%);
  background:
    radial-gradient(closest-side, rgba(124, 58, 237, 0.30), transparent 70%),
    radial-gradient(closest-side, rgba(25, 203, 182, 0.14), transparent 72%);
  background-position: 30% 40%, 78% 62%;
  background-size: 62% 62%, 48% 48%;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: clamp(34px, 5vw, 60px); align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; } }

.hero h1 {
  font-size: clamp(38px, 6.6vw, 68px);
  margin-block: 20px 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(94deg, var(--violet) 10%, var(--lagoon) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.cities-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  width: 100%;
  margin-bottom: 4px;
}
.city {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}

/* painel de pilares no hero */
.pillars {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.pillar { background: var(--surface); padding: 22px 24px; display: grid; gap: 6px; }
.pillar dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lagoon);
}
.pillar dd { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.pillar p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* ---------- faixa de problemas ---------- */

.problems { background: var(--surface); border-block: 1px solid var(--border); }
.problem-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .problem-grid { grid-template-columns: repeat(3, 1fr); gap: 34px; } }
.problem { display: grid; gap: 10px; align-content: start; }
.problem-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--violet);
  letter-spacing: 0.1em;
}
.problem h3 { font-size: 19px; }
.problem p { color: var(--text-muted); font-size: 14.5px; }

/* ---------- serviços ---------- */

.svc-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  position: relative;
  transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}
.svc:hover { border-color: var(--violet-line); transform: translateY(-3px); background: var(--surface-2); }
.svc-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--violet-soft);
  color: var(--violet);
  margin-bottom: 4px;
}
.svc-icon svg { width: 19px; height: 19px; }
.svc h3 { font-size: 17.5px; letter-spacing: -0.02em; }
.svc p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.svc-more {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
  transition: color .2s ease;
}
.svc:hover .svc-more { color: var(--lagoon); }

/* ---------- ciclo (processo) ---------- */

.cycle { background: var(--surface); border-block: 1px solid var(--border); }
.cycle-grid { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 720px) { .cycle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cycle-grid { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  display: grid;
  gap: 9px;
  align-content: start;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--violet);
}
.step h3 { font-size: 18px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.step-out {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--lagoon);
  border-top: 1px dashed var(--border-strong);
  padding-top: 10px;
}

/* ---------- comparativo ---------- */

.compare-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
table.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.compare thead th {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  background: var(--surface-2);
}
table.compare thead th.is-mex { color: var(--violet); }
table.compare tbody th { font-weight: 700; font-size: 15px; width: 36%; }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--text); }
td.no { color: var(--text-dim); }
.tick { color: var(--lagoon); font-weight: 700; margin-right: 7px; }
.cross { color: var(--text-dim); font-weight: 700; margin-right: 7px; }

/* ---------- cases (slots) ---------- */

.case-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .case-grid { grid-template-columns: repeat(3, 1fr); } }
.case-slot {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px 24px;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 210px;
}
.slot-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px solid var(--violet-line);
  background: var(--violet-soft);
  border-radius: 100px;
  padding: 4px 10px;
  justify-self: start;
}
.case-slot h3 { font-size: 17px; color: var(--text-muted); }
.case-slot p { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

/* ---------- conteúdos / blog ---------- */

.posts-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.posts-head .section-head { margin-bottom: 0; }

.post-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 0 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.post-card:hover { border-color: var(--violet-line); transform: translateY(-3px); }
.post-thumb {
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background:
    radial-gradient(closest-side at 26% 30%, var(--violet-soft), transparent 78%),
    radial-gradient(closest-side at 76% 70%, var(--lagoon-soft), transparent 78%),
    var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: grid;
  place-items: center;
}
.post-thumb span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  padding-inline: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.post-cat { color: var(--lagoon); }
.post-card h3 { font-size: 18px; padding-inline: 22px; line-height: 1.2; }
.post-card p { font-size: 14px; color: var(--text-muted); padding-inline: 22px; line-height: 1.55; }
.post-link {
  padding-inline: 22px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.post-card:hover .post-link { color: var(--lagoon); }

/* ---------- território ---------- */

.territory { background: var(--surface); border-block: 1px solid var(--border); }
.territory-grid { display: grid; gap: clamp(30px, 4vw, 54px); }
@media (min-width: 880px) { .territory-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.city-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 520px) { .city-list { grid-template-columns: repeat(2, 1fr); } }
.city-list li { background: var(--bg); padding: 18px 20px; display: grid; gap: 3px; }
.city-list strong { font-family: var(--display); font-size: 17px; letter-spacing: -0.02em; }
.city-list span { font-family: var(--mono); font-size: 11px; color: var(--text-dim); letter-spacing: 0.08em; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 10px; max-width: 840px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.faq details[open] { border-color: var(--violet-line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 54px 19px 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.015em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 19px;
  color: var(--violet);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 22px 20px; color: var(--text-muted); font-size: 14.5px; max-width: 68ch; }

/* ---------- formulário ---------- */

.cta-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 940px) { .cta-grid { grid-template-columns: 0.85fr 1.15fr; } }

.deliverables { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.deliverables li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-muted); }
.deliverables .tick { flex: none; }

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(22px, 3.4vw, 34px);
  box-shadow: var(--shadow-lift);
}
.field-row { display: grid; gap: 14px; }
@media (min-width: 620px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.form-card .field-row + .field-row { margin-top: 14px; }

.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .16s ease, background-color .16s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--violet-line);
  background: var(--surface-2);
  outline: none;
}
.field select { appearance: none; background-image: none; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 16px; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--violet-strong); flex: none; }
.form-card .btn { width: 100%; margin-top: 18px; }
.form-note { margin-top: 12px; font-size: 12px; color: var(--text-dim); text-align: center; }

.form-status { margin-top: 14px; padding: 13px 16px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.form-status.ok { background: var(--lagoon-soft); border: 1px solid var(--lagoon-line); color: var(--lagoon); }
.form-status.err { background: rgba(240, 90, 120, 0.12); border: 1px solid rgba(240, 90, 120, 0.4); color: #F2879E; }
:root[data-theme="light"] .form-status.err { color: #B4234A; }

/* ---------- rodapé ---------- */

.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding-block: clamp(48px, 6vw, 72px) 28px; }
.footer-grid { display: grid; gap: 34px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; } }
.footer-about p { font-size: 14px; color: var(--text-muted); margin-top: 14px; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color .16s ease; }
.footer-col a:hover { color: var(--violet); }

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  transition: color .16s ease, border-color .16s ease;
}
.socials a:hover { color: var(--violet); border-color: var(--violet-line); }
.socials svg { width: 17px; height: 17px; }

/* botão flutuante de WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #1FAF54;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(31, 175, 84, 0.8);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 27px; height: 27px; }

/* ---------- páginas internas (blog / post) ---------- */

.page-head { padding-block: clamp(46px, 6vw, 78px) clamp(28px, 3vw, 40px); }
.page-head h1 { font-size: clamp(32px, 5.4vw, 54px); margin-block: 18px 16px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filter {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.filter:hover { color: var(--text); border-color: var(--border-strong); }
.filter.is-active { color: var(--violet); border-color: var(--violet-line); background: var(--violet-soft); }

.post-grid.wide { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.newsletter {
  margin-top: clamp(44px, 6vw, 72px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(26px, 4vw, 40px);
  display: grid;
  gap: 20px;
}
@media (min-width: 820px) { .newsletter { grid-template-columns: 1fr auto; align-items: center; } }
.newsletter h2 { font-size: clamp(22px, 3vw, 30px); }
.newsletter p { color: var(--text-muted); font-size: 15px; margin-top: 8px; max-width: 46ch; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input {
  flex: 1 1 220px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 13px 20px;
}
.newsletter input:focus { border-color: var(--violet-line); outline: none; }

/* artigo */
.article { padding-block: clamp(36px, 5vw, 56px) clamp(60px, 8vw, 96px); }
.article-wrap { max-width: 720px; margin-inline: auto; }
.article-body { display: grid; gap: 22px; margin-top: 34px; }
.article-body p { font-size: 17px; line-height: 1.72; color: var(--text-muted); }
.article-body h2 { font-size: clamp(23px, 3vw, 30px); margin-top: 20px; color: var(--text); }
.article-body h3 { font-size: 19px; margin-top: 12px; color: var(--text); }
.article-body ul { margin: 0; padding-left: 22px; display: grid; gap: 9px; color: var(--text-muted); font-size: 16.5px; }
.article-body strong { color: var(--text); }
.pull {
  border-left: 3px solid var(--violet);
  padding: 4px 0 4px 20px;
  font-family: var(--display);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}
.article-cta {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(24px, 3.4vw, 34px);
  display: grid;
  gap: 14px;
}
.article-cta h3 { font-size: 21px; }
.article-cta p { color: var(--text-muted); font-size: 15px; }
.article-cta .btn { justify-self: start; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--violet); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- camadas de serviço ---------- */

.tier-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(34px, 5vw, 52px) 0 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.tier-label::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.tier-label:first-child { margin-top: 0; }
.tier-label strong { color: var(--violet); font-weight: 500; }

.svc.is-core { background: var(--surface-2); border-color: var(--border-strong); }
.svc.is-core .svc-icon { background: var(--lagoon-soft); color: var(--lagoon); }
.svc-flag {
  position: absolute;
  top: 16px; right: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lagoon);
}

/* ---------- pacote / escopo ---------- */

.package {
  display: grid;
  gap: clamp(26px, 4vw, 46px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-lift);
}
@media (min-width: 880px) { .package { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.package h3 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 14px; }
.package .lede { font-size: 16px; }
.package-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--violet-soft);
  border: 1px solid var(--violet-line);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.scope { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.scope li {
  background: var(--bg);
  padding: 15px 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}
.scope li span.tick { flex: none; }
.scope li strong { display: block; }
.scope li em { font-style: normal; color: var(--text-dim); font-size: 13px; }

/* ---------- objeções ---------- */

.objection { display: grid; gap: 10px; align-content: start; padding: 24px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.objection q {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  quotes: "“" "”";
}
.objection p { font-size: 14.5px; color: var(--text-muted); }
.objection-who { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet); }

/* o botão de orçamento do menu é só para a versão mobile */
.nav-list .nav-cta { display: none; }
@media (max-width: 940px) { .nav-list .nav-cta { display: block; margin-top: 10px; } }

img.post-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
