/* =========================================================
   PEPARK — design system (mockup)
   Tokens · layout · components · motion
   ========================================================= */

:root {
  /* Brand — PANTONE Red 032 + PANTONE 430 (Manual de Marca PE PARK) */
  --brand-1: #ED3237;          /* Vermelho oficial */
  --brand-2: #c61b20;          /* Vermelho mais escuro para gradientes */
  --accent:  #96989A;          /* Cinza oficial */
  --ink:     #1a1a1a;          /* Preto oficial */

  /* Neutrals — light */
  --bg:        #fafafa;
  --surface:   #ffffff;
  --surface-2: #ffffff;
  --text:      #1a1a1a;
  --muted:     #6a6c70;
  --line:      #e9e9eb;
  --shadow:    0 10px 30px rgba(26, 26, 26, 0.06), 0 2px 6px rgba(26, 26, 26, 0.04);
  --shadow-lg: 0 30px 60px rgba(237, 50, 55, 0.12);

  /* Type — alternativas web ao Arial Rounded MT Bold / Arial Narrow */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-disp: "Nunito", "Arial Rounded MT Bold", "Arial Rounded MT", "Arial", system-ui, sans-serif;

  /* Layout */
  --radius:   14px;
  --radius-lg:22px;
  --container: 1180px;
}

[data-theme="dark"] {
  --bg:        #121214;
  --surface:   #1a1a1d;
  --surface-2: #232327;
  --text:      #f5f5f6;
  --muted:     #9a9ca0;
  --line:      #2a2a2e;
  --shadow:    0 10px 30px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 60px rgba(237, 50, 55, 0.25);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-disp);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0; }
ul { padding: 0; margin: 0; list-style: none; }

.skip {
  position: absolute; left: -9999px; top: 0;
  padding: .75rem 1rem; background: var(--text); color: var(--bg); z-index: 999;
}
.skip:focus { left: 1rem; top: 1rem; }

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

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: .9rem;
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head--wide { max-width: 1100px; }
.section-head p { color: var(--muted); margin-top: .75rem; }

/* Página Sobre: aproxima o título "Tudo o que você precisa..." do fim do hero */
[data-page="sobre"] .hero { padding-bottom: 0; overflow: visible; }
[data-page="sobre"] #servicos { padding-top: 1.5rem; padding-bottom: 1.5rem; }
[data-page="sobre"] #servicos .section-head { margin-bottom: 1.5rem; }

/* Background fixo cobrindo toda a viewport (não confinado à hero como nas outras) */
[data-page="sobre"] .hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
[data-page="sobre"] .hero,
[data-page="sobre"] #servicos,
[data-page="sobre"] #planos { position: relative; z-index: 1; }

/* Página Sobre: aproxima "Serviços PE Park" dos cards de Serviços acima */
[data-page="sobre"] #planos { padding-top: 1.5rem; padding-bottom: 1rem; }
[data-page="sobre"] #planos .section-head { margin-bottom: 1.5rem; }

/* Página Sobre: rodapé colado nos cards de Serviços PE Park */
[data-page="sobre"] .site-footer { margin-top: 0; padding-top: 1.25rem; }

/* =========================================================
   Página Boletos (consulta de boletos + validação de ticket)
   ========================================================= */
.boletos-section {
  position: relative;
  overflow: hidden;
  background: transparent !important;   /* anula o section-alt (--surface) pra grid/blobs aparecerem */
}
.boletos-section .hero-bg { z-index: 0; }   /* tira o -1 — fica entre o body e o .container */
.boletos-section > .container { position: relative; z-index: 1; }
.boletos-title { color: var(--brand-1); margin-bottom: .5rem; }

/* Layout 2 colunas: texto à esquerda, card de formulário à direita */
.boletos-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.boletos-intro { max-width: 50ch; }
.boletos-intro p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin-top: .5rem; }

/* Convênio: 2 colunas — texto à esquerda, cards à direita */
[data-page="convenio"] .boletos-section { padding-top: 1.25rem; padding-bottom: 1rem; }
[data-page="convenio"] .site-footer { margin-top: 0; padding-top: 1.25rem; }
[data-page="convenio"] .pe-step__text,
[data-page="convenio"] .pe-selos__list li { text-align: justify; }
[data-page="convenio"] .boletos-layout {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
[data-page="convenio"] .boletos-intro { max-width: none; }

/* Unidades: 1 coluna — texto centralizado em cima, cards (grid) embaixo */
[data-page="unidades"] .boletos-section { padding-top: 1.25rem; padding-bottom: 1rem; }
[data-page="unidades"] .site-footer { margin-top: 0; padding-top: 1.25rem; }
[data-page="unidades"] .boletos-layout {
  grid-template-columns: 1fr;
  max-width: 1180px;
  margin: 0 auto;
  gap: .5rem;                /* aperta vertical entre intro/cidade/cidade */
}
[data-page="unidades"] .boletos-intro {
  max-width: none;
  margin: 0 auto;
  text-align: center;
}
[data-page="unidades"] .boletos-intro p {
  color: var(--text);          /* preto (#1a1a1a) */
  font-size: 1rem;
  line-height: 1.55;
  margin-top: .35rem;
  white-space: nowrap;       /* força em uma linha no desktop */
}
@media (max-width: 1100px) {
  [data-page="unidades"] .boletos-intro p { white-space: normal; }
}
[data-page="unidades"] .pe-selos-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: none;
  width: 100%;
}

