:root {
  --bg: #f3f4fb;
  --surface: #ffffff;
  --surface-2: #f7f8fd;
  --border: #e6e7f3;
  --text: #1a1c4e;
  --text-soft: #585e7e;
  --text-muted: #8a90ad;

  /* Marca — navy + roxo (wordmark do logo) */
  --navy: #1b1c5d;
  --navy-2: #262a8a;
  --purple: #7b2cbf;
  --purple-dark: #671fa6;
  --purple-soft: #f1e9fc;

  /* Header / sidebar — gradiente navy → roxo */
  --header-grad: linear-gradient(118deg, #14153c 0%, #281a66 52%, #4a1d86 100%);
  --header-text: #ffffff;
  --header-text-soft: #c9c6e8;
  --header-text-muted: #9a98c4;

  /* CTA / destaque */
  --primary: #7b2cbf;
  --primary-dark: #671fa6;
  --primary-glow: rgba(123, 44, 191, 0.32);
  --cta-grad: linear-gradient(120deg, #2a1a6e 0%, #7b2cbf 100%);

  --accent: #f5821f;

  /* Paleta arco-íris (acentos do banner) */
  --c-green: #2e9e44;   --c-green-bg: #e7f6ea;
  --c-blue: #1f7fe0;    --c-blue-bg: #e6f1fd;
  --c-cyan: #0fa9cc;    --c-cyan-bg: #e1f5fa;
  --c-orange: #ef7d12;  --c-orange-bg: #fff0e0;
  --c-red: #e23950;     --c-red-bg: #fde7ea;
  --c-purple: #7b2cbf;  --c-purple-bg: #f2e9fc;

  /* Tags do catálogo */
  --tag-blue-bg: var(--c-blue-bg);     --tag-blue-fg: #1763bd;
  --tag-orange-bg: var(--c-orange-bg); --tag-orange-fg: #c2620a;
  --tag-green-bg: var(--c-green-bg);   --tag-green-fg: #257a36;
  --tag-gray-bg: var(--c-purple-bg);   --tag-gray-fg: var(--purple-dark);

  --shadow-sm: 0 1px 2px rgba(27, 28, 93, 0.05), 0 1px 3px rgba(27, 28, 93, 0.06);
  --shadow-md: 0 8px 22px rgba(27, 28, 93, 0.09);
  --shadow-lg: 0 18px 44px rgba(27, 28, 93, 0.14);
  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1240px;
  --gutter: 32px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Grid sutil tipo "mapa mental / editor" no fundo da página */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(27, 28, 93, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 28, 93, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at top, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 0%, transparent 75%);
}
.main { position: relative; z-index: 1; }

body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 100vh;
}

a { color: inherit; }

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

/* ===== Sidebar (nav rail desktop) ===== */
.sidebar {
  background: var(--header-grad);
  color: var(--header-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 0;
  gap: 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar__link {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--header-text-muted);
  transition: background .15s, color .15s, box-shadow .15s;
  text-decoration: none;
}
.sidebar__link svg { width: 20px; height: 20px; }
.sidebar__link:hover { background: rgba(255,255,255,.10); color: #fff; }
.sidebar__link.is-active {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}

/* ===== Main ===== */
.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

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

/* ===== Topbar (com brand) ===== */
.topbar {
  background: var(--header-grad);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--header-text);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg,
    var(--c-green) 0%, var(--c-orange) 22%, var(--c-red) 42%,
    var(--c-blue) 64%, var(--c-cyan) 82%, var(--c-purple) 100%);
  opacity: .9;
  pointer-events: none;
}
.topbar__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 13px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--header-text);
  flex-shrink: 0;
}
.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
  background: #fff;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.brand__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.05;
  white-space: nowrap;
  color: var(--header-text);
}
.brand__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .4px;
  color: #d7b8ff;
  white-space: nowrap;
}

.search {
  flex: 0 1 360px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 10px 14px;
  border-radius: 11px;
  color: var(--header-text-soft);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.search:focus-within {
  border-color: rgba(215, 184, 255, .6);
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 3px rgba(123, 44, 191, .25);
}
.search svg { width: 18px; height: 18px; flex-shrink: 0; }
.search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font: inherit;
  color: var(--header-text);
}
.search input::placeholder { color: var(--header-text-muted); }

.topbar__actions { flex-shrink: 0; }

/* Botão fantasma dentro do header */
.topbar .btn--ghost {
  color: var(--header-text);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .22);
}
.topbar .btn--ghost:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .1s ease, background .15s ease, color .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--cta-grad);
  color: #fff;
  box-shadow: 0 8px 20px var(--primary-glow);
}
.btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 26px var(--primary-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text-soft);
  border-color: var(--border);
}
.btn--ghost:hover { color: var(--text); background: var(--surface-2); }
.btn--block { width: 100%; }

