﻿

/* Typography and shared page content */
h1, h2, h3, h4, p, blockquote, figure { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: "Segoe UI Variable Display", "Segoe UI", "Noto Sans", Arial, sans-serif; text-wrap: balance; }
h1 { margin-bottom: 15px; font-size: clamp(1.75rem, 7vw, 2.15rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.025em; }
h2 { margin-bottom: 13px; font-size: clamp(1.28rem, 5.2vw, 1.55rem); font-weight: 780; line-height: 1.32; letter-spacing: -0.015em; }
h3 { margin-bottom: 8px; font-size: 1.06rem; font-weight: 750; line-height: 1.45; }
h4 { margin-bottom: 7px; font-size: 1rem; font-weight: 800; }
p { margin-bottom: 1rem; color: var(--muted); line-height: 1.78; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: #23312f; }
ol, ul { color: var(--muted); line-height: 1.72; }
li + li { margin-top: 0.38rem; }
hr { border: 0; border-top: 1px solid var(--line); }

/* Hero */
.download-hero {
  padding-top: 14px !important;
  padding-bottom: 12px !important;
}

.download-hero .col-12 {
  padding: clamp(20px, 5vw, 26px);
  overflow: hidden;
  border: 1px solid #cfe5dc;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(244, 183, 64, 0.22), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eef8f4 100%);
  box-shadow: var(--shadow);
}

.hero-lead {
  color: #485b55;
  font-size: 15.5px;
  line-height: 1.8;
}

.hero-cta-wrap {
  margin: 17px 0;
  text-align: left;
}

.hero-banner {
  display: block;
  margin-top: 18px;
}

.hero-banner img {
  display: block;
  width: 100%;
  border: 1px solid #d8e5e0;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(22, 50, 45, 0.1);
}

/* Home-page content cards */
.content-section,
#contato.container,
#faq.container {
  margin-bottom: 12px !important;
  padding: 20px var(--page-pad) !important;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  background: var(--surface);
}

.content-section + .content-section {
  border-top-color: var(--line);
}

.content-section h2::after,
#contato h2::after,
#faq > .row > .col-12 > h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 4px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--brand);
}

.content-section h3 { margin-top: 18px; }
.content-section picture { display: block; margin-top: 16px; }
.content-section picture img { margin: 0 auto; }

/* Tables */
.app-spec-table,
.ip-lgpd-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-size: 13px;
  line-height: 1.45;
}

.app-spec-table th,
.app-spec-table td,
.ip-lgpd-table th,
.ip-lgpd-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.app-spec-table tr:last-child th,
.app-spec-table tr:last-child td,
.ip-lgpd-table tr:last-child th,
.ip-lgpd-table tr:last-child td { border-bottom: 0; }
.app-spec-table th { width: 42%; background: var(--surface-soft); color: var(--navy); font-weight: 800; }
.ip-lgpd-table th { background: var(--navy); color: #fff; font-weight: 800; }
.ip-lgpd-table tr:nth-child(even) td { background: #f8fbfa; }

/* Contents list */
.page-toc-wrap {
  margin: 0 0 12px;
  overflow: hidden;
  border: 1px solid #cfe1db;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.page-toc-summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.page-toc-summary::-webkit-details-marker { display: none; }
.page-toc-summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.page-toc-details[open] .page-toc-summary::after { content: "−"; }
.page-toc-summary__hint { color: var(--muted); font-size: 11px; font-weight: 600; }
.page-toc {
  margin: 0;
  padding: 4px 18px 17px 35px;
  border-top: 1px solid var(--line);
  columns: 1;
  font-size: 13px;
}
.page-toc li { padding-left: 3px; break-inside: avoid; }

/* Homepage components */
.promo-grid-lead { margin-bottom: 14px; }
.promo-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.promo-photo-cell { min-width: 0; }
.promo-photo-frame { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.promo-photo-frame img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #edf3f0; }
.promo-photo-frame figcaption { padding: 8px 7px; color: var(--navy); font-size: 11px; font-weight: 750; text-align: center; }

.feature-list { display: grid; gap: 10px; }
.feature-list h3 {
  margin: 0;
  padding: 13px 14px 4px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
  background: var(--surface-soft);
  color: var(--navy);
  font-size: 15px;
}
.feature-list p {
  margin: -10px 0 0;
  padding: 7px 14px 14px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 13px 13px;
  background: var(--surface-soft);
  font-size: 14px;
}

.review-quote {
  position: relative;
  margin: 14px 0 0;
  padding: 16px 16px 16px 19px;
  border-left: 4px solid var(--brand);
  border-radius: 0 13px 13px 0;
  background: var(--brand-soft);
}
.review-quote p { color: #40534e; font-style: italic; }
.review-quote cite { color: var(--navy); font-size: 13px; font-style: normal; }

.step-list,
.safety-list {
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.step-list li,
.safety-list li {
  position: relative;
  min-height: 38px;
  padding: 6px 0 7px 45px;
}
.step-list li::before,
.safety-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 850;
}
.step-list li { counter-increment: steps; }
.step-list li::before { content: counter(steps); }
.safety-list li::before { content: "✓"; }

/* FAQ blocks on the homepage */
.faq-container { display: grid; gap: 9px; }
.faq-item {
  margin-bottom: 0 !important;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
}
.faq-question { margin: 0 0 6px; color: var(--navy); font-size: 15px; }
.faq-answer { margin: 0; font-size: 14px; }

@media (max-width: 360px) {
  .promo-photo-grid { grid-template-columns: 1fr; }
  .app-spec-table { font-size: 12px; }
  .app-spec-table th, .app-spec-table td { padding: 8px; }
}