/* Cabeçalho de cada cidade (FLORIANÓPOLIS / SÃO JOSÉ) */
.unidades-city { margin-top: 0; }
.unidades-city + .unidades-city { margin-top: .5rem; }
.unidades-city__title {
  font-family: var(--font-disp);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #96989A;                            /* PANTONE 430 — cinza oficial */
  margin: 0 0 .5rem;
  padding-bottom: .35rem;
  border-bottom: 2px solid color-mix(in oklab, #96989A 35%, var(--line));
}

/* Linha de horário dentro do card */
.pe-step__hours {
  margin: .35rem 0 0 !important;
  font-size: .82rem !important;
  color: var(--muted) !important;
  font-weight: 500;
}
.pe-step__hours--24h {
  color: var(--brand-1) !important;
  font-weight: 700;
}
.pe-step__hours--24h::before {
  content: "🕒 ";
}
.pe-step__hours--mensal {
  color: var(--accent) !important;
  font-weight: 600;
  font-style: italic;
}

/* Botão "Ver no mapa" — link compacto pro Google Maps */
.pe-step__map {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .85rem;
  padding: .4rem .75rem;
  background: color-mix(in oklab, var(--brand-1) 8%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--brand-1) 25%, var(--line));
  border-radius: 8px;
  color: var(--brand-1);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.pe-step__map:hover {
  background: var(--brand-1);
  color: #ffffff;
  transform: translateY(-1px);
}
.pe-step__map svg { flex: 0 0 auto; }

/* Logo PE Selo — em cima dos cards na página de convênio */
.pe-selos-logo {
  display: block;
  width: 100%;
  max-width: 315px;        /* -25% (era 420px) */
  height: auto;
  margin: 0 auto -.5rem;   /* margem negativa puxa o card de baixo pra cima */
  filter: drop-shadow(0 8px 22px rgba(237, 50, 55, .15));
}

/* Cards "Como funciona o PE Selos" — empilhados em coluna */
.pe-selos-steps {
  display: flex; flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  width: 100%;
}
.pe-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: transform .25s, box-shadow .25s, border-left-color .25s;
}
.pe-step:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow);
  border-left-color: var(--brand-2);
}
.pe-step__head {
  display: flex; align-items: center; gap: .85rem;
  margin-bottom: .65rem;
}
.pe-step__num {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand-1);
  letter-spacing: -.02em;
}
.pe-step__icon { font-size: 1.5rem; line-height: 1; }
.pe-step__title {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: .35rem;
}
.pe-step__text {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  [data-page="convenio"] .boletos-layout { grid-template-columns: 1fr; }
}

/* Conteúdo da página Convênio — PE Selos */
.pe-selos { max-width: 56ch; text-align: justify; }
.pe-selos p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin-top: 1rem; }
.pe-selos p strong { color: var(--text); font-weight: 600; }
.pe-selos__lead { color: var(--text) !important; font-size: 1.1rem !important; font-weight: 500; }
.pe-selos__intro-list { font-weight: 600; color: var(--text) !important; }

.pe-selos__list {
  display: flex; flex-direction: column; gap: .6rem;
  margin: .85rem 0 0;
  padding: 0;
}
.pe-selos__list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .98rem;
  color: var(--text);
  line-height: 1.5;
}
.pe-selos__icon {
  font-size: 1.25rem;
  line-height: 1;
  flex: 0 0 auto;
  filter: saturate(1.1);
}

.pe-selos__bridge {
  font-style: italic;
  color: var(--text) !important;
}

.pe-selos__tag {
  margin-top: 1.5rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 1rem !important;
  color: var(--text) !important;
}
.pe-selos__brand {
  display: block;
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--brand-1);
  letter-spacing: -.01em;
  margin-bottom: .15rem;
}

/* Callout "Você sabia?" — dica sobre DDA */
.boletos-tip {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  background: color-mix(in oklab, var(--brand-1) 7%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--brand-1) 22%, var(--line));
  border-radius: var(--radius);
}
.boletos-tip__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex: 0 0 auto;
  filter: saturate(1.15);
}
.boletos-tip__body {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text);
}
.boletos-tip__body strong { color: var(--brand-1); font-weight: 700; }
.boletos-tip__body strong:first-child {
  display: block;
  margin-bottom: .25rem;
  font-family: var(--font-disp);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .boletos-layout { grid-template-columns: 1fr; gap: 2rem; }
  .boletos-intro { max-width: none; text-align: center; margin-inline: auto; }
}

