/* ============================================================
 * EPCE Contactos — estilo coerente com epce-denuncias + epce-pre-inscricao
 * Cores: #1A2A3A texto, #C4D600 lima CTA, #00A9B5 teal, #E0F4F5 badge
 * ============================================================ */

.epce-ct-page *,
.epce-ct-page *::before,
.epce-ct-page *::after {
    box-sizing: border-box;
}

.epce-ct-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1A2A3A;
    line-height: 1.55;
}

/* ===== HEADER ===== */
.epce-ct-page .epce-ct-header {
    text-align: center !important;
    padding: 8px 0 44px;
    margin-bottom: 36px;
    border-bottom: 1px solid #eef0f2;
}
.epce-ct-page .epce-ct-eyebrow {
    display: inline-block;
    background: #E0F4F5;
    color: #00838f;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-align: center !important;
}
.epce-ct-page .epce-ct-title {
    color: #1A2A3A;
    font-size: 2.6rem;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-align: center !important;
}
.epce-ct-page .epce-ct-subtitle {
    color: #5a6570;
    font-size: 1.08rem;
    margin: 0 auto;
    max-width: 660px;
    text-align: center !important;
    line-height: 1.55;
}

/* ===== GRID PRINCIPAL ===== */
.epce-ct-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
@media (max-width: 880px) {
    .epce-ct-grid { grid-template-columns: 1fr; }
}

/* ===== CARDS ===== */
.epce-ct-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px 30px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 169, 181, 0.08);
    position: relative;
    overflow: hidden;
}
.epce-ct-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00A9B5, #C4D600, #00A9B5);
    background-size: 200% 100%;
    animation: epceCtBar 5s ease infinite;
}
@keyframes epceCtBar {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.epce-ct-card-title {
    color: #1A2A3A;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 4px 0 18px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.epce-ct-card-title svg {
    color: #00A9B5;
    flex-shrink: 0;
}

/* ===== INFO ROWS ===== */
.epce-ct-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f3f5;
}
.epce-ct-row:last-child { border-bottom: 0; }
.epce-ct-row-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #E0F4F5;
    color: #00838f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.epce-ct-row-body {
    flex: 1;
    min-width: 0;
}
.epce-ct-row-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #00838f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
}
.epce-ct-row-value {
    font-size: 1.02rem;
    color: #1A2A3A;
    font-weight: 600;
    word-break: break-word;
}
.epce-ct-row-value a {
    color: #1A2A3A;
    text-decoration: none;
    border-bottom: 1px dashed #b8ca00;
    transition: color .2s, border-color .2s;
}
.epce-ct-row-value a:hover {
    color: #00838f;
    border-bottom-color: #00A9B5;
}
.epce-ct-row-hint {
    font-size: 0.85rem;
    color: #6b7480;
    margin-top: 3px;
}

/* ===== MAPA ===== */
.epce-ct-map-card {
    padding: 0;
    overflow: hidden;
}
.epce-ct-map-card::before { display: none; }
.epce-ct-map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f1f3f5;
}
.epce-ct-map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.epce-ct-map-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px;
    background: #fafbfc;
    border-top: 1px solid #eef0f2;
    flex-wrap: wrap;
}
.epce-ct-map-foot-addr {
    font-size: 0.94rem;
    color: #1A2A3A;
    font-weight: 600;
}
.epce-ct-map-foot-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: linear-gradient(135deg, #C4D600, #b8ca00);
    color: #1A2A3A;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(196, 214, 0, 0.3);
    transition: transform .2s, box-shadow .2s;
}
.epce-ct-map-foot-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(196, 214, 0, 0.45);
    color: #1A2A3A;
}

/* ===== HORÁRIO ===== */
.epce-ct-hours {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.epce-ct-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.97rem;
}
.epce-ct-hours-row:last-child { border-bottom: 0; }
.epce-ct-hours-day { color: #1A2A3A; font-weight: 600; }
.epce-ct-hours-time { color: #5a6570; font-weight: 500; }
.epce-ct-hours-row.closed .epce-ct-hours-time {
    color: #b85a5a;
    font-weight: 600;
}

/* ===== CTA STRIP (denúncias / livro reclamações) ===== */
.epce-ct-strip {
    margin-top: 32px;
    background: linear-gradient(135deg, #f8fbfc 0%, #eef5f6 100%);
    border: 1px solid rgba(0, 169, 181, 0.18);
    border-radius: 24px;
    padding: 30px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 720px) {
    .epce-ct-strip { grid-template-columns: 1fr; }
}
.epce-ct-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eaecee;
    text-decoration: none;
    color: #1A2A3A;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.epce-ct-strip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 169, 181, 0.12);
    border-color: rgba(0, 169, 181, 0.35);
    color: #1A2A3A;
}
.epce-ct-strip-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #E0F4F5;
    color: #00838f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.epce-ct-strip-body { flex: 1; }
.epce-ct-strip-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: #1A2A3A;
}
.epce-ct-strip-desc {
    font-size: 0.88rem;
    color: #5a6570;
    margin: 0;
    line-height: 1.45;
}
.epce-ct-strip-arrow {
    flex-shrink: 0;
    color: #00A9B5;
    align-self: center;
    transition: transform .2s;
}
.epce-ct-strip-item:hover .epce-ct-strip-arrow {
    transform: translateX(4px);
}

/* ===== AVADA OVERRIDES ===== */
.epce-ct-page h1,
.epce-ct-page h2,
.epce-ct-page h3,
.epce-ct-page p {
    margin: 0;
    padding: 0;
}
.epce-ct-page a { transition: color .2s; }

@media (max-width: 600px) {
    .epce-ct-title { font-size: 2rem; }
    .epce-ct-card { padding: 26px 22px; }
    .epce-ct-strip { padding: 22px 18px; }
}
