/* Poty Charge — landing (mobile-first, sem frameworks, sem fontes externas) */

:root {
  --petrol: #0e3a34;
  --petrol-dark: #092824;
  --ink: #1c2321;
  --paper: #f7f8f6;
  --card: #ffffff;
  --line: #e2e6e2;
  --amber: #f0a91e;
  --amber-dark: #d18f0a;
  --wa: #1fa855;
  --muted: #5b6662;
  --err: #b3261e;
  --ok: #1a7a4a;
  --radius: 12px;
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--petrol); color: #fff; padding: 14px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: #fff; text-decoration: none; }
.logo span { color: var(--amber); }
.header-tag { font-size: .78rem; opacity: .85; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--petrol) 0%, var(--petrol-dark) 100%); color: #fff; padding: 44px 0 52px; }
.hero h1 { font-size: 1.75rem; line-height: 1.22; font-weight: 800; margin-bottom: 14px; }
.hero .sub { font-size: 1.05rem; opacity: .95; margin-bottom: 22px; }
.hero .apoio { font-size: .98rem; opacity: .9; border-left: 3px solid var(--amber); padding-left: 14px; margin-bottom: 28px; }
.hero .apoio p + p { margin-top: 10px; }

/* Buttons */
.btn { display: inline-block; width: 100%; text-align: center; padding: 15px 22px; border: 0; border-radius: var(--radius);
  font-size: 1.05rem; font-weight: 700; cursor: pointer; text-decoration: none; transition: background .15s ease; }
.btn-primary { background: var(--amber); color: var(--petrol-dark); }
.btn-primary:hover { background: var(--amber-dark); }
.btn-wa { background: var(--wa); color: #fff; margin-top: 12px; }
.btn-wa:hover { background: #178a45; }
.btn-micro { display: block; text-align: center; font-size: .8rem; opacity: .85; margin-top: 8px; }

/* Sections */
section { padding: 40px 0; }
section.alt { background: #eef1ed; }
h2 { font-size: 1.35rem; line-height: 1.3; margin-bottom: 18px; color: var(--petrol); }
.section-close { margin-top: 18px; font-weight: 600; }

/* Cards */
.cards { display: grid; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card strong { display: block; margin-bottom: 6px; }

/* Passos */
.passo { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.passo .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  background: var(--petrol); color: #fff; border-radius: 50%; font-weight: 700; margin-bottom: 8px; }

/* Fundador */
.fundador { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.foto-placeholder { width: 96px; height: 96px; border-radius: 50%; background: var(--line); display: flex; align-items: center;
  justify-content: center; font-size: .7rem; color: var(--muted); text-align: center; padding: 8px; }
.fundador blockquote { font-style: normal; }
.fundador .assinatura { margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; padding: 0; }
summary { padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 40px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--petrol); }
details[open] summary::after { content: "–"; }
details .resp { padding: 0 18px 16px; color: var(--ink); }

/* Formulário */
.form-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.form-box h2 { margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus { outline: 2px solid var(--petrol); border-color: var(--petrol); }
.field .err-msg { display: none; color: var(--err); font-size: .84rem; margin-top: 5px; }
.field.has-error input, .field.has-error select { border-color: var(--err); }
.field.has-error .err-msg { display: block; }
.field-other { margin-top: 8px; display: none; }
.field-other.visible { display: block; }

.lgpd { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.lgpd input { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; }
.lgpd a { color: var(--petrol); }

.form-note { font-size: .85rem; color: var(--ok); background: #e8f5ee; border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; }
.form-error-global { display: none; color: var(--err); background: #fdecea; border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: .9rem; }
.form-error-global.visible { display: block; }
.form-error-global a { color: var(--err); font-weight: 700; }

.success { background: #e8f5ee; border: 1px solid #bfe3cf; border-radius: var(--radius); padding: 24px 20px; font-size: 1rem; }
.success strong { color: var(--ok); }

/* Rota motorista */
.motorista { border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; margin-top: 28px; background: #fbfcfa; }
.motorista .toggle { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.motorista .toggle input { margin-top: 4px; width: 18px; height: 18px; }
.motorista-fields { display: none; margin-top: 18px; }
.motorista-fields.visible { display: block; }
.motorista p.desc { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* Rodapé */
.site-footer { background: var(--petrol-dark); color: #cfd8d4; padding: 32px 0; font-size: .85rem; }
.site-footer a { color: #fff; }
.site-footer p + p { margin-top: 10px; }

/* Desktop */
@media (min-width: 720px) {
  .hero h1 { font-size: 2.3rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .fundador { grid-template-columns: 120px 1fr; align-items: start; }
  .btn { width: auto; min-width: 320px; }
  .hero .cta-group { display: flex; flex-direction: column; align-items: flex-start; }
  .btn-wa { margin-top: 12px; }
}