/* Modo "tela cheia" — após a consulta retornar boletos */
.boletos-layout.is-showing-results { grid-template-columns: 1fr !important; }
.boletos-layout.is-showing-results .boletos-intro,
.boletos-layout.is-showing-results .boleto-card__title,
.boletos-layout.is-showing-results .boleto-form { display: none; }
.boletos-layout.is-showing-results .boleto-card {
  max-width: none;
  padding: 1.5rem 1.75rem;
}
.boleto-back { margin-bottom: 1rem; }

/* O atributo HTML `hidden` precisa ter prioridade sobre display:inline-flex de .btn etc. */
[hidden] { display: none !important; }

/* =========================================================
   Formulário Mensalista — ficha de cadastro
   ========================================================= */
/* Colar a página no header e no rodapé (sem o padding grande do .section) */
[data-page="mensalista"] .boletos-section { padding-top: 1.25rem; padding-bottom: 1rem; }
[data-page="mensalista"] .site-footer { margin-top: 0; padding-top: 1.25rem; }

/* Contato: cola o formulário no header */
[data-page="contato"] .boletos-section { padding-top: 1.25rem; padding-bottom: 1rem; }
[data-page="contato"] .site-footer { margin-top: 0; padding-top: 1.25rem; }

/* Layout vertical: intro → form → orientações (página inteira) */
.mensalista-page {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1080px;        /* form pode ser bem largo, mas ainda legível */
  margin: 0 auto;
}
.mensalista-header { text-align: center; }
.mensalista-header .boletos-title {
  margin-bottom: .5rem;
  white-space: nowrap;      /* "Quero ser mensalista" sempre em uma linha */
}
.mensalista-header p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  white-space: nowrap;       /* força uma linha única no desktop */
}
@media (max-width: 1000px) {
  .mensalista-header p { white-space: normal; }    /* libera wrap em telas menores */
}

/* Aviso importante — preto, negrito, com fundo sutil pra chamar atenção */
.mensalista-warning {
  white-space: normal !important;       /* aceita quebra de linha */
  color: var(--text) !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  max-width: 80ch;
  margin: 1rem auto 0 !important;
  padding: .85rem 1.1rem;
  background: color-mix(in oklab, var(--brand-1) 6%, var(--surface));
  border-left: 3px solid var(--brand-1);
  border-radius: var(--radius);
  text-align: left;
}
@media (max-width: 600px) {
  .mensalista-header .boletos-title { white-space: normal; }
}

.mensalista-card { max-width: none; width: 100%; }
.mensalista-form { gap: 1.25rem; }

.form-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem 1.1rem;
  margin: 0;
  background: var(--surface);
}
.form-section legend {
  padding: 0 .5rem;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: .92rem;
  color: var(--brand-1);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-section__note {
  font-size: .82rem; color: var(--muted);
  margin: .75rem 0 .5rem;
  font-weight: 500;
}
.form-section .opt {
  font-weight: 400; color: var(--muted); font-size: .82em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) {
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
}

.radio-group {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding: .35rem 0;
}
.radio-group--col { flex-direction: column; gap: .4rem; }
.radio {
  display: inline-flex; align-items: center; gap: .45rem;
  cursor: pointer; font-size: .95rem;
  color: var(--text);
}
.radio input[type="radio"] {
  accent-color: var(--brand-1);
  width: 16px; height: 16px;
}

.mensalista-actions { margin-top: .5rem; }

.form-hint {
  display: block;
  margin-top: .3rem;
  font-size: .82rem;
  color: var(--muted);
}
/* Controle custom de upload — substitui o "Escolher arquivo / Nenhum arquivo escolhido"
   nativo do navegador por textos em português que controlamos */
.file-control {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 10px;
  transition: border-color .2s, background .2s;
}
.file-control:hover,
.file-control:focus-within {
  border-color: var(--brand-1);
  background: color-mix(in oklab, var(--brand-1) 4%, var(--surface));
}
.file-control__input {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}
/* Mesma tipografia, cor e gradiente do .btn .btn-primary (botão "Enviar cadastro") */
.file-control .file-control__btn,
label.file-control__btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #ffffff;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  user-select: none;
  flex: 0 0 auto;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(237, 50, 55, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.file-control .file-control__btn:hover,
label.file-control__btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(237, 50, 55, .42);
}
.file-control__input:focus-visible + .file-control__btn {
  outline: 2px solid var(--brand-1);
  outline-offset: 2px;
}
.file-control__name {
  font-size: .9rem;
  color: var(--muted);
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.file-control__name--selected { color: var(--text); font-weight: 500; }

/* Caixa de aceite — botão que libera a ficha de cadastro */
.mensalista-aceite {
  text-align: center;
  margin: .5rem 0;
  padding: 1.25rem;
  background: color-mix(in oklab, var(--brand-1) 6%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--brand-1) 25%, var(--line));
  border-radius: var(--radius);
}
.mensalista-aceite .btn { padding: .85rem 1.75rem; font-size: 1rem; }
.mensalista-aceite__hint {
  margin: .65rem 0 0;
  font-size: .85rem;
  color: var(--muted);
}

/* Orientações — agora abaixo do form, em grid de 2 colunas */
.mensalista-info {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  font-size: .92rem; color: var(--muted); line-height: 1.5;
}
.mensalista-info li {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-1);
  border-radius: var(--radius);
}
.mensalista-info li strong { color: var(--text); display: block; margin-bottom: .15rem; }
@media (max-width: 700px) { .mensalista-info { grid-template-columns: 1fr; } }