/* ===== Hero (banner da marca) ===== */
.hero {
  margin-top: 28px;
}
.hero__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 4px;
}
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: var(--radius);
  background: linear-gradient(90deg,
    var(--c-green), var(--c-orange), var(--c-red),
    var(--c-blue), var(--c-cyan), var(--c-purple));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: .55;
  pointer-events: none;
}
.hero__img {
  width: 100%;
  height: auto;
  border-radius: 13px;
  display: block;
}

/* ===== Promo / amostra ===== */
.promo {
  position: relative;
  margin-top: 22px;
  padding: 36px 44px;
  background:
    radial-gradient(ellipse 70% 120% at 92% 10%, rgba(123, 44, 191, 0.45), transparent 60%),
    var(--header-grad);
  color: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .10);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: .7;
}
.promo__text { position: relative; z-index: 1; min-width: 0; }
.promo__eyebrow {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .4px;
  color: #d7b8ff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.promo__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cf9bff;
  box-shadow: 0 0 10px rgba(207, 155, 255, .7);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}
.promo__title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .2px;
  color: #fff;
}
.promo__title em {
  font-style: normal;
  color: #d7b8ff;
  text-shadow: 0 0 24px rgba(207, 155, 255, .5);
}
.promo__sub {
  margin: 14px 0 0;
  max-width: 540px;
  color: #cfcceb;
  font-size: 15px;
  line-height: 1.55;
}
.promo__cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 220px;
}
.promo__price-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: #d7b8ff;
  letter-spacing: 1px;
  font-weight: 500;
}
.promo__price {
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: #fff;
}
.promo__price span { font-size: 22px; vertical-align: super; }
.promo .btn--primary {
  background: #fff;
  color: var(--purple-dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.promo .btn--primary:hover {
  background: #f3ecfc;
  color: var(--purple-dark);
  filter: none;
}
/* ===== Section eyebrow (estilo terminal) ===== */
.section-eyebrow {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .4px;
  color: var(--purple);
  text-transform: none;
}

/* ===== Catalog ===== */
.catalog {
  padding: 48px 0 16px;
}
.catalog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.catalog__heading { min-width: 0; }
.catalog__head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--text);
}

.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tab {
  border: 0;
  background: transparent;
  color: var(--text-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s, color .15s;
}
.tab:hover { background: var(--purple-soft); color: var(--purple-dark); }
.tab.is-active {
  background: var(--cta-grad);
  color: #fff;
  box-shadow: 0 6px 16px var(--primary-glow);
}
.tab__count {
  background: rgba(255,255,255,.22);
  color: inherit;
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.tab:not(.is-active) .tab__count { background: var(--border); color: var(--text-muted); }

/* ===== Grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.grid__loading,
.grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 28px 0;
}

/* ===== Card ===== */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple), var(--c-orange));
  opacity: 0;
  transition: opacity .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(123, 44, 191, .35);
}
.card:hover::before { opacity: 1; }
.card__price {
  font-family: var(--mono);
}
.card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.tag--blue { background: var(--tag-blue-bg); color: var(--tag-blue-fg); }
.tag--orange { background: var(--tag-orange-bg); color: var(--tag-orange-fg); }
.tag--green { background: var(--tag-green-bg); color: var(--tag-green-fg); }
.tag--gray { background: var(--tag-gray-bg); color: var(--tag-gray-fg); }

.card__fav {
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
}
.card__fav svg { width: 20px; height: 20px; }

.card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.card__desc {
  margin: 0;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.45;
  flex: 1;
}

.card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px dashed var(--border);
}
.card__price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--purple-dark);
}
.card__price-suffix {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}

.card__cta {
  margin-top: 4px;
}

/* ===== Card: bloco "Conteúdo" expansível ===== */
.card__contents {
  margin: 2px 0 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  overflow: hidden;
  transition: border-color .15s ease, background .15s ease;
}
.card__contents[open] {
  border-color: rgba(123, 44, 191, .35);
  background: var(--surface);
}
.card__contents-toggle {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  user-select: none;
}
.card__contents-toggle::-webkit-details-marker { display: none; }
.card__contents[open] .card__contents-toggle { color: var(--text); }
.card__contents-toggle:hover { color: var(--text); }
.card__contents-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.card__contents-icon {
  width: 14px;
  height: 14px;
  color: var(--purple);
  flex-shrink: 0;
}
.card__contents-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.card__contents-count {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--purple-soft);
  color: var(--purple-dark);
  line-height: 1.4;
}
.card__contents-chevron {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
  color: var(--text-muted);
}
.card__contents[open] .card__contents-chevron { transform: rotate(180deg); color: var(--purple); }
.card__contents-list {
  list-style: none;
  margin: 0;
  padding: 4px 14px 14px;
  display: grid;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  border-top: 1px dashed var(--border);
}
.card__contents-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
}
.card__contents-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple);
  font-size: 11px;
  line-height: 1.7;
}

