/* ==========================================================
   Page shell, used by all subpages (sobre, servicos, etc)
   ========================================================== */

/* Basic page container, reuses design tokens from logisbk.css */
main.page { display: block; }

/* Page hero, lighter weight than the homepage hero */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(238,117,8,0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(238,117,8,0.05), transparent 60%);
  pointer-events: none;
}
.page-hero .container-wide { position: relative; z-index: 2; }
.page-hero .breadcrumb {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 24px;
}
.page-hero .breadcrumb a { color: var(--fg-3); }
.page-hero .breadcrumb a:hover { color: #EE7508; }
.page-hero .breadcrumb .sep { margin: 0 10px; opacity: 0.4; }
.page-hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(42px, 5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--fg-1);
  max-width: 18ch;
  font-weight: 700;
}
.page-hero h1 em { font-style: normal; font-weight: 700; color: #EE7508; }
.page-hero .lead {
  font-size: clamp(17px, 1.3vw, 21px);
  color: var(--fg-2);
  line-height: 1.55;
  max-width: 62ch;
  margin: 0 0 32px;
}
.page-hero .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Generic prose blocks */
.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
}
.prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 56px 0 20px;
  font-weight: 400;
}
.prose h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  color: var(--fg-1);
  margin: 36px 0 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.prose p { margin: 0 0 20px; }
.prose ul { padding-left: 1.1em; margin: 0 0 24px; }
.prose ul li { margin-bottom: 8px; }
.prose a { color: #EE7508; text-decoration: underline; text-underline-offset: 3px; }

/* Two-column intro (content + sidebar) */
.page-split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .page-split { grid-template-columns: 1fr; gap: 40px; }
}

/* Info card, for sidebars, related pages, etc */
.info-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: var(--bg-card);
}
.info-card h4 {
  font-family: var(--font-mono, ui-monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 16px;
}
.info-card ul { list-style: none; padding: 0; margin: 0; }
.info-card ul li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.info-card ul li:last-child { border-bottom: 0; }
.info-card ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-1);
  font-weight: 500;
}
.info-card ul li a:hover { color: #EE7508; }
.info-card ul li a::after { content: "→"; opacity: 0.4; transition: opacity 160ms; }
.info-card ul li a:hover::after { opacity: 1; color: #EE7508; }

/* Feature cards grid. 3-up */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 48px 0;
}
.feat-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: var(--bg-card);
}
.feat-card .n {
  font-family: var(--font-mono, ui-monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EE7508;
  margin-bottom: 16px;
}
.feat-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--fg-1);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.feat-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 48px 0;
}
.team-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: var(--bg-card);
}
.team-card .avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EE7508, #FF9F4A);
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.team-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--fg-1);
  font-weight: 600;
}
.team-card .role {
  font-size: 13px;
  color: #EE7508;
  font-family: var(--font-mono, ui-monospace);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.team-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* Tabela de taxas / planos */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
  font-family: var(--font-sans);
}
.price-table th, .price-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 15px;
}
.price-table th {
  font-weight: 600;
  color: var(--fg-1);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--bg-card);
}
.price-table td { color: var(--fg-2); }
.price-table .check { color: #00C389; font-weight: 700; }
.price-table .dash { color: var(--fg-4); }

/* CTA band */
.cta-band {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) { .cta-band-inner { grid-template-columns: 1fr; } }
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  color: var(--fg-1);
  margin: 0 0 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.cta-band h2 em { font-style: italic; font-weight: 300; color: #EE7508; }
.cta-band p { color: var(--fg-2); font-size: 17px; line-height: 1.6; margin: 0 0 24px; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Compact FAQ for product pages */
.mini-faq { margin: 48px 0; }
.mini-faq .q {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
}
.mini-faq .q:last-of-type { border-bottom: 1px solid var(--border); }
.mini-faq .q h4 {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--fg-1);
  margin: 0;
  font-weight: 500;
}
.mini-faq .q p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 12px 0 0;
  display: none;
}
.mini-faq .q.open p { display: block; }
.mini-faq .q .plus {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 16px;
  color: var(--fg-2);
  flex-shrink: 0;
  transition: transform 200ms;
}
.mini-faq .q.open .plus { transform: rotate(45deg); color: #EE7508; border-color: #EE7508; }
.mini-faq .q .wrap { flex: 1; }

/* Blog index */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 48px 0;
}
.post-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}
.post-card .thumb {
  aspect-ratio: 16 / 10;
  background: #1a1a1f;
  display: block;
  position: relative;
  overflow: hidden;
}
.post-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 400ms ease;
}
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .thumb .tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.85);
  position: relative;
}
.post-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4));
  pointer-events: none;
}
.post-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .cat {
  font-family: var(--font-mono, ui-monospace);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EE7508;
  margin-bottom: 12px;
}
.post-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--fg-1);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.post-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 16px;
  flex: 1;
}
.post-card .meta {
  font-size: 12px;
  color: var(--fg-3);
  font-family: var(--font-mono, ui-monospace);
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-mono, ui-monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 160ms;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: #EE7508;
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* Press releases list */
.press-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 32px;
  align-items: baseline;
}
@media (max-width: 700px) { .press-item { grid-template-columns: 1fr; gap: 8px; } }
.press-item .date {
  font-family: var(--font-mono, ui-monospace);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fg-3);
}
.press-item h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 6px;
  font-weight: 400;
  color: var(--fg-1);
}
.press-item p {
  font-size: 14px;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.55;
}
.press-item .src {
  color: #EE7508;
  font-size: 13px;
  font-family: var(--font-mono, ui-monospace);
  letter-spacing: 0.05em;
}

/* Utility */
.section-sm { padding: 80px 0; }
.max-prose { max-width: 68ch; margin: 0 auto; }