/* Mensagem de sucesso (verde) */
.result-msg--ok {
  background: color-mix(in oklab, #2ad65d 12%, var(--surface)) !important;
  border-color: color-mix(in oklab, #2ad65d 35%, var(--line)) !important;
  color: #137a39 !important;
}
.boleto-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.boleto-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--brand-1);
}
.boleto-form .field { margin-bottom: .9rem; }
.boleto-actions {
  display: flex; gap: .65rem; flex-wrap: wrap;
  margin-top: .5rem;
}

.boleto-result {
  margin-top: 1.25rem;
  min-height: 1rem;
}
.boleto-result .result-msg {
  padding: .85rem 1rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .92rem;
  color: var(--muted);
}
.boleto-result .result-msg--err {
  background: color-mix(in oklab, var(--brand-1) 8%, var(--surface));
  border-color: color-mix(in oklab, var(--brand-1) 25%, var(--line));
  color: var(--brand-1);
}
.boleto-result .result-msg--loading { color: var(--text); }

.boleto-result .result-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--text);
}
.boleto-result .result-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.boleto-result .result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.boleto-result .result-table th,
.boleto-result .result-table td {
  padding: .65rem .85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.boleto-result .result-table th {
  background: color-mix(in oklab, var(--brand-1) 6%, var(--surface));
  color: var(--brand-1);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.boleto-result .result-table tr:last-child td { border-bottom: 0; }
.boleto-result .pagto-ok { color: #2ad65d; font-weight: 600; }
.boleto-result .pagto-pendente { color: var(--muted); }
.boleto-result .pagto-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--brand-1); font-weight: 600;
}
.boleto-result .pagto-link::before { content: "📄"; }
.boleto-result .pagto-link:hover { text-decoration: underline; }

.boleto-help {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-left: 4px solid var(--brand-1);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--muted);
  display: grid; gap: .35rem;
}
.boleto-help code {
  background: color-mix(in oklab, var(--brand-1) 8%, var(--surface));
  color: var(--brand-1);
  padding: 1px 6px; border-radius: 5px;
  font-size: .85em;
}

@media (max-width: 800px) {
  .boletos-grid { grid-template-columns: 1fr; }
}

/* Cards inline — favicon ao lado do título (sobre.php) */
.card--inline { display: flex; flex-direction: column; }
.card--inline .card-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .75rem;
}
.card--inline .card-icon-img {
  width: 48px; height: 48px;
  flex: 0 0 auto;
  display: block;
  border-radius: 10px;
}
.card--inline h3 { margin: 0; }

/* Página Sobre: ajustes do hero-art pra acomodar cards M/V/V abaixo da logo */
[data-page="sobre"] .hero-art {
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
}
[data-page="sobre"] .hero-art__img { max-width: 500px; }

/* Card narrativo (substitui o "Mensalista · Moto" na sobre) */
.plano--narrative {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand-1) 6%, var(--surface)), var(--surface));
  border-color: color-mix(in oklab, var(--brand-1) 25%, var(--line));
}
.plano--narrative h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--brand-1);
  font-weight: 800;
}
.plano-narrative {
  display: flex; flex-direction: column; gap: .85rem;
  margin-top: 1rem;
  flex-grow: 1;
}
.plano-narrative p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}
.plano-narrative__cta {
  margin-top: .5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text) !important;
  font-weight: 500;
  text-align: left !important;
  hyphens: none !important;
}
.plano-narrative__cta strong { color: var(--brand-1); font-weight: 700; }
.plano-narrative__highlight {
  display: block;
  margin-top: .25rem;
  font-family: var(--font-disp);
  font-weight: 700;
  color: var(--brand-1);
}

