/* ===== Reset + base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1e293b;
  background: #fafaf9;
  -webkit-font-smoothing: antialiased;
}

a { color: #0d9488; text-decoration: none; }
a:hover { color: #115e59; text-decoration: underline; }

/* ===== Home (landing "em breve") ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, #f0fdfa 0%, #fafaf9 100%);
}

.logo-mark { margin-bottom: 1.5rem; }

.brand {
  margin: 0 0 0.5rem;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.brand-name { color: #1e293b; font-weight: 700; }
.brand-life { color: #14b8a6; font-style: italic; font-weight: 300; }

.tagline {
  margin: 1rem 0 0.25rem;
  font-size: 1.5rem;
  color: #0d9488;
  font-weight: 600;
}

.subtitle {
  margin: 0 auto;
  max-width: 480px;
  color: #475569;
  font-size: 1rem;
}

.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: #0d9488;
  font-weight: 500;
}

.footer-sep {
  color: #cbd5e1;
}

.footer-text {
  color: #64748b;
}

/* ===== Policy page ===== */
.page-policy {
  background: #ffffff;
}

.policy-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.875rem 1.5rem;
  z-index: 10;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
}

.brand-link:hover { text-decoration: none; color: #0d9488; }

.brand-name-small {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.brand-name-small em {
  color: #14b8a6;
  font-style: italic;
  font-weight: 300;
  margin-left: 0.1em;
}

.policy-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.policy-container h1 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  margin: 0 0 0.5rem;
  color: #0f172a;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.updated {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0 0 2.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.25rem;
}

.policy-container section {
  margin-top: 2.25rem;
}

.policy-container h2 {
  font-size: 1.375rem;
  color: #0f766e;
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.policy-container h3 {
  font-size: 1.05rem;
  color: #1e293b;
  margin: 1.5rem 0 0.5rem;
  font-weight: 600;
}

.policy-container p { margin: 0.75rem 0; }
.policy-container ul, .policy-container ol { padding-left: 1.5rem; margin: 0.75rem 0; }
.policy-container li { margin: 0.4rem 0; }
.policy-container li > ul { margin-top: 0.4rem; }

.policy-container code {
  background: #f1f5f9;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.875em;
  color: #0f766e;
}

.policy-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.policy-container th,
.policy-container td {
  padding: 0.625rem 0.875rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.policy-container th {
  background: #f0fdfa;
  font-weight: 600;
  color: #0f766e;
}

.policy-container tr:last-child td { border-bottom: none; }

.policy-container hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2.5rem 0 1.5rem;
}

.callout {
  background: #fff7ed;
  border-left: 4px solid #f59e0b;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-top: 2.25rem;
}

.callout h2 { color: #c2410c; }

.signature {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1.5rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 640px) {
  .policy-container { padding: 2rem 1.25rem 3rem; }
  .policy-container table { font-size: 0.875rem; }
  .policy-container th, .policy-container td { padding: 0.5rem; }
}
