/* PentaScribe — multi-page static site (shared CSS) */

:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --card: #f8fafc;
  --accent: #1f2937;
  --btn: #111827;
  --btnText: #ffffff;
  --btnGhost: transparent;
  --shadow: 0 10px 30px rgba(2,6,23,0.08);
  --radius: 16px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a.link{ text-decoration: underline; text-underline-offset: 3px; }
a.link:hover{ opacity: 0.85; }

.nowrap{ white-space: nowrap; }

.container{
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.brand-name{ font-weight: 800; font-size: 16px; }
.brand-tag{ color: var(--muted); font-size: 12px; }

.nav{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a{
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 6px;
  border-radius: 10px;
}
.nav a:hover{ color: var(--text); background: rgba(15,23,42,0.05); }

/* Nav CTA ("Contato") — ensure the button styling wins over the generic nav link rule */
.nav a.btn{
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}
.nav a.btn:hover{
  background: #0b5f59;
  border-color: #0b5f59;
  color: #fff;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--btn);
  background: var(--btn);
  color: var(--btnText);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.btn:hover{ opacity: 0.92; }
.btn:active{ transform: translateY(1px); }

.btn-small{
  padding: 10px 14px;
  font-size: 13px;
}

.btn-ghost{
  background: var(--btnGhost);
  color: var(--btn);
  box-shadow: none;
}

.hero{
  padding: 48px 0 18px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.hero h1{
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.15;
  margin: 0 0 14px;
}

.hero-copy h1{
  text-align: center;
}

.hero-copy p{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 72ch;
}

.hero-badges{
  justify-content: center;
}

.hero-badges .badge{
  background: #f3f4f6;
  border-color: rgba(15, 23, 42, 0.18);
  color: rgba(15, 23, 42, 0.92);
}


.hero p{
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 16px;
}

.hero-badges{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.badge{
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.hero-ctas{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 10px;
}

.microcopy{
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 10px;
}

.hero-card{
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card-inner{
  padding: 18px;
}

.hero-card h2{
  font-size: 16px;
  margin: 0 0 10px;
}

.hero-card ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.hero-card li{ margin: 8px 0; }

.hero-card-footer{ margin-top: 12px; }

.section{
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

h1.page-title{
  font-size: 32px;
  margin: 0 0 10px;
  line-height: 1.15;
}
h2{
  font-size: 26px;
  margin: 0 0 12px;
}

.lead{
  color: var(--muted);
  margin: 0 0 18px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card{
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card h3{
  margin: 0 0 10px;
  font-size: 17px;
}

.card p{
  margin: 0;
  color: var(--muted);
}

.muted{ color: var(--muted); }

.table-wrap{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}

.pricing-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pricing-table th, .pricing-table td{
  padding: 14px 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.pricing-table thead th{
  background: #f1f5f9;
  font-weight: 900;
}

.td-title{ font-weight: 900; margin-bottom: 2px; }
.td-note{ color: var(--muted); font-size: 12.5px; }
.td-price{ font-weight: 900; }

.calc-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.calc .field{ margin-bottom: 14px; }

label{
  display:block;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 6px;
}

input, select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  font-size: 14px;
  color: var(--text);
}

.hint{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.notice{
  margin-top: 12px;
  color: #b91c1c;
  font-weight: 800;
}

.kpis{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.kpi{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: white;
}

.kpi-label{
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.kpi-value{
  font-size: 22px;
  font-weight: 950;
}

.faq{
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  margin: 12px 0;
}

.faq summary{
  cursor: pointer;
  font-weight: 950;
}

.faq-body{
  padding-top: 10px;
  color: var(--muted);
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-box{
  margin-top: 12px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 12px;
}

.contact-label{
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.contact-email{
  font-weight: 950;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout{
  margin-top: 18px;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.callout-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.steps{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.steps li{ margin: 8px 0; }

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.bullets li{ margin: 8px 0; }

.footer{
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding: 16px 0 20px;
}

.footer-inner{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

/* Contact brief form */
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label{
  display:block;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

textarea{
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus{
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.10);
}

.contact-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.copy-status{
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .calc-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .calc-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .nav a{ font-size: 13px; }
}


/* Section heading alignment */
.center-title{
  text-align: center;
  margin-bottom: 14px;
}
.callout-note{
  margin: 12px 0 0;
  font-weight: 600;
}