/* Lista de itens dentro de card narrativo (card 3 — eventos) */
.plano-narrative__items {
  display: flex; flex-direction: column; gap: .55rem;
  margin: 0; padding: 0;
  text-align: left;
  hyphens: none;
}
.plano-narrative__items li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: .9rem;
  line-height: 1.5;
}
.plano-narrative__items li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-1);
}
.plano-narrative__items li strong { color: var(--brand-1); font-weight: 700; }

/* Cards Missão / Visão / Valores — empilhados em coluna */
.mvv {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mvv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-1);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.mvv-card:hover {
  transform: translateX(2px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--brand-2);
}
.mvv-card__title {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .12em;
  color: var(--brand-1);
  margin-bottom: .5rem;
}
.mvv-card__text {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.55;
}
.mvv-card__list {
  display: flex; flex-direction: column; gap: .35rem;
  margin: 0; padding: 0;
}
.mvv-card__list li {
  position: relative;
  padding-left: 1rem;
  font-size: .92rem;
  color: var(--text);
  line-height: 1.45;
}
.mvv-card__list li::before {
  content: "";
  position: absolute; left: 0; top: .65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-1);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: .95rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(237, 50, 55, .35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(237, 50, 55, .50); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }

/* Variante cinza — PANTONE 430 (mesmo tom do rodapé) */
.btn-gray {
  background: transparent;
  color: #96989A;
  border-color: #96989A;
}
.btn-gray:hover { background: #96989A; color: #ffffff; }

/* =========================================================
   Header / Nav — vermelho chapado (PANTONE Red 032)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-1);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  /* Desktop: sem padding extra */
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(237, 50, 55, .25);
}
/* Mobile (≤900px) — bug do iOS Safari: env(safe-area-inset-top) retorna 0
   no load inicial. Fallback de 50px garante respiro mínimo; max() respeita
   valores maiores em Dynamic Island (59pt). Sem JS de reflow (que estava
   causando padding duplicado). */
@media (max-width: 900px) {
  .site-header {
    padding-top: 50px;                                          /* fallback */
    padding-top: max(50px, env(safe-area-inset-top, 50px));     /* moderno */
  }
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  height: 84px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #ffffff; }
.brand-logo { height: 76px; width: auto; display: block; }

/* Footer: logo 50% maior que o header */
.foot-brand .brand-logo { height: 108px; }
@media (max-width: 600px) { .foot-brand .brand-logo { height: 92px; } }

@media (max-width: 600px) {
  .nav { height: 72px; }
  .brand-logo { height: 62px; }
}
@media (max-width: 400px) {
  .brand-logo { height: 52px; }
}


.primary-nav { display: flex; gap: .25rem; align-items: center; margin-left: auto; }
.primary-nav a {
  padding: .55rem .85rem;
  border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  color: rgba(255, 255, 255, .88);
  transition: color .2s, background .2s;
}
.primary-nav a:hover { color: #ffffff; background: rgba(255, 255, 255, .15); }
.primary-nav a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, .18);
  box-shadow: inset 0 -2px 0 #ffffff;
}

.nav-actions { display: flex; align-items: center; gap: .5rem; }

.theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #ffffff;
  transition: background .2s;
}
.theme-toggle:hover { background: rgba(255, 255, 255, .18); }
.theme-toggle svg { width: 20px; height: 20px; }
[data-theme="light"] .i-moon, [data-theme="dark"] .i-sun { display: none; }

/* CTA dentro do header vermelho — invertido (branco com texto vermelho) */
.nav-cta {
  background: #ffffff !important;
  color: var(--brand-1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15) !important;
}
.nav-cta:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .22) !important; }

.menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column; gap: 4px; justify-content: center; align-items: center; border-radius: 10px; }
.menu-toggle span { width: 22px; height: 2px; background: #ffffff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .primary-nav {
    position: fixed; inset: 84px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: var(--brand-1);
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    box-shadow: 0 8px 24px rgba(237, 50, 55, .25);
    transform: translateY(-110%);
    transition: transform .3s ease;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .primary-nav a {
    padding: .9rem 1rem; font-size: 1rem; border-radius: 12px;
    color: rgba(255, 255, 255, .92);
  }
  .primary-nav a:hover { background: rgba(255, 255, 255, .15); color: #ffffff; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
}
@media (max-width: 600px) {
  .primary-nav { inset: 72px 0 auto 0; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-top: clamp(.5rem, 1.5vw, 1.25rem); padding-bottom: 4rem; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob {
  position: absolute; width: 520px; height: 520px;
  border-radius: 50%; filter: blur(80px);
  opacity: .55;
  animation: float 14s ease-in-out infinite alternate;
}
.blob-1 { top: -120px; right: -80px; background: radial-gradient(circle at 30% 30%, var(--brand-1), transparent 60%); }
.blob-2 { bottom: -200px; left: -120px; background: radial-gradient(circle at 70% 70%, var(--brand-2), transparent 60%); animation-delay: -7s; opacity: .4; }
@keyframes float { to { transform: translate(40px, -30px) scale(1.05); } }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--text) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--text) 6%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
  min-height: 60vh;
}
.hero-copy h1 { margin-top: 0; }
.grad {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin-top: 1.25rem; }
.hero-cta { display: flex; gap: .75rem; margin-top: 2rem; flex-wrap: wrap; }

