/* Paginas internas (servico por regiao, cases). Usa os tokens de styles-runtime.css. */
.pg { padding-top: 120px; }
.pg-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); }
.pg-hero h1 { font-weight: 700; font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 0; max-width: 16ch; text-wrap: balance; }
.pg-hero .lead { margin-top: 24px; max-width: 62ch; }
.pg-hero .btn { margin-top: 32px; }
.pg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin: 0; padding: 0; list-style: none; }
.pg-facts li { background: var(--paper); padding: 24px 26px; min-width: 0; }
.pg-facts b { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.pg-facts span { display: block; margin-top: 6px; color: var(--ink-mid); font-size: 15px; line-height: 1.4; }
.pg-sec { padding: clamp(44px, 6vw, 80px) 0 0; }
.pg-sec > h2 { font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 22px; max-width: 24ch; text-wrap: balance; }
.pg-sec p { max-width: 68ch; color: var(--ink-soft); margin: 0 0 14px; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pg-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; min-width: 0; }
.pg-card .eyebrow { display: block; margin-bottom: 10px; }
.pg-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 8px; }
.pg-card h3 a { color: inherit; }
.pg-card h3 a::after { content: ""; position: absolute; inset: 0; }
.pg-card:has(h3 a) { position: relative; transition: border-color 0.2s; }
.pg-card:has(h3 a):hover { border-color: var(--orange); }
.pg-card p { margin: 0; font-size: 16px; color: var(--ink-mid); }
.pg-tablebox { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.pg-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.pg-table th, .pg-table td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); line-height: 1.45; }
.pg-table tr:last-child th, .pg-table tr:last-child td { border-bottom: 0; }
.pg-table thead th { font-size: 14px; color: var(--ink-mid); font-weight: 600; background: var(--paper-2); }
.pg-table tbody th { font-weight: 600; width: 22%; }
.pg-faq { border-top: 1px solid var(--line); max-width: 860px; }
.pg-faq details { border-bottom: 1px solid var(--line); }
.pg-faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--orange-deep); transition: transform 0.2s; }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq p { margin: 0 0 22px; }
.pg-cta { margin: clamp(56px, 8vw, 110px) 0 clamp(56px, 8vw, 110px); background: var(--navy); color: var(--paper); border-radius: 28px; padding: clamp(32px, 5vw, 64px); }
.pg-cta h2 { font-weight: 700; font-size: clamp(26px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.03em; margin: 0; max-width: 20ch; text-wrap: balance; }
.pg-cta p { color: rgba(247, 249, 251, 0.78); margin: 16px 0 0; max-width: 56ch; }
.pg-cta .btn { margin-top: 28px; background: var(--orange); color: var(--navy-deep); }
.pg-crumb { font-size: 14px; color: var(--ink-mid); }
.pg-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.pg-pend { border: 2px dashed var(--orange-deep); border-radius: 20px; padding: 24px 26px; background: rgba(248, 149, 64, 0.08); }
.pg-pend strong { display: block; color: var(--orange-deep); font-size: 14px; margin-bottom: 6px; }
.pg-pend p { margin: 0; color: var(--ink); }
@media (max-width: 720px) { .pg { padding-top: 96px; } }
/* Sem JavaScript, a animacao de palavras do rodape fica vazia: escondida nas paginas internas. */
.pg ~ .footer .footer__rt { display: none; }

/* ---- Hero com mapa: Brasil em azul-escuro, regiao em laranja ---- */
.pg-hero--map { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.pg-map { width: 100%; max-width: 520px; height: auto; justify-self: center; filter: drop-shadow(0 24px 30px rgba(12, 48, 73, 0.18)); }
.pg-map path { fill: var(--navy); }
.pg-map path.on { fill: var(--orange); }
.pg-sec--tight { padding-top: clamp(28px, 4vw, 48px); }
/* ---- Faixa de fotos ---- */
.pg-fotos { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: 12px; height: clamp(240px, 30vw, 400px); }
.pg-fotos img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; min-width: 0; }
/* ---- Cartoes com foto ---- */
.pg-card--img { padding: 0 0 24px; overflow: hidden; }
.pg-card--img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; margin-bottom: 20px; }
.pg-card--img h3, .pg-card--img p { padding: 0 24px; }
/* ---- Selos (premios) ---- */
.pg-selos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pg-selos li { position: relative; border-radius: 24px; overflow: hidden; min-height: 300px; background: var(--navy-deep); display: flex; align-items: flex-end; }
.pg-selos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-selos div { position: relative; width: 100%; padding: 90px 26px 24px; color: #fff; background: linear-gradient(to top, rgba(6, 25, 42, 0.94) 35%, rgba(6, 25, 42, 0)); }
.pg-selos b { display: block; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; line-height: 1.15; }
.pg-selos span { display: block; margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
/* ---- Compartilhado x exclusivo ---- */
.pg-duelo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.pg-lado { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: #fff; }
.pg-lado--on { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.pg-lado .eyebrow { display: block; margin-bottom: 8px; }
.pg-lado--on .eyebrow { color: var(--orange); }
.pg-lado h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 14px; }
.pg-lado ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pg-lado li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.pg-lado--on li { color: rgba(247, 249, 251, 0.86); }
.pg-lado li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.pg-more { margin-top: 18px !important; }
.pg-more a { font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
/* ---- Mapa interativo de redes por estado ---- */
.rmap { background: var(--navy-deep); color: var(--paper); border-radius: 28px; padding: clamp(22px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(20px, 3.5vw, 48px); align-items: start; }
.rmap-head { grid-column: 1 / -1; }
.rmap-head h2 { font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -0.03em; margin: 0; color: #fff; }
.rmap-head p { margin: 10px 0 0; max-width: 60ch; color: rgba(247, 249, 251, 0.74); }
.rmap-svg { width: 100%; height: auto; display: block; }
.rmap-off { fill: #143c58; }
.rmap-st { cursor: pointer; outline: none; }
.rmap-st path { fill: var(--orange); fill-opacity: 0.5; stroke: var(--navy-deep); stroke-width: 1; transition: fill-opacity 0.15s; }
.rmap-st:hover path, .rmap-st:focus-visible path { fill-opacity: 0.75; }
.rmap-st.is-on path { fill-opacity: 1; }
.rmap-st text { font-size: 30px; font-weight: 700; text-anchor: middle; fill: var(--navy-deep); pointer-events: none; font-family: inherit; }
.rmap-ufs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.rmap-ufs span { flex-basis: 100%; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(247, 249, 251, 0.6); }
.rmap-uf { min-width: 46px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); font-size: 14px; font-weight: 600; color: #fff; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.rmap-uf:hover { border-color: var(--orange); }
.rmap-uf.is-on { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }
.rmap-right { display: grid; gap: 28px; }
.rmap-panel h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0; color: #fff; }
.rmap-n { margin: 6px 0 18px !important; color: var(--orange) !important; font-weight: 600; font-size: 15px; }
.rmap-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.rmap-chip { min-height: 46px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; font-weight: 600; color: #fff; }
.rmap-chip--logo { background: #fff; padding: 6px 14px; }
.rmap-chip--logo img { height: 32px; width: auto; max-width: 120px; object-fit: contain; display: block; }
/* Com JavaScript, so o estado escolhido aparece; sem ele, a lista inteira fica visivel. */
.rmap--js .rmap-panel { display: none; }
.rmap--js .rmap-panel.is-on { display: block; }
@media (max-width: 820px) {
  .pg-hero--map { grid-template-columns: 1fr; }
  .pg-map { max-width: 340px; }
  .rmap { grid-template-columns: 1fr; }
  .pg-fotos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; height: 280px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--pad-x) * -1); padding-right: var(--pad-x); }
  .pg-fotos img { scroll-snap-align: start; }
}
