/* style-contato-v2.css - Página "Contato" (contato.html) no layout novo. Prefixo co-
   Carregar depois de css/style.css, css/style-home-v2.css e css/style-equipe-v2.css
   (reaproveita zh-btn, zh-secao, zh-cabecalho-secao, zh-cta, eq-cta...).
   --eq-topo = altura do cabeçalho fixo (definida pelo JS da página). */

:root { --co-wa: #25d366; }

/* ---------- Selo "Aberto agora / Fechado" (preenchido pelo JS com o horário de Brasília) ---------- */
.co-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; color: #ffb3b3; background: rgba(214, 58, 58, .2); }
.co-status[hidden] { display: none; }
.co-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.co-status.aberto { color: #7ef0ad; background: rgba(31, 157, 85, .22); }
.co-status.aberto::before { animation: co-pulso 2s infinite; }
@keyframes co-pulso { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, .6); } 70% { box-shadow: 0 0 0 8px rgba(31, 157, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); } }
.co-claro .co-status { color: #b23333; background: #fdeaea; }
.co-claro .co-status.aberto { color: #137a42; background: #e3f7ec; }

/* ---------- Fachadas lado a lado (painéis que se expandem) ---------- */
.co-paineis { position: relative; display: flex; height: calc(100vh - var(--eq-topo, 88px)); min-height: 560px; max-height: 920px; background: var(--zh-navy); }
.co-topo { position: absolute; z-index: 3; top: clamp(18px, 3vw, 34px); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 32px); pointer-events: none; text-align: center; }
.co-topo h1 { padding: 10px 22px; border-radius: 999px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; color: #fff; background: rgba(10, 29, 66, .62); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(12px); }
.co-topo h1 span { color: var(--zh-amarelo); }
.co-topo p { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #e4ebfa; background: rgba(10, 29, 66, .5); backdrop-filter: blur(10px); }
.co-p { position: relative; flex: 1; min-width: 0; overflow: hidden; cursor: pointer; outline: none; transition: flex 1s cubic-bezier(.16, 1, .3, 1); }
.co-p + .co-p { border-left: 3px solid var(--zh-amarelo); }
.co-p.on { flex: 2.4; }
.co-p > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); filter: saturate(.7) brightness(.75); transition: transform 1.4s cubic-bezier(.16, 1, .3, 1), filter .8s; }
.co-p.on > img { transform: none; filter: none; }
.co-p::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10, 29, 66, .25) 0%, transparent 30%, rgba(10, 29, 66, .55) 55%, rgba(10, 29, 66, .96) 100%); transition: background .6s; }
.co-p.on::after { background: linear-gradient(180deg, rgba(10, 29, 66, .2) 0%, transparent 25%, rgba(10, 29, 66, .7) 50%, rgba(10, 29, 66, .97) 80%); }
.co-p:focus-visible { box-shadow: inset 0 0 0 4px #6aa5ff; }
.co-rotulo { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 clamp(18px, 3vw, 44px) clamp(24px, 3.5vw, 44px); color: #fff; }
.co-rotulo > .co-status { margin-bottom: 12px; }
.co-rotulo h2 { font-size: clamp(24px, 3vw, 44px); font-weight: 800; line-height: 1.05; color: #fff; }
.co-mais { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s cubic-bezier(.16, 1, .3, 1), opacity .5s; }
.co-mais > div { overflow: hidden; }
.co-p.on .co-mais { grid-template-rows: 1fr; opacity: 1; transition-delay: .25s; }
/* Sem JS: todos os painéis já abertos */
html:not(.zh-js) .co-mais { grid-template-rows: 1fr; opacity: 1; }

/* Lista de contatos */
.co-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; max-width: 640px; margin-top: 14px; }
.co-info a { display: flex; gap: 14px; align-items: flex-start; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; font-size: 15px; color: #e4ebfa; text-decoration: none; overflow-wrap: anywhere; transition: background .2s; }
.co-info a:hover { background: rgba(255, 255, 255, .08); }
.co-info a:focus-visible { outline: 3px solid #6aa5ff; outline-offset: 1px; }
.co-info i { flex: none; width: 20px; margin-top: 3px; text-align: center; font-size: 16px; color: var(--zh-amarelo); }
.co-info small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #9fb2d8; }
.co-botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.co-botoes .zh-btn { height: 46px; padding: 0 18px; font-size: 14.5px; }
.zh-page a.co-btn-wa, .co-btn-wa { background: var(--co-wa); color: #fff; }
.zh-page a.co-btn-wa:hover, .co-btn-wa:hover { background: #1ebe5a; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.zh-page a.co-btn-mapa, .co-btn-mapa { background: #fff; color: var(--zh-navy); border-color: #fff; }
.zh-page a.co-btn-mapa:hover, .co-btn-mapa:hover { background: var(--zh-amarelo); border-color: var(--zh-amarelo); }

/* ---------- Horários: um card por unidade, com "Hoje" em destaque ---------- */
.co-horas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.co-hcard { display: flex; flex-direction: column; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--zh-borda); box-shadow: 0 4px 14px rgba(10, 29, 66, .06); transition: transform .3s var(--zh-ease), box-shadow .3s; }
.co-hcard:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(10, 29, 66, .14); }
.co-hcard h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--zh-navy); }
.co-hcard h3 i { color: var(--zh-azul); }
.co-hcard .co-status { align-self: flex-start; margin-top: 12px; }
.co-hoje { margin-top: 20px; padding: 18px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--zh-navy), var(--zh-navy-2)); }
.co-hoje[hidden] { display: none; }
.co-hoje small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--zh-amarelo); }
.co-hoje strong { display: block; margin-top: 4px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.co-dias { display: grid; gap: 8px; margin: 16px 0 0; font-size: 14.5px; }
.co-dias div { display: flex; justify-content: space-between; gap: 10px; }
.co-dias dt { color: var(--zh-cinza); }
.co-dias dd { margin: 0; font-weight: 700; color: var(--zh-navy); font-variant-numeric: tabular-nums; }
.co-dias .hoje dt, .co-dias .hoje dd { color: var(--zh-azul); font-weight: 800; }
.co-nota-aula { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; font-size: 14.5px; text-align: center; color: var(--zh-cinza); }
.co-nota-aula i { color: var(--zh-azul); }

/* ---------- Mapa com abas ---------- */
.co-abas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -8px 0 26px; }
.co-abas button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1.5px solid var(--zh-borda); border-radius: 999px; background: #fff; font: 600 14px 'Inter', sans-serif; color: var(--zh-cinza); cursor: pointer; transition: all .2s; }
.co-abas button:hover { border-color: var(--zh-navy); color: var(--zh-navy); }
.co-abas button[aria-pressed="true"] { background: var(--zh-navy); border-color: var(--zh-navy); color: #fff; }
.co-abas button:focus-visible { outline: 3px solid #6aa5ff; outline-offset: 2px; }
.co-mapa { overflow: hidden; height: 460px; border-radius: 20px; border: 1px solid var(--zh-borda); background: var(--zh-fundo); box-shadow: 0 22px 44px rgba(10, 29, 66, .12); }
.co-mapa iframe { display: block; width: 100%; height: 100%; border: 0; }
.co-mapa iframe[hidden] { display: none; }

.co-cta-txt { margin-top: 12px; max-width: 640px; color: #c9d6f2; }
.co-cta-botoes { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
    .co-paineis { flex-direction: column; height: auto; max-height: none; }
    .co-topo { position: relative; top: auto; left: auto; transform: none; width: auto; max-width: none; padding: 26px 16px 18px; background: var(--zh-navy); }
    .co-topo p { display: none; }
    .co-p { min-height: 200px; }
    .co-p.on { min-height: 600px; }
    .co-p + .co-p { border-left: 0; border-top: 3px solid var(--zh-amarelo); }
    .co-info { grid-template-columns: 1fr; }
    .co-horas { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .co-mapa { height: 360px; }
}
@media (max-width: 600px) {
    .co-cta-botoes .zh-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .co-status.aberto::before { animation: none; }
    .co-p, .co-p > img, .co-mais { transition: none; }
}