/* Título da página Sobre — PE Park (vermelho) + subtítulo (cinza PANTONE 430) */
.hero-title__brand { color: var(--brand-1); }
.hero-title__sub   { color: #96989A; }

/* História da página Sobre */
.hero-story {
  max-width: 62ch;
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}
.hero-story .lead { font-size: 1.2rem; color: var(--text); font-weight: 500; max-width: none; }
.hero-story p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-top: 1rem;
}
.hero-story p strong { color: var(--text); font-weight: 600; }
.hero-story .hero-tagline {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-disp);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text);
}
.hero-story .hero-tagline strong { color: var(--brand-1); font-weight: 800; }

.hero-bullets { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; color: var(--muted); font-size: .95rem; }
.hero-bullets li { display: inline-flex; align-items: center; gap: .5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand-1) 20%, transparent); }

/* Hero art — logo de 25 anos */
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.hero-art__img {
  width: 100%;
  max-width: 728px;          /* +30% (era 560) */
  height: auto;
  display: block;
  /* Pulse sutil pra dar vida */
  animation: hero-art-float 6s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(237, 50, 55, .18));
}

/* LED do "Atendimento ao vivo" — usado também no convênio art-card */
.led { width: 10px; height: 10px; border-radius: 50%; background: #2ad65d; box-shadow: 0 0 0 4px rgba(42,214,93,.2); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(42,214,93,0); } }
@keyframes hero-art-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 546px; margin-inline: auto; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art__img { animation: none; }
}

/* Stats */
.stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stat { text-align: center; padding: .5rem; }
.stat-value { font-family: var(--font-disp); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
.stat-label { color: var(--muted); font-size: .85rem; margin-top: .25rem; }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Cards grid (serviços)
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in oklab, var(--brand-1) 30%, var(--line));
}
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in oklab, var(--brand-1) 12%, transparent);
  color: var(--brand-1);
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* =========================================================
   Pátios
   ========================================================= */
.patios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.patio {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform .25s, box-shadow .25s;
}
.patio:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.patio-head { display: flex; justify-content: space-between; align-items: start; gap: .5rem; margin-bottom: .5rem; }
.tag {
  font-size: .7rem; padding: .25rem .55rem;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand-1) 12%, transparent);
  color: var(--brand-1);
  white-space: nowrap;
  font-weight: 600;
}
.patio-addr { color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: .35rem; }
.patio-foot { margin-top: 1rem; display: grid; gap: .5rem; }
.bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  border-radius: inherit;
  transition: width .8s ease;
}
.patio-foot strong { font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) { .patios { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .patios { grid-template-columns: 1fr; } }

/* =========================================================
   Planos
   ========================================================= */
.planos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plano {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .3s, box-shadow .3s;
}
.plano:hover { transform: translateY(-4px); }
.plano.is-featured {
  background: linear-gradient(180deg, color-mix(in oklab, var(--brand-1) 8%, var(--surface)), var(--surface));
  border-color: color-mix(in oklab, var(--brand-1) 40%, var(--line));
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.plano-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #ffffff;
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .03em;
}
.plano-preco { font-family: var(--font-disp); display: flex; align-items: baseline; gap: .25rem; }
.plano-preco .curr { font-size: 1.2rem; color: var(--muted); }
.plano-preco .val { font-size: 3rem; font-weight: 800; }
.plano-preco .per { color: var(--muted); }
.plano-list { display: grid; gap: .6rem; margin-top: .5rem; flex-grow: 1; }
.plano-list li { display: flex; align-items: start; gap: .55rem; font-size: .95rem; color: var(--muted); }
.plano-list svg { color: var(--brand-1); flex: 0 0 auto; margin-top: 2px; }

@media (max-width: 900px) { .planos { grid-template-columns: 1fr; } .plano.is-featured { transform: none; } }

/* =========================================================
   CTA Convênio
   ========================================================= */
.section-cta {
  background:
    radial-gradient(60% 80% at 80% 10%, color-mix(in oklab, var(--brand-1) 22%, transparent), transparent),
    radial-gradient(60% 80% at 0% 100%, color-mix(in oklab, var(--brand-2) 18%, transparent), transparent),
    var(--surface);
}
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.cta-copy h2 { margin-top: .5rem; }
.cta-copy p { color: var(--muted); margin-top: 1rem; }
.check-list { margin: 1.25rem 0 1.75rem; display: grid; gap: .5rem; }
.check-list li {
  display: flex; align-items: center; gap: .6rem;
}
.check-list li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-1) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m5 12 5 5L20 7' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}

