/* =============================================================
   PÁGINA OUVIDORIA (visual próprio, prefixo ov-)
   Topo escuro centralizado, formulário em etapas sobreposto,
   linha do tempo, comparação Atendimento x Ouvidoria e dúvidas.
   ============================================================= */
.ov-page { --ov-ink: #0b4f4c; --ov-shadow: 0 30px 70px rgba(6, 60, 57, 0.16); overflow-x: clip; }
.ov-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ov-page h1, .ov-page h2, .ov-page h3 { letter-spacing: -0.01em; }

/* ---------- 1. topo ---------- */
.ov-top {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(circle at 18% 0%, rgba(25, 179, 173, 0.45) 0%, rgba(25, 179, 173, 0) 45%),
    radial-gradient(circle at 85% 110%, rgba(0, 148, 185, 0.35) 0%, rgba(0, 148, 185, 0) 50%),
    linear-gradient(160deg, var(--ov-ink) 0%, #00736e 100%);
  padding: 56px 0 170px;
}
.ov-top::before { /* malha de pontos */
  content: ""; position: absolute; inset: 0; opacity: 0.18; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.ov-top::after { /* marca d'água da logo, em branco */
  content: ""; position: absolute; right: -60px; top: -50px; width: 420px; height: 420px;
  background: #fff;
  -webkit-mask: url("assets/img/marca-dagua.svg") no-repeat center / contain;
  mask: url("assets/img/marca-dagua.svg") no-repeat center / contain;
  opacity: 0.07; pointer-events: none;
}
.ov-top-inner { position: relative; z-index: 1; max-width: 820px; }
.ov-crumb { display: inline-flex; gap: 8px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); margin: 0 0 26px; }
.ov-crumb a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.ov-crumb a:hover { color: #fff; }
.ov-eyebrow {
  display: block; width: fit-content; margin: 0 auto 18px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: #bff0ec; padding: 6px 14px; border: 1px solid rgba(191, 240, 236, 0.35); border-radius: 999px;
}
.ov-top h1 { color: #fff !important; font-weight: 300 !important; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem) !important; line-height: 1.1 !important; margin: 0 0 18px !important; }
.ov-top h1 strong { display: inline !important; color: #fff !important; font-weight: 700 !important; }
.ov-sub { color: rgba(255, 255, 255, 0.86) !important; font-weight: 300; font-size: 1.05rem; line-height: 1.7; max-width: 740px; margin: 0 auto 28px; text-wrap: balance; }
.ov-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.ov-facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 500; color: #fff; }
.ov-facts svg { width: 18px; height: 18px; color: #7fe0d8; }

/* ---------- formulário ---------- */
.ov-form-sec { position: relative; z-index: 2; margin-top: -120px; padding-bottom: 72px; }
.ov-card { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 28px; box-shadow: var(--ov-shadow); padding: 30px 22px 26px; text-align: left; }
.ov-progress { list-style: none; margin: 0 0 14px; padding: 0; display: flex; justify-content: space-between; gap: 6px; }
.ov-progress li { display: flex; align-items: center; gap: 8px; color: #9aa5a4; font-size: 0.78rem; font-weight: 500; }
.ov-progress span { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #d5e2e1; display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; background: #fff; transition: all 0.25s ease; }
.ov-progress em { font-style: normal; }
.ov-progress li.is-on { color: var(--ov-ink); }
.ov-progress li.is-on span { border-color: var(--k); background: var(--k); color: #fff; box-shadow: 0 0 0 5px rgba(0, 154, 149, 0.14); }
.ov-progress li.is-done { color: var(--k); }
.ov-progress li.is-done span { border-color: var(--k); color: var(--k); background: var(--k-soft); }
.ov-bar { height: 4px; border-radius: 4px; background: #eef3f3; overflow: hidden; margin: 0 0 28px; }
.ov-bar i { display: block; height: 100%; width: 25%; border-radius: 4px; background: linear-gradient(90deg, var(--k) 0%, #19b3ad 100%); transition: width 0.4s ease; }

.ov-step { border: 0; margin: 0; padding: 0; min-width: 0; animation: ovIn 0.35s ease; }
.ov-q { display: block; padding: 0; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); font-weight: 600; color: #1d2626; margin: 0 0 6px; line-height: 1.3; }
.ov-q:focus { outline: none; }
.ov-hint { color: var(--muted); font-size: 0.9rem; font-weight: 300; margin: 0 0 20px; }
.ov-hint-sm { font-size: 0.8rem; margin: 2px 0 0; }

/* tipos (etapa 1) */
.ov-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ov-type { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-radius: 18px; border: 1.5px solid #e3ecec; background: #fbfdfd; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; }
.ov-type:hover { border-color: var(--k); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 90, 85, 0.1); }
.ov-type input { position: absolute; opacity: 0; pointer-events: none; }
.ov-type-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--k-soft); color: var(--k); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; transition: all 0.2s ease; }
.ov-type-ico svg { width: 22px; height: 22px; }
.ov-type strong { font-size: 0.98rem; color: #1d2626; }
.ov-type small { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.ov-type:has(input:checked) { border-color: var(--k); background: var(--k-soft); }
.ov-type:has(input:checked) .ov-type-ico { background: var(--k); color: #fff; }
.ov-type:has(input:focus-visible) { outline: 2px solid var(--k); outline-offset: 3px; }

/* campos */
.ov-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; position: relative; }
.ov-field label { font-size: 0.82rem; font-weight: 600; color: #2b2f2f; }
.ov-opt { font-weight: 400; color: #9aa5a4; font-size: 0.74rem; margin-left: 4px; }
.ov-row { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.ov-card input[type="text"], .ov-card input[type="email"], .ov-card input[type="tel"], .ov-card input[type="date"], .ov-card textarea {
  width: 100%; font: inherit; font-size: 0.95rem; color: #1d2626; background: #f6f9f9; border: 1.5px solid #e1eaea; border-radius: 14px; padding: 13px 15px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.ov-card textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.ov-card input:focus, .ov-card textarea:focus { outline: none; border-color: var(--k); background: #fff; box-shadow: 0 0 0 4px rgba(0, 154, 149, 0.12); }
.ov-count { align-self: flex-end; font-size: 0.74rem; color: #9aa5a4; }

/* modo (etapa 3) */
.ov-modes { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 14px 0 20px; }
.ov-mode { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1.5px solid #e3ecec; cursor: pointer; transition: all 0.2s ease; }
.ov-mode input { margin-top: 3px; accent-color: var(--k); width: 18px; height: 18px; flex: 0 0 auto; }
.ov-mode strong { display: block; font-size: 0.95rem; color: #1d2626; }
.ov-mode small { font-size: 0.8rem; color: var(--muted); }
.ov-mode:has(input:checked) { border-color: var(--k); background: var(--k-soft); }
.ov-anon-note { background: #fff8e8; border: 1px solid #f3dca5; color: #6d4f00; border-radius: 14px; padding: 14px 16px; font-size: 0.88rem; margin: 0; }

/* revisão (etapa 4) */
.ov-review { margin: 18px 0 20px; border: 1px solid #e6eeee; border-radius: 18px; overflow: hidden; }
.ov-review-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border-bottom: 1px solid #eef3f3; }
.ov-review-row:last-child { border-bottom: 0; }
.ov-review dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #8a9796; }
.ov-review dd { grid-column: 1; margin: 0; font-size: 0.92rem; color: #1d2626; white-space: pre-wrap; word-break: break-word; }
.ov-edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; background: none; border: 0; font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--k); cursor: pointer; padding: 6px; }
.ov-edit:hover { text-decoration: underline; }
.ov-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.ov-consent input { margin-top: 3px; accent-color: var(--k); width: 18px; height: 18px; flex: 0 0 auto; }
.ov-consent a { color: var(--k); font-weight: 600; }
.ov-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.ov-error { margin: 18px 0 0; background: #fdecec; color: #8a1f1f; border-radius: 12px; padding: 11px 14px; font-size: 0.86rem; }
.ov-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #eef3f3; }
.ov-back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--muted); cursor: pointer; padding: 10px 4px; }
.ov-back:hover { color: var(--k); }
.ov-back svg { width: 18px; height: 18px; }
.ov-next { margin-left: auto; }
.ov-next[disabled] { opacity: 0.7; cursor: wait; }

/* sucesso */
.ov-done { text-align: center; padding: 18px 6px 10px; animation: ovIn 0.4s ease; }
.ov-done:focus { outline: none; }
.ov-done-ico { width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(150deg, var(--k) 0%, #19b3ad 100%); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(0, 154, 149, 0.12); }
.ov-done-ico svg { width: 36px; height: 36px; stroke-width: 3; }
.ov-done h2 { color: #1d2626 !important; font-size: 1.6rem !important; font-weight: 700 !important; margin: 22px 0 6px !important; }
.ov-done p { color: var(--muted); margin: 0 0 10px; }
.ov-proto { display: inline-flex; align-items: center; gap: 10px; background: var(--k-soft); border: 1.5px dashed var(--k); border-radius: 14px; padding: 8px 8px 8px 18px; margin: 4px 0 14px; }
.ov-proto strong { font-size: 1.1rem; letter-spacing: 0.05em; color: var(--ov-ink); }
.ov-proto button { background: var(--k); color: #fff; border: 0; border-radius: 10px; padding: 8px 14px; font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.ov-done-note { font-size: 0.88rem; max-width: 46ch; margin-inline: auto !important; }
.ov-again { margin-top: 10px; background: none; border: 0; font: inherit; color: var(--k); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ---------- títulos das seções de baixo ---------- */
.ov-h2 { text-align: center; font-weight: 300 !important; color: #2b2f2f !important; margin: 0 0 40px !important; }
.ov-h2 strong { display: inline !important; color: var(--k) !important; font-weight: 700 !important; }

/* ---------- 2. linha do tempo ---------- */
.ov-flow { padding: 24px 0 80px; }
.ov-timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
.ov-timeline li { position: relative; padding: 0 0 30px 64px; text-align: left; }
.ov-timeline li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--k-tint), transparent); }
.ov-timeline li:last-child::before { display: none; }
.ov-timeline b { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--k); color: var(--k); font-weight: 700; font-size: 0.85rem; }
.ov-timeline h3 { font-size: 1.05rem; font-weight: 700; color: #1d2626; margin: 8px 0 6px; }
.ov-timeline p { font-size: 0.9rem; color: var(--muted); font-weight: 300; line-height: 1.6; margin: 0; }

/* ---------- 3. Atendimento x Ouvidoria ---------- */
.ov-which { padding: 0 0 80px; }
.ov-which-box { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr; border-radius: 28px; overflow: hidden; border: 1px solid #e3ecec; }
.ov-which-col { padding: 34px 28px; text-align: left; background: #fff; }
.ov-which-on { background: linear-gradient(160deg, var(--ov-ink) 0%, #00736e 100%); color: #fff; }
.ov-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--k); background: var(--k-soft); padding: 5px 12px; border-radius: 999px; }
.ov-which-on .ov-tag { color: #bff0ec; background: rgba(255, 255, 255, 0.12); }
.ov-which-col h3 { font-size: 1.3rem; font-weight: 700; color: #1d2626; margin: 14px 0 16px; }
.ov-which-on h3 { color: #fff !important; }
.ov-which-col ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.ov-which-col li { position: relative; padding-left: 22px; font-size: 0.92rem; color: #4d5555; line-height: 1.5; }
.ov-which-col li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.ov-which-on li { color: rgba(255, 255, 255, 0.92); }
.ov-which-on li::before { background: #7fe0d8; }
.ov-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.92rem; color: var(--k); text-decoration: none; }
.ov-link svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.ov-link:hover svg { transform: translateX(4px); }
.ov-which-on .ov-link { color: #fff; }

/* ---------- 4. dúvidas ---------- */
.ov-faq { padding: 0 0 90px; }
.ov-faq-list { max-width: 820px; margin: 0 auto; }

@keyframes ovIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ov-page *, .ov-page *::before, .ov-page *::after { animation: none !important; transition: none !important; } }

/* ---------- celular pequeno ---------- */
@media (max-width: 520px) {
  .ov-progress em { display: none; }
  .ov-progress { justify-content: space-between; }
  .ov-types { grid-template-columns: 1fr; }
  .ov-type { flex-direction: row; align-items: center; gap: 12px; padding: 14px; }
  .ov-type-ico { margin: 0; flex: 0 0 auto; }
  .ov-type strong { display: block; }
  .ov-top::after { width: 240px; height: 240px; right: -70px; top: -40px; }
  .ov-nav .btn { padding-inline: 22px; }
}

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  .ov-card { padding: 38px 40px 32px; }
  .ov-row { grid-template-columns: 1fr 1fr; }
  .ov-modes { grid-template-columns: 1fr 1fr; }
  .ov-which-box { grid-template-columns: 1fr 1fr; }
  .ov-which-col { padding: 40px 38px; }
}

/* ---------- computador ---------- */
@media (min-width: 960px) {
  .ov-top { padding: 72px 0 190px; }
  .ov-form-sec { margin-top: -140px; }
  .ov-card { padding: 44px 52px 36px; }
  .ov-types { grid-template-columns: repeat(4, 1fr); }
  .ov-timeline { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .ov-timeline li { padding: 64px 0 0; text-align: left; }
  .ov-timeline li::before { left: 52px; right: -24px; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--k-tint), rgba(207, 236, 235, 0.3)); }
}


.ov-nav [hidden] { display: none !important; }

/* o padrao.css força o padding da primeira seção; aqui o topo precisa de espaço extra para o cartão sobreposto */
main > section.ov-top:first-child { padding-block: 56px 170px !important; }
@media (min-width: 960px) { main > section.ov-top:first-child { padding-block: 72px 190px !important; } }