/* ===== Primeiros Passos ===== */
.howto {
  padding: 32px 0 0;
}
.howto__inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.howto__title {
  margin: 0 0 14px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.howto__lead {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
  max-width: 72ch;
}
.howto__steps {
  list-style: none;
  counter-reset: howto;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 78ch;
}
.howto__steps li {
  counter-increment: howto;
  position: relative;
  padding: 14px 18px 14px 56px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.howto__steps li::before {
  content: counter(howto, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--cta-grad);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--primary-glow);
}
.howto__steps strong { color: var(--text); font-weight: 700; }
.howto__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--cta-grad);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  box-shadow: 0 6px 16px var(--primary-glow);
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
.howto__cta::before {
  content: "→";
  font-family: var(--mono);
  color: #d7b8ff;
}
.howto__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 24px var(--primary-glow);
}
.howto__note {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-muted);
}
.howto__subtitle {
  margin: 28px 0 12px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.2px;
  color: var(--text);
}
.howto__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 78ch;
}
.howto__list li {
  position: relative;
  padding: 0 0 0 24px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.howto__list li::before {
  content: "›";
  position: absolute;
  left: 6px;
  top: -1px;
  color: var(--purple);
  font-weight: 700;
}
.howto__list strong { color: var(--text); font-weight: 700; }

/* ===== Sobre ===== */
.about {
  padding: 32px 0 0;
}
.about__inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.about__lead,
.about__body,
.about__features { max-width: 72ch; }
.about__eyebrow {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .4px;
  text-transform: none;
  color: var(--purple);
}
.about__title {
  margin: 0 0 14px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.about__lead {
  margin: 0 0 12px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
}
.about__body {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}
.about__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.about__features li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}
.about__features-bullet {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--c-green-bg);
  color: var(--c-green);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
}

/* ===== Pilares (Foco / Disciplina / Constância / Resultados) ===== */
.pillars {
  padding: 36px 0 0;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .15s ease;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pillar__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.pillar__icon svg { width: 24px; height: 24px; }
.pillar--green .pillar__icon  { background: var(--c-green-bg);  color: var(--c-green); }
.pillar--blue .pillar__icon   { background: var(--c-blue-bg);   color: var(--c-blue); }
.pillar--purple .pillar__icon { background: var(--c-purple-bg); color: var(--c-purple); }
.pillar--orange .pillar__icon { background: var(--c-orange-bg); color: var(--c-orange); }
.pillar__name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: var(--text);
}
.pillar__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
}

/* ===== Contato ===== */
.contact {
  padding: 32px 0 48px;
}
.contact__inner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.contact__intro {
  align-self: start;
}
.contact__eyebrow {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .4px;
  text-transform: none;
  color: var(--purple);
}
.contact__title {
  margin: 0 0 12px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.contact__lead {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}
.contact__channels {
  display: grid;
  gap: 14px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-color: rgba(123, 44, 191, .4);
}
.contact-card__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card--whatsapp .contact-card__icon {
  background: var(--c-green-bg);
  color: var(--c-green);
}
.contact-card--email .contact-card__icon {
  background: var(--c-blue-bg);
  color: var(--c-blue);
}
.contact-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-card__value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}
.contact-card__hint {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 2px;
}

/* ===== Footer ===== */
.footer {
  margin-top: auto;
  color: var(--header-text-soft);
  font-size: 13px;
  background: var(--header-grad);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--c-green) 0%, var(--c-orange) 22%, var(--c-red) 42%,
    var(--c-blue) 64%, var(--c-cyan) 82%, var(--c-purple) 100%);
  opacity: .9;
}
.footer__inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px var(--gutter) 36px;
  font-family: var(--mono);
  font-size: 12.5px;
}
.footer a { color: #d7b8ff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ===== Responsive ===== */

@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    width: 100%;
    padding: 10px 16px;
    justify-content: center;
    gap: 14px;
  }
  .sidebar__nav { flex-direction: row; }
  .topbar { position: static; }
  .topbar__inner {
    padding: 14px 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand__logo { width: 44px; height: 44px; }
  .brand__name { font-size: 16px; }
  .brand__tag { font-size: 10px; }
  .search {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    max-width: none;
  }
  .topbar__actions { margin-left: auto; }
  .hero { margin-top: 16px; }
  .promo {
    margin-top: 16px;
    padding: 24px;
    grid-template-columns: 1fr;
    text-align: left;
    gap: 18px;
  }
  .promo__cta { align-items: flex-start; min-width: 0; }
  .pillars { padding: 24px 0 0; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catalog { padding: 28px 0 8px; }
  .catalog__head h2 { font-size: 22px; }
  .about { padding: 12px 0 0; }
  .about__inner { padding: 22px 20px; }
  .contact { padding: 12px 0 30px; }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 20px;
  }
  .howto { padding: 16px 0 0; }
  .howto__inner { padding: 22px 20px; }
  .howto__steps li { padding: 12px 14px 12px 50px; font-size: 14px; }
  .howto__steps li::before { left: 12px; width: 28px; height: 28px; }
  .footer__inner { padding: 22px 18px 28px; }
}

@media (max-width: 460px) {
  .pillars__grid { grid-template-columns: 1fr; }
}