.cta-art { position: relative; height: 360px; }
.art-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
}
.art-1 { top: 0; left: 0; width: 280px; padding: 1.2rem; }
.art-head { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: .4rem; margin-bottom: .8rem; }
.art-bars { display: flex; align-items: end; gap: 6px; height: 100px; }
.art-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--brand-1), var(--brand-2));
  border-radius: 4px 4px 0 0;
  height: var(--h);
  animation: barRise 1s ease both;
}
@keyframes barRise { from { height: 0; } }

.art-2 { top: 20px; right: 0; width: 200px; }
.art-3 { bottom: 0; left: 80px; width: 220px; }
.art-2 strong, .art-3 strong { font-family: var(--font-disp); font-size: 1.6rem; display: block; margin-top: .25rem; }

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-art { height: 320px; }
}

/* =========================================================
   Sobre
   ========================================================= */
.sobre-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.sobre-grid p { color: var(--muted); margin-top: 1rem; }
.sobre-marks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: 2rem;
}
.sobre-marks > div {
  padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
}
.sobre-marks strong { display: block; font-family: var(--font-disp); }
.sobre-marks span { color: var(--muted); font-size: .85rem; }

.sobre-visual {
  background: linear-gradient(135deg, color-mix(in oklab, var(--brand-1) 14%, transparent), color-mix(in oklab, var(--accent) 10%, transparent));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid; place-items: center;
  min-height: 320px;
}
.sv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 100%; max-width: 320px;
  box-shadow: var(--shadow-lg);
  display: grid; gap: .75rem;
}
.sv-row { display: flex; justify-content: space-between; }
.sv-row span { color: var(--muted); }
.sv-row strong { font-family: var(--font-disp); }
.sv-status {
  margin-top: .5rem; padding-top: .75rem;
  border-top: 1px dashed var(--line);
  font-size: .85rem; color: var(--brand-1);
  font-weight: 600;
}

@media (max-width: 900px) { .sobre-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Contato
   ========================================================= */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contato-grid > div p { color: var(--muted); margin-top: 1rem; }
.contato-info { margin-top: 2rem; display: grid; gap: 1rem; }
.contato-info li {
  display: grid; grid-template-columns: 140px 1fr; align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg);
}
.contato-info strong { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.contato-info a { color: var(--text); font-weight: 500; }
.contato-info a:hover { color: var(--brand-1); }

.form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid; gap: 1rem;
}
.field { display: grid; gap: .35rem; }
.field label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand-1) 25%, transparent);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { color: var(--muted); font-size: .8rem; text-align: center; margin-top: .25rem; }

/* Resposta do submit do form (sucesso / erro) */
.form-result {
  margin: .75rem 0 0;
  padding: .75rem 1rem;
  border-radius: 10px;
  font-size: .92rem;
  line-height: 1.45;
}
.form-result:empty { display: none; }
.form-result--ok {
  background: color-mix(in oklab, #2ad65d 12%, var(--surface));
  border: 1px solid color-mix(in oklab, #2ad65d 35%, var(--line));
  color: #137a39;
}
.form-result--err {
  background: color-mix(in oklab, var(--brand-1) 10%, var(--surface));
  border: 1px solid color-mix(in oklab, var(--brand-1) 30%, var(--line));
  color: var(--brand-1);
}

@media (max-width: 900px) {
  .contato-grid { grid-template-columns: 1fr; }
  .contato-info li { grid-template-columns: 1fr; gap: .25rem; }
}

/* =========================================================
   Footer — PANTONE 430 (oficial do manual de marca)
   ========================================================= */
.site-footer {
  --foot-bg:    #96989A;             /* PANTONE 430 · RGB 150,152,154 · K50 */
  --foot-text:  #1a1a1a;             /* texto principal (contraste AA com o cinza) */
  --foot-muted: rgba(0, 0, 0, .60);  /* títulos de seção, texto secundário */
  --foot-line:  rgba(0, 0, 0, .18);  /* divisores sutis */

  background: var(--foot-bg);
  border-top: 1px solid rgba(0, 0, 0, .08);
  padding: 1.75rem 0 1rem;
  margin-top: 0;
  color: var(--foot-text);
}
.footer-grid {
  display: grid;
  /* col 1: logo · col 2: espaçador · col 3: Tel/WS · col 4: espaçador · col 5: ACESSO INTERNO */
  grid-template-columns: auto 1fr auto 1fr auto;
  column-gap: 2.5rem;
  row-gap: 1.25rem;
  align-items: center;       /* tel grande puxa o eixo vertical do bloco */
  justify-items: start;
}
.footer-grid .foot-brand  { grid-column: 1; align-self: start; }
.footer-grid .foot-tel    { grid-column: 3; justify-self: center; }
.footer-grid .foot-tel + div {
  grid-column: 5;
  justify-self: end;        /* extrema direita do rodapé */
  align-self: end;          /* alinha ao rodapé do bloco (logo da PE Park define a altura) */
  text-align: center;       /* SAAS PARK / WEBMAIL centralizados na coluna */
}
.footer-grid .foot-tel + div h4 { text-align: center; }
.footer-grid .foot-tel + div a:hover { transform: none; }   /* sem slide quando centralizado */

/* Bloco Telefone/WhatsApp — centralizado, branco */
.foot-tel { text-align: center; }
.foot-tel h4 {
  color: #ffffff;
  margin-bottom: .35rem;
}
.foot-tel .foot-phone {
  color: #ffffff;
  font-weight: 700;
  font-size: 3rem;          /* número em destaque (+50%) */
  line-height: 1.05;
  letter-spacing: -.01em;
  padding: .15rem 0 0;
}
.foot-tel .foot-phone:hover { color: #ffffff; opacity: .8; transform: none; }

@media (max-width: 600px) {
  .foot-tel .foot-phone { font-size: 2.25rem; }
}

/* Mobile: volta pra 2 colunas e reseta posicionamento */
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
  .footer-grid > * { grid-column: auto !important; justify-self: start !important; }
  .foot-tel { justify-self: start !important; }
}
.footer-grid h4 {
  font-family: var(--font-sans);
  font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--foot-muted);
  margin: 0 0 .5rem;
}
.footer-grid a {
  display: block; padding: .1rem 0;
  color: var(--foot-text); font-size: .92rem;
  font-weight: 500;
  transition: color .2s, transform .2s;
}
.footer-grid a:hover {
  color: var(--brand-1);
  transform: translateX(2px);
}
.foot-brand p {
  color: var(--foot-muted);
  margin: .35rem 0 0;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.4;
}
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap;
  padding-top: 1rem; margin-top: 1.25rem;
  border-top: 1px solid var(--foot-line);
  color: var(--foot-muted);
  font-size: .82rem;
}

