/* Padol — Landing Pages SEO. Industrial-técnico, credencial ambiental. */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800&family=Source+Sans+3:wght@400;600&family=IBM+Plex+Mono:wght@400&display=swap');

:root {
  --ink: #14212B;
  --steel: #3E5C6B;
  --paper: #F7F8F6;
  --panel: #FFFFFF;
  --seal: #1E7A46;
  --signal: #E8600A;

  --font-display: 'Archivo', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1080px;
  --radius: 4px;

  --dur-fast: 150ms;
  --dur-normal: 250ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 1.5rem + 2vw, 2.85rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); color: var(--ink); }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: var(--steel); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

/* ===== Header ===== */
.site-header {
  background: var(--ink);
  color: var(--paper);
  padding: 0.9rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header .logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-header .phone-link {
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  border: 1px solid var(--steel);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.site-header .phone-link:hover { border-color: var(--signal); color: #fff; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--ink);
  color: #EDEFEC;
  padding: clamp(2.5rem, 4vw, 4.5rem) 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(62,92,107,0.08) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(62,92,107,0.08) 0 1px, transparent 1px 40px);
  pointer-events: none;
}
.hero .container { position: relative; max-width: 760px; }
.hero h1 { color: #fff; }
.hero .subheadline {
  font-size: 1.1rem;
  color: #C7CFD2;
  max-width: 56ch;
  margin-bottom: 1.75rem;
}
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero .seal-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--seal);
  background: rgba(30,122,70,0.12);
  border: 1px solid rgba(30,122,70,0.4);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn-primary {
  background: var(--signal);
  color: #fff;
}
.btn-primary:hover { background: #c95309; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: var(--steel);
}
.btn-secondary:hover { border-color: #fff; }

/* ===== Sections ===== */
.section { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.section-paper { background: var(--paper); }
.section-panel { background: var(--panel); }

.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 640px) { .icon-row { grid-template-columns: 1fr; } }
.icon-row .step {
  background: var(--panel);
  border: 1px solid rgba(62,92,107,0.25);
  border-radius: var(--radius);
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-align: center;
  color: var(--steel);
}

.steps-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  counter-reset: step;
}
.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 0.9rem 0 0.9rem 3rem;
  border-bottom: 1px solid rgba(62,92,107,0.2);
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  border-radius: 50%;
}

/* ===== Segments grid ===== */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (max-width: 640px) { .segments-grid { grid-template-columns: 1fr; } }
.segment-card {
  background: var(--panel);
  border: 1px solid rgba(62,92,107,0.25);
  border-left: 4px solid var(--steel);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.segment-card h3 { margin-bottom: 0.4em; }
.segment-card p { margin-bottom: 0; color: var(--ink); }

/* ===== Normas em mono (carimbo técnico) ===== */
.norm-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: var(--paper);
  border: 1px solid var(--steel);
  border-radius: 2px;
  padding: 0.15rem 0.5rem;
  color: var(--ink);
}

/* ===== Bloco documentação — assinatura visual ===== */
.doc-manifest {
  position: relative;
  background: var(--panel);
  border: 3px double var(--ink);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  margin-top: 1.5rem;
}
.doc-manifest__header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid rgba(62,92,107,0.3);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}
.doc-manifest__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.doc-manifest__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(62,92,107,0.25);
}
.doc-manifest__list li:last-child { border-bottom: none; }
.doc-manifest__list li::before {
  content: "✓";
  color: var(--seal);
  font-weight: 700;
  flex-shrink: 0;
}
.doc-manifest__license {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--steel);
}
.doc-manifest__stamp {
  position: absolute;
  top: -1.25rem;
  right: 1.5rem;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px double var(--seal);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  color: var(--seal);
  text-transform: uppercase;
  padding: 0.5rem;
}
@media (max-width: 640px) {
  .doc-manifest__stamp { position: static; margin: 0 auto 1rem; }
}

/* ===== Região ===== */
.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}
.region-list li {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  background: var(--paper);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  padding: 0.35rem 0.75rem;
}

/* ===== Prova social ===== */
.social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 1.25rem;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ===== FAQ accordion ===== */
.faq-list { margin-top: 1.5rem; }
.faq-item {
  border-bottom: 1px solid rgba(62,92,107,0.25);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 1.1rem 2rem 1.1rem 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--steel);
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 0 1.25rem; color: var(--ink); }

/* ===== Formulário ===== */
.lp-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
  max-width: 520px;
}
.lp-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--steel);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lp-form input,
.lp-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
}
.lp-form .btn { margin-top: 0.5rem; align-self: start; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #C7CFD2;
  padding: 2rem 0;
  font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.site-footer .phone-link { font-family: var(--font-mono); }

/* ===== WhatsApp flutuante ===== */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  background: var(--seal);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(20,33,43,0.35);
  transition: transform var(--dur-fast) var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* Local context block (city pages) */
.local-context p { color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
