/* ============ Fonte (alojada localmente — sem pedidos a terceiros) ============ */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ============ Tokens ============ */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f3f8f8;
  --color-text: #17262d;
  --color-muted: #52646c;
  --color-primary: #0d6e7e;
  --color-primary-dark: #0a5562;
  --color-accent: #def3f1;
  --color-warm: #f08a4b;      /* detalhe decorativo (não usar em texto pequeno) */
  --color-border: #d2e2e4;
  --radius: 10px;
  --max-width: 1080px;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;           /* 16px ≈ 12pt — acima do mínimo de 10pt exigido pelo BdP */
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.75rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p  { margin: 0 0 1rem; }

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 760px; }
.small { font-size: 0.9rem; }   /* 14.4px ≈ 10.8pt — continua acima do mínimo */
.muted { color: var(--color-muted); }

/* ============ Cabeçalho ============ */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.brand {
  display: flex; flex-direction: column; line-height: 1.2; text-decoration: none;
  padding-left: 0.7rem; border-left: 3px solid var(--color-warm);
}
.brand-name { font-weight: 700; font-size: 1.15rem; color: var(--color-text); }
.brand-sub { margin-top: 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-primary); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--color-text); }
.nav a:hover { color: var(--color-primary); }
.nav .nav-highlight { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============ Destaque ============ */
.hero {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(240, 138, 75, 0.18), transparent 40%),
    linear-gradient(180deg, var(--color-accent), var(--color-bg));
}
.lead-sm { color: var(--color-muted); margin-bottom: 0; }
.hero .lead { font-size: 1.15rem; color: var(--color-muted); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1rem; }
.hero-note { font-size: 0.95rem; color: var(--color-primary-dark); font-weight: 600; }

.status-badge {
  display: inline-block; margin-bottom: 1.25rem;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: #fff4dc; color: #7a5300; border: 1px solid #f1d9a0;
  font-size: 0.9rem; font-weight: 600;
}

.btn {
  display: inline-block; padding: 0.75rem 1.4rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 2px solid var(--color-primary);
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--color-primary); }
.btn-secondary:hover { background: var(--color-accent); }

/* ============ Secções ============ */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg-alt); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.card { background: #fff; border: 1px solid var(--color-border); border-top: 4px solid var(--color-warm); border-radius: var(--radius); padding: 1.25rem; }
.card p { margin: 0; color: var(--color-muted); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.steps li { counter-increment: step; position: relative; padding-top: 2.75rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-primary); color: #fff; font-weight: 700;
}
.steps p { margin: 0; color: var(--color-muted); }

.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
.contact-list span { display: inline-block; min-width: 6rem; font-weight: 600; }

/* ============ Modelo BdP ============ */
.bdp-model { border: 2px solid var(--color-text); border-radius: 4px; padding: 1.5rem; background: #fff; }
.bdp-title { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; text-align: center; margin-bottom: 1.25rem; }
.bdp-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.bdp-table th, .bdp-table td { border: 1px solid var(--color-border); padding: 0.6rem 0.75rem; vertical-align: top; text-align: left; }
.bdp-table th { width: 40%; font-weight: 600; background: var(--color-bg-alt); }
.bdp-list { margin: 0; padding-left: 1.1rem; }
.bdp-list li + li { margin-top: 0.35rem; }
.bdp-notes { margin-top: 1.25rem; font-size: 1rem; }
.bdp-notes p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .bdp-model { padding: 1rem; }
  .bdp-table th, .bdp-table td { display: block; width: 100%; }
  .bdp-table th { border-bottom: none; }
}

/* ============ Rodapé ============ */
.site-footer { background: var(--color-text); color: #d9e2e5; padding: 3rem 0 1.5rem; font-size: 0.95rem; }
.site-footer a { color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.footer-lr { text-align: right; }
.footer-ral { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-lr { text-align: left; }
}
.footer-title { font-size: 1rem; color: #fff; margin-bottom: 0.75rem; }
.footer-list { padding-left: 1.1rem; margin: 0 0 1rem; }
.lr-link {
  display: inline-block; padding: 0.6rem 1rem; border: 1px solid #fff; border-radius: 6px;
  text-decoration: none; font-weight: 600;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-bottom p { margin: 0; }

/* ============ Elementos visuais ============ */
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.hero-art svg { width: 100%; height: auto; display: block; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; margin: 0 auto; }
}

.icon {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: 12px; background: var(--color-accent); color: var(--color-primary);
}
.icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .icon { margin-bottom: 0.75rem; }

.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.facts { list-style: none; margin: 0; padding: 1.25rem; display: grid; gap: 1.1rem;
  background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius); }
.facts li { display: flex; gap: 0.9rem; align-items: flex-start; }
.facts strong { display: block; }
.facts span:not(.icon) { display: block; font-size: 0.9rem; color: var(--color-muted); }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.cta-band { background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary)); color: #fff; padding: 3rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin-bottom: 0.25rem; }
.cta-band p { margin: 0; color: #d6eef0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-light { background: #fff; color: var(--color-primary-dark); border-color: #fff; }
.btn-light:hover { background: var(--color-accent); color: var(--color-primary-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* ============ Ícones e botões ============ */
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; }

.hero-status { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--color-muted); }

.wa-link { display: inline-flex; vertical-align: middle; margin-left: 0.4rem; color: #1a9a4a; }
.wa-link:hover { color: #137a39; }
.wa-link .ico { width: 1.4em; height: 1.4em; }

.footer-contacts { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-contacts a { display: inline-flex; align-items: center; gap: 0.5rem; width: fit-content; }

.lr-link { display: inline-flex; align-items: center; gap: 0.55rem; background: #d3202c; border-color: #d3202c; color: #fff; }
.lr-link:hover { background: #b51a25; border-color: #b51a25; color: #fff; }

/* ============ Página de texto (privacidade) ============ */
.page { padding: 3rem 0 4rem; }
.page h2 { font-size: 1.25rem; margin-top: 2rem; }