.foot-bottom__left {
  display: flex; flex-direction: column; gap: .4rem;
}
.foot-address {
  font-style: normal;     /* sobrescreve italic padrão de <address> */
  line-height: 1.55;
  color: var(--foot-text);
  font-weight: 500;
}

/* Selo "Desenvolvido por Arievilo Sistemas" — label em cima da logo */
.developed-by {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;     /* alinha à direita junto com o canto do footer */
  gap: .3rem;
  color: var(--foot-text);
  text-decoration: none;
  transition: opacity .2s;
}
.developed-by:hover { opacity: .7; }

.developed-by__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--foot-muted);
}

.developed-by__logo {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .developed-by { align-items: center; }
  .developed-by__logo { height: 33px; }
}


/* =========================================================
   Floating action button (WhatsApp)
   ========================================================= */
.fab {
  position: fixed; z-index: 40;
  /* Respeita safe-area do iPhone (home indicator embaixo, notch lateral em landscape) */
  right:  max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  transition: transform .25s;
}
.fab:hover { transform: scale(1.05); }

/* =========================================================
   Motion — reveal on scroll
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Tabela de Tarifas (oficial — Manual de Marca PE PARK)
   ========================================================= */
.tarifa-wrap {
  max-width: 820px; margin: 0 auto;
  background: var(--surface);
  border: 2px solid var(--brand-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tarifa-head {
  background: var(--brand-1);
  color: #ffffff;
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.tarifa-head h3 { font-family: var(--font-disp); font-size: 1.4rem; font-weight: 800; letter-spacing: .02em; }
.tarifa-head span { font-size: .85rem; opacity: .92; }

.tarifa-table { width: 100%; border-collapse: collapse; }
.tarifa-table th, .tarifa-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.tarifa-table th {
  background: color-mix(in oklab, var(--brand-1) 8%, var(--surface));
  color: var(--brand-1);
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tarifa-table td { font-size: 1rem; }
.tarifa-table td:first-child { text-align: left; color: var(--muted); font-weight: 500; }
.tarifa-table td strong { font-family: var(--font-disp); color: var(--text); font-size: 1.15rem; }
.tarifa-table .row-mensal td { background: color-mix(in oklab, var(--brand-1) 5%, transparent); }
.tarifa-table .row-mensal td strong { color: var(--brand-1); font-size: 1.3rem; }

.tarifa-foot {
  padding: 1rem 1.5rem;
  background: color-mix(in oklab, var(--brand-1) 4%, var(--surface));
  font-size: .82rem;
  color: var(--muted);
  display: grid; gap: .25rem;
}
.tarifa-foot strong { color: var(--text); }

@media (max-width: 600px) {
  .tarifa-table th, .tarifa-table td { padding: .75rem .5rem; font-size: .9rem; }
  .tarifa-table td strong { font-size: 1rem; }
}

