/* Shared content-page styling (info + sparrow outer shell).
   Dark, token-based — tokens/fonts/reset come from theme.css.
   NOTE: sparrow's bespoke mockup keeps its own inline <style> (loads after
   this and wins for its sw-* classes). */

body {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

.page-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 24px 64px;
}

.content-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 24px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 40px);
  color: var(--ink);
  margin-bottom: 32px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 18px;
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.content-wrapper { line-height: 1.75; }

.content-wrapper h2 {
  color: var(--ink);
  font-size: 24px;
  margin: 34px 0 16px;
  font-weight: 600;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}

.content-wrapper h3 {
  color: var(--ink);
  font-size: 19px;
  margin: 24px 0 12px;
  font-weight: 600;
}

.content-wrapper p,
.content-wrapper li {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 14px;
}

.content-wrapper ul { padding-left: 22px; }

.content-wrapper strong { color: var(--ink); }

.content-wrapper a { color: var(--accent-2); }

/* contact grid */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.contact-item {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.contact-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  margin-bottom: 8px;
}

/* Shared line-icons (contact items, callout headings) — tinted --accent. */
.ico {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Dark callouts (Termos avisos) — replace the old light cream/red boxes. */
.callout {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 0 0 30px;
}

.callout:last-child { margin-bottom: 0; }

.callout h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.callout > p:first-of-type { color: var(--ink); font-weight: 600; }
.callout p,
.callout li { color: var(--ink-soft); }
.callout ul { margin: 8px 0 0; }

/* Muted amber accent for the "aviso" variant — thin accent only, no light fill. */
.callout--amber { border-left-color: #c9a24b; }
.callout--amber .ico { stroke: #c9a24b; }

.contact-item p {
  color: var(--ink-soft);
  margin: 0;
  word-break: break-word;
}

/* contact form (if present) */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #06110f;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.submit-btn:hover { background: var(--accent-2); }

/* footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 24px;
  text-align: center;
  font-size: 13px;
}

.footer .location { font-weight: 600; color: var(--ink-soft); }
.footer .since { color: var(--ink-dim); margin-top: 4px; }

@media (max-width: 640px) {
  .page-container { padding: 40px 20px 48px; }
  .content-section { padding: 26px 22px; }
}
